Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Absolute path  (Read 3535 times)

0 Members and 1 Guest are viewing this topic.

aem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Absolute path
« on: April 24, 2004, 01:47:54 pm »

I would like to obtain the abosulte path to my cpg

I have ran phpinfo.php and cannot find "DOCUMENT_ROOT" anywhere. This is what i see in my phpinfo.php file. Please help me obtain the absolute path..

Quote
Advanced debug info (phpinfo)
PHP version: 4.3.6


mySQL version: 4.0.15

--------------------------------------------------------------------------------

Image Lib(s)
gd
GD Support  enabled 
GD Version  bundled (2.0.22 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
GIF Read Support  enabled 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 
 
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On
include_path .:/usr/local/lib/php .:/usr/local/lib/php
open_basedir no value no value

email
Directive Local Value Master Value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i 
SMTP localhost localhost
smtp_port 25 25

Size and Time
Directive Local Value Master Value
max_execution_time 30 30
max_input_time 60 60
upload_max_filesize 2M 2M
post_max_size 8M 8M
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Absolute path
« Reply #1 on: April 24, 2004, 01:54:35 pm »

Logged

aem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Absolute path
« Reply #2 on: April 24, 2004, 01:58:08 pm »

I have read thru that and my computer iliteracy took over :'(

Please!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

aem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Absolute path
« Reply #5 on: April 24, 2004, 02:48:55 pm »

Come on, don't play stupid: create a phpinfo file as suggest in the links, upload it to your webserver and run it in your browser. At the very bottom there are several vars that contain your absolute path.
If you think this is impossible for you, just create a parse error in any php file on your server and check the output - the error message usually tells you the absolute path as well.
If you can't do that, then it's time to ask your webhost for support, not here on this board, since we can't guess your webserver's settings.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.