在PHP 5.2.3中,"fdopen“用于读/写由另一个应用程序打开的文件描述符。fdopen(<fileDescriptorId>,"rw"); //It worked fine with PHP 5.2.3
将PHP升级到5.3.2之后,抛出了"undefined reference请建议在PHP 5.3.2或任何解决方法中有什么替代方法。
我获得一个页面的地址,然后通过html表单将它发送到php页面,然后打开这个文件并通过fopen()函数向它写一些文本。我的密码://$subject is a variable that get the address of page that html forphp echo htmlspecialchars($_SERVER['PHP_SELF']); ?>
函数正在调用包含另一个php函数的PHP文件。javascrit函数是:$.ajax( url: 'readFile.php',( [object HTMLInputElement]) [function.fopen]: failed to open stream: No such file or directory