Re: [PHP] updating a frame from within php...

2004-08-11 Thread Scot L. Harris
. -- Scot L. Harris [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Access CLIENTNAME

2004-08-09 Thread Scot L. Harris
( 'HTTP_X_FORWARDED_FOR' ); } elseif ( getenv( 'HTTP_CLIENT_IP' ) ) { $realip = getenv( 'HTTP_CLIENT_IP' ); } else { $realip = getenv( 'REMOTE_ADDR' ); } } return $realip; } -- Scot L. Harris [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] Nested If...Else...

2004-07-24 Thread Scot L. Harris
{ $vBkgrndImage = Bkgrnd-Body-Correct.jpg; } } Thanx Single quotes around CorrectAnswer? What is the error you are getting? Guessing that if it passes the syntax checks I expect your problem is it is always evaluating to one of the options and not the other. -- Scot L. Harris [EMAIL PROTECTED] Let

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
the function with cyrillic charset. Can someone help me ? Thanks in advanse ! What version of PHP are you using locally? What version of PHP are you using on some internet server? I suspect there is a difference. -- Scot L. Harris [EMAIL PROTECTED] *** System shutdown message from

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
On Sat, 2004-07-03 at 17:08, Rosen wrote: Both versions are Version 4.3.7 of PHP. Then more information is needed to figure out the problem. Sample code plus any error messages or results would help. -- Scot L. Harris [EMAIL PROTECTED] Plaese porrf raed. -- Prof. Michael

Re: [PHP] Crontab PHP Script

2004-06-26 Thread Scot L. Harris
on a Linux box and I have root access. You need to add #!/usr/bin/php At the start of your script so it knows how to run it. You will also need to set the permission bits to allow execution chmod 700 Change the path to where you have the cli version of php on your system. -- Scot L. Harris

Re: [PHP] Refresh Page

2004-06-05 Thread Scot L. Harris
On Sat, 2004-06-05 at 10:20, Mike Mapsnac wrote: I want to refresh page every 10 seconds, without clicking on Refresh button. Any ideas how this can be done? Thanks I think you want to include something like this in your pages header section: META HTTP-EQUIV=REFRESH CONTENT=10 -- Scot L

Re: [PHP] Prevent IE6 from blocking cookies

2004-06-05 Thread Scot L. Harris
then the best you can do is show an alternate page telling the user they need to enable cookies to work with your web site. Face it, if web sites could override such settings there would be a lot more malicious web sites out there. -- Scot L. Harris [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] moderators?

2004-06-05 Thread Scot L. Harris
: [EMAIL PROTECTED] If there is a moderator can these two accounts be removed from the list? -- Scot L. Harris [EMAIL PROTECTED] Disobedience: The silver lining to the cloud of servitude. -- Ambrose Bierce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] php installation verification

2004-06-02 Thread Scot L. Harris
On Wed, 2004-06-02 at 16:47, Nguyen, Long P (Mission Systems) wrote: OK - I tried that and what came up on the browser was the content of the test.php file. Open a file. Put this code in there: ? phpinfo(); ? Try: ?php phpinfo(); ? -- Scot L. Harris [EMAIL PROTECTED] IF I HAD

Re: [PHP] Identifying spam text

2004-05-28 Thread Scot L. Harris
train it so it recognizes the kind of traffic you expect to see as ham and spam. -- Scot L. Harris [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] list explode and undefined references

2004-05-24 Thread Scot L. Harris
I attempted to reference an element that does not exist or has not been declared previously. I was wondering if there is a better way to handle the error message from the list() function other than just ignoring it. Or going overboard and creating my own error handling functions. -- Scot L