User Name
Remember Me?
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Free Web Hosting Forum
>
Website Building
>
Web Programming
full_path_to_public_program
Thread Tools
Display Modes
(#
1
(
permalink
))
mrkahar
Junior Member
Posts: 5
Join Date: Aug 2008
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
(#
2
(
permalink
))
moofang
Member
Posts: 32
Join Date: Aug 2008
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)
Between Linux and Anime
- My Blog
http://yuenhoe.co.cc/
(#
3
(
permalink
))
Nicky
Junior Member
Posts: 2
Join Date: Nov 2008
Location: High up in the clouds
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..."
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Site Home
-
Forum Home
-
Top