Archive for the 'Training and Tutorials' Category

Echo Video Tutorial

(PHP 4, PHP 5)
echo — Output one or more strings
Description
void echo ( string $arg1 [, string $…] )
Outputs all parameters.
echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo() (unlike some other language constructs) does not behave like a function, so it cannot […]

Read Full Post »

crc32

crc32
(PHP 4 >= 4.0.1, PHP 5)
crc32 — Calculates the crc32 polynomial of a string
Description
int crc32 ( string $str )
Generates the cyclic redundancy checksum polynomial of 32-bit lengths of the str. This is usually used to validate the integrity of data being transmitted.
Because PHP’s integer type is signed, and many […]

Read Full Post »

convert_uudecode

convert_uudecode
(PHP 5)
convert_uudecode — Decode a uuencoded string
Description
string convert_uudecode ( string $data )
convert_uudecode() decodes a uuencoded string.
Parameters

data
The uuencoded data.

Return Values
Returns the decoded data as a string.
Examples
Example 2371. convert_uudecode() example

<?php
/* Can you imagine what this will print? */
echo convert_uudecode(“+22!L;W9E(%!(4\”$`\n`”);
?>

Read Full Post »

convert_cyr_string

convert_cyr_string
(PHP 4, PHP 5)
convert_cyr_string — Convert from one Cyrillic character set to another
Description
string convert_cyr_string ( string $str, string $from, string $to )
Converts from one Cyrillic character set to another.
Parameters

str
The string to be converted.

from
The source Cyrillic character set, as a […]

Read Full Post »

« Prev