PHP Url File Remote Uploader No Size Limit [Script]

Remote Upload :When there is a transfer of data from a remote system to another remote system, the process is called “remote uploading”.   Simply upload the file to your web host and unzip.Then open the index file in folder URL Uploader in webhost. Change permission of “files” folder to 755 or 777 if required […]

Read More

Get Location Info From IP

Use this php script to get current location of the client using php   <?php $ip = $_SERVER[‘REMOTE_ADDR’]; $details = json_decode(file_get_contents(“http://ipinfo.io/{$ip}/json”)); $city = $details->city; echo “<br>”; echo $details->region; echo “<br>”; echo “<pre>”; print_r($details); echo “<pre>”; ?>

Read More

How To Rewrite URLs with mod_rewrite for Apache on Ubuntu 16.04

Introduction In this tutorial, we will activate and learn how to manage URL rewrites using Apache 2’s mod_rewritemodule. This module allows us to rewrite URLs in a cleaner fashion, translating human-readable paths into code-friendly query strings or redirecting URLs based on additional conditions. This guide is split into two parts. The first sets up an example […]

Read More

Some Basic Ubuntu Commands

NOTE :- ‘*’ denotes “All Files” in ubuntu 1. Delete all data in a folder rm -rf *   2. set permission in ubuntu  CHMOD sudo chmod -R 777 /var/www   3. move all file to parent direrctory mv * ../   4.give write permission :- sometime 777 permission is not enough you have to […]

Read More

Windows Activator for windows 8.1 and 10

If you are in trouble to activate your Windows PC then finally you are in right place. In this article I will provide you windows activator to activate your windows . So here is the list of Software you can download it from here according to your Windows Version..  For Windows 8.1 – Download from […]

Read More

PHP upload remote upload file

Here is the code for uploading file to server using remote upload with php <?phpfunction remoteImageUpload($get_url){$url = trim($get_url);if($url){ $file = fopen($url,”rb”); $directory = “upload/”; $valid_exts = array(“php”,”jpeg”,”gif”,”png”,”doc”,”docx”,”jpg”,”html”,”asp”,”xml”,”JPEG”,”bmp”); //my code start from here $value = explode(“.”, $url); $ext = strtolower(array_pop($value)); //Line 32 $fn = time();//my code end here // $ext = end(explode(“.”,strtolower(basename($url)))); // this code is […]

Read More

Detect Click Into iFrame using jQuery iframeTracker Plugin

iframeTracker is a jQuery plugin which allows for the tracking of click events on iframes embed in your webpage that can be used for many applications: tracking click event of Facebook like button, Google +1 button, Google Adsense ads and many more. In addition, this plugin allows you to manage an unlimited number of iframe, […]

Read More

How to send Mail in Hindi or using UTF-8

PHP mail() UTF-8 characters (ąčęėįšųūž) Sometime you need to send mail in other than english language ..then for sending mail with html you uses the following code :-  <?php$to = “[email protected], [email protected]”;$subject = “HTML email”;$message = “<html><head><title>HTML email</title></head><body><p>This email contains HTML Tags!</p><table><tr><th>Firstname</th><th>Lastname</th></tr><tr><td>John</td><td>Doe</td></tr></table></body></html>”;// Always set content-type when sending HTML email$headers = “MIME-Version: 1.0” . “rn”;$headers .= […]

Read More

Apache shows php code instead of executing

sometime it is normal that when you install apache and on running localhost or 127.0.0.1 it shows source code of file instead of executing you can simply sort it out by using this on ubuntu  16.04 sudo apt-get install php libapache2-mod-php sudo a2enmod mpm_prefork && sudo a2enmod php7.0 sudo service apache2 restart it is very […]

Read More