Ask a Question related to PHP Development, Design and Development.
-
Robert Ngo #1
move uploaded file to a different server
is it possible to use move_uploaded_file to send the uploaded file to
another server?
Robert Ngo Guest
-
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type ?
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
note 33822 deleted from function.move-uploaded-file by alindeman
Note Submitter: eye_of_a_raven ---- this might come in handy: $where_to_move = $_SERVER."/somedir"; -
note 33683 added to function.move-uploaded-file
i get the following error: Warning: move_uploaded_file(picture.bmp) : failed to create stream: Permission denied in... -
note 33564 deleted from function.move-uploaded-file by sp
Note Submitter: fuckyou@bigfool.cu ---- Fuck you man!! What you thing about? I hate you!! Thats fuck man!! -
iuz #2
Re: move uploaded file to a different server
Robert Ngo wrote:
try to send received file with your script to another script in the final> is it possible to use move_uploaded_file to send the uploaded file to
> another server?
server..
or maybe you can use ftp functions..
--
[url]www.iuz-lab.info[/url]
iuz Guest
-
Robert Ngo #3
Re: move uploaded file to a different server
the problem is that the form that upload the file will usually have other
data. if i put the upload script in the destination server how about the
other form data.
"iuz" <user@host.network> wrote in message
news:nXoad.19045$b5.935918@news3.tin.it...> Robert Ngo wrote:
>>> > is it possible to use move_uploaded_file to send the uploaded file to
> > another server?
> try to send received file with your script to another script in the final
> server..
> or maybe you can use ftp functions..
>
> --
> [url]www.iuz-lab.info[/url]
Robert Ngo Guest
-
iuz #4
Re: move uploaded file to a different server
Robert Ngo wrote:
you have 2 script..> the problem is that the form that upload the file will usually have other
> data. if i put the upload script in the destination server how about the
> other form data.
>
> "iuz" <user@host.network> wrote in message
> news:nXoad.19045$b5.935918@news3.tin.it...>> Robert Ngo wrote:
>>>>>> > is it possible to use move_uploaded_file to send the uploaded file to
>> > another server?
>> try to send received file with your script to another script in the final
>> server..
>> or maybe you can use ftp functions..
>>
>> --
>> [url]www.iuz-lab.info[/url]
initial server..
retrieve file
retrieve infos
register infos wherever you want to
(send by post OR ftp to) the file to the final server
final server..
retrieve file
store the file
--
[url]www.iuz-lab.info[/url]
iuz Guest
-
Robert Ngo #5
Re: move uploaded file to a different server
if the final server does not have php and apache will send by post work?
"iuz" <user@host.network> wrote in message
news:5Juad.20320$b5.1000576@news3.tin.it...other> Robert Ngo wrote:
>> > the problem is that the form that upload the file will usually haveto> > data. if i put the upload script in the destination server how about the
> > other form data.
> >
> > "iuz" <user@host.network> wrote in message
> > news:nXoad.19045$b5.935918@news3.tin.it...> >> Robert Ngo wrote:
> >>
> >> > is it possible to use move_uploaded_file to send the uploaded filefinal> >> > another server?
> >>
> >> try to send received file with your script to another script in the>> >> server..
> >> or maybe you can use ftp functions..
> >>
> >> --
> >> [url]www.iuz-lab.info[/url]
> you have 2 script..
> initial server..
> retrieve file
> retrieve infos
> register infos wherever you want to
> (send by post OR ftp to) the file to the final server
>
> final server..
> retrieve file
> store the file
>
> --
> [url]www.iuz-lab.info[/url]
Robert Ngo Guest
-
iuz #6
Re: move uploaded file to a different server
Robert Ngo wrote:
[..]> if the final server does not have php and apache will send by post work?
>
no it won't work..
in this case you have to store the received file in the initial server and
with ftp function upload it to the final..
--
[url]www.iuz-lab.info[/url]
iuz Guest
-
Robert Ngo #7
Re: move uploaded file to a different server
ftp will work but my boss does not like the idea of setting the username and
password of the ftp account in the php script.
"iuz" <user@host.network> wrote in message
news:O9Tad.25892$b5.1307348@news3.tin.it...> Robert Ngo wrote:
>> [..]> > if the final server does not have php and apache will send by post work?
> >
>
> no it won't work..
> in this case you have to store the received file in the initial server and
> with ftp function upload it to the final..
>
> --
> [url]www.iuz-lab.info[/url]
Robert Ngo Guest



Reply With Quote

