SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2000
    Location
    Swindon, UK
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I save a web page to disk, and it's a .php3 file, do I need to download the php program from php.com to read it ?

    At the moment, I'm stripping the html tags and reading them as text.

    I use Netscape 4.7 as my main browser.

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Depends what you want to be able to see. You could just open them in Notepad if you want to see the source code. If you're looking for a preview, your best bet would be to install a Web server (Microsoft Personal Web Server, for example) and PHP on your computer and then view the files through the server.

    HotDog Professional 6.0 has a feature that lets you edit files with server-side scripts in them (like PHP) and have the page preview look through a Web server instead of loading the file directly.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!

  3. #3
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are just saving a page from someone elses site then you can just open it in your web browser as all the page contains is just HTML etc. If the page is saved from the web browser there will be no PHP left in the page as it has already been executed on the server.

    ------------------
    Karl Austin
    KDA Web Services

  4. #4
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First, get PHP4 or PHP3 at http://php.net . Follow the instructions there.

    That's all assuming you've already installed PWS from your Win98 CD (you do use Win98, I'm assuming). Pop in the CD and navigate to something like /addons/pws/setup.exe and run that. It'll take you through the installation and be sure you have no other programs running! The of course follow the instructions in the above paragraph and install PHP.

    ------------------
    Who the heck is Gen. Failure and why does he want to read my hard drive?
    Soon to come: Aspology.com

  5. #5
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oops: That's if you want to execute them from your browser. If you navigated to a php page, went to view source or Save As... in a browser, then you can't see the source but you can open them in IE or NS as HTML files but it might help if their extension was .html so the browser knows to open it, not the ugly Windows "The default handler for extension ... could not be found" (or something similar).

    ------------------
    Who the heck is Gen. Failure and why does he want to read my hard drive?
    Soon to come: Aspology.com

  6. #6
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    ...and if you do decide you need to install PHP, look for my article on the subject appearing any day now on SitePoint.com.

    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


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
  •