![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member | so i was trying to make a free obama buttons bot but my first approach wouldn't work well. and my 2nd approach had to deal with clicking or submitting a submit button on the webbrowser but i couldn't figure that out. if someone could tell me, that would be great appreciated. but now i came about a different approach and what i need to do is find out how to fill in fields on a webbrowser with visual basic 6.0. or find out how to make a php file so that if i did domain.com/phpfile.php?email=rawr@gmail.com it would fill in the email field and put rawr. thanks in advance, ill try and find a reward for you :]
__________________ ![]() <assault14> why are u being prejitist and calling us gays Dan offered $1.50 to do offer with fraud CC details but said it was (his own). |
| | |
| | #2 (permalink) |
| Senior Member Join Date: Jun 2008
Posts: 346
Reputation: 15 ![]() | use get commands that is how you 'get' variable information from the url in at least php on unix ive never used php in vb though however i have 10 sites which i use it on you can also turn on global variables in php4 and php5 and that automatically would do $email=rawr@gmail.com without using the get however global variables can be a huge security flaw |
| | |
| | #3 (permalink) |
| Senior Member | thanks, ill look into that. so on the php file that i have the form on Code: <?php $email = $_GET['email']; ?>
__________________ ![]() <assault14> why are u being prejitist and calling us gays Dan offered $1.50 to do offer with fraud CC details but said it was (his own). Last edited by dopex; 07-26-2008 at 04:54 PM. Reason: fix tags. |
| | |
| | #4 (permalink) |
| Senior Member Join Date: Jun 2008
Posts: 346
Reputation: 15 ![]() | yea it would work on a website at least and then for the form you would just say value=<?=$email?> the syntax of my example is different from yours since unix php starts by doing <? and ends with ?> where as yours might be something like value=<php>$email</php> either way i would help you out if you dont have this 'solved' in 5 hours when i get back so ill keep an eye on this post i have vb 6.0 on this computer as well so i should be able to make my own source to give to you or edit yours |
| | |
| | #5 (permalink) |
| Senior Member | thanks for your help. i think i got it. my first attempt didn't work <?php $email = $_GET['email']; ?> and it didn't fill in the form cause well duh, i didn't make the value to be <?php echo $_GET["email"]; ? or <php>$email</php> as in your example. thank you . one last test and i think i got this. alright well those didnt work so what i did was just Code: <input name=email value="<?php echo $_GET["email"]; ?>"> ![]()
__________________ ![]() <assault14> why are u being prejitist and calling us gays Dan offered $1.50 to do offer with fraud CC details but said it was (his own). |
| | |
![]() |
| Tags |
| bot, php, vb60 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |