Re: How to read remote files

From: Date: Fri, 03 Oct 2003 11:18:11 +0000
Subject: Re: How to read remote files
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164885@lists.php.net to get a copy of this message
it's not about user's security, cauz, of course, user'll have to specify the page. ----- Original Message ----- From: "John W. Holmes" <holmes072000@charter.net> To: "Nitin" <nitinmehta@kappa.net.in> Cc: "PHP-General" <php-general@lists.php.net> Sent: Friday, October 03, 2003 4:33 PM Subject: Re: [PHP] How to read remote files > Nitin wrote: > > > I'm having a problem, hope to get some suggestios on the same. > > Here it goes: > > > > I've an application where I need to read an html file stored on user's pc through my PHP script and send an email to specified addresses. > > > > Problem is how to read a file on user's pc as I cann't allow them to upload any file to my server. My script will also detect any pictures attached and embed those to the message. > > Ummm... NO. You can't just read a file on a user's computer. There is > such a thing as security for most of us. :) > > The user needs to upload it, ftp it, or run their own server to give you > access to it. > > -- > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > php|architect: The Magazine for PHP Professionals – www.phparch.com > > > >

« previous php.general (#164885) next »