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

return values from PHP

$
0
0
hey guys,

i know there are a few similar posts about this topic, but i cant seem to wrap my head around why this isnt working, and when trying the other examples i have found, they dont work either.


so im trying to create an a app that queries a Mysql database through a php script. right now I'm just trying to get a connection between the PHP script and the autoit program, so i've just made a small script that sends and "should" return the value that I sent the PHP file.

basic autoit script:

[ autoit ]      
#include <Inet.au3> Local $data $data= InetRead("www.WEBSITE.com/authorization.php?email=YOUREMAIL") $themsg = BinaryToString($data) MsgBox(0,"", $themsg)

basic php

<?php
$msg = $_GET ["email"];
echo $msg;

?>


from my basic understanding, this should return the value of email=, and it does in a web browser, but it returns at "" in autoit. im sure i've fundimentally missed something, but i cant for the life of me figure it out. i'd appreciate if someone pointed out where i've messed up. thank you

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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