Tips $ Tricks

Cannot turn on short_open_tag with ini_set

You used ini_set(‘short_open_tag’, ‘1’), but it does not take effect
then change the tags e.g.

perl -e “s/<\?\s/<\?php /g;” -pi.old $(find ./ -type f)

 

Function split() is deprecated in

$valueSplit = split(“,”, $values);
preg_split() is the alternative to use now, if you need regular expressions.
$valueSplit = preg_split(“,”, $values);
or explode() for simple string delimiters,
list($a,$b) = explode(“,”,$values);

One Response to “Tips $ Tricks”

  1. Yonnier, 23. December 2012, 8:39

    March 27, 2012 at 12:29 pmHi, I am webmaster of a traevl website. I liked this website and want my link to be placed somewhere in this website in your consideration. in return I will also give you a link from equal important page from my network traevl website. If interested please mail me your webmaster mail id. Thanks

Post your comment

*

code

 

 

See more website here...

  • Odlinks
  • Farsi-News
  • Advertise Here