FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
POSTing via PHP
Forum Index
»
Server-Side Coding
Author
Message
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
Posted: Wed May 21, 2003 4:39 pm (21 years, 1 month ago)
Is there any way to use the post function in php. I want to post to sendmail.cgi from php code.
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
Posted: Wed May 21, 2003 4:50 pm (21 years, 1 month ago)
Here you go, the code is all there
http://www.faqts.com/knowledge_base/view.phtml/aid/7962
________________________________
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
Posted: Tue Jun 10, 2003 1:14 am (21 years ago)
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>
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
Posted: Tue Jun 10, 2003 7:45 am (21 years ago)
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';
________________________________
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Server-Side Coding
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
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.1231 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme