Re: [PHP] Undefined offset on Windows not on Apache?

2003-11-30 Thread Chris Williams
on the error reporting, I included error_reporting (E_ALL); in my test script and can reproduce same error on Apache. Chris "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Chris Williams wrote: > > The first and last lines contain carriage retu

[PHP] Undefined offset on Windows not on Apache?

2003-11-30 Thread Chris Williams
I've created a script to parse through a data file which contains coma separated fields of data. The script works on Apache, however when I run it on under Windows (running PHP as a CGI) the script produces an Undefined offset notice. What is strange about this notice is that the line of code which

[PHP] Undefined offset on Windows not on Apache?

2003-11-30 Thread Chris Williams
I've created a script to parse through a data file which contains coma separated fields of data. The script works on Apache, however when I run it on under Windows (running PHP as a CGI) the script produces an Undefined offset notice. What is strange about this notice is that the line of code which

[PHP] Re: file_exists on Windows problem

2003-11-20 Thread Chris Williams
Thanks, that worked "David Strencsev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If you're using NTFS file system... please make sure that the PHP's temporay > UPLOAD directory and SESSIONDATA directory are set with the correct > permissions. > I mean that the user IUSR_YOURCOMP

[PHP] Re: file_exists on Windows problem

2003-11-19 Thread Chris Williams
n use is_uploaded_file() function to check whether the file exists > or not. > > Manu. > > > "Chris Williams" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I'm again trying to understand differences in Apache and Windows installs >

[PHP] file_exists on Windows problem

2003-11-19 Thread Chris Williams
I'm again trying to understand differences in Apache and Windows installs of PHP when I try to upload a file to the server. It seems on Windows, I can't get the file I'm uploading. To try to understand this I created a very simple html form that uploads a text file to the server's TEMP directory u

[PHP] windows file permission

2003-11-18 Thread Chris Williams
I am using PHP on Windows NT CGI/FastCGI and am trying to create a text file and then write some data to it. $some_text = "HelloWorld"; $new_file = fopen("myfile.txt", "w"); fputs($new_file, $some_text); fclose($new_file); However I am getting Warning: fopen(myfile.txt): failed to open stream:

Re: [PHP] Re: imagecopy or why men don't use maps.

2002-02-04 Thread Chris Williams
color text I use, it turns out gray. Any help here would go down nicely. > > Hugh > > > - Original Message - > From: "Chris Williams" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, February 03, 2002 8:29 AM > Subject: [PHP]

[PHP] Re: imagecopy or why men don't use maps.

2002-02-03 Thread Chris Williams
I think you might need to use $source = ImageCreateFromJPEG('map1.jpg'); I've created several maps using this method, although I am using PNG. You could see them at our web site but unfortunatly it's not parsing PHP correctly. Something went wrong during migration, but might be fixed in a couple

[PHP] FastTemplate Not Working after PHP Migration

2002-02-02 Thread Chris Williams
complications. Since I’m no expert on the installation of PHP I’m not sure what to tell my service provider other that “My Scripts Don’t Work Any More”. Any advice on phrasing this complaint would be helpful. Regards, Chris Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe