For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2004 > phpinfo problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author phpinfo problem
Paul Brasseur

2004-11-18, 3:57 pm

Just one problem. The traditional "Hello World," program that my book
starts off with includes a PHP function called, phpinfo()--prefaced by a
print command. It's supposed to print out a rather large amount of
information in the form of a table.

Have you ever head of this function? It won't work for me. It just prints
a ton of code, instead of printing the table. Is there a good place where I
can get an entire list of all PHP functions? Or doesn't that exsist?

========================================
==========================

Hello:

Have you activated the display_errors directive in your php.ini,which is in
your Windows Folder ?

The Php manual contains a function reference.
Rich

2004-11-18, 8:56 pm

The code is probably html - so best to view it in a web browser ;-)
I find it easiest to create a file called info.php which contains:

<?php
phpinfo();
?>

but this is by no means the only way.
To see a list of php functions i would look on php.net. Here for instance:
http://uk2.php.net/manual/en/function.phpinfo.php

hope this helps

rich

"Paul Brasseur" <brass@pacificcoast.net> wrote in message
news:419CEB21.2000800@pacificcoast.net...
> Just one problem. The traditional "Hello World," program that my book
> starts off with includes a PHP function called, phpinfo()--prefaced by a
> print command. It's supposed to print out a rather large amount of
> information in the form of a table.
>
> Have you ever head of this function? It won't work for me. It just

prints
> a ton of code, instead of printing the table. Is there a good place where

I
> can get an entire list of all PHP functions? Or doesn't that exsist?
>
> ========================================
==========================
>
> Hello:
>
> Have you activated the display_errors directive in your php.ini,which is

in
> your Windows Folder ?
>
> The Php manual contains a function reference.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com