[PHP] Re: Unknown Syntax

2003-07-11 Thread Chris Morrow
ED] > two equal signs means 'equal to' > so '!==' means 'not equal to' > one equal sign sets a value. > ie... > x = 2; // x is set to the value of 2 > > if(x!==3) // checks if the value of x is not equal to 3 > > as for != i've never seen

[PHP] Unknown Syntax

2003-07-11 Thread Chris Morrow
Does anybody recognize this: !== with 2 '=' Ive known != to mean not equal to but i'm just looking at someone elses script and they use this instead. Does anyone know if this works or any problems with it? Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] Socket connect crashes web server

2003-07-11 Thread Chris Morrow
I'm pretty sure its not in an endless loop and php is 4.3, im still nowhere closer to fixing this. I'm sure its not hardware and I thought I was sure its not networkl related but I think im going to have to rethirnk my ideas. Cheers. Chris "Fejes Jozsef" <[EMAIL PROTECTED]> wrote in message new

[PHP] Socket connect crashes web server

2003-07-11 Thread Chris Morrow
Hi Guys, I wonder if any of you can help with this I'm using sockets in php to connect my script to an outside system. More often than not this works fine, but every so often, say twice a day, it brings down my whole web server. When this has happened all the sites im serving can take up to

[PHP] PHP with FTP support on a Raq4 Server

2002-10-25 Thread Chris Morrow
)' yet when I run it through the browser on my site which is running the same version of PHP just the Apache module it works fine. Does anyone know what causes this strange behaviour or what I can do to get my ftp_connect() function working from the command line on a Raq4 server? Thanks fo

Re: [PHP] Accessing cookies in required files

2002-06-27 Thread Chris Morrow
_COOKIE_VARS; > > or > > upgrade your PHP and jus use $_COOKIE['testcookie'] and it's always > available, regardless of scope. > > ---John Holmes... > > > -Original Message- > > From: Chris Morrow [mailto:[EMAIL PROTECTED]] > > S

[PHP] Accessing cookies in required files

2002-06-27 Thread Chris Morrow
Hi, Can anyone help with this problem? I have a file called "settings.inc" which I include in all files on my site like this: require("settings.inc"); Up until now this has worked fine. But now I have a function in the settings.inc file that tries to read the value of a cookie called "testcook