JustAskVin Insights

Ideas for leading and building technology well.

Practical writing on delivery, architecture, CMS migrations, digital growth, and the decisions that shape strong web experiences.

Latest

Page 12 of recent writing

All insights home →

PHP

GD support

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 Version”. If you didn’t get this that means GD support is not there . To enable GD support you should install GD library by the [&hellip;]

Jul 11, 2009

Read article

ORACLE

How to establish oracle database connection in php

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 this is done. Now in you test.php file You have to explicitly set the ORACLE_HOME and LD_LIBRARY_PATH path. This information will be available in you [&hellip;]

Jun 3, 2009

Read article

Mysql

How to import data into mysql db from sql file

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 Where mysqlUserName = Mysql User Name Password = Mysql User Password Hos

May 26, 2009

Read article

javascript

check whether any of the checkbox are checked or not

function isChecked(url) { f=document.frmName var checkFound = false; for (var counter=0; counter < f.length; counter++) { if ((f.elements[counter].name == ‘checkBoxId[]’) && (f.elements[counter].checked == true)) { checkFound = true; } } if (checkFound != true) { alert(‘Please check at least one checkbox.’); return fal

May 4, 2009

Read article

htaccess Setting

How to configure the symfony project directory

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 your web root directory ie i mean to say you just want to acess it my using the URL :”http://localhost/” t

Apr 22, 2009

Read article

HTML

integrate window media player in your website

<html> <head></head> <body leftmargin=”0″ topmargin=”0″> <table cellpadding=”0″ cellspacing=”0″ border=”0″> <tr height=”350″><td align=”center”> <table cellpadding=”0″ cellspacing=”0″ border=1 bordercolor=”black”> <tr> <td valign=”top”> <OBJECT ID=”MediaPlayer” WIDTH=”320″ HEIGHT=”290″ CLASSID=”CLSID:22d6f312-b0f6-11d0

Feb 4, 2009

Read article