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
PHPycho
Forum Contributor
Posts: 336 Joined: Fri Jan 06, 2006 12:37 pm
Post
by PHPycho » Tue Feb 27, 2007 2:59 pm
dirname(__FILE__): what does it do ?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Feb 27, 2007 4:00 pm
Uhm.. try it.
pickle
Briney Mod
Posts: 6445 Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:
Post
by pickle » Tue Feb 27, 2007 4:00 pm
http://php.net has info on both
dirname() & the __FILE__ superglobal.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.