Jump to content

Is there a way...?


mertch

Recommended Posts

Hi everyone,

 

Is there a script design to find the error like the one below

which could be able to show the error in red and suggest

to replace for example the '.' by the ',' one ?

 

$db= mysql_connect('localhost'.'login','password')

 

And should the script be place in the same file as the error ?

 

A few month ago, I came accross php debug.

 

Do I have to put this script in the same file as the one to be

check out ?

 

Thanx.

 

Link to comment
https://forums.phpfreaks.com/topic/212854-is-there-a-way/
Share on other sites

The problem is that errors can be very context dependent. The above could be an error, or it could be intentionally concatenated, making the 'error' an incorrect number of parameters, or if no password is used, there would be no error at all. See where this is going?

Link to comment
https://forums.phpfreaks.com/topic/212854-is-there-a-way/#findComment-1108736
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.