Page 1 of 1

PEAR excel spreadsheet writer

Posted: Thu Feb 09, 2006 10:14 am
by spitfire_esquive
hello guys,

i wrote a script that used pear's excel spreadsheet writer where the extracted data is downloaded on the d:\ of the user. the thing is it works on my localhost (i am developing locally but i am connected to a home network) where the file is downloaded in MY d:\ but when i use another computer in our network it doesn't work (file is not present in d:\ of the other computer in the network).

any tips folks? or should i install a local PEAR installation in the OTHER computer for it to work?

thanks in advance!

Posted: Thu Feb 09, 2006 10:15 am
by feyd
the pear package will have to be installed on any "server" it needs to be run with.

Posted: Thu Feb 09, 2006 10:22 am
by spitfire_esquive
thanks feyd. so in essence i need to install it on the OTHER computer in my home network ?:(

i always thought that the user would not have to install anything and he would get the file.

then i have to install PHP/PEAR to the OTHER computer?

sorry for being a pest... :?

Posted: Thu Feb 09, 2006 10:40 am
by feyd
if the script itself is being run on that machine, not just requested from that machine, then yes.

Posted: Thu Feb 09, 2006 10:58 am
by spitfire_esquive
thanks feyd. i'm trying to wrap my head around it.

:D

Posted: Thu Feb 09, 2006 11:07 am
by phpScott
if the machine you orginally ran the script from is also your web server then yes the file will show up in your D:\ drive

When you use another machine it won't have access to the d:\ drive on the 2nd computer.

So you will have to create link to download the file or some other such thing as I haven't use that pear package before.

Posted: Thu Feb 09, 2006 11:20 am
by spitfire_esquive
THANK YOU ALL! :lol: :lol: :lol: