file_get_contents() and MySQL question
Posted by: STHayden
Posted on: 2005-04-22 14:27:00
my website (www.stefanhayden.com/portfolio/metrocss/getvars.php) used the function file_get_contents() but after the anouncement of PHP's allow_url_fopen NOW Disabled (Action Required) by dreamhots it does not work.
first off am I right in assuming that that is the reason I can not grab external pages with file_get_contents()?
because I need the webpage to be functional for my final portfolio review in a week I wanted a quick fix and moved the page to my school's server which has not disabled the feature. Though I also want to connect to my dreamhost database. Can I connect to the database from an out side webhost? I have yet to make that work.
any help would be great as I need to fix this as fast as possible.