wibumba
06-29-2006, 08:16 AM
Hello,
I'm curently trying to develop a certain program (C++) that requires the uploading of the user's log file. I don't know php, but I do know html. My buddy made me an upload file script in php, but to use it to upload, I would have to either directly give out my upload site (which I don't want), or simulate program keystrokes and mousclicks to manually upload, which is not only a huge pain, but defective and freaky for the user. I don't know much about php, but I noticed that sometimes they refer to some kind of variable name in the url, for example:
"http://www.myexample.com/index.php?user=me"
Would it be possible to make a script where the filepath to upload can be defined by the url? Maybe like this:
"http://www.wibumbasoft.tk/upload.php?filetoupload=C:\example.txt"
That way my program can use
"Run, http://www.wibumbasoft.tk/upload.php?filetoupload=%savepath%"
"%savepath%" being the defined path of the file to upload.
If there is any other way of accomplishing this without interacting with the page itself, maybe using another language, that would be great. Thanks.
I'm curently trying to develop a certain program (C++) that requires the uploading of the user's log file. I don't know php, but I do know html. My buddy made me an upload file script in php, but to use it to upload, I would have to either directly give out my upload site (which I don't want), or simulate program keystrokes and mousclicks to manually upload, which is not only a huge pain, but defective and freaky for the user. I don't know much about php, but I noticed that sometimes they refer to some kind of variable name in the url, for example:
"http://www.myexample.com/index.php?user=me"
Would it be possible to make a script where the filepath to upload can be defined by the url? Maybe like this:
"http://www.wibumbasoft.tk/upload.php?filetoupload=C:\example.txt"
That way my program can use
"Run, http://www.wibumbasoft.tk/upload.php?filetoupload=%savepath%"
"%savepath%" being the defined path of the file to upload.
If there is any other way of accomplishing this without interacting with the page itself, maybe using another language, that would be great. Thanks.