[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - How to replace a html file to an entire URL ???
Advertisement

How to replace a html file to an entire URL ???

Moderators: Calcifer, slothy

Postby Batalf » Thu Jun 08, 2006 7:41 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Ok for your answer but.....

Postby cox » Fri Jun 09, 2006 10:24 am

cox
 
Posts: 8
Joined: Thu Jun 08, 2006 4:01 pm

Postby Batalf » Fri Jun 09, 2006 11:22 am

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

bouuuuuuuuuuuh

Postby cox » Tue Jun 20, 2006 9:08 am

cox
 
Posts: 8
Joined: Thu Jun 08, 2006 4:01 pm

Postby Batalf » Tue Jun 20, 2006 9:32 am

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

I'm really sorry...

Postby cox » Tue Jul 11, 2006 2:16 pm

cox
 
Posts: 8
Joined: Thu Jun 08, 2006 4:01 pm

Postby Batalf » Tue Jul 11, 2006 9:13 pm

Did you try fopen?

i.e. something like:

<?

if(isset($_GET['url'])){
$url = $_GET['url'];

$handle = fopen($url, "rb");
$contents = '';
while (!feof($handle)) {
$contents .= fread($handle, 8192);
}

fclose($handle);
echo $contents;

}

?>

where the url to open is defined in the GET variable "url".
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

youpi!!!

Postby cox » Wed Jul 12, 2006 4:50 pm

cox
 
Posts: 8
Joined: Thu Jun 08, 2006 4:01 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 9 guests

cron