FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


r+ on fopen doesn't work





DjMilez
When I use fopen, the mode r+ never works. When I try it, the page just shows up as blank.

Any idea why?
rvec
could you post the script in which you use it? I doubt it's the function not working properly, it's more likely a configuration or script mistake.
sonam
If you need only read your file maybe is better solution to use file_get_contents function. file_get_contents — reads entire file into a string, and it is faster then fopen.
Read more:
http://www.php.net/function.file-get-contents

Sonam
Related topics
Shouldn´t I use frames?
How can I change the caption of Browse button?
This C code is little unclear to me.
PHP - Find and Delete
My domain doesn't work
Why doesn't my cronjob work?
Python beginners help!
Python CGI work with FRIHOST
Problem with python cgi - does Python CGI work?
Regular Expression - get content of a cookie
Help with Dreamweaver sessions !!!!!!!!
Internet Explorer
Windows XP or HDD?
Some interesting Software
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.