Welcome! Log In Create A New Profile

Advanced

I'm a new member,and have a trouble

Posted by luofei614 
I'm a new member,and have a trouble
September 11, 2010 07:09PM
My name is LuoFei,from China. I'sorry to that My English is poor.

I have a trouble , then PHP run on Nginx, It seems don't yun two php webpage at the same time.

for example, roobuild two pages in the root directory: 1.php and 2.php

1.php code:
<?php
echo file_get_contents("http://localhost/2.php");
?>

2.php code is any thing.

When we run the 1.php, it will time out.

Just because of this , when we use sorket to access local pages it also time out .


Would you please help me ? Thinks!
Re: I'm a new member,and have a trouble
September 30, 2010 07:40AM
Try :-

$file=file_get_contents("2.php");
echo $file;

(just guessing)
Re: I'm a new member,and have a trouble
October 01, 2010 02:19AM
Hello!
I am newbie here....
Can you explain it to me?
I can't understand...
Thank you....

[url=http://howtodealwithdepression.org/how-to-treat-depression][color=#f8faf8][u]how to treat depression[/u][/color][/url]



Edited 1 time(s). Last edit at 10/01/2010 02:20AM by Nicole53.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready