Jump to content
Sign in to follow this  
boltc

get a variable of a php script outside the script

Recommended Posts

boltc

is it possible to get a variable of a php script outside the script?

i want to make a bot for a webbased rpg game.. everytime when you do something you need to enter a antibot code.. but i know the code is declared in a variable inside the php script, and i want my program to get that variable..

can someone help me?

greetz bo

Share this post


Link to post
Share on other sites
seandisanti

is it possible to get a variable of a php script outside the script?

i want to make a bot for a webbased rpg game.. everytime when you do something you need to enter a antibot code.. but i know the code is declared in a variable inside the php script, and i want my program to get that variable..

can someone help me?

greetz bo

they're using php because it's serverside. what you send is stored in a variable, then checked serverside against what the server displayed. you're not going to be able to find that value in the page that's sent to your browser which is all you can really check. SQL injection may help you accomplish your goal, google should give you some explanations and direction.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×