Jump to content

Archived

This topic is now archived and is closed to further replies.

Pgs

set HTML of external page as Variable

Recommended Posts

Can i set PHP variable to a HTML output of external page (ex. i wanna set $htmlvar on my page as html output of external page eg. www.google.com). ?

Share this post


Link to post
Share on other sites
[code]$htmlvar = file_get_contents('http://www.google.com');[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.