What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Other PHP question...

Other PHP question...
Author: Message:
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
38 / Male / –
Joined: Apr 2003
O.P. RE: Other PHP question...
quote:
Originally posted by WDZ

You should try this instead: dirname($_SERVER['PHP_SELF'])

If you're running the script http://site.com/files/images/index.php, that code will return "/files/images"

Thnx, I think I could ask if (directory is this) link=index.php else link=../index.php ....
[Image: leonelgalan.png]
06-21-2004 04:45 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Other PHP question... - by leito on 06-20-2004 at 11:07 PM
RE: Other PHP question... - by WDZ on 06-21-2004 at 04:11 AM
RE: Other PHP question... - by leito on 06-21-2004 at 04:45 AM
RE: Other PHP question... - by KeyStorm on 06-21-2004 at 01:51 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On