Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #1553
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Program to Submit to forms |
| Date | 2011-05-12 09:26 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <iqgn5p$1av$1@dont-email.me> (permalink) |
| References | <963a1bbc-e72d-48d7-8807-72954cef9844@dn9g2000vbb.googlegroups.com> <2011051120191639286-macroks@aimcom> <cf1719f9-b756-4949-a979-bb381bd7d7ac@y31g2000vbp.googlegroups.com> <4dcb6032$0$9518$bed64819@gradwell.net> <f43966bd-88ee-4cfd-8b81-5a11778d2765@hg8g2000vbb.googlegroups.com> |
On 5/12/2011 7:25 AM, Charlie wrote: > On May 12, 12:21 am, Denis McMahon<denis.m.f.mcma...@gmail.com> > wrote: >> On Wed, 11 May 2011 18:02:40 -0700, Charlie wrote: >>> Every reference to form handler ... blah >> >> Charlie. >> >> You asked two questions. One question was "Can I do x using php?" >> >> The answer is yes, and that was the answer you were given. >> >> If you meant to ask "How do I ..." then ask "How do I ..." >> >> The other question you asked was "Can I do x using other languages?" and >> again you were given the answer yes, because yes is again the correct >> answer. >> >> If you're looking for a method to make a php script load a page from a >> website, look at the curl module of php. >> >> Assuming you have an array of website urls and some formdata, you could, >> for example, use a foreach loop to iterate over the array and curl to >> submit the formdata to each website in turn. >> >> curl:http://www.php.net/manual/book.curl.php >> foreach:http://www.php.net/manual/control-structures.foreach.php >> arrays:http://www.php.net/manual/language.types.array.php >> >> Rgds >> >> Denis McMahon > > Lessons on grammar and trivialities such as loops are not productive. > Nor is the use of singular when referring to an aspect of PHP > consisting of 15 different functions, and reference to a page that > lists options such as "starting a session" and "getting information on > transfers and handles" without explanation as to what they mean or if > they relate to what I want to do. > > If I want to load a page from a website, you ask? I thought I > explained exactly what I want. (I referred to 10 arbitrary URLs to > make it clear that the URLs are variable and arbitrary rather than > being a single constant URL that might open up the possibility of a > hard-coded solution not appropriate for my needs.) > > But if nobody is willing to simply talk about PHP code that does what > I want (without a barrage of undefined alternate functionality to wade > through) I will just pay someone from India to explain it. His > English might be even worse than mine, but his sarcasm and > condescending level are nonexistant (which also counts.) > > Thanks > > Charlie With that attitude, you will need to pay someone to help you. Denis's answer was correct - and considering no one here knows your level of expertise, I think his comments on loops were fine. As for his comments on curl - he's also correct in pointing you in the right direction. Sure there are several functions available - but the doc is pretty good on what they do. The real problem here is you asked a broad question - and got a broad response. If you ask more specific question, you get a more specific response. Or maybe you expected someone here to write the code for you and hand it to you on a silver platter for free. It ain't gonna happen. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-11 14:25 -0700
Re: Program to Submit to forms JohnT <john@example.com> - 2011-05-11 22:17 +0000
Re: Program to Submit to forms MacRoks <macroks@aim.com> - 2011-05-11 20:19 -0400
Re: Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-11 17:47 -0700
Re: Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-11 18:02 -0700
Re: Program to Submit to forms Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-12 04:21 +0000
Re: Program to Submit to forms stephen.slator@yahoo.com - 2011-05-11 22:29 -0700
Re: Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-12 04:25 -0700
Re: Program to Submit to forms Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-12 09:26 -0400
Re: Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-12 12:43 -0700
Re: Program to Submit to forms Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-12 22:58 +0000
Re: Program to Submit to forms Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-13 02:55 +0000
Re: Program to Submit to forms Charlie <shymathguy@gmail.com> - 2011-05-13 15:42 -0700
Re: Program to Submit to forms The Natural Philosopher <tnp@invalid.invalid> - 2011-05-14 00:58 +0100
Re: Program to Submit to forms Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-12 19:30 -0400
csiph-web