List/Grid

Tag Archives: php

PHP backlink check script

If you wish to check backlinks to your or any other website from other websites that you know, then here is the php script that you can use: <?php $source… Read more »

PHP Interview Questions

1. What does a special set of tags < ?= and ?> do in PHP? – The output is displayed directly to the browser. 2. What’s the difference between include… Read more »

How to connect to oracle database using OCI8 – PHP

In my previous post i demonstrated how to install OCI8 http://www.yoursearchbuddy.com/installing-oci8-on-linux In this post we will discuss how to connect to Oracle database using OCI8: First create a connection string:… Read more »

Create a TinyURL with PHP

//gets the data from a URL function get_tiny_url($url) { $ch = curl_init(); $timeout = 5; //Depend on you curl_setopt($ch,CURLOPT_URL,’http://tinyurl.com/api-create.php?url=’.$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $newUr = curl_exec($ch); curl_close($ch); return $newUr; } //test it… Read more »

Using twitter API using Curl PHP

I came across a problem of how to send my wordpress post directly to twitter using Curl, and after my several tries i found this solution. You can use this… Read more »