Re: Bug #3343: Files on Win 98 Apache
| From: | Sterling Hughes | Date: | Sat, 29 Jan 2000 06:11:16 +0000 |
| Subject: | Re: Bug #3343: Files on Win 98 Apache | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15010@lists.php.net to get a copy of this message | ||
I highly doubt that this would work considering you left out a semi-colon
when assigning $filePointer
Sterling Hughes
sterling@designmultimedia.com
: From: Decoy_69s@hotmail.com
: Operating system: Windows 98
: PHP version: 3.0.14
: PHP Bug Type: Other
: Bug description: Files on Win 98 Apache
:
: I programmed a webforum in PHP and ran it on my linux system in which it
ran fine. I then moved the system to win 98 without changing the code and
am having problems with writing and reading to files. I do not suspect the
code. To check this I created the following code to test it:
: <html>
: <head>
: <title>PHP Test</title>
: </head>
: <body>
: <?php
:
: $filePointer = fopen("test.txt","w")
: echo "\$filePointer=$filePointer<br>";
: if($filePointer)
: {
: fwrite($filePointer,"this is a test");
: fclose($filePointer);
: }
: ?>
: </body>
: </html>
: I received the following error:
: Parse error: parse error in c:\program files\apache
group\apache\htdocs\php\test.php3 on line 9
:
: I suspect a configuration in apache that disallows the php code to write
to files. I'm using Apache 1.3.6. Are there any known issues with it or is
there a setting I have to change? Any help is appreciated.
:
:
:
: --
: PHP Development Mailing List <http://www.php.net/>
: To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
: For additional commands, e-mail: php-dev-help@lists.php.net
: To contact the list administrators, e-mail: php-list-admin@lists.php.net
: