Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Jason Barnett
Andrew Hargreaves wrote: Andrew Hargreaves wrote: On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: ... Absolutely! It's a common mistake. If you try to open a PHP file directly then your browser would have no idea to send the script through PHP. But when you browse t

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Andrew Hargreaves
> > Andrew Hargreaves wrote: > > On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett > > <[EMAIL PROTECTED]> wrote: > ... > > >>>When I tried to run my first PHP file to show the PHP Info ( >>>phpinfo(); ?>) the browser, Firefox 1.0 did nothing. > >> > >>Assuming index.php is in the docroot and it

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Andrew Hargreaves
OK, got it - finally. Instead of typing http://localhost/index.php, I had to type http://localhost:8080/index.php to get it working. I thought that I had to set that in httpd.conf but it appears that I have had to explicitly tell it to look at port 8080. The main thing for now is that it works as

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Jason Barnett
Please keep email responses to the newsgroup / list. Helps me stay organized and I help out when I can. Andrew Hargreaves wrote: On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: ... When I tried to run my first PHP file to show the PHP Info () the browser, Firefox 1.0 d

RE: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Chris Ramsay
[snip] i could be wrong (been a while since I looked up phpinfo function) but i do believe you must do echo phpinfo(); Please feel free to correct me... [/snip] Indeed, you can just do: HTH ;) -- Chris Ramsay, Web Developer The Danwood Group Ltd. Tel #: +44 (0)1522 882 288 DDI #: +44 (0)1522

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-15 Thread The Disguised Jedi
i could be wrong (been a while since I looked up phpinfo function) but i do believe you must do echo phpinfo(); Please feel free to correct me... On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: > Andrew Hargreaves wrote: > > First post here so go easy on me please a