iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2008, 11:18 AM
WebProWorld New Member
 
Join Date: Dec 2008
Location: Romania
Posts: 9
MH-Dolly RepRank 0
Default How to make a pot request in php

How to make a post request in php without using a form ?
Reply With Quote
  #2 (permalink)  
Old 12-09-2008, 03:24 AM
WebProWorld Member
 
Join Date: Aug 2008
Posts: 63
maneetpuri RepRank 0
Default Re: How to make a pot request in php

Hi,

POST requests are server variables, which can only get created when a form is submitted and I don’t think there is any way of creating a post request without submitting a form. If you have to send a request to some other server which uses API then you can use CURL to do this otherwise if it has to be on the same server then the only way is by submitting a form. Now if you do not want to show a form on the webpage what you can create a form with all hidden fields and use the JavaScript to submit this form, you can call the JavaScript to submit this form on onload event of the body or on any click.

Hope this makes sense.

Cheers,
__________________
Web Design Services \ Data Mining Services
"Our Vision, Your Expansion"
Reply With Quote
  #3 (permalink)  
Old 12-17-2008, 06:35 AM
Moderator
WebProWorld Moderator
 
Join Date: Oct 2003
Location: Alberta, Canada
Posts: 878
weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6
Default Re: How to make a pot request in php

Quote:
Originally Posted by maneetpuri View Post
Hope this makes sense
Yes, it does.

Last edited by weegillis; 12-17-2008 at 06:38 AM.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Request Davey Introductions 7 12-22-2004 12:47 AM
Request lionel2 Services for Sale/Hire 0 11-29-2004 01:05 AM
400 Bad Request 27thNub Graphics & Design Discussion Forum 2 09-22-2004 07:35 AM
First request for help! KateCB Domain Discussion Forum 5 05-11-2004 05:20 PM


All times are GMT -4. The time now is 06:22 PM.



Search Engine Optimization by vBSEO 3.3.0