POST is working as GET

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mvivekananda
Forum Newbie
Posts: 1
Joined: Fri Jun 03, 2005 11:43 pm
Contact:

POST is working as GET

Post by mvivekananda »

Hi there

I am using phpTriad on windows and the problem is though i am using POST method in form.
When I submit the form everything goes through url and nothing comes in $_POST
variable!

if the solution is known to any body plz let me know
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

The form is in this format and still the name (name1) is sent in the url as page1.php?a=value ?

Code: Select all

<form method=&quote;post&quote; action=&quote;page2.php&quote;>
<input name=&quote;name1&quote;.../>
...
</form>
Post Reply