"Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message
news:7A08E8036BBBAA4FBD9071B169EDC9B6843E@;mailserver01.spicergroup.com...
Your code works for me on Windows 2000 with IIS and Windows 2000 with
Apache.
>Could it be file permissions on the server.
Yes, maybe i didnt set permissions on my se
Your code works for me on Windows 2000 with IIS and Windows 2000 with Apache.
Could it be file permissions on the server.
-Original Message-
From: Radovan Radic [mailto:rasho@;ving.co.yu]
Sent: Monday, October 28, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Create file!
Hi
Hi
(Win2000, PHP 4.0.6 IIS)
$filename="streets.dat";
if (file_exists($filename))
{
Read From File;
Print To Html;
}
else
{
$f=fopen($filename,"w");
read from database to file;
Print To Html;
fclose($f);
}
But fopen will not create $filename, and i get an error like:
You dont have
I am new at php. I trying to debug my code. So, I am trying to print out
my sql statement to a file to make sure the syntax is correct. I trying to
find a way to print out to a message box or something. I guess php does not
have that capability or I cannot find the function that will help me d