Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
mrkahar is on a distinguished road
 
Posts: 5
Join Date: Aug 2008
Default full_path_to_public_program - 10-13-2008, 04:24 PM

$full_path_to_public_program = $_SERVER['DOCUMENT_ROOT']."/auction";

what should i do with code above to make mywebsite up in this webhost..
i want to know the name of directory
Reply With Quote
(#2 (permalink))
Old
Member
moofang is on a distinguished road
 
Posts: 32
Join Date: Aug 2008
Default 10-18-2008, 03:33 AM

Not sure what you mean. What directory are you talking about?

You can probably infer what you want to know by simply echo'ing out $_SERVER['DOCUMENT_ROOT'] and examining your hosted directory structure (using an ftp client or something)
Reply With Quote
(#3 (permalink))
Old
Junior Member
Nicky is on a distinguished road
 
Posts: 2
Join Date: Nov 2008
Location: High up in the clouds
Default 11-02-2008, 11:45 PM

You'll need to redefine the line.

Instead of:
$full_path_to_public_program = $_SERVER['DOCUMENT_ROOT']."/auction";

write

$full_path_to_public_program = "/home/[yourwebid]/public_html/auction"

where [yourwebid] is the number of the website here

It could be that more adjustments need to be done, but that's the most important.

whereever the $_SERVER['DOCUMENT_ROOT'] appears, you'll have to replace it with "/home..."
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com