I found the following problems or suggestions with phplib version 7.2c

This will get rid of errors un text which has  no javascript associated with
it
diff /usr/rickster/stuff/phplib-7.2c/php/of_text.inc
/home/httpd/html/php/of_text.inc
66c66,67
<     
---
>     if (!isset($ndx_array))  // added by me get rid of warning messages
>     return;                  // get out if no javascript?

Suggestions:

in auth I added a check to make sure the ip address of the person coming in
is the
same ip he logged on with.   Not a 100% but is another check.

156a181
>             $this->auth["ip"]=$REMOTE_ADDR;
161a187
>             $this->auth["ip"]=$REMOTE_ADDR;
170a197
>           $this->auth["ip"]=$REMOTE_ADDR;
176a204
>             $this->auth["ip"]=$REMOTE_ADDR;
214c242
< 
---
>      $this->auth["ip"]=0;
234c262,266
0;
234c262,266
>   global $REMOTE_ADDR;
>       if (
>       $REMOTE_ADDR==$this->auth["ip"] &&
In Page I added a line to make sure netscape or windoze ddoesn't cache
diff /usr/rickster/stuff/phplib-7.2c/php/page.inc
/home/httpd/html/php/page.inc
14c14
< 
---
>  
15a16,18
>   #printf("sess is %s<br>",$feature["sess"]);
>    header("Pragma: no-cache"); 
>    header("Cache-Control: no-cache, must-revalidate");

This one line took me soooooo many hours troubleshooting .
Rick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to