Reply to Re: Selecting a file in our webspace from our local system

Your name:

Reply:


Posted by Jerry Stuckle on 08/02/07 13:21

akuva wrote:
> On Aug 2, 3:55 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> akuva wrote:
>>> How to read a file which is in our webspace from localsystem in php.
>>> please give me ideas or any code if anybody has it will be helpful
>> Can you access the file from the local system already? What do you want
>> to do with the file - copy it, display it, what?
>>
>
> i want to attach that file with my mail so i have to just make a
> reference of that file from my local system. I have created a
> apllication to send email from my local system but the attachment it
> has to take from a file stored in my webserver to reduce the bandwidth
> usage. How to point to the file in my weserver from local system
>

OK, is the file available to the webserver? That is, could you display
it in a browser with a url like http://www.example.com/emailme.html?

If so, you can just fopen() the url and fread() the file.

If it isn't, how do can you access the file from your local machine
without using PHP?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация