Ads Inside Post

Search in This Blog

YOU TUBE VIDEO UPLOADER

YouTube Video Uploader.
Coming soon.....


Youtube upload error while upload video occurred in Google.GData.Client.dll

Problem:

While working with Google.GData.YouTube Api to upload video from your computer system to own youtube account you can get the error as below:

"An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in Google.GData.Client.dll"
"Additional information: Execution of request failed: https://uploads.gdata.youtube.com/feeds/api/users/default/uploads"

Video Cutter

Problem:

How to cut any part from video?

Solution:

Download this my Video Cutter windows 64 bit application.

Video Cutter











To run this you need to download Microsoft dot-net framework 4.5
Download Video Cutter

Better way to fill select box in php

Problem:

Better way to fill select box in php

Solution:

Use Heredoc as below example

Example:

Assuming that $rs_list is the query result.
<?php
$list_trans="";
foreach ($rs_list->result() as $row_list) {
        $nm= $row_list->nm;
        $id=$row_list->id;
       
$list_trans.= <<<ABC
<option value="$id">$nm</option>
ABC;
    }
 ?>

    <select name="transporter_id">
            <?php echo $list_trans;?>
            </select>




return array from php function

Problem:

How to return array as result from php function?

Solution:

Create a multiple or single key pair value array and return it from function and store in a variable.

Example:


<?php
    function my_arr_ret(){
    $result = array(
                'nm' => 'mynm',
                'id' => 'myid',
                'amount' => 12345.89,
                'code' => 'mycode'
            );
            return $result;
    }
    $my_arr=my_arr_ret();
    echo $my_arr['amount'];   
?>

Get urls from firefox browser and save in file

Problem:

If you want to see all the URLs lists from any person computer system,then how to achieve it?

Solution:









You need to download this software here,keep in mind that it will only look all urls list from Firefox browser and save it in text file.
http://sourceforge.net/projects/unique-softwares/files/GetFireFoxUrls.7z/download