Skip to content

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

  • Home
  • Web Stories
  • Get in touch
  • About
PHP

GD support

Vinod Ram July 11, 2009 1 Comments

How to check if GD support is enabled or not. <?php var_dump(gd_info()); ?> If GD support is enabled then you will get an array in that you will get “GD…

javascript

How to execute local system command by using javascript

July 10, 2009 0 Comments

<script type=”text/javascript”> MyObject = new ActiveXObject( “WScript.Shell”) MyObject.Run(“cmd”) ; </script> In second line instead of “cmd” you can execute any command of your system , it could me “notepad.exe” or…

ORACLE

How to establish oracle database connection in php

June 3, 2009 0 Comments

First of all you need to check whether “oci8” support is enabled or not, if not you have to enable that you can check this in your phpinfo file. Once…

Mysql

How to import data into mysql db from sql file

May 26, 2009 0 Comments

Open your shell prompt navigate to the mysql directory (default is /var/lib/mysql) cd /pathToYourMysqlDirectory/ then type the below command $ mysql -u mysqlUserName -p Password -h HostName DatabaseName < /loactionOfYourSqlFile/yourSqlFileName.sql…

Uncategorized

How to copy file from local machine to remote server in linux

May 22, 2009 0 Comments

scp fileName userName@remoteServerIP:remoteServerFolderPath Example : >scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/ once you type this command, system will ask for the remote server login password.once password is verified , file get copied to…

javascript

check whether any of the checkbox are checked or not

May 4, 2009 0 Comments

function isChecked(url) { f=document.frmName var checkFound = false; for (var counter=0; counter < f.length; counter++) { if ((f.elements.name == ‘checkBoxId’) && (f.elements.checked == true)) { checkFound = true; } }…

javascript

Check or uncheck multiple checkbox at a time in javascript

May 4, 2009 23 Comments

function checkUncheckAllCheckbox() { f=document.frmName if(f.mainCheckBox.checked) { f.checkBoxName.checked=true; for(i=0;i<f.checkBoxName.length;i++) f.checkBoxName.checked=true; } else if(!f.mainCheckBox.checked) { f.checkBoxName.checked=false; for(i=0;i<f.checkBoxName.length;i++) f.checkBoxName.checked=false; } }

Uncategorized

How to add or condition in mysql query in symfony

April 25, 2009 1 Comments

$c->add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN); $c1 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,$this->getUser()->getAttribute(‘userid’),Criteria::EQUAL); $c2 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL); $c1->addOr($c2); $c->add($c1);

htaccess Setting Symfony

How to configure the symfony project directory

April 22, 2009 0 Comments

Your symfony project derectory is “/var/www/html/sf_sandbox” so in the browser you can acess this by this URL : “http://localhost/sf_sandbox/web/frontend.php/” So if you want to map the symfony project directoy to…

rewrite rule

How to redirect domain to other directory on the same domain

April 17, 2009 0 Comments

Open the .htaccess file of your root directory of your project and add the following line. RewriteEngine On RewriteCond %{HTTP_HOST} !^http://someDomainName.com RewriteCond %{HTTP_HOST} !^http://www.someDomainName.com RewriteCond %{HTTP_HOST} !^$ RewriteCond %{REQUEST_URI} !^/someOtherDirectory/…

Posts navigation

1 … 13 14 15 … 17

« Previous Page — Next Page »

Tags

amazon amazon on strike 2024 Anita Bryant Australia bitcoin content Cricket date date validation David Dobrik Death in Paradise delivery Staff donald trumph form validation France gateway timeout Hollywood htaccess javascript jquery Karate laravel Melbourne Cricket Ground microsoft movie Muay Thai Murielle Hilaire netflix ninja form Notre-Dame fire online Shopping Paris php-fpm Singer squid game Stardom suspense Sydney Sweeney thriller usa politics validation website development wordpress yii2 youtuber

Archives

You Missed

General Knowledge International News

Microsoft Makes OpenAI’s $200/Month AI Free for All Copilot Users

General Knowledge International News

अमेरिका-चीन व्यापार युद्ध बढ़ा: नए टैरिफ और जवाबी उपायों से वैश्विक बाजार में उथल-पुथल

International News

Dick Button The Trailblazer Who Revolutionised Figure Skating

Hollywood International News

Selena Gomez was criticised for posting a tearful video on Instagram

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Copyright © All rights reserved | Blogus by Themeansar.

  • Terms and Condition
  • Disclaimer
  • Privacy Policy
  • Get in touch