Posted on June 4, 2009 by Ramesh Javale
1.Hashu Advani College of Education
Address:
Collectors Colony
Chembur Camp
Chembur
Mumbai -400074
Landmark: Near Ambedkar Garden
Phone: 022-25530451, 022-25531041
2. N.G. Acharya & D.K. Marathe College of Arts Science & Commerce
Address:
N.G Acharya Marg
Chembur
Mumbai -400071
Landmark: Near Chembur Railway Station
Phone: 022-25210962
3. Narayan Guru College of Commerce
Address:
PL Lokhande marg
Shree Narayan Nagar
Chembur
Mumbai -400071
Phone: 022-25280926
4. Vivek Anand College
Address:
Sindhi Society
Chembur
Mumbai -400071
Near Bhakti Bhavan
Phone: 022-25221360, 022-25227502
5. KJ SOMAIYA COLLEGE
Garudiya nagar, Ghatkopar
Filed under: BCS/IT | Tagged: bca college, bcs college | Leave a Comment »
Posted on June 4, 2009 by Ramesh Javale
Posted on May 29, 2009 by Ramesh Javale
Posted on March 24, 2009 by Ramesh Javale
to use external smtp server we need to change some ini setting .
this setting can be chage using following code
ini_set(sendmail_from,”info@domain.com”);
ini_set(SMTP,”New smto host name”);
ini_set(smtp_port,”25″);
using rhis code you can send mail fro the given smtp mail server
Filed under: Php | Tagged: external smtp server, mail, smtp | 1 Comment »
Posted on March 18, 2009 by Ramesh Javale
Use this query
“select * from table_name order by rand() limit 1 “
Filed under: Php, mysql | Tagged: mysql, Php, random query | Leave a Comment »
Posted on February 16, 2009 by Ramesh Javale
the code is in js
1. var input=document.getElementById(id);
2. var input2= input.cloneNode(false);
3. input2.type=’password’;
4. input.parentNode.replaceChild(input2,input);
Filed under: Javascript | Tagged: change input type, input type | Leave a Comment »
Posted on December 6, 2008 by Ramesh Javale
var EditorInstance = FCKeditorAPI.GetInstance(‘message’) ; //message is name of field to be validate
if(EditorInstance.EditorDocument.body.innerText.length<=0)
{
alert(“This firld is mandatory”);
EditorInstance.EditorDocument.body.focus();
return false;
}
Filed under: Javascript | Tagged: fckeditor blank field validate, fckeditor validate, javascript fckeditor | 1 Comment »
Posted on December 2, 2008 by Ramesh Javale
//——-curl
$source_file=”example.php”;
$fp = fopen($source_file, “r”);
$url = “ftp://username:password@target_server_url:21 file_path /file_name”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_UPLOAD, 1);
curl_setopt($ch, CURLOPT_INFILE, $fp);
curl_setopt($ch, CURLOPT_FTPASCII, 1);
curl_setopt($ch, CURLOPT_INFILESIZE, filesize($source_file));
$result = curl_exec($ch);
curl_close($ch);
//———
Filed under: Php | Tagged: copy file, curl ftp, transfer file | 1 Comment »
Posted on November 25, 2008 by Ramesh Javale
<?php
require_once(“conf.php”); // youe database connection file
$result = mysql_query( “SHOW TABLE STATUS” );
$dbsize = 0;
while( $row = mysql_fetch_array( $result ) ) {
$dbsize += $row[ "Data_length" ] + $row[ "Index_length" ];
}
?>
<?php
echo “<p>The size of the database is ” . formatfilesize( $dbsize ) . “</p>”;
?>
Filed under: Php | Tagged: databse size, get database size, mysql, Php | Leave a Comment »