john:
ooops! yes, i do. fixed. ran thru the web browser (no change!) fyi, the web
server is apache 2.0.40-21.11 on a rh9 box.
i uninstalled all php rpms, and reinstalled. no change.
php-4.2.2-17.2.i386.rpm
php-devel-4.2.2-17.2.i386.rpm
php-imap-4.2.2-17.2.i386.rpm
php-ldap-4.2.2-17.2.i386.rpm
php-manual-4.2.2-17.2.i386.rpm
php-mysql-4.2.2-17.2.i386.rpm
php-pgsql-4.2.2-17.2.i386.rpm
php-snmp-4.2.2-17.2.i386.rpm
bye the way, when i view page source in mozilla, I find:
<html><head></head><body></body></html>
On Saturday 14 August 2004 20:28, John Holmes pronounced:
> Allen Wayne Best wrote:
> > Silly me, I forget to put $_SERVER in the print_r statement. so here is
> > the revised file with output:
> >
> > ------------------- start of stuff php ----------------------
> > <?php
> > print_r( $_SEVER );
> > var_dump( $_SERVER ) ;
> > ?>
> > ------------------- end of stuff php ----------------------
> >
> > ------------------- start of stuff out ----------------------
> > X-Powered-By: PHP/4.2.2
> > Content-type: text/html
> > array(30) {
> > ["HOSTNAME"]=>
> > string(18) "mesozoic.atoka.org"
> > ["SHELL"]=>
> > string(9) "/bin/bash"
>
> [snip]
>
> You still have a typo in print_r(), but either way you see the output
> from $_SERVER. So it exists. Now call the same script through your web
> server (http://youdomain/thisfile.php) and see if you get output.
>
> If you do not see anything (be sure to View Source, also), then you've
> got a really screwed up installation of PHP and should reinstall it.
--
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"
Current date: 42:55:17::226:2004
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June, 1972
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php