Re: Auto submitting a form that contains a file field
- From: George Maicovschi <georgemaicovschi@xxxxxxxxx>
- Date: Tue, 1 Apr 2008 12:54:59 -0700 (PDT)
On Apr 1, 10:15 pm, "laredotorn...@xxxxxxxxxxx"
<laredotorn...@xxxxxxxxxxx> wrote:
On Apr 1, 6:49 am, George Maicovschi <georgemaicovs...@xxxxxxxxx>
wrote:
On Apr 1, 2:05 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
laredotorn...@xxxxxxxxxxx wrote:
On Mar 31, 10:15 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
laredotorn...@xxxxxxxxxxx wrote:
Hi,Nope. Can't do it with PHP. PHP is server side, and you need client side.
I'm using php 5. Does anyone have any code or a function that auto
submits a form that contains a single INPUT, of type = file?
Thanks, - Dave
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================
Actually this would be a server side function that POSTs to a URL and
the enctype would be "multipart/form-data". I've found tons of stuff
that auto-submit forms where you can put the parameters in a query
string, but with inputs that are of file types, you can't do that ...
or can you?
- Dave
No, the POST is from the client end. The result of the POST is server end.
Client end is NOT php. Neither is the enctype nor the <input type=file tag.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================
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=file? can't you just load the file, base64_encode it
I guess it doesn't have to be input=file. But when you say "load the
file", what do you mean? Thanks, - Dave
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
.
- Follow-Ups:
- Re: Auto submitting a form that contains a file field
- From: laredotornado@xxxxxxxxxxx
- Re: Auto submitting a form that contains a file field
- References:
- Auto submitting a form that contains a file field
- From: laredotornado@xxxxxxxxxxx
- Re: Auto submitting a form that contains a file field
- From: Jerry Stuckle
- Re: Auto submitting a form that contains a file field
- From: laredotornado@xxxxxxxxxxx
- Re: Auto submitting a form that contains a file field
- From: Jerry Stuckle
- Re: Auto submitting a form that contains a file field
- From: George Maicovschi
- Re: Auto submitting a form that contains a file field
- From: laredotornado@xxxxxxxxxxx
- Auto submitting a form that contains a file field
- Prev by Date: Re: Auto submitting a form that contains a file field
- Next by Date: Re: imagettftext w/o anti alias in small font sizes -> ugly
- Previous by thread: Re: Auto submitting a form that contains a file field
- Next by thread: Re: Auto submitting a form that contains a file field
- Index(es):
Relevant Pages
|