Jump to content

database info showed in webpage


orange08

Recommended Posts

hi, my php site links to MySQL database...recently, i found sometimes when i insert, update or even browse my database through form in my php site,

i get label or tootip displayed for a while in my web page  showing information like 'browse innodb free xxkb'...or

 

i have even get a tootip(not able to see the content clearly)...seem showing information like 'disk....' and the information end with date and time...

can i know what happen here?

 

thanks!

Link to comment
https://forums.phpfreaks.com/topic/158565-database-info-showed-in-webpage/
Share on other sites

If you know where the data is coming from, and the method used -then it's usually better to use $_POST or $_GET.

 

Otherwise, dont use $_REQUEST

 

another problem:

if you pass things in url (including session id), http referer will be leaked out when user click on a out linking url.

but if u hide it in <form action=post>, then this will not happend.

If you know where the data is coming from, and the method used -then it's usually better to use $_POST or $_GET.

 

Otherwise, dont use $_REQUEST

in my case, i never use $_REQUEST...

 

another problem:

if you pass things in url (including session id), http referer will be leaked out when user click on a out linking url.

but if u hide it in <form action=post>, then this will not happend.

 

for 'browse innodb free xxkb' tooltip i get, that the case is i'm using $_GET...so, this might the reason...

 

how about that 'disk....' tooltip? i just not able to see it clearly before it's disappear...so, can't see what's the content of the tooltip...just able to see the 'disk' word...last time i thought is my hardware problem(not enough RAM) has causing it, until i get the 'browse innodb free xxkb'...just suspect is from database problem. this 'disk...' tooltip i get is when i insert and update my database table(i'm using $_POST in this case)...in one case that when i update table and get the tooltip...my update query is not completed performed as one of my fields is not updated...what's the problem please and how can i solve it?

 

thanks!

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.