Visualizzazione dei risultati da 1 a 2 su 2

Discussione: ARUBA e "path" ... ?

  1. #1

    ARUBA e "path" ... ?

    Ho un problema....che mi stà facendo diventare matto....

    Dovrei inserire il path corretto in queste righe....
    Ho Aruba come hoster... perciò il mio www.miosito.com/qui/la

    il path diventerebbe (?) :
    inetpub/webs/miositocom/qui/la ?
    oppure
    D:/inetpub/webs/miositocom/qui/la ... ?

    La riga che devo completare è la seguente...
    ______________________________________
    // You only need to change this if you moved or renamed the public_html
    // directory. In that case, you should specify the complete path to the
    // directory (i.e. without the $_CONF['path']) like this:
    // $_CONF['path_html'] = '/path/to/your/public_html/';
    $_CONF['path_html'] = $_CONF['path'] . 'public_html/';
    __________________________________________________ ___________

    quanto questa....

    __________________________________________________ ____________
    * Make sure to include the name of the config file,
    * i.e. the path should end in .../config.php
    */
    require_once( 'D:/Inetpub/webs/miositocom/qui/la/config.php' );
    __________________________________________________ ______________


  2. #2
    forse ti puo' essere utile questo:
    $pathdir = dirname(__FILE__);
    con questo ricavi il path dove è presente il file .php
    se il path è tipo
    /home/nomeusr/public_html/index.php
    $pathdir contiene /home/nomeusr/public_html/
    se il path è tipo
    D:\inetpub\webs\miositocom\qui\la\index.php
    $pathdir contiene D:\inetpub\webs\miositocom\qui\la\

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.