Selecting a file in our webspace from our local system
am 02.08.2007 09:29:56 von akuvaHow 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
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
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?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
On Aug 2, 3:55 pm, Jerry Stuckle
> 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?
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
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
akuva wrote:
> On Aug 2, 3:55 pm, Jerry Stuckle
>> 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
==================
On Aug 2, 6:21 pm, Jerry Stuckle
> akuva wrote:
> > On Aug 2, 3:55 pm, Jerry Stuckle
> >> 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 likehttp://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.
> jstuck...@attglobal.net
> ==================
the file is not adding as a attachment if i give it like what u have
told sir,
http://www.example.com/emailme.html? the attachment size it is showing
as 0 bytes the file is not attaching properly how to overcome this
problem
akuva wrote:
> On Aug 2, 6:21 pm, Jerry Stuckle
>> akuva wrote:
>>> On Aug 2, 3:55 pm, Jerry Stuckle
>>>> 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 likehttp://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?
>>
>
> the file is not adding as a attachment if i give it like what u have
> told sir,
> http://www.example.com/emailme.html? the attachment size it is showing
> as 0 bytes the file is not attaching properly how to overcome this
> problem
>
>
Sorry, my crystal ball is broken. I have no idea what your problem
might be. You have provided no details other than the file doesn't get
attached.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
We do have a nice movie linked on our side explaining the file
handling in PHP - maybe this helps :)
http://www.skilltube.com/index.php?option=com_content&task=v iew&id=44...
On 3 Aug., 08:27, akuva
> On Aug 2, 6:21 pm, Jerry Stuckle
>
>
>
> > akuva wrote:
> > > On Aug 2, 3:55 pm, Jerry Stuckle
> > >> akuva wrote:
> > >>> How to read afilewhich 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 thefilefrom the local system already? What do you want
> > >> to do with thefile- copy it, display it, what?
>
> > > i want to attach thatfilewith my mail so i have to just make a
> > > reference of thatfilefrom my local system. I have created a
> > > apllication to send email from my local system but the attachment it
> > > has to take from afilestored in my webserver to reduce the bandwidth
> > > usage. How to point to thefilein my weserver from local system
>
> > OK, is thefileavailable to the webserver? That is, could you display
> > it in a browser with a url likehttp://www.example.com/emailme.html?
>
> > If so, you can just fopen() the url and fread() thefile.
>
> > If it isn't, how do can you access thefilefrom your local machine
> > without using PHP?
>
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > ==================
>
> thefileis not adding as a attachment if i give it like what u have
> told sir,http://www.example.com/emailme.html?the attachment size it is showing
> as 0 bytes thefileis not attaching properly how to overcome this
> problem
On Wed, 15 Aug 2007 15:19:46 +0200,
> We do have a nice movie linked on our side explaining the file
> handling in PHP - maybe this helps :)
>
>
On the off chance you actually read this:
1. Please don't toppost.
2. Please actually read & respond to questions instead of just promoting
your tutorial with the exact same text over and over in every thread which
might be related.
--
Rik Wasmus
Rik wrote:
> On Wed, 15 Aug 2007 15:19:46 +0200,
>> We do have a nice movie linked on our side explaining the file
>> handling in PHP - maybe this helps :)
>>
>>
>
> On the off chance you actually read this:
>
> 1. Please don't toppost.
> 2. Please actually read & respond to questions instead of just promoting
> your tutorial with the exact same text over and over in every thread
> which might be related.
>
> --Rik Wasmus
Rik, don't you know by now spammers can't read?
And I checked it out. It isn't even on his site. All that is is a link
to a movie on another site.
Spammers aren't very smart, are they?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
On Wed, 15 Aug 2007 17:16:30 +0200, Jerry Stuckle
> Rik wrote:
>> On Wed, 15 Aug 2007 15:19:46 +0200,
>>> We do have a nice movie linked on our side explaining the file
>>> handling in PHP - maybe this helps :)
>>>
>>>
>> On the off chance you actually read this:
>> 1. Please don't toppost.
>> 2. Please actually read & respond to questions instead of just
>> promoting your tutorial with the exact same text over and over in every
>> thread which might be related.
>
> Rik, don't you know by now spammers can't read?
It's my sunny outlook on life, which always give me idle hope there is
some genuine misunderstanding that can be rectified :-)
> Spammers aren't very smart, are they?
People actually clicking on links in spam even more so. That's what is
keeping spam alive. No returns on spam would mean a very quick death.
--
Rik Wasmus
Rik wrote:
> On Wed, 15 Aug 2007 17:16:30 +0200, Jerry Stuckle
>
>
>> Rik wrote:
>>> On Wed, 15 Aug 2007 15:19:46 +0200,
>>>> We do have a nice movie linked on our side explaining the file
>>>> handling in PHP - maybe this helps :)
>>>>
>>>>
>>> On the off chance you actually read this:
>>> 1. Please don't toppost.
>>> 2. Please actually read & respond to questions instead of just
>>> promoting your tutorial with the exact same text over and over in
>>> every thread which might be related.
>>
>> Rik, don't you know by now spammers can't read?
>
> It's my sunny outlook on life, which always give me idle hope there is
> some genuine misunderstanding that can be rectified :-)
>
>> Spammers aren't very smart, are they?
>
> People actually clicking on links in spam even more so. That's what is
> keeping spam alive. No returns on spam would mean a very quick death.
True - I just clicked because I was going to make a comment on how bad
the "tutorial" was - spammer's "tutorials" always are. But imagine my
surprise when I found it wasn't even his tutorial! :-)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
On Wed, 15 Aug 2007 19:16:00 +0200, Jerry Stuckle
> Rik wrote:
>> On Wed, 15 Aug 2007 17:16:30 +0200, Jerry Stuckle
>>
>>
>>> Rik wrote:
>>>> On Wed, 15 Aug 2007 15:19:46 +0200,
>>>>> We do have a nice movie linked on our side explaining the file
>>>>> handling in PHP - maybe this helps :)
>>>>>
>>>>>
>>>> On the off chance you actually read this:
>>>> 1. Please don't toppost.
>>>> 2. Please actually read & respond to questions instead of just
>>>> promoting your tutorial with the exact same text over and over in
>>>> every thread which might be related.
>>>
>>> Rik, don't you know by now spammers can't read?
>> It's my sunny outlook on life, which always give me idle hope there is
>> some genuine misunderstanding that can be rectified :-)
>>
>>> Spammers aren't very smart, are they?
>> People actually clicking on links in spam even more so. That's what is
>> keeping spam alive. No returns on spam would mean a very quick death.
>
>
>
> True - I just clicked because I was going to make a comment on how bad
> the "tutorial" was
Hehe, as did I :-). Then after some minutes of a very irritating guy
raving about syntax coloring in his favourite editor I gave up trying to
find the actual tutorial parts for mental health reasons..
--
Rik Wasmus
Rik wrote:
> On Wed, 15 Aug 2007 19:16:00 +0200, Jerry Stuckle
>
>
>> Rik wrote:
>>> On Wed, 15 Aug 2007 17:16:30 +0200, Jerry Stuckle
>>>
>>>
>>>> Rik wrote:
>>>>> On Wed, 15 Aug 2007 15:19:46 +0200,
>>>>>> We do have a nice movie linked on our side explaining the file
>>>>>> handling in PHP - maybe this helps :)
>>>>>>
>>>>>>
>>>>> On the off chance you actually read this:
>>>>> 1. Please don't toppost.
>>>>> 2. Please actually read & respond to questions instead of just
>>>>> promoting your tutorial with the exact same text over and over in
>>>>> every thread which might be related.
>>>>
>>>> Rik, don't you know by now spammers can't read?
>>> It's my sunny outlook on life, which always give me idle hope there
>>> is some genuine misunderstanding that can be rectified :-)
>>>
>>>> Spammers aren't very smart, are they?
>>> People actually clicking on links in spam even more so. That's what
>>> is keeping spam alive. No returns on spam would mean a very quick death.
>>
>>
>>
>> True - I just clicked because I was going to make a comment on how bad
>> the "tutorial" was
>
>
> Hehe, as did I :-). Then after some minutes of a very irritating guy
> raving about syntax coloring in his favourite editor I gave up trying to
> find the actual tutorial parts for mental health reasons..
Well, you went farther than I did. I didn't even clock on the link
"tutorial". :-)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
> Well, you went farther than I did. I didn't even clock on the link
> "tutorial"
>
Do you mean your slagging off something you havent even looked at ? .
--
(c) The Amazing Krustov
On Wed, 15 Aug 2007 21:44:37 +0200, Krustov
>
>
>
>
>
>> Well, you went farther than I did. I didn't even clock on the link
>> "tutorial"
>>
>
> Do you mean your slagging off something you havent even looked at ? .
Nope, reading is an art. He deduced he was a spammer, tried to slag off
the tutorial, but gave up due to the fact it wasn't even his...
--
Rik Wasmus