Dec 30

We got lot of responses to our previous post on importing gmail and other contacts. In this post we are going to give the code and how to configure them

PHP Code to Invite Gmail and other contacts [ Source Code Download]

You can use this code in your own website or wordpress blog or any other cms which uses PHP.  You have to configure the config.php file to use this script.

Modify username and private key which is given by openinviter.com

Change the message and subject according to your need.

To use the stats, you should have username and pass in config file. The stats file all the statistics related to gmail importer or contacter importer tool.

The most important of aspect is that, the form is submitted automatically once the contacts are imported. However, you can change this by modifying the javascript.

http://www.dumpsquestions.com/testing/wp-content/themes/ModulaBlueGiant/open.zip
Nov 12

We can import the contacts from any email provider easily, using this script. You might have used this script in some of the social bookmarking or networking sites where you can invite friends from gmail or yahoo or msn or aol, etc., The same thing can be done with this script too, and you can modify the invitaiton list. The advantage of this script is it works for many email providers not simply gmail or yahoo or msn or aol.

You can try the demo here PHP code to import contacts from gmail

This script is available in many custom CMS like wordpress, joomla, drupal and other CMS. You can get the PHP code to integrate in your website. And you can use the same script for authentication too. If you need the code for this script and if you want to integrate into your website. Leave a comment here. We will do that for you :)

#update, the script has been updated, try this out. I am sure you will get !?!!?!?! Try that.

I am trying to get that as a wordpress plugin.

#update

We have got lot of response for the source code, it is open source script. Any one can use this script, you can download the php code to import contacts and setting up instructions are given in this post

Oct 31

Getting screen resolution in PHP is done through javascript cookie.
How it works :
1.Javascript gets the user resolution and stores in the cookie
2.We can use PHP to read that cookie.

The following code snippet gives the resolution of a browser using php and javascript. However you can also modify the code to get height and width seperately (screen.width and screen.height are the parameters for width and height respectively).



PHP code for getting screen resolution


if(isset($HTTP_COOKIE_VARS["users_resolution"]))
$screen_res = $HTTP_COOKIE_VARS["users_resolution"];
else //no cookie set in Javascript
{
?>

}
?>


echo "Your Screen resolution is set at ". $screen_res;

?>

You can also get width or height alone

Code by www.dumpsquestions.com/webdeveloper




www.dumpsquestions.com © 2009