Page 1 of 1

PHP Include from another IP

Posted: Sat Nov 15, 2003 5:07 pm
by mwsmith
I'm on a college network, running a server from my computer. The IP I have is internal though, so it cannot be accessed from outside the network. I do have space on the school's webserver.

I was hoping that I might be able to use an include to display the files from my computer on the server, but this doesn't seem to be working, at least with a simple PHP include().

Is there a way to include a file that isn't on the server, but is within the network?

Posted: Sat Nov 15, 2003 5:27 pm
by Weirdan
include should do it over HTTP, so you should have local web-server listening on network interface (or you can try samba or nfs to mount remote folders to your external web-server, but that's another story).