Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to upload file to my host with _winhttp

$
0
0
Im newbie in php/site things so I found it difficult to do that.
O use 000webhost.com free hosting.

My code looks something like this:
[ autoit ]      
#include <WinHttp.au3>                    Global Const $sAddress = "make-cash-now.net76.net" ;random name.. $subdomain = "public_html/upload.php" $upload = (@scriptdir & "\test.htm") Global $hOpen = _WinHttpOpen() Global $hConnect = _WinHttpConnect($hOpen, $sAddress) Global $sHTM = _WinHttpSimpleFormFill($hConnect, $subdomain, Default, "name:ufile", $upload) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen)


For one guy this works. Maybe problem is that I use free hosting?




File upload details from host: FTP host name make-cash-now.net76.net FTP user name a6677825 FTP password ****** File system path /home/a6677828 Folder to upload files public_html

Website IP address 31.170.160.78 Server name server14.000webhost.com


I really need to make it to work.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>