HScripts.com
English
English
Spanish
French
German
Chinese
Portuguese
Japanese
Dutch
Russian
Sign in / Sign up
Home
Scripts
Server Side Scripting
PHP
JSP
Perl
ASP
Client Side Scripting
JavaScript
AJAX
Jquery
Web Building Scripts
CSS3
Shell Scripts
Shell Scripts
Wordpress Plugins
PHP Plugins
Jquery Plugins
Tutorials
Web Technologies
CSS
CSS3
HTML
HTML5
Regular Expression
Programmings
CPP
VB.net
Microsoft Technologies
Excel2007 Functions
Powerpoint
Scripts Programming
PHP
JSP
Perl
JavaScript
Jquery
Database Languages
MySQL
Designing
Photoshop
Flash
GIMP
Commands/Services
Linux
SVN
VIM
CISCO Switch
Linux Services
Vista Services
Web Developments
RSS Feed
SEO
Web Building
Domain & DNS
Advertising Networks
Tools
Calculator / Converters
Hours Calculator
Epoch-GMT Converter
Online Image Converter
Convert Images
Lookup / Analysis
Apache Version Lookup
Email Verification Tool
Statistics Tool
Form Effects
Button Creator
Form Generator
Random Words Generator
Web Color Chooser
Menu Effects
Menu Builder
Multiple Drop Down Menu
Image / Text Effects
Gif Image Creator
Compress, Resize Pictures
Thumbnail Image Generator
CSS Image Sprites Generator
Image Resizer and Cropper Tool
Text Animation Tool
IP / DNS Lookup
IP/DNS Tools
Find Ip Address
Hostname to IP Address
Password Generators
Htpasswd Generator
MD5 Hash Encrypter
Random Password Generator
Password Strength
SEO Analysis
Backlink Checker
Link Analyser
FBLike Count Calculator
Website Popularity
Page Rank Tool
If Modified Since Http Header
SEO Text Browser Tool
Snippets
Add Snippets
New Snippets
Categories
FAQ
Statistics
Browser Statistics
OS Statistics
Search Engine Statistics
Paid Scripts
PHP
JSP
JavaScript
Web Icons
Cliparts
Traffic Signs
Country Maps
Country Emblems
Background Images
Menu Buttons
Logos
PDF
Home
>>
Tutorials
>>
Php
Learn PHP Programming Language Tutorial Online
›
Syntax
Syntax of PHP file
›
Datatypes
DataTypes
Boolean
Integer
Double
String
Array
Object
Resource
NULL
Type Conversion
Variables
Define Variable
›
Variable scope
Global variable
Static variable
›
Type Conversion
intval
strval
floatval
boolval
settype
gettype
automatic type conversion
›
Operators
Operator Precedence
Arithmetic Operator
Assignment Operator
Bitwise Operator
Comparison Operator
Ternary Operator
Error Control Operator
Execution Operator
Increment/Decrement
Logical Operator
String Operator
Array Operator
Type Operator
›
Control Structures
IF Structure
Else Structure
Else IF
While
Do While
For
For each
Break
Continue
Switch
Declare
Return
Require
Require Once
Include
Include Once
Goto
Functions
User Defined Functions
Passing Arguments
Returning Values
›
Pre-defined Function
Predefined Functions
›
Calendar Functions
Days in Month
Calendar Information
Easter Date
Easter Days
Julian Day Functions
›
Date and Time
Date and time
Date Time Functions
Date
Time
Check date
Create date
Get default timezone
Set default timezone
Date Format
Parse Date
Sun Date
Sunrise date
Sunset date
Get date
Get time
Gmdate
Gm mktime
Gm strftime
Idate
Localtime
Microtime
mktime
strftime
strptime
strtotime
Timezone open
Alias Time/Date
›
Array Functions
Array Function
Length of array
inArray
Sort Reverse
sizeof
Sort
Array Chunk
Array Combine
Array count values
Array Key exists
Array Keys
Merge Array
POP Array
PUSH Array
Random array
Array Reverse
Search Array
Array Shift
Slice Array
Splice Array
Array SUM
Unique Array
Unshift Array
Array Values
›
Array Functions List1
Change Key Case
Array Diff Assoc
Array Diff Key
Array Diff UAssoc
Array Diff UKey
Array Diff
Array Fill Keys
Array fill
Filter Array
Array Flip
Array Intersect Assoc
Array Intersect Key
Array Intersect Uassoc
Array Intersect UKey
Array Intersect
Map Array
Merge Recursive
Multisort
Array Pad
Product Array
Reduce Array
Array Udiff Assoc
Array Udiff Uassoc
Array Udiff
Array UIntersect Assoc
Array UIntersect Uassoc
Array UIntersect
›
Array Functions List2
Array Walk Recursive
Array Walk
arsort
asort
Compact
Current
Each Function
End
Extract
Key
krsort
ksort
List
Natcase sort
Natsort
Next
Position
Prev
Range
Reset
Shuffle
uasort
uksort
usort
›
Math Functions
Abs
Trignometric
bindec
decbin
dechex
decoct
hexdec
octdec
Base Converter
ceil
deg2rad
exp
expm1
floor
fmod
getrandmax
hypot
isfinite
is infinite
is nan
lcg value
log10
log1p
log
max
min
mt getrandmax
mt rand
mt srand
pi
pow
rad2deg
rand
round
sqrt
srand
›
PHP Mysql
Mysql Functions
mysql_affected_rows
mysql_change_user
mysql_client_encoding
mysql_close
mysql_connect
mysql_create_db
mysql_data_seek
mysql_db_name
mysql_db_query
mysql_drop_db
mysql_errno
mysql_error
mysql_escape_string
mysql_fetch_array
mysql_fetch_assoc
mysql_fetch_field
mysql_fetch_lengths
mysql_fetch_object
mysql_fetch_row
mysql_field_flags
mysql_field_len
mysql_field_name
mysql_field_seek
mysql_field_table
mysql_field_type
mysql_free_result
mysql_get_client_info
mysql_get_host_info
mysql_get_proto_info
mysql_get_server_info
mysql_info
mysql_insert_id
mysql_list_dbs
mysql_list_fields
mysql_list_processes
mysql_list_tables
mysql_num_fields
mysql_num_rows
mysql_pconnect
mysql_ping
mysql_query
mysql_real_escape_string
mysql_result
mysql_select_db
mysql_stat
mysql_tablename
mysql_thread_id
mysql_unbuffered_query
›
Php Data Objects (PDO)
Introduction
DB Connection
Create Table
Insert
Select
Update
Delete Data
Error Handling
›
File Handling
Count Lines
File Size
File Reading
Reading Lines
Creating File
File Writing
File Append
File Permission
fopen
fclose
›
Error Handling
Error Types
Parse Error
Fatal Error
Warning Error
Notice Error
Stop Error
Restrict Errors
Error Levels
Error Mailing
DB Size
›
PHP Mail
ezmlm hash
Mail
Send Mail
›
String Tokens
String Tokens
›
String Functions
Addslashes
bin2hex
chr
echo
explode
implode
ltrim
md5
nl2br
ord
print
print_r
printf
rtrim
sprintf
String Replace
str_pad
str_repeat
str_replace
str_shuffle
str_split
str_word_count
strcasecmp
strcmp
strip_tags
stripos
stristr
strlen
strpos
strrchr
strrev
strstr
strtolower
strtoupper
substr_replace
substr
trim
ucfirst
ucwords
›
String Functions List1
addcslashes
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc 32
crypt
fprintf
get_html_translation_table
hebrev
hebrevc
html_entity_decode
htmlentities
htmlspecialchars_decode
htmlspecialchars
lcfirst
levenshtein
localeconv
md5_file
metaphone
money_format
nl_langinfo
number_format
parse_str
›
String Functions List2
quoted_printable_decode
quoted_printable_encode
quotermeta
setlocale
sha1_file
sha1
similar_text
soundex
sscanf
str_rot13
strcoll
strcspn
stripcslashes
stripslashes
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strripos
strrpos
strspn
strtok
strtr
substr_compare
vfprintf
vprintf
vsprintf
wordwrap
alias string function
Session Functions
›
Session Functions
Session Function List
session_cache_expire
session_cache_limiter
session_decode
session_encode
session_destroy
session_get_cookie_params
session_set_cookie_params
session_id
session_name
session_register
session_is_registered
session_unregister
session_module_name
session_regenerate_id
session_save_path
session_set_save_handler
session_start
session_unset
session_write_close
›
Cookies Functions
Set cookie
Set raw cookie
›
Form Variables
POST Method
GET Method
Upload Files
REQUEST Method
›
Examining Variable
is_int()
is_float()
is_bool()
is_string()
is_array()
is_object()
is_numeric()
unset()
empty()
›
Filter Functions
filter-has-var()
filter-id()
filter-input-array()
filter-input()
filter-list()
filter-var-array()
filter-var()
›
PHP Filters
filter-callback()
filter-sanitize-string()
filter-sanitize-encoded()
filter-sanitize-special-chars()
filter-sanitize-url()
filter-sanitize-email()
filter-sanitize-quotes()
filter-sanitize-float()
filter-sanitize-int()
filter-validate-int()
filter-validate-boolean()
filter-validate-float()
filter-validate-regexp()
filter-validate-url()
filter-validate-email()
filter-validate-ip.php()
›
PHP from JS
Running PHP from JS
›
PHP Array To JS
Array To JS
›
JsArrayToPHP
Array to PHP
›
Simple Encryption
Encryption
›
Header and Footer
Common Header
Next
PHP Topics
Introduction
Syntax
Datatypes
DataTypes
Boolean
Integer
Double
String
Array
Object
Resource
NULL
Type Conversion
Variables
Define Variable
Variable scope
Global variable
Static variable
Type Conversion
intval
strval
floatval
boolval
settype
gettype
automatic type conversion
Operators
Operator Precedence
Arithmetic Operator
Assignment Operator
Bitwise Operator
Comparison Operator
Ternary Operator
Error Control Operator
Execution Operator
Increment/Decrement
Logical Operator
String Operator
Array Operator
Type Operator
Control Structures
IF Structure
Else Structure
Else IF
While
Do While
For
For each
Break
Continue
Switch
Declare
Return
Require
Require Once
Include
Include Once
Goto
Functions
User Defined Functions
Passing Arguments
Returning Values
Pre-defined Function
Calendar Functions
Days in Month
Calendar Information
Easter Date
Easter Days
Julian Day Functions
Date and Time
Date and time
Date Time Functions
Date
Time
Check date
Create date
Get default timezone
Set default timezone
Date Format
Parse Date
Sun Date
Sunrise date
Sunset date
Get date
Get time
Gmdate
Gm mktime
Gm strftime
Idate
Localtime
Microtime
mktime
strftime
strptime
strtotime
Timezone open
Alias Time/Date
Array Functions
Array Function
Length of array
inArray
Sort Reverse
sizeof
Sort
Array Chunk
Array Combine
Array count values
Array Key exists
Array Keys
Merge Array
POP Array
PUSH Array
Random array
Array Reverse
Search Array
Array Shift
Slice Array
Splice Array
Array SUM
Unique Array
Unshift Array
Array Values
Array Functions List1
Change Key Case
Array Diff Assoc
Array Diff Key
Array Diff UAssoc
Array Diff UKey
Array Diff
Array Fill Keys
Array fill
Filter Array
Array Flip
Array Intersect Assoc
Array Intersect Key
Array Intersect Uassoc
Array Intersect UKey
Array Intersect
Map Array
Merge Recursive
Multisort
Array Pad
Product Array
Reduce Array
Array Udiff Assoc
Array Udiff Uassoc
Array Udiff
Array UIntersect Assoc
Array UIntersect Uassoc
Array UIntersect
Array Functions List2
Array Walk Recursive
Array Walk
arsort
asort
Compact
Current
Each Function
End
Extract
Key
krsort
ksort
List
Natcase sort
Natsort
Next
Position
Prev
Range
Reset
Shuffle
uasort
uksort
usort
Math Functions
Abs
Trignometric
bindec
decbin
dechex
decoct
hexdec
octdec
Base Converter
ceil
deg2rad
exp
expm1
floor
fmod
getrandmax
hypot
isfinite
is infinite
is nan
lcg value
log10
log1p
log
max
min
mt getrandmax
mt rand
mt srand
pi
pow
rad2deg
rand
round
sqrt
srand
PHP Mysql
Mysql Functions
mysql_affected_rows
mysql_change_user
mysql_client_encoding
mysql_close
mysql_connect
mysql_create_db
mysql_data_seek
mysql_db_name
mysql_db_query
mysql_drop_db
mysql_errno
mysql_error
mysql_escape_string
mysql_fetch_array
mysql_fetch_assoc
mysql_fetch_field
mysql_fetch_lengths
mysql_fetch_object
mysql_fetch_row
mysql_field_flags
mysql_field_len
mysql_field_name
mysql_field_seek
mysql_field_table
mysql_field_type
mysql_free_result
mysql_get_client_info
mysql_get_host_info
mysql_get_proto_info
mysql_get_server_info
mysql_info
mysql_insert_id
mysql_list_dbs
mysql_list_fields
mysql_list_processes
mysql_list_tables
mysql_num_fields
mysql_num_rows
mysql_pconnect
mysql_ping
mysql_query
mysql_real_escape_string
mysql_result
mysql_select_db
mysql_stat
mysql_tablename
mysql_thread_id
mysql_unbuffered_query
Php Data Objects (PDO)
Introduction
DB Connection
Create Table
Insert
Select
Update
Delete Data
Error Handling
File Handling
Count Lines
File Size
File Reading
Reading Lines
Creating File
File Writing
File Append
File Permission
fopen
fclose
Error Handling
Error Types
Parse Error
Fatal Error
Warning Error
Notice Error
Stop Error
Restrict Errors
Error Levels
Error Mailing
DB Size
PHP Mail
ezmlm hash
Mail
Send Mail
String Tokens
String Functions
Addslashes
bin2hex
chr
echo
explode
implode
ltrim
md5
nl2br
ord
print
print_r
printf
rtrim
sprintf
String Replace
str_pad
str_repeat
str_replace
str_shuffle
str_split
str_word_count
strcasecmp
strcmp
strip_tags
stripos
stristr
strlen
strpos
strrchr
strrev
strstr
strtolower
strtoupper
substr_replace
substr
trim
ucfirst
ucwords
String Functions List1
addcslashes
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc 32
crypt
fprintf
get_html_translation_table
hebrev
hebrevc
html_entity_decode
htmlentities
htmlspecialchars_decode
htmlspecialchars
lcfirst
levenshtein
localeconv
md5_file
metaphone
money_format
nl_langinfo
number_format
parse_str
String Functions List2
quoted_printable_decode
quoted_printable_encode
quotermeta
setlocale
sha1_file
sha1
similar_text
soundex
sscanf
str_rot13
strcoll
strcspn
stripcslashes
stripslashes
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strripos
strrpos
strspn
strtok
strtr
substr_compare
vfprintf
vprintf
vsprintf
wordwrap
alias string function
Session Functions
Session Functions
Session Function List
session_cache_expire
session_cache_limiter
session_decode
session_encode
session_destroy
session_get_cookie_params
session_set_cookie_params
session_id
session_name
session_register
session_is_registered
session_unregister
session_module_name
session_regenerate_id
session_save_path
session_set_save_handler
session_start
session_unset
session_write_close
Cookies Functions
Set cookie
Set raw cookie
Form Variables
POST Method
GET Method
Upload Files
REQUEST Method
Examining Variable
is_int()
is_float()
is_bool()
is_string()
is_array()
is_object()
is_numeric()
unset()
empty()
Filter Functions
filter-has-var()
filter-id()
filter-input-array()
filter-input()
filter-list()
filter-var-array()
filter-var()
PHP Filters
filter-callback()
filter-sanitize-string()
filter-sanitize-encoded()
filter-sanitize-special-chars()
filter-sanitize-url()
filter-sanitize-email()
filter-sanitize-quotes()
filter-sanitize-float()
filter-sanitize-int()
filter-validate-int()
filter-validate-boolean()
filter-validate-float()
filter-validate-regexp()
filter-validate-url()
filter-validate-email()
filter-validate-ip.php()
PHP from JS
PHP Array To JS
JsArrayToPHP
Simple Encryption
Header and Footer
Feedback
Ask Questions
Ask Question