using a PHP application on a LAN network

  • dhoyin
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Aug 10, 2005
  • Posts: 126
  • Loc: west africa
  • Status: Offline

Post September 5th, 2009, 9:33 am

i created an application with php and i need to host it on a computer which other computers can be connected through LAN or wireless to access the htdocs folder of the computer to use the application and store information on its database. How can i do that . where can i get resources to learn more about it. thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 5th, 2009, 9:33 am

  • George L.
  • Bronze Member
  • Bronze Member
  • No Avatar
  • Joined: Nov 05, 2007
  • Posts: 2206
  • Loc: Malaysia
  • Status: Offline

Post September 5th, 2009, 8:13 pm

Port forward 80.
  • fonsy2000
  • Novice
  • Novice
  • User avatar
  • Joined: Sep 03, 2006
  • Posts: 24
  • Status: Offline

Post September 6th, 2009, 9:28 am

you created the web in php what are you hosting, in windows or any other? after that you need to do some hosting and router configuration, also you need to know if you ISP has open the 80 port and if they let you.
  • dhoyin
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Aug 10, 2005
  • Posts: 126
  • Loc: west africa
  • Status: Offline

Post September 7th, 2009, 11:03 am

it is a local network of a few computers say like 8-9 of them. the apache server would be on one of the computers and the other systems would access the htdoc folder via a wireless network. so how do i access the htdoc folder on the central system from the others.
  • vasyapupkin42
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 02, 2009
  • Posts: 15
  • Status: Offline

Post September 7th, 2009, 11:59 am

You don't need port forwarding if everything is on the local network. You might need to open port 80 in the firewall, though.

However, judging from your question I feel that you don't really understand how web servers work, so I suggest you read any basic text on the subject you can find. Wikipedia can be a good starting place.
  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 12, 2008
  • Posts: 58
  • Loc: South Australia
  • Status: Offline

Post September 7th, 2009, 1:01 pm

From my basic understanding, if they are all connected on a LAN and have proper privelages you should be able to access pages hosted in htdocs through a browser by typing the ip of the serving computer into the address bar. Of course whatever ur using to run the server must be active.

For example i use Xampp to test pages but if it is running on my computer, Lets Call it "BenPC" i can access the pages hosted in htdocs from another computer by in the IP of BenPC.

To access the actual htdocs file directory, being on a LAN you should just be able to share that folder.

I believe this to be sufficient...but dont quote me on it.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post September 7th, 2009, 2:08 pm

Provided that server is running and accepting incoming connections on the host port, you wouldn't even have to be on the Lan. We're talking elementary intertubez.
I'd love to change the world, but they won't give me the source code.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 185 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.