It is currently Wed Oct 18, 2017 1:52 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PHP Absolute Path
PostPosted: Tue Mar 01, 2011 10:56 pm 
Newbie
Newbie

Joined: Tue Mar 01, 2011 10:54 pm
Posts: 1
What is the PHP absolute path on freehostia? I want to be able to say
Code:
include('someabsolutepath/myfile.php');

in all of my files.

I know that with cPanel hosts, it's
Code:
include('home/user/public_html/mydir/myfile.php');


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2011 8:50 am 
Support Tech
Support Tech

Joined: Tue May 09, 2006 2:27 am
Posts: 933
Hello,

This is just an example:

/home/www/yourdomain-root-dir/some-subfolder/yourfile.php

Basically the path of the account folder is:

/

When you add a host in your account, its system directory being automatically created in the /www/ folder.

_________________
Andy
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011