Visualizzazione dei risultati da 1 a 2 su 2

Discussione: installare phphtmllib

  1. #1

    installare phphtmllib

    Ciao...sto provando a dinstallare phphtmllib, ma ho il seguente problema.

    Come da guida:

    1. Copy the entire phphtmllib directory into your website's source
    tree. I typically install it in DOCUMENT_ROOT/phphtmllib.
    You don't have to have it installed in the document root, but that is
    where I normally install it.

    2. In each script that uses the libs, you MUST set a global variable
    $phphtmllib to the path of your phphtmllib dir in your web tree.
    So, if you installed phphtmllib in your DOCUMENT_ROOT, like I do,
    then you set $phphtmllib = $_SERVER["DOCUMENT_ROOT"] . "/phphtmllib"
    I usually do this at the top of my scripts, or have a include file
    of defines and such that sets this.

    After that you should be able to include the main includes file
    include_once("$phphtmllib/includes.inc"); to include all of the files

    ho messo la cartella phphtmllib dentro la www di easyphp, poi nel documento php ho:

    Codice PHP:
    <?php
    $phphtmllib 
    $_SERVER["DOCUMENT_ROOT"];
    include_once(
    "$phphtmllib/includes.inc");
    ?>
    ma mi da il seguente errore:

    Warning: Failed opening 'c:/programmi/easyphp/www/includes.inc' for inclusion (include_path='.;C:\Programmi\EasyPHP\php\pear\') in c:\programmi\easyphp\www\classi\prove\class_person a.php on line 3

    HELP

  2. #2
    mmmm davvero nessuno usa queste librerie o non ha avuto problemi con esse?!

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.