Dreamhost and File GetIf you're having problems with your PHP scripts in Dreamhost, it's probably the File Get command. You'll need to use curl, so create this function:
Then, whenever you see a line that looks something like: file_get_contents("http://..."); Change file_get_contents to file_get_the_contents. Please take note that there's an http:// after file_get_contents. If your PHP code does not show the http, then please leave the file_get_contents as-is. I hope that solves your PHP script problems in Dreamhost. Previous Entry Secondthoughts Index Next Entry
Manuel@Viloria.net Copyright © 1996 - 2008 by Viloria.com All Rights Reserved.
Secondthoughts Sitemap | Photos | Viloria.net | ManuelViloria.com
$100 A Day Online Secondthoughts [ PastThoughts | rss/xml ] 10.03: Adobe Creative Suite 4 Seminar 10.02: Outlook and New Personal Folders 10.02: Caralluma Fimbriata 09.26: Catholic Pilgrimage Tours - Oct 2008 09.25: Windows XP SP 3 09.21: Forever Lose Weight 09.20: Journal Software 09.17: WordPress Themes and Security 09.05: Transcend SDHC Class 6 4GB SD Card - Corrupted 09.05: Acer Aspire One Ignores Write-Protection of SD Cards? 09.03: Linksys and Intermittent Wireless Connection 09.03: Acer Aspire One's Deaf Mic 09.02: MSI Wind 09.01: Sun Broadband Wireless 08.30: Asus Eee PC 1000H and Win XP Pro 08.29: Acer Aspire One |
"We Host at H4P because H4P is affordable, reliable, and customer-friendly!" -- Manuel Viloria About Manuel Viloria Secondthoughts Archives Angelhouser Viloria.com RSS Feed |