RE: [phplib] problems ie suggestions
| From: | Herbel, Rick | Date: | Tue, 16 Jan 2001 17:15:14 +0000 |
| Subject: | RE: [phplib] problems ie suggestions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34857@lists.php.net to get a copy of this message | ||
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