| |

VerySource

 Forgot password?
 Register
Search
View: 902|Reply: 5

Are there any restrictions on using PHP programs in LAN?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-5 15:00:01
| Show all posts |Read mode
Made a simple OA program with PHP, using a machine in the LAN as the server. Put the program on it like: http: // localhost as the access address. There is no need to pay attention to such a program when other machines on the local area network access this machine. Each machine has an IP address in the LAN. and also. I used PHP's file function to make a local file upload to the server. Can this program run well in a local area network? Do you need to build an FTP server in the LAN? Thank you very much!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-6 00:48:01
| Show all posts
As long as they can ping each other, they can access directly with the server IP.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-6 09:00:01
| Show all posts
Basically no requirements ~
Reply

Use magic Report

0

Threads

24

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-1-6 13:51:01
| Show all posts
1. As long as the machines in the local area network have no problems, you can access them through IP + DIR.
2. It depends on how big the file you are transmitting. If the file is not large and there are not many files uploaded at one time, FTP is not necessary. If you upload large files or many files, it is better to use FTP
When uploading a large file, PHP needs to modify the maximum upload file size limit in httpd.conf. If the file is too large, a timeout may occur.
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-7 00:57:01
| Show all posts
No requirements
Reply

Use magic Report

0

Threads

27

Posts

18.00

Credits

Newbie

Rank: 1

Credits
18.00

 China

Post time: 2020-1-7 09:00:01
| Show all posts
As long as it is a network.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list