Re: how to make cloaked redirect by php script

From: Date: Thu, 08 Aug 2002 05:10:15 +0000
Subject: Re: how to make cloaked redirect by php script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111607@lists.php.net to get a copy of this message
That's not *really* cloaking (although it may suffice for the OP), because the only URL you'll ever see in the browser is www.mysite.com, not a specific page. I've never done it, but my guess is that *real* cloaking is done with some complex .htaccess rules and URL re-writing on the server with the domain, with all requests (eg www.mysite.com/mypage.html) being passed through index.php. Index.php would be a script that passes the target file geocrap.com/dir/dir/mypage.html from the geocities server through the server hosting the domain. But for the life of me I can't imagine why you'd bother. Hosting is cheap, geocities is crap (IMHO), it's a pain to upload to, and you can't possible want to run a half-serious website under these conditions. I can think of *some* good uses for real cloaking on an Apache system, but this aint one of them :) Geocities also have evil Javascript pop-ups, CSS branding, or some other evil thing which they change every so ofter which will seriously detract from your sites value. *shudders* Good luck. Justin French on 08/08/02 2:37 PM, Martin Towell (martin.towell@world.net) wrote: > 1. use a frameset, with one frame (or two frames, w/ one being the smallest > possible height) > <frameset><frame > src="http://www.geocities.com/.../"></frameset> > > 2. use php's include > <?php include "http://www.geocities.com/.../"; > ?> > > If you are really going to go a geocities site, does geocites brand all the > sites they host? > > HTH > Martin > > -----Original Message----- > From: Ryan [mailto:ryankwokit@hongkong.com] > Sent: Thursday, August 08, 2002 2:44 PM > To: php-general@lists.php.net > Subject: [PHP] how to make cloaked redirect by php script > > > Dear all, > I want to perform http cloaked redirect by php script. E.g. > http://www.test.com, i want to cloaked redirect to > some....http://www.geocities.com/xxx/xxx . That means i access > the > geocities 's html file but the broswer still appear the > http://www.test.com. > > How php script can do so ? Any idea ? > > Thx to replier ! > > Ryan >

« previous php.general (#111607) next »