Jump to content

Problems with php 7.0 and $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") - (Locked)


Recommended Posts

Func return_check($paras)


    
    $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
    
    
    $oHTTP.Open("GET", "http://sharkystrator.com/" & $paras)
    
    $oHTTP.Send()
    
    $HTMLSource = $oHTTP.Responsetext

    Return StringStripWS($HTMLSource, 8)

EndFunc   ;==>return_check

So, i experience that this function doesnt return required info from php script online. anymore This is the $paras used in the script above

$paras = "paypalipn/check_validity.php?" & "license=" & $license[0] & "&nickname=" & _URIEncode($license[1]) & "&payment=" & $license[2] & "&licode=" & $license[3]

And here is how $paras looks like, the php script from code above check_validity.php is where the $paras are submited.

 

require 'global_c.php';
    
    $payment = mysqli_real_escape_string($_GET['payment']);
    $nickname = $_GET['nickname'];
    $license = mysqli_real_escape_string($_GET['license']);
    $lic_code = mysqli_real_escape_string($_GET['licode']);
    
    echo"tocvlet";
    echo $nickname;
    
   //moclmame should echo because it is given by autoit script but it doesnt return anything, just blank no matter what i use to echo any of those 4 strings

And this is php script where $paras are sent to it should not return blank but it does. I recall that this started to happen with 7.0 php that i am currently forced to use. So be kind and tell me can i do anything for this to work out and that strings dont return blank?

Link to comment
Share on other sites

  • Developers

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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