0

how do you execute a php script on a site thats not mine?i need to know this because, i found in a site where you have to multiply 2 large numbers and find its product within 1 sec....a normal man can't do this even with the help of a calculator, because what they meant was to program and find out the result...i know how to write that script but don't know where to put that script in that site and execute....any suggestions gladly accepted...

2
  • You can't put a PHP script on someone's server unless you have access. We need more info for a better answer Commented Feb 26, 2011 at 5:50
  • 2
    Write a program on your own system and just submit the answer? Commented Feb 26, 2011 at 5:50

3 Answers 3

2

you can use php curl remote server access. but you must have the permission

Sign up to request clarification or add additional context in comments.

Comments

0

I would check out the source of the page, and write a javascript to pull the numbers from the page and submit the answer.

You can use a Firefox addon such as Greasemonkey to run the script on the page.

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Comments

0

If the site you need to submit the answer to uses a form, it might be possible to write your own form and post it to that site. Most sites block that kind of behavior though.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.