Search:

Type: Posts; User: mehmetkara

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    670

    Php Function base64_encode

    Php Function base64_encode


    <?php
    $encode=base64_encode("encoded_string782");
    echo $encode;
    ?>
  2. Replies
    3
    Views
    1,246

    Php Image Download on Server function

    <?php
    function downimage($image_url, $image_name, $image_path){
    $image_name = $this->pretty_string($image_name);
    $image_file = $image_name . '.jpg';
    if( !...
  3. Replies
    1
    Views
    894

    Php Curl Function

    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);
    ...
  4. Replies
    1
    Views
    1,058

    Php mysql_query

    Php mysql query

    <? $data=mysql_query("select * from topics order by id desc limit 12");
    while($sk=mysql_fetch_array($data)) { ?>
  5. Replies
    3
    Views
    3,107

    Php Seo Function

    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);...
  6. Replies
    1
    Views
    1,111

    Php array_rand

    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";
    ?>
  7. Replies
    2
    Views
    1,175

    PHP if and else

    Php if and else
  8. Replies
    0
    Views
    734

    PHP mysql_fetch_row and define

    PHP mysql_fetch_row
    <?php
    $result = mysql_query("select sitetitle,url, keywords, description from settings");


    list($sitetitle,$url, $keywords, $description) = mysql_fetch_row($result);
    ...
  9. Replies
    4
    Views
    1,950

    Php Db Connection

    Here is a Php Db Connection Script

    <?php
    $dbhost = "localhost";
    $dbuser = "DBUSERNAME";
    $dbpass = "DBPASSWORD";
    $dbdata = "THEDATABASENAME";


    if ([email protected]_connect($dbhost, $dbuser,...
  10. Replies
    44
    Views
    28,080

    Sticky: Poll: Google Chrome is the best browser and it is fast...

    Google Chrome is the best browser and it is fast and cool :rolleyes:
  11. Replies
    0
    Views
    557

    New New Iphone 4s

    This is Iphone 4s

    915

    916
Results 1 to 11 of 11