View Single Post
Old 04-27-2013, 07:31 AM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,073
Quote:
Originally Posted by roganoli View Post
PHP Code:
$html file_get_contents_curl("http://example.com/"); 
How to put <? echo "$url"; ?> via echo in the URL above... is possible?

I was wondering how to make it work.

Thanks for help
revisiting for a second.

If what you are tring to do is display the html from example.com then once you have the file_get_contents_curl() changed to file_get_contents() then you would just echo $html.

So something like:

$html = file_get_contentsl("http://example.com/");
echo $html;

.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote