Pramod T P

Search
Skip to content
  • Home
  • PHP
  • WordPress
  • Linux
  • Magento
  • My SQL
  • Profile
  • comments

Monthly Archives: May 2012

PHP

bin2hex()

May 21, 2012 Pramod T P

It convert binary data into hexadecimal representation

Example

<?php
echo bin2hex(“phpcode”);
?>

Output

706870636f6465

FunctionsPHPString
PHP

addslashes()

May 21, 2012 Pramod T P

It  returns a string with backslashes in front of the specified characters

Example

<?php
echo addslashes(‘p/h”p{[^’);
?>

Output

p/h”p{[^

FunctionsPHPString
PHP

addcslashes()

May 21, 2012 Pramod T P

It  returns a string with backslashes in front of the specified characters

Example

<?php
echo addcslashes(‘php{[^’, ‘A..z’);
?>

Output

php{[^

FunctionsPHPString
PHP

libxml()

May 18, 2012 Pramod T P

libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets.

LibXMLPHP
PHP

libxml_use_internal_errors()

May 18, 2012 Pramod T P

It  disable libxml errors and allow user to fetch error information as needed

Example

<?php
libxml_use_internal_errors()
?>

FunctionsLibXMLPHPXML
PHP

libxml_set_streams_context()

May 18, 2012 Pramod T P

It set the streams context for the next libxml document load or write

FunctionsLibXMLPHPXML
PHP

libxml_set_external_entity_loader()

May 18, 2012 Pramod T P

It changes the default external entity loader

FunctionsLibXMLPHPXML
PHP

libxml_get_last_error()

May 18, 2012 Pramod T P

It returns  last error from libxml

Example

<?php
libxml_get_last_error()
?>

FunctionsLibXMLPHPXML
PHP

libxml_get_errors()

May 18, 2012 Pramod T P

It returns array of errors

Example

<?php
libxml_get_errors()
?>

FunctionsLibXMLPHPXML
PHP

libxml_disable_entity_loader()

May 18, 2012 Pramod T P

It disable the ability to load external entities

Example

<?php
libxml_disable_entity_loader()
?>

FunctionsLibXMLPHPXML

Posts navigation

← Previous 1 … 27 28 29 … 55 Next →

Zend | Magento Certified PHP | eCommerce Architect

For Latest Updates
Visit phpcodez.com

Categories

Recent Posts

  • Regular expression
  • preg_match
  • Redirect root domain to a subdomain .htaccess
  • Redirect root domain to a subfolder .htaccess
  • Force SSL htaccess
May 2012
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Apr   Jun »

Recent Comments

togel online's avatartogel online on How to terminate the current s…
business funding's avatarbusiness funding on compare two strings – ja…
unsecured loans uk's avatarunsecured loans uk on Function to add an element int…
treating back pain's avatartreating back pain on Submit HTML form to pop up pag…
Pura Cleanse's avatarPura Cleanse on Add the block "Based on y…
  • RSS - Posts
Blog at WordPress.com.
Pramod T P
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Pramod T P
    • Already have a WordPress.com account? Log in now.
    • Pramod T P
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...