This topic is locked

Get Vs. Post

6/17/2005 7:41:10 PM
PHPRunner General questions
J
jfj3rd author

I've done some introductory study on PHP in general and have had many dealings with different coders over the past year. My question goes like this..
http://www.Mydomain/user_edit.php?editid=1...n&editid3=Jones
The .php? is a direct result of using 'post' in your form. Ie.

<form method="POST" action="user_list.php" name="frmAdmin">
I don't like all that info being displayed after the ? mark. However, going into the documents and editing them myself, changing POST to GET didn't seem to do the trick.
Why did it not do the trick?

Can I use PHP Runner to change this?

How can I change it outside of phprunner?
Best,
John F. Jones III

Sergey Kornilov admin 6/20/2005

Hi,
actually the info after the ? mark appears if you use GET method. If you want to rid of this info change all GETs to POSTs (there are more than one form on the list page).
The URL like http://www.Mydomain/user_edit.php?editid=1...n&editid3=Jones is used to allow direct links to EDIT/VIEW pages or to search results.
Also there is no problem with security. We have added an additional protection on

all PHP pages to prevent somebody from getting access to restricted info or by modifying URL manually. Basically speaking you won't be able to edit, delete or even view data if you don't have permissions to do so.