Killall command is very useful in linux. You can stop or kill the all same processes. killall command can used in Linux and Unix OS. killall – kill processes by name You can find the process name by using this … Continue reading
Monthly Archives: October 2009
Solved issue -Directory index forbidden by Options directive:
I want to change the default location of Apache folder which is (var/www/html). I am using the Fedora 9 as OS and apache 2 here. When I inserted the following code in bottom of the httpd.conf file. <VirtualHost *:80> Options … Continue reading
PHP if else statement- Normal and advanced
Here now I am giving you the normal code example. $test = 100; if ( $test == 100 ) { echo “The if statement evaluated to true”; } else { echo “The if statement evaluated to false”; } If you … Continue reading
Some accordion JS scripts
I am suggesting following accordions: jQuery Accordion example: http://www.stemkoski.com/downloads/jquery-accordion-menu/example.htm http://www.i-marco.nl/weblog/jquery-accordion-menu/ http://roshanbh.com.np/2008/06/accordion-menu-using-jquery.html http://jqueryfordesigners.com/demo/simple-slide-demo.html this has single ‘jquery-1.js’ (79KB) un-compressed version with first visible accordion, onclick backgroud color change MooTools Accordion example: http://davidwalsh.name/dw-content/accordion.php this has single ‘moo1.js’ (133KB) un-compressed version with first … Continue reading
Page scrolling up or down through javascript
Document or webpage scrolling is very easy through javascript. window.scrollBy(10,20); // horizontal and vertical scroll increments or decrements. Using scrollBy function you can create custom event or function based on project requirement. Here I am giving you the sample code: … Continue reading
Solved :Error establishing a database connection
Many times I saw this message. “Error establishing a database connection”. That time I did not understand why this message is coming. When started working on WordPress blog Plugins, Themes. Then I got to know about this error. Whenever you … Continue reading
how to send a variable value from an Iframe back to its parent?
If you want fetch the variable value or send variable to parent page. Use following code: In Parent page use this copy paste folliwing javascript. In Iframe page use following code. In Iframe page use this copy paste folliwing javascript. … Continue reading
How to install vsftpd server on Fedora9
http://rpm.pbone.net/index.php3/stat/4/idpl/9874617/com/vsftpd-2.0.6-3.fc9.i386.rpm.html
How to install webmin on Fedora9
You can able to download webmin package through RPM only. You can find the webmin RPM http://sourceforge.net/projects/webadmin/files/webmin/1.490/webmin-1.490-1.noarch.rpm/download from this url. Use following command for installing webmin #rpm -Uvh webmin-1.490-1.noarch.rpm This will install the webmin package on your fedora box. Afer … Continue reading