$lower = "IP ADDRESS";
echo $lower_dec = (float)sprintf("%u",ip2long($lower));
echo $lower_dec = (float)sprintf("%u",ip2long($lower));
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
<script src="http://www.jqueryautocomplete.com/js/jquery/jquery-1.7.1.min.js"></script> <script src="http://www.jqueryautocomplete.com/js/jquery/jquery.ui.core.min.js"></script> <script src="http://www.jqueryautocomplete.com/js/jquery/jquery.ui.widget.min.js"></script> <script src="http://www.jqueryautocomplete.com/js/jquery/jquery.ui.position.min.js"></script> <script src="http://www.jqueryautocomplete.com/js/jquery/jquery.ui.autocomplete.min.js"></script> <link rel="stylesheet" href="http://www.jqueryautocomplete.com/js/jquery/smoothness/jquery-ui-1.8.16.custom.css"/> <script>var data = [ {"label" : "Aragorn"}, {"label" : "Arwen"}, {"label" : "Bilbo Baggins"}, {"label" : "Boromir"}, {"label" : "Frodo Baggins"}, {"label" : "Gandalf"}, {"label" : "Gimli"}, {"label" : "Gollum"}, {"label" : "Legolas"}, {"label" : "Meriadoc Merry Brandybuck"}, {"label" : "Peregrin Pippin Took"}, {"label" : "Samwise Gamgee"} ]; </script> <script> $(function() { $( "#search" ).autocomplete( { source:data }) }); </script> <input type="text" id="search" />
<?php mail("recipient@example.com", "This is the message subject", "This is the message body", "From: sender@example.com" . "\r\n" . "Content-Type: text/plain; charset=utf-8", "-fsender@example.com"); ?>
You can use the DirectoryIndex directive in an .htaccess file to specify a custom file or files that the web server looks for when a visitor requests a directory. To enable the DirectoryIndex directive, use a text editor to modify the .htaccess file as follows. Replace filename with the file that you want to display whenever a user requests the directory: DirectoryIndex filename You can also specify multiple filenames, and the web server will search for each file until it finds a match. Consider this example directive: DirectoryIndex index.php index.html index.htm
Enable directory index listings In some cases, however, you may want to enable index listings for a directory. To do this, use a text editor to add the following line to the .htaccess file: Options +Indexes This directive enables standard indexing, where the index listing shows only the filenames. You can also enable “fancy” indexing, where the index listing shows filenames, their filesizes, and when they were last modified. To do this, add the following line to the .htaccess file: IndexOptions +FancyIndexing
# Prevent Apache from serving .htaccess files: <FilesMatch "^\.htaccess"> Order allow,deny Deny from all </FilesMatch>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...