By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,053 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,053 IT Pros & Developers. It's quick & easy.

Hiding information

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Ruby Tuesday" <ru*********@yahoo.com> schrieb im Newsbeitrag
news:c6************@ID-205437.news.uni-berlin.de...
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


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

HTH
Markus
Jul 17 '05 #2

P: n/a
In article <c6************@ID-205437.news.uni-berlin.de>,
"Ruby Tuesday" <ru*********@yahoo.com> wrote:
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


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, <de*****@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
Jul 17 '05 #3

P: n/a
Ruby Tuesday wrote:
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


Why do you want that?

--
Jock
Jul 17 '05 #4

P: n/a
First, I'd like to reveal as little as possible and it look much cleaner.

Thanks
Jul 17 '05 #5

P: n/a
"Ruby Tuesday" <ru*********@yahoo.com> wrote in message
news:c6************@ID-205437.news.uni-berlin.de...
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


Easy. Just stick everything into a frame.
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.