Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filename is keyword - "receive"

Status
Not open for further replies.

NoviceFlashUser

Technical User
Sep 1, 2003
21
SG
hi,

I am trying to open the following:

1) write to a file called "receive.txt"

However, I think the filename is a keyword of PHP and therefore the script cannot write the file successfully. Please advise on how to read/write a file with the name "receive.txt"
 
thanks for yr help.

ok this is my one of the code which is giving me headaches:

$test = fopen ("E:\testing\receive.txt", "w");

If i replace the "receive.txt" with any filename eg. file.log - it works fine but not with the "receive.txt"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top