First I'm sorry I can't express myself very well,my English is poor! I setup a wordpress on dreamhost space ,when I use some plugins ,there are some errors here: fopen(/technorati-rank.html) [function.fopen]: failed to open stream: Permission denied in ******* I got the idea after google it...It's because of the fopen function of dreamhost is shutdown, and many people said that ' curl ' can avoid this problem! but i don't how to modify the program and use ' curl ' instead of ' fopen ' below is the error line: $fp = fopen($cachefile, 'w'); fwrite($fp, $message); fclose($fp); Code (markup): so anyone can help me???
Hi there, Your English is not poor at all A lot of shared web hostings do disallow doing fopen on URLs (i.e.: trying to op en files from a different machine). But in your case, you're just trying to open a local file, so the issue is not that. I noticed from the error message the filename seems to be incomplete. Most possibly before the slash ('/') there is the path to that file (otherwise as it is now, PHP thinks that the file is in the root directory, which not accessible by you). The file name should start with '/home/[your_username]/', followed by the directory name where the file is located.
hi,phper you can see my site: http://www.cashooter.com/ errors on the sidebar the plugin name is 'Technorati Rank' the plugin url: http://www.douglaskarr.com/projects/technorati-rank-plugin