Code Comments
Programming Forum and web based access to our favorite programming groups.Jerry Stuckle wrote: > No, the POST is from the client end. The result of the POST is server end.[/color ] And PHP isnt able to be a client? so whats HTTPClient class from PECL for? Expand your scope! > Client end is NOT php. Neither is the enctype nor the <input type=file > tag. He quest about sending data client like. Sending a file field works fine. So long, Ulf
Post Follow-up to this messageOn Apr 1, 6:49=A0am, George Maicovschi <georgemaicovs...@gmail.com> wrote: > On Apr 1, 2:05 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote: > > > > > o ient side. > > f > > end. > ile tag. > > > From what he's saying I'd think he tries to make an auto-poster to do > posts in another website's form or a form located in another script, > and that si doable using PHP.- Hide quoted text - > > - Show quoted text - Hi, George interpreted my question correctly. George (and anyone else), regarding your question > Do you really need it to be input=3Dfile? can't you just load the file, ba=[/color ] se64_encode it I guess it doesn't have to be input=3Dfile. But when you say "load the file", what do you mean? Thanks, - Dave
Post Follow-up to this messageOn Apr 1, 2:54=A0pm, George Maicovschi <georgemaicovs...@gmail.com> wrote: > On Apr 1, 10:15 pm, "laredotorn...@zipmail.com" > > > > > > <laredotorn...@zipmail.com> wrote: > > : auto d client side. > > and stuff ... > > rver end. > =3Dfile tag. > > > > > , base64_encode it > e > > A link to the script your are trying to post in would be of much help, > but as I see, you should use either CURL or WGET to post it and use -- > post-file in wget or the equivalent in CURL to do the thing. > > Hope it helps. > > George- Hide quoted text - > > - Show quoted text - Thanks. As I write the script, I will post more. On the server end, how do I retrieve the file? For example, in the wget command, I can't see how you specify the file's parameter name. - Dave
Post Follow-up to this messagelaredotornado@zipmail.com wrote: > On Apr 1, 2:54 pm, George Maicovschi <georgemaicovs...@gmail.com> > wrote: > > Thanks. As I write the script, I will post more. On the server end, > how do I retrieve the file? For example, in the wget command, I can't > see how you specify the file's parameter name. - Dave > Don't even try to use wget. Rather, use http and submit the file from your server to the other server. Google on File upload cURL. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Post Follow-up to this messageUlf Kadner wrote: > Jerry Stuckle wrote: > > > And PHP isnt able to be a client? so whats HTTPClient class from PECL for? > > Expand your scope! > > > He quest about sending data client like. Sending a file field works fine. > > So long, Ulf > Only if you have installed PHP on the client system. How many non-developers do you know have PHP installed? Get real. In this case, if you look at his later comments, it IS client end he wants to use PHP. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Post Follow-up to this messageOn Tue, 01 Apr 2008 20:54:38 -0500, Jerry Stuckle <jstucklex@attglobal.net> wrote: >Ulf Kadner wrote: > >Only if you have installed PHP on the client system. How many >non-developers do you know have PHP installed? I know of several. In fact, there are very good reasons for using it as a client. > Get real. > >In this case, if you look at his later comments, it IS client end he >wants to use PHP. Your point? -- gburnore at DataBasix dot Com --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³ Black Helicopter Repair Services, Ltd.| Official Proof of Purchase ======================================== ===================================
Post Follow-up to this messageOn Tue, 01 Apr 2008 18:40:39 +0200, Ulf Kadner <dr_logic@gmx.net> wrote: >Jerry Stuckle wrote: > > >And PHP isnt able to be a client? Of course it can. We use php as a client on our NNTP servers to query a mysql database on another server for authentication. It works even better than the old perl script we used before it. > so whats HTTPClient class from PECL for? > >Expand your scope! Don't hold your breath. If stuckie doesn't understand how to do it, it either doesn't exist or isn't possible. He can't admit he's wrong about anything. "Don't try to use wget", heh. Fool. -- gburnore at DataBasix dot Com --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³ Black Helicopter Repair Services, Ltd.| Official Proof of Purchase ======================================== ===================================
Post Follow-up to this messageOn Apr 2, 4:53 am, Jerry Stuckle <jstuck...@attglobal.net> wrote: > laredotorn...@zipmail.com wrote: > > > > > > > Don't even try to use wget. Rather, use http and submit the file from > your server to the other server. > > Google on File upload cURL. > > -- > ================== > Remove the "x" from my email address > Jerry Stuckle > JDS Computer Training Corp. > jstuck...@attglobal.net > ================== WGET is probably a much better piece of code than CURL is and of course a much more powerful one, but everybody can use whatever he/she wants to. CURL has the advantage of being integrated right into PHP and that's why many of us prefer it. Dave, take a look at GNU's documentation for WGET, it will explain everything you need to know about what you have to do in order to achieve your purpose. Regarde, George Maicovschi.
Post Follow-up to this messageOn Apr 2, 2:22=A0am, George Maicovschi <georgemaicovs...@gmail.com> wrote: > On Apr 2, 4:53 am, Jerry Stuckle <jstuck...@attglobal.net> wrote: > > > > > > e: t auto ed client side. and stuff y .. server end. pe=3Dfile tag. do , ile, base64_encode it d the , - > > > > nd, 't > > > > > WGET is probably a much better piece of code than CURL is and of > course a much more powerful one, but everybody can use whatever he/she > wants to. > > CURL has the advantage of being integrated right into PHP and that's > why many of us prefer it. > > Dave, take a look at GNU's documentation for WGET, it will explain > everything you need to know about what you have to do in order to > achieve your purpose. > > Regarde, > George Maicovschi.- Hide quoted text - > > - Show quoted text - Hi George, I'm looking at the GNU docs, as you suggested -- http://www.gnu.org/software/wget/ma...P-Options.html, but I'm not seeing what the parameter name is of the file passed to the server. If you tell me this one time, I guarantee I won't post any more today! Thanks, - Dave
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.