Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Header forwarding with POST parameters

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf


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
use normal control structures with it
the $_POST will work if the form method is post
User avatar
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

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.
User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.