Re: Naked Comment does not trigger Error Message
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Fri, 28 Mar 2008 21:48:05 -0500
thelma@xxxxxxx wrote:
I tried to post this earlier, and I think I failed; sorry about the
double posting if I'm wrong...
Connect to server and select database all in one step=====
require('Code/metaconnectstring.php'); ||
\/ offending comment
When I use my home php/Apache local network I get the very nice error
message below: [php 4.2.7]
Parse error: parse error in /Users/xxx/Sites/theprogram.php on line 47
But on the network where the thing is supposed to run [php 5.2.?]
the same error produced nothing but a blank screen even though I had
error reporting set to E_ALL and error display on. [I have seen enough
other error messages and 'Notices' there to know that error reporting is on]
Is there yet another parameter that I need to set?
thanks, --thelma
Ensure they are set in the php.ini file or .htaccess, and not in the script itself with ini_set(), etc. Chances are the php.ini file does NOT have these set - which is good for a production system.
What does phpinfo() show?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Naked Comment does not trigger Error Message
- From: thelma
- Naked Comment does not trigger Error Message
- Prev by Date: Re: Can a website block the use of file_get_contents ?
- Next by Date: Re: MIME file and gd
- Previous by thread: Naked Comment does not trigger Error Message
- Index(es):
Relevant Pages
|