Connecting Tech Pros Worldwide Help | Site Map

Hiding information

Ruby Tuesday
Guest
 
Posts: n/a
#1: Jul 17 '05
When I execute a php script from web with some argument, e.g:

http://site/phpscript.php?name=blahblah&number=1234

It shows in the address bar of the browser.

How do I hide those information completely so when user browse the side,
it's only show the sitename but not the actual scripts. Thanks


Markus Ernst
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Hiding information


"Ruby Tuesday" <rubytuzdayz@yahoo.com> schrieb im Newsbeitrag
news:c60rf5$6jut1$1@ID-205437.news.uni-berlin.de...[color=blue]
> When I execute a php script from web with some argument, e.g:
>
> http://site/phpscript.php?name=blahblah&number=1234
>
> It shows in the address bar of the browser.
>
> How do I hide those information completely so when user browse the side,
> it's only show the sitename but not the actual scripts. Thanks
>
>[/color]

- When using forms, use the post method
- When using URL, use mod_rewrite:
http://www.alistapart.com/articles/succeed/

HTH
Markus


Jan Pieter Kunst
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Hiding information


In article <c60rf5$6jut1$1@ID-205437.news.uni-berlin.de>,
"Ruby Tuesday" <rubytuzdayz@yahoo.com> wrote:
[color=blue]
> When I execute a php script from web with some argument, e.g:
>
> http://site/phpscript.php?name=blahblah&number=1234
>
> It shows in the address bar of the browser.
>
> How do I hide those information completely so when user browse the side,
> it's only show the sitename but not the actual scripts. Thanks[/color]

With forms, use <form method="post"> instead of <form method="get">. I
don't think you can hide the arguments if you use links instead of forms.

JP

--
Sorry, <devnull@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
John Dunlop
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Hiding information


Ruby Tuesday wrote:
[color=blue]
> When I execute a php script from web with some argument, e.g:
>
> http://site/phpscript.php?name=blahblah&number=1234
>
> It shows in the address bar of the browser.
>
> How do I hide those information completely so when user browse the side,
> it's only show the sitename but not the actual scripts. Thanks[/color]

Why do you want that?

--
Jock
Ruby Tuesdays
Guest
 
Posts: n/a
#5: Jul 17 '05

re: Hiding information


First, I'd like to reveal as little as possible and it look much cleaner.

Thanks


Chung Leong
Guest
 
Posts: n/a
#6: Jul 17 '05

re: Hiding information


"Ruby Tuesday" <rubytuzdayz@yahoo.com> wrote in message
news:c60rf5$6jut1$1@ID-205437.news.uni-berlin.de...[color=blue]
> When I execute a php script from web with some argument, e.g:
>
> http://site/phpscript.php?name=blahblah&number=1234
>
> It shows in the address bar of the browser.
>
> How do I hide those information completely so when user browse the side,
> it's only show the sitename but not the actual scripts. Thanks
>
>[/color]

Easy. Just stick everything into a frame.


Closed Thread