>I'm trying to port a wonderful application over to miserable windows. I can
not find documentation of how to invoke exec on windows. Here's what I
tried:
Some people say exec() does not work on Windows... I could have sworn I've
seen it work, but maybe not...
$new_path = str_replace('^', '\\', $WINDOWS_PATH);
exec("copy c:\temp\$picture $new_path.$image");
You need \\ for each \ there. In particutlar, you have the tab character
after :c and before 'emp' now.
The good news is, you can maybe use copy() and unlink() for this instead of
exec().
The bad news is, Win98 says I don't have permission to do copy() or unlink()
and I'll be damned if I can figure out how to alter permissions in Win98 to
make it possible.
exec("mv $picture
/services/webpages/t/h/thebackcarecenter.com/public/RDI_Shop/images/$image")
;
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]