Ad block is installed and active. Please support us by disabling it.
HomeMonday, November 20, 2017, 09:13:21

Prevent the error loading XML – libxml_use_internal_errors

Tuesday, February 10, 15, 13:40:40, 3 Yaers Ago Via wain, Hits: 2850
libxml_use_internal_errors() allows you to disable standard libxml errors and enable user error handling.
//allows you to disable standard libxml errors and enable user error handling
$load = simplexml_load_string($res);
if (!$load) {
echo "Failed loading document";
foreach(libxml_get_errors() as $error) {
echo "<pre>" . $error->message . "</pre>";

$load = new SimpleXmlElement($res);

Sign In



PHP Date Examples

Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.

Process Form Data with Jquery

jQuery, Process form data

PHP Form Validation

PHP form validation :: PHP tutorial, requirement(s): PHP Server

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.

PHP explode

Explode — Split a string by string.

PHP $_POST Function

Collect values from a form sent with method post

Syntax highlighting in Smarty

Syntax highlighting for Smarty - Google Code Prettify

PHP Write to File

PHP Write to File :: PHP Tutorial, requirement(s): PHP server

ShoutBox 1.1. PHP Script

ShoutBox allows your users to post short messages on your site. The script is lightweight and very easy to install and use.

Link Base L.1.1.

This script allows you to manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links. The script is easy to customize to suit your needs.
About Author


Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
This author has not yet filled in any details.