🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.php
Article #21

Re: Transfer files from/to Server

#21
From: Jose Luis Rodr�guez Sevilla
Date: Mon, 05 Jun 2000 00:00
30 lines
2207 bytes
Thak you All.

I tried something taht you said and others and it works ok.

Bye. Jose Luis
"(TOM)" <ptittom@free.fr> escribi� en el mensaje
news:F2zZ4.617$Er3.1754183@nnrp2.proxad.net...
>
> Andy Lewis a �crit dans le message
> <010620001231126791%ajlewis@puresoftware.nospam.co.uk>
> > Fun area. Don't have time to answer this properly, but if you're trying
> > to do what I *think* you are, you probably need an upload form - take a
> > look at the PHP manual, under "Handling File Uploads"
>
> For a localhost->webserver transfert but not for a webserver->localhost
>
> "Jose Luis Rodr�guez Sevilla" escribi� en el mensaje
> <news:8gtvre$qaq$1@talia.mad.ttd.net>
> > I have a file in my servers whose data are in a varibles named
> > "$contents".
> > Can i put this in a directory of my PC, for example "C:\TEST\".?
>
> For this, simply doing something like :
>   header("Content-Type: text/plain") ; // or the MIME type of the data
>   print($contents) ;
> should do the trick, but is very useless !
> To download a file, just type in its URL, eventually following this by a
> "Save as..." if your browser parses the file.
> Am I wrong ? I don't think so, or I didn't understand the question...
>
Technical Details
Message-ID: <8hgjd6$5b$1@talia.mad.ttd.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8gtvre$qaq$1@talia.mad.ttd.net> <8gvsha$o46$1@talia.mad.ttd.net> <010620001231126791%ajlewis@puresoftware.nospam.co.uk> <F2zZ4.617$Er3.1754183@nnrp2.proxad.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10f92b,ef92b143b0e1909a
X-Google-Attributes: gid10f92b,public
X-Google-Thread: 10b1d3,ef92b143b0e1909a
X-Google-Attributes: gid10b1d3,public
X-Google-Thread: 1148a8,ef92b143b0e1909a
X-Google-Attributes: gid1148a8,public
X-Google-Thread: 10ce1c,ef92b143b0e1909a
X-Google-Attributes: gid10ce1c,public
From: "Jose Luis Rodr�guez Sevilla" <joseluis@REMOVEMEferca.com>
Subject: Re: Transfer files from/to Server
Date: 2000/06/05
Message-ID: <8hgjd6$5b$1@talia.mad.ttd.net>
X-Deja-AN: 631329465
References: <8gtvre$qaq$1@talia.mad.ttd.net> <8gvsha$o46$1@talia.mad.ttd.net> <010620001231126791%ajlewis@puresoftware.nospam.co.uk> <F2zZ4.617$Er3.1754183@nnrp2.proxad.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Telefonica Transmision de Datos
X-MSMail-Priority: Normal
Newsgroups: de.comp.lang.php,ba.php,fr.comp.infosystemes.www.auteurs.php,ufra.lists.php