James_2424
asked on
php exec function help
Hi there,
I am new to PHP could someone help please.
How do i use exec() function to open paintshop? I am executing this in cmos
I can open mspaint but not the specific image i want to open.. How do i specify so it opens exact bin.jpg or some other image?
I am new to PHP could someone help please.
How do i use exec() function to open paintshop? I am executing this in cmos
I can open mspaint but not the specific image i want to open.. How do i specify so it opens exact bin.jpg or some other image?
what if it is a variable?
<?php
echo "Please enter a .jpg image";
$jpg = trim(fget(STDIN));
exec("'mspaint'.$jpg");
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.