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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all!! Could someone please te

Status
Not open for further replies.

BettyJo50

Technical User
Apr 25, 2002
47
US
Hi all!!

Could someone please tell me what the "r" in the PHP code is or what it stands for?
Example: $header_exists = @fopen("themes/$cookie[9]/header.php", "r");

Thank you for your help!!
 
there are a couple of others,
w = write (clears the files contents and will try to create the file if it doesn't exist
a = appaend the current file, oddly seems to append from line 0(yes the start), also tries to create if file doesn't exist
***************************************
Party on, dudes!
[cannon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top