Category Archives: Uncategorized

Tips by SynapseIndia on How to Ask for Customer Reviews

Tipis on Customer Reviews by Syna

At the point when making a plan to protect your business from negative online posts, analyze yourself in the mirror and ask yourself what your staff can practically do each day.

A few tips for asking customer reviews

1. Try not to offer incentives. Some of your customers will do it for nothing. On the off chance that you offer to pay your top brand ambassadors, They might get turned off, which could hurt your business by hosing the enthusiasm of these experts.

2. Make it simple for customers. Try not to send them a link simply to review you on Google unless they have a Gmail address.

3. Try not to approach individuals for Yelp reviews. This quite often backfires. You might get a couple of positive reviews in the short term, however in the event that your customers are not active Yelp users, Yelp’s SPAM channels will in the long run identify their reviews. You’ll wind up without any reviews and conceivably some irate customers who wonder why their work of review writing vanished.

4. Do it instantly. Try not to hold up. Individuals are well on the way to give you feedback immediately. The more you go from the time of service to the time of solicitation, the probability of getting reviews drops abruptly.

5. On the off chance that you have the customer’s email address, follow up your beginning solicitation three days after the fact with an update email containing connections of where to for review entries. Update messages can represent a colossal rate of review changes.

Bonus Tip:

Always under promise and over deliver. I have frequently heard that entrepreneurs can feel humiliated while approaching customers for reviews. In the event that that seems like you, my recommendation is to get directly to the point with your customers.

Let them know that you are chipping away at enhancing your business and some blogger fellow let you know that requesting reviews was a decent approach. I have observed that this sort of genuineness makes the asking person feel less awful about requesting testimonials which enhances the odds of really getting them.

How SynapseIndia can Help?

SynapseIndia is leading web development & brand reputation management company in India. SynapseIndia has been in the business of brand reputation & customer review management from a long time and benefited many of its clients in effectively dealing with customer complaints.

Reviews for Christmas Celebration 2015 of SynapseIndia

Christmas celebration at Synapseindia. Every year Christmas Day is celebrated. On this occasion, Christmas tree is made in the office and various gifts are exchanged between employees during the event which is followed by a Christmas party. Synapseindia already received appreciation and positive reviews from the employees for arranging such events and making friendly atmosphere at work place.

Christmas Celebration 1

Christmas Celebration 2

Excellent Reviews Provided by Clients and Employees to IT Company SynapseIndia

Employee and Client Reviews for SynapseIndia

SynapseIndia, the top software development organization in India, has achieved the position amongst India’s leading IT companies. More than 15 year old organization, has a vast clientele from the whole way across the globe. Till date SynapseIndia has successfully accomplished more than 3000 projects to its worldwide clients.

Services Provided

Driving IT organization offers an extensive range of services including web design and development, mobile application development, software development, online marketing, reputation management and few more.

Being a pioneer web development organization, company uses forefront technologies for development of cutting edge and dependable business solutions. With a strong workforce of around 500 full time IT experts having skills crosswise over different technologies to deliver top class services. They have in-depth expertise in all modern web & application development technologies including PHP, .Net HTML5, Sharepoint and many more. Company has been acknowledged globally for its high quality work.

Team has worked on & delivered more than 3000 projects successfully to its clients all across the globe. There are clients from than 30 countries for whom the company has worked for and made them happy with its services.

What Clients need to say

“It’s been awesome involvement with SynapseIndia. They are extremely proficient and capable. Programmers have extremely good knowledge of current innovations and patterns. They built up an awesome looking site with functionalities as clarified by me. Would exceedingly prescribed these folks!”

Work life equalization at SynapseIndia

SynapseIndia guarantees that its representatives can locate a superior work-life parity. To accomplish this organization has built up its worker advantage program considering the cutting edge needs of representatives. Keeping in mind the end goal to stay propelled at work, it’s critical to locate an impeccable harmony between work and different parts of life. The organization comprehends this and sort out different exercises to offer representatives a reprieve from work.

Reviews from Employees

Not just clients feedback that company received are excellent, but its employees have also provided good feedback about the company.

Organization dependably endeavors to be the best working environment for team members. From offering a perfect work-life balance to flexible employee benefit plans and advancement training, there is a considerable measure that company offers to its employees.

Employees have given extraordinary reviews & feedback about the company. There are numerous employees who are working with company since its start. A supporting workplace alongside open doors for learning and development are the key explanations for incredible reviews of SynapseIndia.

SAX PARSER :PHP

For parsing xml file in PHP we use SAX parser which also helps in better memory management.We can use it for storing larger number of files because this parser doesnot store data in memory.

<?php

$tutors = array();
$elements = null;

