Thursday, July 30, 2009

How can i dump the source of a php script in a frameset?

In other words, what code does my browser see that i don't?


confused again.

How can i dump the source of a php script in a frameset?
PHP scripts are not processed by the browser - only HTML, XML and Javascript.





PHP is processed by the server, which then generates an HTML page which is output to a browser.





If you want to see the hidden stuff that your browser sees that you don't (cookies, http requests),





%26lt;?





var_dump($_POST);


var_dump($_GET);


var_dump($_COOKIES);





or var_dump($_REQUEST);





?%26gt;

garden ridge

No comments:

Post a Comment