Re: PHP form port
| From: | John Wards | Date: | Sat, 10 Aug 2002 16:29:55 +0000 |
| Subject: | Re: PHP form port | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111956@lists.php.net to get a copy of this message | ||
either do this
$your vars = value
include process.php;
or
header "process.php?your_var=value&your other stuff";
or
$url = http://www.yourserver.com/process.php?your_var=value&etc;
$contents = file($send);
This will execute your php file and return into $contents the html that is
outputed. You don't need to use the html if you don't want to.
John Wards
SportNetwork.net
----- Original Message -----
From: "Daniel Guerrier" <dan_guerrier@yahoo.com>
To: "php user group" <php-general@lists.php.net>
Sent: Saturday, August 10, 2002 5:14 PM
Subject: [PHP] PHP form port
> How do i execute a form post with php?
> I want to validate CCard info etc.. then perform the
> post with no furtheraction from the user.
>
> Basically If not valid stay here and show whats wrong
> ELSE post form to process.php
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php