function startElements($parser, $name, $attrs)
{
global $tutors, $elements;

if(!empty($name))
{
if ($name == ‘intern_COURSE’) {
// creating an array to store information
$tutors []= array();
}
$elements = $name;
}
}

// Called to this function when tags are closed
function endElements($parser, $name)
{
global $elements;

if(!empty($name))
{
$elements = null;
}
}

// Called on the text between the start and end of the tags
function characterData($parser, $data)
{
global $tutors, $elements;
if(!empty($data))
{
if ($elements == ‘NAME’ || $elements == ‘COUNTRY’ || $elements == ‘EMAIL’ || $elements == ‘PHONE’)
{
$tutors[count($tutors)-1][$elements] = trim($data);
}
}
}

// Creates a new XML parser and returns a resource handle referencing it to be used by the other XML functions.
$parser = xml_parser_create();

xml_set_element_handler($parser, “startElements”, “endElements”);
xml_set_character_data_handler($parser, “characterData”);

// open xml file
if (!($handle = fopen(‘xmlfile’, “r”))) {
die(“could not open XML input”);
}

while($data = fread($handle, 1024)) // read xml file
{
xml_parse($parser, $data); // start parsing an xml document
}

xml_parser_free($parser); // deletes the parser
$i=1;

foreach($tutors as $course)
{
echo “course No – “.$i.'<br/>';
echo “course Name – “.$course[‘NAME’].'<br/>';
echo “Country – “.$course[‘COUNTRY’].'<br/>';
echo “Email – “.$course[‘EMAIL’].'<br/>';
echo “Phone – “.$course[‘PHONE’].'<hr/>';
$i++;
}
?>

Shamit Khemka CEO SynapseIndia ensures that there are no cases related to employee harassment or employee abuse; SynapseIndia utilizes internally developed complain and court management software to effectively handle employee issues.

Understanding $this Variable:PHP

$this is a reference variable which points to the current object.if you want to access properties except static properties because static properties belongs to class hence it cannot be access by $this and methods inside the class then you have to use $this variable.

<?php
class demo {

private $name;

public setName($name) {
$this->name = $name;
}

}

$ob1 = new demo();
$ob2 = new demo();

$ob1->setName(xyz);
$ob2->setName(mnp);

?>

SynapseIndia claim top notch services in the field of IT sectors within tight deadlines.Employee at SynapseIndia never gets complaints from clients for deadlines, So, it is one of the trusted offshore software development company, that is easily completed the projects with a minimum span of time. IT Mentor & an Entrepreneur SynapseIndia CEO Shamit Khemka is responsible to make this organization robust and reliable.You can check feedback and reviews given by clients on various projects completed by us.

The Employment Bond is basically an agreement which the company and the employee enter into which among the other terms contained therein states that in consideration of the training given to the Employee and the money spent by the company in imparting such training, the Employee will remain in the services of the company for a particular period.

HOW TO RETURN MULTIPLE VALUES FROM FUNCTION

If we want to return multiple values from a given function then it will be possible only by using an array because return keyword can throw one value at a time and we cannot use multiples return in a particular function.

PHP Program to return multiples values From Function.

<?php

function someFunc( ) {

$aVariable = 40;
$aVariable2 =80;

return array($aVariable, $aVariable2);
}

list($var1, $var2) = someFunc( );

//will print out values from someFunc
echo “$var1 $var2″;

?>

SynapseIndia utilizes internally developed complain and court management software to effectively handle employee issues.Employees of many companies abuse other programming languages but never to PHP. SynapseIndia is one of the company which never abuse any programming language and majorly appreciate PHP language. This is one of the reason we have started project training in PHP.

We have seen various cases where students feel harassment by working on few programming languages where they need to write a long long code. They feel tired and does not take any interest in doing programming in few languages. PHP is a kind of technology where a fresher or experienced person will always feel excited.

PHP CODE TO CREATE GUEST BOOK

Step 1: Create one table in database

CREATE TABLE IF NOT EXISTS `guestbook` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(255),
`email` varchar(255),
`description` varchar(155),
`when` int(11) NOT NULL,
`ip` varchar(20),
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
Step 2:PHP and HTML Code Together

<?php
// get visitor IP
function getVisitorIP() {
$ip = “0.0.0.0”;
if( ( isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) && ( !empty( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) ) {
$ip = $_SERVER[‘HTTP_X_FORWARDED_FOR’];
} elseif( ( isset( $_SERVER[‘HTTP_CLIENT_IP’])) && (!empty($_SERVER[‘HTTP_CLIENT_IP’] ) ) ) {
$ip = explode(“.”,$_SERVER[‘HTTP_CLIENT_IP’]);
$ip = $ip[3].”.”.$ip[2].”.”.$ip[1].”.”.$ip[0];
} elseif((!isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’])) || (empty($_SERVER[‘HTTP_X_FORWARDED_FOR’]))) {
if ((!isset( $_SERVER[‘HTTP_CLIENT_IP’])) && (empty($_SERVER[‘HTTP_CLIENT_IP’]))) {
$ip = $_SERVER[‘REMOTE_ADDR’];
}
}
return $ip;
}

