Hi Johari,

Most of the time, a production web server won't display errors in your
code. That's to stop the error messages giving an attacker information
about, for example, the layout of your code.

In addition to what Sid's said, I'd recommend checking if you have
access to the production server's Apache error logs; that will allow
you to see what's going wrong without letting the rest of the world
see your error messages. Otherwise, you might have to change the
display_errors configuration setting
(http://nz2.php.net/manual/en/errorfunc.configuration.php - but don't
forget to change it back once you're done).

Dom

On Thu, Oct 23, 2008 at 10:47 AM, Johari <[EMAIL PROTECTED]> wrote:
> When I uploaded my finished "test" version and run it in my browser,
> I get a blank page - obviously it's not running as expected, and I didn't
> know what's wrong with my code.
> Therefore, I had to re-code again.... and check my codes line by line
> comparing to the working codes just to find out what had went wrong.

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to