Set default image or text in html input box
Suppose you have a user login panel which shows two input text field, one for username & another for password. Now you don’t wanna use level for this input box. Then What!!!!!!! Simply show text or image inside input box. Here is the code….. [sourcecode language=”javascript”] <form action="#" method="post"> <input name="login_username" value="email" type="text" onfocus="if(this.value==’email’) this.value=”;" .. Read More
Get next auto_increment value in mysql
[sourcecode language=”php”] <?php SHOW TABLE STATUS LIKE ‘$tablename’; ehco mysql_result($query, 0, ‘Auto_increment ‘); ?> [/sourcecode] .. Read More
Form submit by ajax/jquery
[sourcecode language=”javascript”] $(function(){ $.ajax({ type: "post", url:example.php, data: $("#user-form").serializeArray(), success: function(response){ alert(response); $("#response-div").html(response); } }); }); [/sourcecode] .. Read More
Control inside repeater row ASP.NET
Hello All Few days back I was struggling with a repeater problem , where I have to get a value of dropdown list on a button click event which is inside repeater. Eventually I come up with a solution through googling. What I have faced was get the value of appropriate dropdown list while clicking .. Read More
Dependency Injection with Ninject in .NET
Hello All From last few months I was not working on .NET platform so haven’t get enough time to write something fruitful on .NET technology. But from last few few days I was thinking to do something with IoC . There are many DI tools to perform DI in .NET but I found Ninject useful .. Read More
Use of Robots meta tag
Syntax of Robots meta tag <meta name=”robots” content=”…, …” /> <meta name=”googlebot” content=”…, …” /> Robots meta tag can control the behavior of search engine crawling and indexing. If you want to control only Google Bot they use the syntax <meta name=”googlebot” content=”….,….”>, and the meta name robots will be universal, it will work for .. Read More
How to work cron job in php ?
A cron job allows you to run a certain command at times set by the job. For example, you could set a cron job to delete temporary files every week so that your disk space is not being used up by those files. To access the Cron Jobs Menu, click on the icon above the .. Read More
Google SEO Tools
Most extensive original free google seo tools .. Read More
Build Your Own Web Server-Appache and Linux
Build Your Own Web Server ~ Quick & Easy Do it Yourself Installation ~ All within 24 hours !!!! Apache 2 – Linux Web server MySQL 5 – MySQL Database Server PHP4/5 – PHP Scripting Language phpMyAdmin – Web-based database admin software. Webalizer – Website Traffic Analyzer Mail Server – Postfix (MTA) with Dovecot IMAP/POP3 .. Read More
Linux Server Setup
Hardware Wish List We have created a list of hardware – both complete servers and smaller hardware pieces that we are currently searching for. Help dotsrc.org serve the Open Source community by becoming a sponsor. Hardware Wish List Since we are completely dependant on sponsored equipment, being short of essential hardware is unfortunately kind of .. Read More