Re: newbie be patient



Nospam wrote:
I am new to php today, on win98se,  read sam's 24 guide to php downloaded
php 5 put it in the c:\php folder and amended my autobat file typed in the
sample listing3.1.php  example code and tried to open it in my browser
theoretically I should see info about my php installed? but it askes to
download the file, I am running php as a standalone, what did I do wrong?


If you are running PHP in standalone mode, by definition this means it can only be run from the command line, and can't be accessed through a browser.


See http://www.php.net/manual/features.commandline.php

If you want to access a page from a browser, you must set up a web server on your computer, e.g. IIS or Apache. Hopefully the book you're using has some info on this.

See http://www.php.net/manual/install.windows.php


-- Oli .



Relevant Pages

  • Re: how to run scripts after a page has already loaded and been sent to a users browser?
    ... > It's because PHP is a server side scripting language, ... > do stuff before you send stuff to user's web browser. ... As we've discussed on this newsgroup before, if a script starts ... that is after the last HTML is sent to a web browser. ...
    (alt.php)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have access ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have access ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... that link is in my /srv/www/htdocs folder as it should be. ...
    (alt.os.linux.suse)