1. Open Internet Explorer and Select Proxy. 2. Choose Port and Proxy Address, right click on it and copy it. 3. Go to Tools > Internet Options 4. Select Connection Tab and go to LAN Settings. 5. Select Use a proxy server for your LAN in Proxy server 6. Paste Port & Proxy server in Port Box and Address box. 7. Click OK and Exit.
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Wednesday, 3 September 2014
How to hidden you IP & proxy?
Resize image by using PHP GD functions
header('Content-Type: image/jpeg'); $w=100; $h=100; $filename = 'picture.jpg'; for($i=0;$i<10;$i++){ $rfname="images/re$i.jpg"; resize($filename,$w,$h,$rfname); } function resize($filename,$w,$h,$rfname){ list($width, $height) = getimagesize($filename); $image_p = imagecreatetruecolor($w,$h); $image = imagecreatefromjpeg($filename); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $w, $h, $width, $height); imagejpeg($image_p,'', 100); imagejpeg($image_p,$rfname); }
Basic Linux Commands
1. mkdir - make directories 2. cd - change directories 3. mv- change the name of a directory Ex: mv testdir newnamedir 4. pwd - print working directory will show you the full path to the directory you are currently in. This is very handy to use, especially when performing some of the other commands on this page 5. rmdir - Remove an existing directory 6. rm -r Removes directories and files within the directories recursively. 7. chown - change file owner and group 8. chmod - change file access permissions 9. reboot - Reboots the system (requires root privileges). 10.ping host - Sends an echo request via TCP/IP to the specified host. A response confirms that the host is operational.
How to read data from excel file using php?
<?php include 'reader.php'; $excel = new Spreadsheet_Excel_Reader(); ?> <table border="1"> <?php $excel->read('sample.xls');//set the excel file name here $x=1; while($x<=$excel->sheets[0]['numRows']) { // reading row by row echo "\t<tr>\n"; $y=1; while($y<=$excel->sheets[0]['numCols']) {// reading column by column $cell = isset($excel->sheets[0]['cells'][$x][$y])?$excel->sheets[0]['cells'][$x][$y] :''; if($cell) echo "\t\t<td>$cell</td>\n"; // get each cells values $y++; } echo "\t</tr>\n"; $x++; } ?> </table><br/>
Tuesday, 2 September 2014
Clock running scripts in php with jquery
<div class="col-xs-12 col-sm-12 col-lg-12 cal"> <p id='demo' class="text-center cal-container"></p> </div> </a> <?php $current_timestamp = time(); ?> <script type='text/javascript'> flag = true; timer = ''; phpJavascriptClock(); setInterval(function(){phpJavascriptClock();},1000); function phpJavascriptClock() { if ( flag ) { timer = <?php echo $current_timestamp;?>*1000; } var d = new Date(timer); months = new Array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sept', 'Oct', 'Nov', 'Dec'); month_array = new Array('January', 'Febuary', 'March', 'April', 'May', 'June', 'July', 'Augest', 'September', 'October', 'November', 'December'); currentYear = d.getFullYear(); month = d.getMonth(); var currentMonth = months[month]; var currentMonth1 = month_array[month]; var currentDate = d.getDate(); currentDate = currentDate < 10 ? '0'+currentDate : currentDate; var hours = d.getHours(); var minutes = d.getMinutes(); var seconds = d.getSeconds(); var ampm = hours >= 12 ? 'PM' : 'AM'; hours = hours % 12; hours = hours ? hours : 12; // the hour ’0' should be ’12' minutes = minutes < 10 ? '0'+minutes : minutes; seconds = seconds < 10 ? '0'+seconds : seconds; var strTime = hours + ':' + minutes+ ':' + seconds + ' ' + ampm; document.getElementById("demo").innerHTML= currentMonth+' ' + currentDate+' , ' + currentYear + ' ' + strTime ; flag = false; timer = timer + 1000; } </script>
Monday, 25 August 2014
Json PHP encode value decode in jquery
var objJSON = eval("(function(){return " + resp + ";})()");
// resp is ajax reponse in json encoded by php "objJSON .name" to take values
Thursday, 21 August 2014
Subscribe to:
Posts (Atom)
Feet/Inches to Meters Converter & Lbs to Kgs Converter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
-
<?php $to = "somebody@example.com, somebodyelse@example.com"; $subject = "HTML email"; $message = " <h...
-
document.onkeydown = myKeyDownHandler; function myKeyDownHandler(event){ alert(event.keyCode) }
-
To Resolve above the issue use below this code $(function() { $('#calendar').fullCalendar('render'); });