Posted By
|
Message
|
 kingoftaurus
Registered 28/01/2009
Points 8
|
30th June, 2009 at 02:42:39 -
Hello.
I am looking to login to a website, and recieve the data that you normally would by logging in with a regular web browser.
Here is the source of the login field of "http://www.placeiwanttogo.com"
form method="post" action="/myaccount.php"
Username:
input type="text" name="login_username"
Password:
input type="password" name="login_password" maxlength="16"
input type="checkbox" name="remember" value="1"
input type="submit" value="Login"
Using the live reciever object or somthing that will work, how can i recieve the myaccount.php into an edit box object?
Heres what i have tried using:
Live reciever object
Start of frame:
Start download from "http://www.placeiwanttogo.com/myaccount.php" with POST string "login_username=username&login_password=password"
Edit box object:
On data recieved: ( "Live receiver" )
Set text to Received$( "Live receiver" )
What i get recieved to me is "http://www.placeiwanttogo.com" with a message stating that i used an invalid username or password, and NOT "http://www.placeiwanttogo.com/myaccount.php".
Does anyone know how to use the Live reciever object? Or know how to accomplish what im trying to do?
Edited by kingoftaurus
n/a
|
 Cecilectomy noPE
Registered 19/03/2005
Points 305
         
|
30th June, 2009 at 03:04:31 -
did you read the live receivers POST string text?
it says id=value##id2=value2##id3=value3
you need those ## and not the & i beleive.
POST string "login_username=username##login_password=password"
Edited by Cecilectomy
n/a
|
 kingoftaurus
Registered 28/01/2009
Points 8
|
1st July, 2009 at 08:41:43 -
tried that, dosent work.
n/a
|
 Cecilectomy noPE
Registered 19/03/2005
Points 305
         
|
1st July, 2009 at 11:04:18 -
works for me.
test.php
<html>
<?php
echo $_POST['testdata'];
echo $_POST['testdata2'];
?>
</html>
start of frame
-start download from "http://www.mysite.com/test.php" with POST string "testdata=helloworld##testdata2=BAM!"
on data recieved
-set alterable string to recieved$('livereciever')
gives me
<html>helloworldBAM!</html>
in the string object in mmf
edit: also works with the edit object.
are you sure your host even supports php?
Edited by Cecilectomy
n/a
|
 kingoftaurus
Registered 28/01/2009
Points 8
|
3rd July, 2009 at 05:00:40 -
im actually trying to login to an online game to view "myaccount.php"
n/a
|
 Cecilectomy noPE
Registered 19/03/2005
Points 305
         
|
3rd July, 2009 at 05:27:10 -
youre trying to login to a game that isnt yours that uses a php page? most likely theres some sort of incryption.
put up your source (pm it so i can better help you) or be more specific to the url you are using. as the url you posted "http://www.placeiwanttogo.com" doesnt exist i assume its to hide the actual url your are using.
if this is some sort of hacking attempt then this isnt the place to look for help.
n/a
|
|
|