The PHP script im using works on my computers server, but when after
uploading to my web server i get this...
Warning: fopen("wtest.txt", "wb+") - Permission denied in
/home/canberra/public_html/bomonster/canberra.php on line 6

Dunno why either, the directory is not protected, can anyne help me with
The particular code in question...
//Writing of local file

 $rContents = implode( "\r\n", file(
'' ) );

if( ($fp = fopen( 'wtest.txt', 'wb+' )) !== false )
    fputs( $fp, $rContents );
    fclose( $fp );
Simon Angell
Canberra ACT
Member of:
Australian Severe Weather Association.
This email is virus free.
Scanned before leaving my mailbox
using Norton Antivirus 2002 for Win2k
Scanned with the latest definition File.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to