Php Function base64_encode
<?php
$encode=base64_encode("encoded_string782");
echo $encode;
?>
Type: Posts; User: mehmetkara
Php Function base64_encode
<?php
$encode=base64_encode("encoded_string782");
echo $encode;
?>
<?php
function downimage($image_url, $image_name, $image_path){
$image_name = $this->pretty_string($image_name);
$image_file = $image_name . '.jpg';
if( !...
Php Curl Function
<?php
function get_data ($url)
{
$ch = curl_init ();
$timeout = 5;
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, true);
...
Php mysql query
<? $data=mysql_query("select * from topics order by id desc limit 12");
while($sk=mysql_fetch_array($data)) { ?>
Php Seo Function
<?php
function seo($str, $replace=array(), $delimiter='-'){
setlocale(LC_ALL, 'en_US.UTF8');
if( !empty($replace) ) {
$str = str_replace((array)$replace, ' ', $str);...
Php array_rand
<?php
$input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank");
$rand_keys = array_rand($input, 2);
echo $input[$rand_keys[0]] . "\n";
echo $input[$rand_keys[1]] . "\n";
?>
Php if and else
PHP mysql_fetch_row
<?php
$result = mysql_query("select sitetitle,url, keywords, description from settings");
list($sitetitle,$url, $keywords, $description) = mysql_fetch_row($result);
...
Here is a Php Db Connection Script
<?php
$dbhost = "localhost";
$dbuser = "DBUSERNAME";
$dbpass = "DBPASSWORD";
$dbdata = "THEDATABASENAME";
if (!@mysql_connect($dbhost, $dbuser,...
Google Chrome is the best browser and it is fast and cool :rolleyes:
This is Iphone 4s
915
916