|
Posted by Richard Lynch on 10/20/72 11:16
On Tue, May 17, 2005 1:41 am, Nayeem said:
> I'm new to PHP programming and I just try to display small information
> from
> database on web page but its shows blank page. So my code is mention below
> and let me know what's wrong in it but when I execute same program on
> command prompt then its shows all result correctly with HTML Tags
You logged in as you.
The PHP user runs as somebody else.
That other user does not have the same permissions/rights as you, and not
the same environment variables ($PATH in shell) and not even the same
shell.
If you can 'su' to that other user and run it, you may find out why it
fails. You should also check error logs as suggested, and use "View
Source" in your browser to see if the "blank" page is really blank, or
just buried inside an unfinished HTML tag.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|