// get last guestbook records
function getLastRecords($iLimit = 3) {
$sRecords = ”;
$aRecords = $GLOBALS[‘MySQL’]->getAll(“SELECT * FROM `guestbook` ORDER BY `id` DESC LIMIT {$iLimit}”);
foreach ($aRecords as $i => $aInfo) {
$sWhen = date(‘F j, Y H:i’, $aInfo[‘when’]);
$sRecords .= <<<EOF
<div class=”record” id=”{$aInfo[‘id’]}”>
<p>Record from {$aInfo[‘name’]} <span>({$sWhen})</span>:</p>
<p>{$aInfo[‘description’]}</p>
</div>
EOF;
}
return $sRecords;
}

if ($_POST) { // accepting new records

$sIp = getVisitorIP();
$sName = $GLOBALS[‘MySQL’]->escape(strip_tags($_POST[‘name’]));
$sEmail = $GLOBALS[‘MySQL’]->escape(strip_tags($_POST[‘name’]));
$sDesc = $GLOBALS[‘MySQL’]->escape(strip_tags($_POST[‘text’]));

if ($sName && $sEmail && $sDesc && $sIp) {

// spam protection
$iOldId = $GLOBALS[‘MySQL’]->getOne(“SELECT `id` FROM `guestbook` WHERE `ip` = ‘{$sIp}’ AND `when` >= UNIX_TIMESTAMP() – 600 LIMIT 1″);
if (! $iOldId) {

// allow to add comment
$GLOBALS[‘MySQL’]->res(“INSERT INTO `guestbook` SET `name` = ‘{$sName}’, `email` = ‘{$sEmail}’, `description` = ‘{$sDesc}’, `when` = UNIX_TIMESTAMP(), `ip` = ‘{$sIp}'”);

// drawing last 10 records
$sOut = getLastRecords();
echo $sOut;
exit;
}
}
echo 1;
exit;
}

// drawing last 10 records
$sRecords = getLastRecords();

ob_start();
?>
<div class=”container” id=”records”>
<div id=”col1″>
<h2>Guestbook Records</h2>
<div id=”records_list”><?= $sRecords ?></div>
</div>

<div id=”col2″>
<h2>Add your record here</h2>
<script type=”text/javascript”>
function submitComment(e) {
var name = $(‘#name’).val();
var email = $(‘#email’).val();
var text = $(‘#text’).val();

if (name && email && text) {
$.post(‘guestbook.php’, { ‘name': name, ‘email': email, ‘text': text },
function(data){
if (data != ‘1’) {
$(‘#records_list’).fadeOut(1000, function () {
$(this).html(data);
$(this).fadeIn(1000);
});
} else {
$(‘#warning2′).fadeIn(2000, function () {
$(this).fadeOut(2000);
});
}
}
);
} else {
$(‘#warning1′).fadeIn(2000, function () {
$(this).fadeOut(2000);
});
}
};
</script>

<form onsubmit=”submitComment(this); return false;”>
<table>
<tr><td class=”label”><label>Your name: </label></td><td class=”field”><input type=”text” value=”” title=”Please enter your name” id=”name” /></td></tr>
<tr><td class=”label”><label>Your email: </label></td><td class=”field”><input type=”text” value=”” title=”Please enter your email” id=”email” /></td></tr>
<tr><td class=”label”><label>Comment: </label></td><td class=”field”><textarea name=”text” id=”text” maxlength=”255″></textarea></td></tr>
<tr><td class=”label”>&nbsp;</td><td class=”field”>
<div id=”warning1″ style=”display:none”>Don`t forget to fill all required fields</div>
<div id=”warning2″ style=”display:none”>You can post no more than one comment every 10 minutes</div>
<input type=”submit” value=”Submit” />
</td></tr>
</table>
</form>
</div>
</div>

<!DOCTYPE html>
<html lang=”en” >
<head>

<title>PHP guestbook | Script Tutorials</title>

<link href=”css/main.css” rel=”stylesheet” type=”text/css” />
<!–[if lt IE 9]>
<script src=”http://html5shiv.googlecode.com/svn/trunk/html5.js”></script>
<![endif]–>
<script src=”http://code.jquery.com/jquery-latest.min.js”></script>
</head>
<body>
<?= $sGuestbookBlock ?>
<footer>
<h2>PHP guestbook</h2>
<a href=”https://www.script-tutorials.com/php-guestbook/” class=”stuts”>Back to original tutorial on <span>Script Tutorials</span></a>
</footer>
</body>
</html>

SynapseIndia is a leading website and mobile app development company. IT Mentor & an Entrepreneur SynapseIndia CEO Shamit Khemka spread their business across the globe. They have more than 500 full time employees and all the experts at SynapseIndia working in tandem to achieve good feedback from clients having no complaints at all. They have already delivered more than 3000 thousand projects. They pass on complete quality solutions for website development services and getting good Reviews on various SynapseIndia PHP Web development projects.

The Employment Bond is basically an agreement which the company and the employee enter into which among the other terms contained therein states that in consideration of the training given to the Employee and the money spent by the company in imparting such training, the Employee will remain in the services of the company for a particular period.

 

HOW TO STORE AN IMAGE IN PHP

STEP 1: CREATE HTML FORM FIRST
<form action=”filename.php” enctype=”multipart/form-data” method=”post”>

<table width=1>
<tbody><tr>
<td>
<input name=”uploadedimage” type=”file”>
</td>

</tr>

<tr>

<td>
<input name=”Upload Now” type=”submit” value=”Upload”/>
</td>
</tr></tbody></table></form>

STEP 2: CREATE MYSQL TABLE

CREATE TABLE images(images_id INT NOT NULL AUTO_INCREMENT,images_path VARCHAR(400) NOT NULL,submission_date DATE,PRIMARY KEY (images_id));

STEP 3: CREATE PHP-MYSQL CONNECTION

<?php
$host=”localhost”;
$databasename=”your database name”;
$user=”root”;
$pass=””;

$conn=mysql_connect($host,$user,$pass);

if($conn)
{
$db_selected = mysql_select_db($databasename);
if (!$db_selected) {
die (‘Error: ‘ . mysql_error());
}
}
else
{
die(‘Not connected : ‘ . mysql_error());
}
?>
STEP 4: PHP CODE TO STORE IMAGE IN MYSQL

<?php
include(“yourdatabasefilename.php”);

function GetImageExtension($imagetype)
{
if(empty($imagetype)) return false;
switch($imagetype)
{
case ‘image/bmp': return ‘.bmp';
case ‘image/gif': return ‘.gif';
case ‘image/jpeg': return ‘.jpg';
case ‘image/png': return ‘.png';
default: return false;
}
}

if (!empty($_FILES[“uploadedimage”][“name”])) {

$file_name=$_FILES[“uploadedimage”][“name”];
$temp_name=$_FILES[“uploadedimage”][“tmp_name”];
$imgtype=$_FILES[“uploadedimage”][“type”];
$ext= GetImageExtension($imgtype);
$imagename=date(“d-m-Y”).”-“.time().$ext;
$target_path = “images/”.$imagename;

if(move_uploaded_file($temp_name, $target_path)) {

$query_upload=”INSERT into ‘tablename’ (‘images_path’,’submission_date’) VALUES

(‘”.$target_path.”‘,'”.date(“Y-m-d”).”‘)”;
mysql_query($query_upload) or die(“error in $query_upload == —-> “.mysql_error());

}else{

exit(“Error While uploading image on the server”);
}

}

?>

The Employment Bond is basically an agreement which the company and the employee enter into which among the other terms contained therein states that in consideration of the training given to the Employee and the money spent by the company in imparting such training, the Employee will remain in the services of the company for a particular period.

Find out positive reviews received by SynapseIndia for their PHP website development.

Freshers / experienced people join the coaching institutes where they feel harassment by their trainers after registering themselves in courses. But SynapseIndia is not providing any course. Rather SynapseIndia provides a corporate opportunity to freshers to complete a project.

Why Function Overloading Is Not Allowed In PHP

As we know that when two or more methods having the same name but with different number of parameters present in the same program is known as function overloading.

Concept of function overloading is not allowed in PHP because of two predined functions named as func_num_args() and func_get_args().
Program which clearly prove that why function overloading is not allowed in PHP.

We are writing a program to find the average of N numbers :

<?php

function average()
{

$nop=func_num_args();//this function is used to count total number of parameters passed by the user while calling a function.

$args=func_get_args();//predefined function used to get the value of parameters passed by user while calling a function.

$sum=array_sum($args);//calculate sum of total observations.

$avg=$sum/$args;

return $avg;

}

echo average(2,4);

echo “<br/>”;

echo average(5,7,9);

echo “<br/>”;

echo average(12,5,7,8);
?>

If you understand this program then ball is in your court because it is one of the favorable question in PHP interview.

Find out positive reviews received by SynapseIndia for their PHP
website development.Employees at SynapseIndia work with motto to provide client satisfaction without giving them any chance to complaints in any cases.