Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

italiano40

macrumors 65816
Original poster
Oct 7, 2007
1,080
0
NY
i use $_REQUEST, to get the POST method from my html form and it isn't working i can't figure it out everything works but this
 

italiano40

macrumors 65816
Original poster
Oct 7, 2007
1,080
0
NY
here
Code:
<form action="twitterlogin.php" method="POST">
            <p>Twitter username: 
            <input type="text" name="twitterusername"></p>
            <p>Twitter Password: 
            <input type="password" name="twitterpassword"></p>
            <p><input type="submit" name="Submit" value="Submit"></p>
        </form>
Code:
$twitter=new Twitter($_REQUEST["twitterusername"],$_REQUEST["twitterpassword"]);
 

italiano40

macrumors 65816
Original poster
Oct 7, 2007
1,080
0
NY
here
Code:
array(3) {   ["twitterusername"]=>   string(10) "mytwittername"   ["twitterpassword"]=>   string(6) "mytwitterpassword"   ["Submit"]=>   string(6) "Submit" }
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.