|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-23 22:49 UTC] joey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
exec() does not seem to return a value when the command it executes only outputs only one character. i have an command line ini file editor i am using via exec. $num1 = exec(escapeshellcmd("iniedit /var/www/html/test.ini -s main -k num1 -r")); if the ini file is set num1=46 normal command line output "46" works fine $num1 = 46, but for num1=4 normal command line output "4" however $num1 does not contain a value. i am able to get around this issue by using passthru() thanks for php! :)