Page 1 of 1

Re: best way to hide url

Posted: Sun Aug 02, 2009 12:35 pm
by jackpf
You can't hide the location because obviously the browser needs to know where it is to go and download the page.

Can you not use php to decide whether to show the board or not?

Like....

Code: Select all

if($whatever_condition_to_show_the_board)
echo 'board stuff....';
else
echo 'board not available...';

Re: best way to hide url

Posted: Sun Aug 02, 2009 2:56 pm
by jackpf
They base64 encode the urls...but then they unencode it to actually get the page contents.

You could make your own page which acts like a link to the chat script or whatever. Just research fopen() and fread(). Oh, and make sure you send the right headers.

Although...I don't really see the point...since the this script might as well be the chat script itself, since all it's doing is relaying the file contents.

Re: best way to hide url

Posted: Mon Aug 03, 2009 7:05 am
by jackpf
Well...you could. You could link to the script with script=flash or script=js in the url...and get the corresponding file contents.

For example:

Code: Select all

switch($_GET['script'])
{
case 'flash':
echo file_get_contents('chat_script/flash_file.flv');
break;
//....and so on
}