Looktrne Posted January 29, 2008 Share Posted January 29, 2008 Ok I don't know if this will sound right but here goes.. I have a .exe file called php.exe This file is installed in a folder on windows.. When I drag a php file into the php.exe file it spits out a new file How can I write php to do this same thing on the server? I want to upload this file to my server php.exe and I want to be able to drop another file into it through php... For example I want to upload a file with php extention like index.php.... I want that file dropped onto php.exe Can anyone give me an idea on how to accomplish this? thanks for any help Paul Quote Link to comment https://forums.phpfreaks.com/topic/88312-need-a-clue/ Share on other sites More sharing options...
pocobueno1388 Posted January 29, 2008 Share Posted January 29, 2008 I think you want to look into the exec() and system() functions. Take a look through this list of functions, I'm pretty sure what you need is there. http://nl2.php.net/manual/en/ref.exec.php Quote Link to comment https://forums.phpfreaks.com/topic/88312-need-a-clue/#findComment-451930 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.