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 Dec 8, 2005 | 09:37 PM
  #1  
b00gers's Avatar
b00gers
Thread Starter
 
Joined: Jun 2001
Posts: 58,579
Likes: 0
From: Lll
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.
Reply
Old Dec 8, 2005 | 09:43 PM
  #2  
Misa's Avatar
Misa
Pic Whore
 
Joined: Jul 2004
Posts: 22,224
Likes: 1
From: NJ
Default

a. Macromedia Dreamweaver
b. no idea h:...i guess it depends on the server/config
Reply
Old Dec 8, 2005 | 09:55 PM
  #3  
Grifter's Avatar
Grifter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

http://www.google.com/search?q=dir.p...en-US:official
Reply
Old Dec 8, 2005 | 10:02 PM
  #4  
flipped cracka's Avatar
flipped cracka
BOOM goes the dynamite!
 
Joined: Mar 2003
Posts: 27,571
Likes: 1
From: in a van down by the rive
Default

a: any text editor can make .php files.
b: probably /public_html, or where ever want to find the path to.
Reply
Old Dec 8, 2005 | 11:15 PM
  #5  
94civicEX's Avatar
94civicEX
I got worms.
 
Joined: Jul 2000
Posts: 32,238
Likes: 0
From: Utah
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
Reply
Old Dec 8, 2005 | 11:17 PM
  #6  
b00gers's Avatar
b00gers
Thread Starter
 
Joined: Jun 2001
Posts: 58,579
Likes: 0
From: Lll
Default

Thanks. I got my gallery running now h:
Reply




All times are GMT -8. The time now is 05:49 PM.