Archive

Archive for the ‘php’ Category

PHP: Tiny URL API

December 10th, 2009 Jigish Thakar No comments

just a simple 2 line code to get tiny URL in to your application. sometimes we do need this blog or article module. It is just a passing your URL at tiny URL PHP api link and it returns the resulting tiny URL.

$u = "http://www.technoreaders.com/2009/12/10/php-tiny-url-api/";
echo file_get_contents('http://tinyurl.com/api-create.php?url='.$u);

isnt it simple? try it you ll love it

php: simpledirectory is simply the best

December 7th, 2009 Jigish Thakar No comments

From past few days was looking for some nice script, which i can use to view my server side files.. actuelly i was very much facinated by the way wamp server index page shows the files in your shared (WWW) folder. and had a discssion about my this requirement with my brother (Linuxreaders.com). and he suggested me simpledirectory and i tried it and its amazing.

It provides many useful functions.

  • Copy/Move, rename, delete directories
  • Download files(pass through the php script)
  • Read/Edit files
  • Create a file/folder
  • Upload files
  • Set a particular folder as a “virtual root” for directory listing
  • Javascript/no javascript
  • Unicode supported
  • Thumbnail View
  • RSS
  • FTP Layer

Read more…