Header forwarding with POST parameters

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

post

Postby ruturajv » Fri Apr 25, 2003 2:50 am

consider you have element

Code: Select all

<input type=text name="val1">


you can get the value from the new page that is loaded on the submit button this way

Code: Select all

$_POST['val1']
use normal control structures with it
the $_POST will work if the form method is post

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Tue Apr 29, 2003 3:06 am

Is there a way to somehow have POST parameters sent to an URL within a PHP script? ie. without an actual <form method="post"> on a webpage that is submitted by a visitor.


You could try looking into socket connections.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest