On Sat, Aug 10, 2002 at 09:14:03AM -0700, Daniel Guerrier wrote:
> 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
D
>From: "Daniel Guerrier" <[EMAIL PROTECTED]>
>Sent: Saturday, August 10, 2002 12: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 an
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
>From: "Daniel Guerrier" <[EMAIL PROTECTED]>
>Sent: Saturday, August 10, 2002 12:14 PM
>Subject: [PHP] PHP form port
> How do i execute a form post with php?
http://www.php-faq.com/postToHost.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
4 matches
Mail list logo