First:
It pisses me off very much
each time I find out
someone is using short_open_tag
<?
..... is crazy!
....and will sooner or later make your code useless
My Apache server and the official PHP.ini recommendation is
short_open_tag Off
On a server with this setting which is the correct setting
for anybody SERVER owner or HOST that wants PHP Up-to-date
.... you would have to Rewrite all of you php scripts.
I guess you like sitting writing php code so much
that you so not mind spending some hors or even days
just changing all :
<? to <?php
and all
<?= to <?php echo
I been there, trying to get OTHER'S code to work ... Free Softwares & scripts.
:mad: :mad: It is a drag I can tell you! :mad: :mad:
Secondly
The first 2 lines of
ANY PHP SCRIPT under development
and using sessions
..... should ALWAYS BE!!!!!!!!!!!!!!
<?php
session_start();
error_reporting( E_ALL );
//code
... and all PHP scripts under DEBUG
should have this on top
<?php
error_reporting( E_ALL );
// Will Give you notice on anything in PHP syntax
// That is not 100% like the PHP standard coding wants it
//code
If this would be the case
we would have saved like 20-30% ( or more )
of
- http://phpbuilder.com/ Database space
- and a great amount of internet bandwidth
.. resources that could have been use for something better
Regards
halojoy
🙂