4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 POSTing via PHP
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Wed May 21, 2003 4:39 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Is there any way to use the post function in php. I want to post to sendmail.cgi from php code.
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed May 21, 2003 4:50 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Here you go, the code is all there Very Happy

Arrow http://www.faqts.com/knowledge_base/view.phtml/aid/7962

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Tue Jun 10, 2003 1:14 am (20 years, 10 months ago) Reply with QuoteBack to Top

I would like to turn this html form into php and I cant figure it out
Code:
<form method="post" action="www.mydomain.com/cgi-bin/FormMail.cgi>
<input type="hidden" name="v" value="5">
</form>
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Tue Jun 10, 2003 7:45 am (20 years, 10 months ago) Reply with QuoteBack to Top

I guess you would use this then:

Code:
<?
// The url to submit the form to
$form_url    = "http://www.mydomain.com/cgi-bin/FormMail.cgi";
$form_method = "POST";

// The form data to pass
$form_data['v']     = '5';

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.217168 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme