View Full Version : Fake pages?

01-23-2007, 08:18 AM

I'm trying to think of a way to make the browser think a page exists: lets say the user entered www.my_site_domain.com/page_that_dosent_exist.php - I want the url to remain that url, but the real page that will shown will be index.php.
Is it possible?

01-23-2007, 10:04 AM
Ur best guess may be htaccess mod_rewrite (http://httpd.apache.org/docs/2.2/misc/rewriteguide.html).

01-23-2007, 10:33 AM
I'll look into it, thanks. I understand there's no way to control it using PHP, right?

On a different subject - How can I receive a page's source code using PHP?

01-23-2007, 01:48 PM
Using PHP to read someone's HTML page source ...

$url = "http://www.google.com";
$data = implode("", file($url));
echo $data;

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum