Access a file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
s_coder
Forum Newbie
Posts: 8
Joined: Thu May 14, 2009 4:59 am

Access a file

Post by s_coder »

Hello ,
I have a file which is on local machine now i want to access this file online that is i have a file object and it should automatically take the path of the file which is on my local hard drive...
eg. c:/myfile.txt

is this possible? if yes? how can i do it?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Access a file

Post by requinix »

Can't do it. You have to upload the file to the server first.
s_coder
Forum Newbie
Posts: 8
Joined: Thu May 14, 2009 4:59 am

Re: Access a file

Post by s_coder »

how to upload the file without using browse and upload that is file object? because i have a static file with a fixed path .... and i have to upload that file....is it possible?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Access a file

Post by requinix »

You can't - not without Flash, Java, or ActiveX.
s_coder
Forum Newbie
Posts: 8
Joined: Thu May 14, 2009 4:59 am

Re: Access a file

Post by s_coder »

its possible! i have done it successfully now....... :D :) :D
Post Reply