Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Any web people online? I needs some help :oh:

Thread Tools
 
Old 12-08-2005, 09:37 PM
  #1  
b00gers
Thread Starter
 
b00gers's Avatar
 
Join Date: Jun 2001
Location: oakland, ca
Posts: 58,578
Likes: 0
Received 0 Likes on 0 Posts
Default Any web people online? I needs some help :oh:

In some web hosting environments, the paths that you see in the shell or via FTP are not the same paths that PHP sees. In order to find out the real path to your data directory, you can try creating a PHP script called dir.php containing the following code in it and put it into your data directory.

Questions:

How do I create a PHP script?
Where is my data directory?


Answer me like you would a 12 year old h:

Thanks.
Old 12-08-2005, 09:43 PM
  #2  
Misa
Pic Whore
 
Misa's Avatar
 
Join Date: Jul 2004
Location: NJ
Posts: 22,223
Likes: 0
Received 1 Like on 1 Post
Default

a. Macromedia Dreamweaver
b. no idea h:...i guess it depends on the server/config
Old 12-08-2005, 09:55 PM
  #3  
Grifter
Senior Member
 
Grifter's Avatar
 
Join Date: Dec 2000
Location: the southwest
Posts: 44,835
Likes: 0
Received 0 Likes on 0 Posts
Default

http://www.google.com/search?q=dir.p...en-US:official
Old 12-08-2005, 10:02 PM
  #4  
flipped cracka
BOOM goes the dynamite!
 
flipped cracka's Avatar
 
Join Date: Mar 2003
Location: in a van down by the rive
Posts: 27,571
Received 1 Like on 1 Post
Default

a: any text editor can make .php files.
b: probably /public_html, or where ever want to find the path to.
Old 12-08-2005, 11:15 PM
  #5  
94civicEX
I got worms.
 
94civicEX's Avatar
 
Join Date: Jul 2000
Location: Utah
Posts: 32,238
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by b00gers
In some web hosting environments, the paths that you see in the shell or via FTP are not the same paths that PHP sees. In order to find out the real path to your data directory, you can try creating a PHP script called dir.php containing the following code in it and put it into your data directory.

Questions:

How do I create a PHP script?
Where is my data directory?


Answer me like you would a 12 year old h:

Thanks.
If you have a forum or anything that has a config.php, download it and look at the path.
__________________
99 Integra GSR
06 TSX

duck squad member #00003
Old 12-08-2005, 11:17 PM
  #6  
b00gers
Thread Starter
 
b00gers's Avatar
 
Join Date: Jun 2001
Location: oakland, ca
Posts: 58,578
Likes: 0
Received 0 Likes on 0 Posts
Default

Thanks. I got my gallery running now h:




All times are GMT -8. The time now is 01:12 PM.