using a PHP application on a LAN network

  • dhoyin
  • Graduate
  • Graduate
  • dhoyin
  • Posts: 126
  • Loc: west africa

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Port forward 80.
  • fonsy2000
  • Novice
  • Novice
  • User avatar
  • Posts: 24

Post 3+ Months Ago

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
  • dhoyin
  • Posts: 126
  • Loc: west africa

Post 3+ Months Ago

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
  • vasyapupkin42
  • Posts: 15

Post 3+ Months Ago

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
  • Posts: 58
  • Loc: South Australia

Post 3+ Months Ago

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
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

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.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 121 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.