Hi, I'm having a problem with using pg_trace. I have the following in a php file:
--------------- start code ----------------------------
<?php
include("config.inc"
;
setcookie($cookie_name,"1"
; //setcookie so the counter only increments once
header("Content-type: image/gif"
;
readfile("images/spacer1.gif"
;
include("function.inc"
;
$res=$_REQUEST['res'];
if (!$conn) $conn=db_connect($dbase);
$tracefile="/tmp/tracefile";
pg_trace($tracefile);
//the category ID is used to define the page
//****************************************************************
if(!$$cookie_name){ //only do this for the first visit
-------------------break--------------------
there is no output to /tmp/tracefile however. There is very little documentation on this function at php.net. Does anybody use this function that could help me get it working.
Thanks.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
--------------- start code ----------------------------
<?php
include("config.inc"

setcookie($cookie_name,"1"

header("Content-type: image/gif"

readfile("images/spacer1.gif"

include("function.inc"

$res=$_REQUEST['res'];
if (!$conn) $conn=db_connect($dbase);
$tracefile="/tmp/tracefile";
pg_trace($tracefile);
//the category ID is used to define the page
//****************************************************************
if(!$$cookie_name){ //only do this for the first visit
-------------------break--------------------
there is no output to /tmp/tracefile however. There is very little documentation on this function at php.net. Does anybody use this function that could help me get it working.
Thanks.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
