Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:24:07
2

Addslashes - Stripslashes

Monday, February 9, 15, 03:10:09, 3 Yaers Ago Via wain, Hits: 2525
addslashes — quote string with slashes, stripslashes — un-quotes a quoted string
Code:
<?php
$str = "'PHP' is an open-source server-side scripting language";
//addslashes — quote string with slashes
$str = addslashes($str);
echo $str . "<br>";
//stripslashes — un-quotes a quoted string
$str = stripslashes($str);
echo $str;
?>

Sign In

Sponsor

Related

Prevent the error loading XML – libxml_use_internal_errors

libxml_use_internal_errors() allows you to disable standard libxml errors and enable user error handling.

Upload Image With PHP

[Example3] Tutorial - How to upload image in php.

Creating a CAPTCHA with PHP with imagecreate

This tutorial will show you how to create a form with Captcha, Requirement(s): PHP Server, GD Graphics Library

Advanced Contact Form - PHP Script

Advanced Contact Form with email and form field validation. Features: HTML Output(Response), Captcha Image.

Preventing multiple form submissions

Preventing multiple form submissions

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.

Upload Image with PHP [Example2]

[Example2] Tutorial - How to upload and resize image with PHP

PHP Links Script 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.

PHP imagecreate

imagecreate() returns an image identifier representing a blank image of specified size.

Preg_Match - PHP Email Validation

Validate email with preg_match in php
About Author

wain

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