Taking information out of URL
Posted 06 October 2006 - 03:57 AM
And get the information from filename so that I can display the text "3.zip" on my webpage. I know I can do that with Get however Get only works when it calls the information from the URL bar. The above URL is not going to be in the URL bar but rather actual code on the webpage. Is it possible to do what I want?
Posted 06 October 2006 - 05:15 AM
$file = $_REQUEST['filename']; include($file);
as long as the file you're working with is in the same directory as the referer.
Posted 06 October 2006 - 01:44 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users