| doug Napísal: |
| Hah! Please don't! The username "Icehawg" somehow conveys to me that you are neither female, nor as beautiful as a Hollywood actress! |
My mom says I am the handsomest boy though! :) But my wife would probably object ...and now I am creeping myself out so I shall stop.
| doug Napísal: |
Aside from the dBug.php script, my favorite debug code is this:
| Kód: |
$print_r_text =
preg_replace('/\n/s', "\r\n", print_r($_POST, true));
echo !stristr($print_r_text, ']')
? ''
: "\n".'<pre>'.htmlspecialchars($print_r_text).'</pre>'; |
Any array can be substituted for $_POST. |
Ya I was doing something similar to that but depending on the array/contents, I would get some fugly results. dBug for the win!
|