This is an archive of my old website, kept as a snapshot of that time.

Archive : php

RSS feed

Open Sourcing @pushmail – An email app on SMS

Hi all, I’m open sourcing my txtweb app @pushmail – An app that’ll send push email notifications via SMS. What is @pushmail It is an SMS app on the txtweb.com platform with which users can get instant email notifications via SMS. If they choose to, they can read full emails and reply to them. The user just has to setup a simple email forwarder. http://suhastech.com/mail The “I just want to get this […]

How to fetch the new line / paragraph character “n” from a GET / POST request

Here’s a little code that I wrote to correctly fetch the newline character. By URL encoding “n” you get %OA which is not decoded back as a C style new line character “n”. So, we fetch the query string to manually decode it in the correct mechanism. This is a PHP example, the theory hold good for other languages as well. function get_string_parameters($string) { $result = array(); if( empty($string) […]