|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-12 02:47 UTC] sniper@php.net
[2001-06-12 02:47 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 21:00:01 2025 UTC |
the command:/usr/local/bin/change_charset < input.html >output.html can be run correctly on the command line prompt after telnet to the server. but when I insert the below in to the php script, then the result not correctly. shell_exec ('/usr/local/bin/change_charset < input.html >output.html'); what's wrong is that the file input.html is 26K and output.html should be also about 26K, but in fact it is only 13K, obvious, the whole web page become a half page after performance shell_exec or exec. I have changed memory_limit to 18M and MAX_file_size to 6M in the file php.ini and restart apache, but no work at all. I think it may be a bug. best regards