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 answerJohnP– JohnP2011-02-26 05:50:50 +00:00Commented Feb 26, 2011 at 5:50
-
2Write a program on your own system and just submit the answer?Russell Dias– Russell Dias2011-02-26 05:50:51 +00:00Commented Feb 26, 2011 at 5:50
Add a comment
|
3 Answers
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/