|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-28 16:23 UTC] tril2632 at hotmail dot com
[2005-01-29 17:05 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Description: ------------ Hello It's a mysterious problem. When I try to execute my code I get the message "error" display so the OR DIE message is printed BUT there is no error, my excel file is open and everything work, so the function shouldn't execute the message in "or die" because everything work !!! I had to remove the OR DIE ('error'); in my code because php was stopping the script but he shoul not ! Reproduce code: --------------- shell_exec('cmd /C start c:\remarques.xls') OR DIE ('error'); Expected result: ---------------- My excel file should open. Actual result: -------------- The file is open, it's ok but PHP execute the message in the "OR DIE" and he sould not because it works !!! there was no error !!! And with apache 1.3.33 there is another problem with my code : the page load indefinitely without anny error in the error log etc of apache !!!