Automatic Form Submission?

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
Hibba
Forum Commoner
Posts: 58
Joined: Fri Oct 29, 2004 11:37 pm

Automatic Form Submission?

Post by Hibba »

I have one php file. It will display a <form> if 'submit' is not set, otherwise it will send me some mail and then I want it to send the form variables via a POST method.

Some important things to note:
1. The form action directs it to PHP_SELF, so when it comes back in, it can mail and do other things for me.
2. Due to the nature of some of this code, I do not want show anything yet because some of this is for credit card authentication, so the idea is basically the most important thing here.
3. This has to be done this way because I have to send the data to two places, Verisign and myself.

So my question is: Is it possible to automatically submit form variables to a URL after they have been submitted to a PHP file?

Thanks so much!
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

fsockopen()


this question was asked a few days ago, search for the post (theres info you will prob find usefull)
Post Reply