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
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
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 returns. The second or middle
line
contains sample data
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_YOURCOMPUTER
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
() 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
of
PHP when I try to upload a file to the server. It seems on Windows, I
can't
get
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 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] Re: imagecopy or why men don't use maps.
I think you might need to use
$source = ImageCreateFromJPEG('
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
with no complications.
Since Im no expert on the installation of PHP Im not sure what to tell my
service provider other that My Scripts Dont 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
10 matches
Mail list logo