PHP versus ASP.NET – Windows versus Linux – Who’s the fastest ?
This is the first question which comes to a developers mind when they think about hosting. misfitgeek wrote an interesting blog post about PHP versus ASP.NET – Windows versus Linux – Who’s the fastest ? you can also read about the Comparative Performance tests here.
Related posts
Shoban ASP.net, php
What is Remind_Me_About?
remind_me_about is a new Twitter bot written in PHP. What is it all about?
remind_me_about is a reminder service using Twitter. Follow , Wait for remind_me_about to follow you back, Send your “to do”as a Direct Message and forget about it. Remind_me_about will remind you on the day.
What’s more? When you recive a DM Twitter will (may) send you and email and if you have subscribed to SMS alerts then you willrecive an SMS alert.
If you do not want others to know about your reminders then you can start your own Twitter reminder service in few minutes by downloading the source code from codeplex.
Product Home Page : http://remindmeabout.codeplex.com/
You will need a webserver which can handle PHP scripts and run cron jobs.
Related link:
- http://www.binoyxj.com/2009/07/create-a-twitter-reminder-with-remind_me_about-bot/
- http://www.twi5.com/remindmeabout-a-twitter-reminder-bot/5828/
- http://mytweeterapps.com/twitter-web-applications/set-reminders-twitter-bot/
- http://www.ghacks.net/2009/07/22/use-twitter-as-a-reminder-service/
Related posts
Shoban php
remind_me_about is a new Twitter bot written in PHP. What is it all about?
remind_me_about is a reminder service using Twitter. Follow , Wait for remind_me_about to follow you back, Send your “to do”as a Direct Message and forget about it. Remind_me_about will remind you on the day.
What’s more? When you recive a DM Twitter will (may) send you and email and if you have subscribed to SMS alerts then you willrecive an SMS alert.
What are the rules?
Rules are simple. As stated above follow remind_me_about. Wait for remind_me_about to follow you back. When you want to add a reminder, simply send a Direct Message in any of the following formats.
Bob’s birthday Tomorrow
or
Tom’s Birthday on 23/04/2009
The date format should be dd/mm/yyyy. remind_me_about notifies you if you enter a valid date format.
I will upload the source code to codeplex soon. If you find a bug please send me an email to shobankr[at]gmail.com
Related posts
Shoban php
Here is a very useful post about different ways to backup MySQL database.
Related posts
Shoban php
Recently I was working on a project which loads a third party domain webpage in an iframe. Everything looked fine except it started acting weird in Internet Explorer 7.
Later I realised that it was because of the default privacy settings (or rather annoyance) in IE7 which blocks third party cookies in iframes.
There are two ways to solve this.
- Change the IE7 settings to accept all cookies. This can be done by navigating to
Internet Options >> Privacy >> Advanced >> Check “Override Automatic Cookie Handling” and “Always allow session cookies”.
This solution is not possible if you are the webdeveloper. You cannot ask all users to change their privacy settings. So how can you over come this programatically? Look at the second solution.
2. If you are the we developer then you can add p3p headers to the pages loaded in iframe. By doing this we are telling the browser that it is OK to create and maintain cookie values of the pages loaded in iframe. Adding the headers is not a tedious task. Use the following code.
PHP :
header('P3P: CP=\"IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA\"');
ASP :
Response.AddHeader "p3p", "CP=" & chr(34) & "CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR" & chr(34)
ASP.net :
HttpContext.Current.Response.AddHeader ("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
:>
Related posts
Shoban ASP.net, php
Do you love stackoverflow? Are you a frequent user or stackoverflow? Then why not share your Favorite programming questions from stackover?
Here is a wordpress sidebar widget that will make your job easy. Simply download and add the sidebar widget to your theme and your Favorite questions will automatically be displayed.
Usage :
- Download the plugin from here
- Open stackoverflow_favs.php and edit the userid on line 11 (You can get your userid from your stackoverflow profile url. Example : http://stackoverflow.com/users/12178/shoban
- Upload the changed file to your plugins directory and activate it.
- Add My Favorites from SOF widget to your sidebar from your widgets menu.
Do you have any suggestions? let me know

Related posts
Shoban Uncategorized, php
If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same. In most of the cases it did not work properly. But recently i got a contact grabber from phpclasses.org which works perfectly on Gmail, Hotmail, Rediff, Yahoo, Orkut, MySpace, Indiatimes, Linkedin , AOL and lycos.
Read the rest here

Related posts
Shoban php
Some time back I worte a post about a Twitter Google bot in www.crankup.net. As promised, here is how you can develop your own google talk bot which can post your messages to Twitter.

First, You need an imified account for your bot to work properly. Get one here. Once the account is created, login to your account and give your new bot a name. I call it Post2Twitter.
Now its time to develop the bot. I have used PHP to post message from the chat window to twitter.Below is the code.
<?php
error_reporting(0);
require('twitterAPI.php');
$message = $_REQUEST['msg'];
if(isset($message))
{
$extracted = explode("$",$message);
$twitter_username = $extracted[0];
$twitter_psw = $extracted[1];
$twitter_message = $extracted[2];
if(strlen($twitter_message)<1){
echo "Sorry! Please enter a message to post!";
exit(0);
} else {
$twitter_status=postToTwitter($twitter_username, $twitter_psw, $twitter_message);
}
}
?>
Looks simple? Infact it is not. I have used anoter file which will post the message to twitter. Get the include file here.
Now upload both the files to a webserver and provide the url in your bot setting page (imified.com).Once this is done you can invite your bot to your google talk and start having fun. The above code is self explanatory if you have any queries please post it as a comment.
Related posts
Shoban Uncategorized, php
Recent Comments