shata Posted April 15, 2012 Share Posted April 15, 2012 (edited) Hello AllI Need Code Upload My Image To My Site By Koda Form Or Code I Use Image Host Script In My SiteInformation on the codeThis Is My Upload Script From My SiteAnd I Have 2 Buttons To UploadI Need Code Can Make This Form On Koda Or Code So that I Can Upload My Image In My SiteThank You All Friends Edited April 15, 2012 by shata Link to comment Share on other sites More sharing options...
guwguw Posted April 15, 2012 Share Posted April 15, 2012 Are you trying to transfer files from your computer to a website? If yes: Do you have FTP access rights? If no: What are you trying to do? Link to comment Share on other sites More sharing options...
Skitty Posted April 15, 2012 Share Posted April 15, 2012 (edited) Use winhttp.au3 I use it to upload files to my server from friends pcs whenever they have music I want using a script in my usb.. #include "WinHttp.au3" Local $hOpen, $hConnect, $sRead $hOpen = _WinHttpOpen() $hConnect = _WinHttpConnect($hOpen, "somesite.com") $sRead = _WinHttpSimpleFormFill($hConnect, "upload.php", "index:0", "name:file", @DesktopDir&"test.txt") _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) The uplaod.php script looks like this.. <html><body><form action="" method="post" enctype="multipart/form-data"><input type="hidden" type="file" name="file" multiple="multiple" /><input type="hidden" type="submit" /></form><?PHP if($_FILES){move_uploaded_file($_FILES['file']['tmp_name'],'C:/somedirectory/'.basename($_FILES['file']['name']));} ?></body></html> If your targeted upload form is in html then you should be able to do it quite easily... Edited April 15, 2012 by ApudAngelorum Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now