|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-01-03 11:05 UTC] wisans at gmail dot com
Description: ------------ host a call a.php and open new ie call b.php (this action make b.php wait for a.php success because it use same sessionid not problem, when socket_timeout it make a.php end and b.php end) problem is host b open b.php it wait for b.php on host a success Reproduce code: --------------- a.php <?php session_start(); $url = "http://192.168.4.199/ar_master.php"; fopen($url,"r"); ?> b.php <?php session_start(); $ip = "192.168.1.37"; $ret = shell_exec ("$cmdName $argName $ip"); echo "HELLO---->".rand(1,20000); ?> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 20:00:01 2025 UTC |
host b call b.php not have any dependency b.php that call by host a, so i think it should not wait for host b.php success on on host a. if i comment line shell_exec , host b can run b.php without any problem. while shell_exec i test command shell_exec("dir"); i test this problem on freeBSD it does not any problem. if i should read manual what chapter i read ? . thank you very much.