SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question on today.php

    From chap. 1 of "DBase Driven Website using PHP and MySQL" I have 2 issues with the program today.php.

    1. When I invoke the URL: http://localhost/today.php I get a dialog box that comes up with a selection of: open/save/cancel. In accordance with a previous posting I checked the end of my http.conf file and it's as follows:

    LoadModule php4_module c:/php/sapi/php4apache.dll
    AddModule mod_php4.c
    AddType application/x-http-php .php
    AddType application/x-httpd-php-source .phps

    2. When the script runs I get the following output:

    "Today's Date (according to this Web Server) is"

    I don't get the actual date. It almost appears that php is not running. I'm not sure what to do. I've reinstalled Apache and then php thinking that I did something wrong but after checking and rechecking I can't find any issues.

    Any ideas?

  2. #2
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is not a forum support question and should have been posted in the PHP forum ... Ill ask a mod to move it but please try to find the appropriate section with these type things

  3. #3
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •