jakerbug
02-23-2007, 08:47 PM
I know this is probably a very dumb question with a very easy answer (and yes, I did Google it - it's probably just so self explanitory that no one's ever had the occasion to ask before...):
Can I reference a file on my local hard drive as a PHP "include?" I realize that simply by virtue of the fact that PHP is a server-side languge, the answer is probably "no," but I like to be told "no" rather than just assume it.
The guts of the file I'm working on live on my local machine, and I just need to get it through the PHP script on the server... Rather that go through the extra step of uploading the file to the server and then running it through the PHP script, I just thought it would be nice if I could cut out that middle step.
Can I reference a file on my local hard drive as a PHP "include?" I realize that simply by virtue of the fact that PHP is a server-side languge, the answer is probably "no," but I like to be told "no" rather than just assume it.
The guts of the file I'm working on live on my local machine, and I just need to get it through the PHP script on the server... Rather that go through the extra step of uploading the file to the server and then running it through the PHP script, I just thought it would be nice if I could cut out that middle step.