Jump to content

winhttp upload - subdomain


spymare
 Share

Recommended Posts

hi :x my script looks like this:

#include "WinHttp.au3"  
Global Const $sAddress = "dbq.dk"
$1 = (@scriptdir & "\1.txt")
Global $hOpen = _WinHttpOpen()
Global $hConnect = _WinHttpConnect($hOpen, $sAddress)
Global $sHTM = _WinHttpSimpleFormFill($hConnect, Default, Default, "name:ufile", $1) ;upload 1
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)

it only works with no subdomain :S.

so if i create a new folder on dbq.dk called: dbq.dk/test and put my php script inside the test folder, and make the script with this:

Global Const $sAddress = "dbq.dk/test" it won't work :/, can someone help me :P?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...