GET /include/pdf/html2ps.php?process_mode=single&renderfields=1&renderlinks=1&renderimages=1&scalepoints=1&pixels=800&media=A4&leftmargin=15&rightmargin=15&topmargin=15&bottommargin=15&transparency_workaround=1&imagequality_workaround=1&output=1&location=pdf&pdfname=2007000052&URL=http%3A%2F%2FMY.SERVER.NL%3A10007%3A10007%2F%2Findex.php%3Fmodule%3Dinvoices%26view%3Dtemplates%2Ftemplate%26invoice%3D2007000052%26action%3Dview%26location%3Dpdf%26type%3D2 HTTP/1.1" 200 27209 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11"
Sun Jan 06 16:08:58 2008] [error] [client MY_DSL_WAN_IP] PHP Notice: Undefined variable: authenticationOn in /usr/local/Hosted/si/abubble/include/include_auth.php on line 3, referer: [url=http://SI.MYSERVER.NL:10007/index.php?module=invoices&view=manage[Sun Jan 06 16:08:59 2008] [error] [client MY_DSL_WAN_IP] Fetching: http://SI.MYSERVER.NL:10007:10007//index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2, referer: http://SI.MYSERVER.NL:10007/index.php?module=invoices&view=manage
/>
[Sun Jan 06 16:08:59 2008] [error] [client 192.168.1.32] PHP Notice: Undefined variable: pageActive in /usr/local/Hosted/si/abubble/modules/invoices/template.php on line 69, referer: http://SI.MYSERVER.NLl:10007//index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2
/>
[Sun Jan 06 16:08:59 2008] [error] [client 192.168.1.32] PHP Notice: Undefined variable: pageActive in /usr/local/Hosted/si/abubble/modules/invoices/template.php on line 70, referer: http://SI.MYSERVER.NL:10007//index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2
/>
==> /var/log/httpd-access.log <==
192.168.1.32 - - [06/Jan/2008:16:08:59 +0100] "HEAD //index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2 HTTP/1.1" 200 - "http://SI.MYSERVER.NL:10007//index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7) Gecko/20040803 Firefox/0.9.3"
==> /var/log/httpd-error.log <==
[Sun Jan 06 16:08:59 2008] [error] [client MY_DSL_WAN_IP] Status code:200, referer: http://SI.MYSERVER.NL:10007/index.php?module=invoices&view=manage
/>[Sun Jan 06 16:08:59 2008] [error] [client 192.168.1.32] client denied by server configuration: /usr/local/Hosted/ticket
==> /var/log/httpd-access.log <==
192.168.1.32 - - [06/Jan/2008:16:08:59 +0100] "GET //index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2 HTTP/1.0" 403 358 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7) Gecko/20040803 Firefox/0.9.3"
==> /var/log/httpd-error.log <==
[Sun Jan 06 16:08:59 2008] [error] [client MY_DSL_WAN_IP] Processing of 'http://SI.MYSERVER.NL:10007:10007//index.php?module=invoices&view=templates/template&invoice=2007000052&action=view&location=pdf&type=2' completed in 0 seconds, referer: http://SI.MYSERVER.NL:10007/index.php?module=invoices&view=manage
/>
==> /var/log/httpd-access.log <==
MY_DSL_WAN_IP - - [06/Jan/2008:16:08:58 +0100] "GET /include/pdf/html2ps.php?process_mode=single&renderfields=1&renderlinks=1&renderimages=1&scalepoints=1&pixels=800&media=A4&leftmargin=15&rightmargin=15&topmargin=15&bottommargin=15&transparency_workaround=1&imagequality_workaround=1&output=1&location=pdf&pdfname=2007000052&URL=http%3A%2F%2FSI.MYSERVER.NL%3A10007%3A10007%2F%2Findex.php%3Fmodule%3Dinvoices%26view%3Dtemplates%2Ftemplate%26invoice%3D2007000052%26action%3Dview%26location%3Dpdf%26type%3D2 HTTP/1.1" 200 816 "http://SI.MYSERVER.NL:10007/index.php?module=invoices&view=manage" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11"
function urlPDF($invoiceID,$invoiceTypeID)
{
global $http_auth;
$script = "/index.php?module=invoices&view=templates/template&invoice=".htmlspecialchars($invoiceID)."&action=view&location=pdf&type=".htmlspecialchars($invoiceTypeID);
$port = "";
$dir = dirname($_SERVER['PHP_SELF']);
//set the port of http(s) section
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
$_SERVER['FULL_URL'] = "https://";
if($_SERVER['SERVER_PORT']!="443") {
$port .= "://" . $_SERVER[’SERVER_PORT’];
}
} else {
$_SERVER['FULL_URL'] = "http://";
if($_SERVER['SERVER_PORT']!="80") {
$port = ":" . $_SERVER['SERVER_PORT'];
}
}
//merge it all togehter
if (isset($_SERVER['HTTP_HOST'])) {
$_SERVER['FULL_URL'] .= $http_auth.$_SERVER['HTTP_HOST'].$port.$dir.$script;
} else {
$_SERVER['FULL_URL'] .= $http_auth.$_SERVER['HTTP_HOST'].$port.$dir.$script;
}
return $_SERVER['FULL_URL'];
1 to 9 of 9