shoprex-icon-big

Shoprex

Developer site for the Wordpress Plugin Shoprex


XML record with CDATA values and output

In an XML object, data that contains html codes must be placed in a <! [CDATA [* Text *]] block. The SimpleXMLElement class is extended by the addCData method in the script. With a simple query text! = Strip_tags (text) it is decided whether the value has to be packed into a CDATA block. The […]





PHP: Maximum execution time exceeded

If you write a PHP script that takes a long time to run, there is the following error message: Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/xy.php on line xy For this you have in php.ini (Debian: /etc/php5/apache2/php.ini) set the following value to prevent the error, and self-protection: but that’s not all, […]