简体   繁体   English

PHP中的公开页面(XAMPP)

[英]Public page in PHP (XAMPP)

I am having XAMPP installed on my system. 我的系统上安装了XAMPP。 I need to make a page public in such a way that people on the same network can access that page with a url like : 我需要以某种方式公开页面,以便同一网络上的人们可以使用以下网址访问该页面:

192.168.1.2/myPublicPage.php 192.168.1.2/myPublicPage.php
Is there any way for doing this ? 有什么办法吗?

right click on xamp icon in tray icons and make sure that is online (put online if not) make sure that you are not using firewall to block your connectivity. 右键单击任务栏图标中的xamp图标,并确保其处于联机状态(否则请联机),确保您未使用防火墙阻止连接。

put files on your www folder , for example : myPublicPage.php 将文件放在您的www文件夹中,例如:myPublicPage.php
and access from other computers in your local area network by your xamp server ip and document name. 并通过xamp服务器ip和文档名称从局域网中的其他计算机进行访问。 for example 192.168.1.2/myPublicPage.php 例如192.168.1.2/myPublicPage.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM