How to test exec() returns ok

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

How to test exec() returns ok

Post by jmut »

How could I know that exec() or any other similar kommand executed properly.

My particular question is for using convert from
http://www.imagemagick.org/script/index.php tool
10x

tried with second and third parameters but they ouput the same no matter what.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

echo your exec statement and make sure it returns what you want
then try it in a shell
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply