Server Absoulte Path

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
khawarikhan
Forum Newbie
Posts: 8
Joined: Tue Feb 15, 2005 3:45 pm

Server Absoulte Path

Post by khawarikhan »

Hi everyone,
I am back with another question. I need to know the absolute path for my server. I tried "/home/www/(rest of the path to the file)" but its not picking it up. Actually, I am updating the credit card processing with link point from 5.4 to 6.0 version. In the previous version, they just required the filename for the certificate but now they require the absolute path in version 6. So, please help me locating the absolute path for my server. Thank you in advance.

Khawar
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Absolute path? Perhaps you mean full URL: absolute path means little to something external. Perhaps this would help: realpath() http://us4.php.net/manual/en/function.realpath.php
khawarikhan
Forum Newbie
Posts: 8
Joined: Tue Feb 15, 2005 3:45 pm

Post by khawarikhan »

I tried this thing already, its giving me the same path as /home/www/...... and as I told u, this is not working. Any other suggestions?

Khawar
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Well, could you quote the documentation about what exactly it's looking for? That would help: we're probably giving the wrong thing.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

does it give an error/warning/notice? You may need to check your error logs to see it.
Post Reply