Re: How to read remote files

From: Date: Fri, 03 Oct 2003 11:03:51 +0000
Subject: Re: How to read remote files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164884@lists.php.net to get a copy of this message
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 (#164884) next »