You are here: Re: Post URL ? « PHP « IT news, forums, messages
Re: Post URL ?

Posted by "Mark Rees" on 07/18/05 11:49

""Joey"" <Joey@Web56.Net> wrote in message
news:JUPITERGFyqQMfHYxDn00000001@jupiter.innovativeinternet.net...
> OK I understand the difference between a get & a post but if I just have a
> URL/link which is calling a function like so:
>
> abc.com/display_information?customer_number=$value
>
> It passes to the display_information the customer number visably, is there
a
> way to do this where it's not visable?
>
> Thanks,
>
> Joey


What problem are you trying to solve here? Is it a matter of security? Are
you for example trying to stop people from seeing other users' details by
pasting in their customer number?

If so, you could require a password.
If it's important to hide the customer number, you can use a semantically
meaningless key to look it up in the db.

If you don't want it to appear in the url, make a POST request, store it in
a cookie or a session.

It all depends on what you actually want to do.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация