hello!

i use this command and run it on localhost in my pc

<?php
exec('mspaint "C:\path\to\image.jpg"');
?>

and this

$cme='notepad.exe';
passthru($cme);

yes i tried full path also
i found a new thing when i run this code start manager of my pc that a notepad is in process of 0 speed but i want that it will be open on desktop

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.