Welcome, Guest
  • Author Topic: HELP JEFF!  (Read 1557 times)

    chaz

    • Server what's that
    • *
    • Posts: 33
      • View Profile
      • Email
    HELP JEFF!
    « on: 02/27/02, 15:47 »
    hey jeff your guestbook is awesome! i just cant get it to work for me.

    ok heres the deal... where do we make the guestbook folder on our server? because i cant just make a new directory with all the other folders because the administrator denies that right. plus, doesnt the php file have to be in the cgi bin?

    i tried making a folder in my httpdocs folder but it doesnt actually write to the text file.

    also, should the guestbook.html file be in the same guestbook directory or my httpdocs directory?

    let me know what im doing wrong!

    heres my bands website: www.sundayfacade.com (go to guestbook link)
    heres this too: http://www.sundayfacade.com/GuestBook/GuestBook.php

    thanx,
    chaz

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:HELP JEFF!
    « Reply #1 on: 03/10/02, 18:35 »
    Ok - The GuestBook directory should be located in a directory below your Public directory (or where ever you place your all of your files that can be seen on the internet).  

    You do not need to run PHP in a CGI-BIN folder.  You might want to make sure that you can run PHP on your server.  One really easy way is to create a PHP file called 'Test.php' then include the following Code in it:

    <?php

    phpinfo();

    ?>

    Just upload this file as you normally would then type in http://www.yoursite.com/Test.php in a browser.

    This will give you a good idea of all the configuration settings and how your host has PHP setup for the server.

    All the files should be located in the same directory - they do not have to be but for simplicity and the first time using it, it's easier that way.  After you get it working then you can experiment with different setups.
    Flash-DB