Really stupid question, but...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
SilverMist
Forum Commoner
Posts: 65
Joined: Tue Mar 02, 2004 2:06 pm
Location: Canada
Contact:

Really stupid question, but...

Post by SilverMist »

Lol. I know this is really really stupid, but I cannot get this script! What I need is a file.php?file=filename script. I know it is probably stupidly easy, but I can't figure it out :( Can someone help me?!
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

What I need is a file.php?file=filename script.
No idea what one of those is, but if you mean you want to get the value passed in then you'd use $_GET['file'] (but i suspect that's not what you mean :o)
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

there are lots and lots and lots and some more lots posts about it in this forum, search for "template" and u should get some nice posts.
Post Reply