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

2004-08-11 Thread Scot L. Harris
n the actions in the main window. The nav frame function would use the target elements to send their output to the correct frame. Have not tried this yet so I am not sure that would work. Have not been able to think of any other way to do it from PHP. -- 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
uot;]; } else { $realip = $_SERVER["REMOTE_ADDR"]; } } else { if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) { $realip = getenv( 'HTTP_X_FORWARDED_FOR' ); } elseif ( getenv( 'HTTP_CLIENT_IP'

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

2004-07-24 Thread Scot L. Harris
age = "Bkgrnd-Body-Incorrect.jpg"; > } else { > $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 alw

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."

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
the function doesn't work . > > I use 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. -

Re: [PHP] Crontab PHP Script

2004-06-26 Thread Scot L. Harris
way to go (I think). I'm using > Plesk 7 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 v

[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] Prevent IE6 from blocking cookies

2004-06-05 Thread Scot L. Harris
locking cookies 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]> --

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: -- Scot L

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: -- Scot L. Harris [EMAIL PROTEC

Re: [PHP] Identifying spam text

2004-05-28 Thread Scot L. Harris
amassassin you can take advantage of its baysian analysis. You can 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
stone.php on line 15 There is no "junk" index into the arrayvalues array. I understand why these warnings are being issued, in both cases 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 t