|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Is possible to post values directly to a webpage, but without using a submit button, i.e. directly from the server and no human interaction.
Cheers Andrew
__________________
Discount shopping vouchers |
|
||||
|
Do you mean transclusion?
<simplelink href="MySite.xml" show="embed" actuate="onload" /> Combining XLink with XML's fragment identifier XPointer or XPath, you can embed fragments of an XML or XHTML document into another. It should be possible serverside with PHP and one of it's many XML parsers where DOM is the most advanced. Note: XHTML documents can be regarded as XML documents in this respect.
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started I will use a search engine before I ask dumb questions. Last edited by kgun; 10-31-2007 at 09:51 AM. |
|
||||
|
Hi Andrew,
You can do that via a cron job to fire a PHP script which POSTs variables to your website. If you do not have access to cron on your server, or find cron too technical try this free PHP scheduler: phpJobScheduler - scheduling PHP scripts to run at set intervals your replacement for cron jobs Hope that helps Dave Walker
__________________
Experienced UK website host hosting sites for over a decade; Need to host mutliple domains and websites check out our Reseller hosting or try our Fully managed servers |
|
|||
|
To clarify want i am trying to do, i am trying to send data to an external webserver using the command fsockopen. I have a form submit example below but i do not know want data is actually sent from this page as i want to build the output from this page into a string so i can send using the fsockopen command.
<form method="post" action="Example Web Page"> <P>Username:<br> <INPUT name="Username" type="text"></P> <P>Password:<br> <INPUT name="Password" type="password"></P> <P>Account:<br> <INPUT name="Account" type="text"></P> <P>Sender :<br> <INPUT name="Originator" type="text"></P> <P>Recipient:<br> <INPUT name="Recipient" type="text"></P> <P>Message:<br> <input type="submit" value="Send"> </form> Essentially i need to know the output from this form/submit so i can send the same data to a webserver via the fsockopen and fputs commands. Cheers Andrew
__________________
Discount shopping vouchers |
|
||||
|
There are loads of examples here:
PHP: fsockopen - Manual Do not forget that on some hosts PHP fsockopen is disabled. In that case use: PHP: CURL, Client URL Library Functions - Manual
__________________
Experienced UK website host hosting sites for over a decade; Need to host mutliple domains and websites check out our Reseller hosting or try our Fully managed servers |
|
||||
|
Need to know the output before submitting the form? If yes, isn't that a typical AJAX solution?
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started I will use a search engine before I ask dumb questions. |
|
||||
|
A very good principle is to start making a site function well in the most used web browser.
Fx now beats IE 6 and IE 7 individually, but not together. Here is a related thread of user statistics.
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started I will use a search engine before I ask dumb questions. |
|
|||
|
Thanks for all the help and possible solutions, i will look into the possible solution using firefox to see the responses.
Cheers Andrew
__________________
Discount shopping vouchers |
|
|||
|
This sounds like a spider that is needing to input form data. If thats the case check out this book:
WEBBOTS, SPIDERS and SCREEN SCRAPERS by Michael Schrenk The book has a utility for doing what you are talking about. It allows you to see the form variables for the form. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Css problem | subho | Graphics & Design Discussion Forum | 2 | 09-22-2005 10:26 AM |
| SSL problem... | montytx | eCommerce Discussion Forum | 1 | 02-20-2005 10:30 PM |
| Another WPW problem | minstrel | WebProWorld: Guidelines/Announcements/Suggestions | 3 | 11-24-2004 04:24 PM |
| CSS / IE problem... | Orion | Web Programming Discussion Forum | 2 | 06-21-2004 05:02 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2010 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |