help with PHP..two days no progress

Discussion in 'PHP' started by bagoo, May 15, 2006.

  1. #1
    Hi I'm trying to integrate a (www.vipergb.de.vu) questbook PHP script With a PHP (www.pixelpost.org) script photoblog with no avail.

    This blog uses xhtml templates which when u add a php scrpit..it doesn't work. I tried the include function with no help.

    The page I'm doing now is a template for a comment/guest book and I need to integrat the guest book above (or in this case any php script) in to the template and make it work and executed independently.

    Help is greatly apprecited.

    Bytheway I have been googling for two days...:(:confused:
     
    bagoo, May 15, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If your file extention is not php or phtml -- two commonly used entensions to signify php file -- then your web server may not recognize then as containing php scripts.

    Secondly, your web server needs to be configured to recognize a php file and to invoke the php interpreter.

    Thirdly, the php program segment should start with "<?php" and end with "?>" If the php segment is not written in this way, some web servers will not recognize it as a php segment.
     
    clancey, May 16, 2006 IP