Friday, February 24, 2006

Free WAP Uploads

Free WAP Uploads - Upload your files here then download them to your mobile phone

I thought some time back this would be a neat tool to offer users, it's being used and although I can't publish the links to the files people are uploading I can say some good, funny as hell stuff has been uploaded!

The following files formats can be uploaded from your PC then downloaded to your mobile phone through WAP:

3gp aac amr avi awb bmp cab gif jad jar jpeg jpg mid mmf mp3 mp4 png sis wav wbmp

The thing I like most about this page is the feature which shows an animated clock and a please wait message as soon as you click submit. I know it's only a div tag shown onclick but it's sweet and makes me smile when I see it!

Blogger links!

Welcome to Mobtex. We are your one stop shop for ringtones and downloads for your mobile phone!
We've got one of those cool add this my blogger links now on every page of the site! Neat!

I just added Mobtex to my blog with one click, neat. Dead easy really, just understanding how Blogger takes the get requests and uses those on the create a post page:

http://www.blogger.com/blog-this.g?u=URL&n=TITLE

Simple but hopefully this will encourage people to Blog about us, we're picking up customers and steam now and it would be nice to burst onto the blogosphere!

Friday, February 10, 2006

HTTP Authentication with PHP

I'd wondered for a while how I'd do this but didn't really have the need to go and find out till now, I wanted to be able to password protect a a few functions within a script so I've put this inside it's component and it works a treat.

Users now get forced to validate before the application runs.

Cool.



// lets not just have anyone accessing this
if (!isset($_SERVER['PHP_AUTH_USER'])) {

header('WWW-Authenticate: Basic realm="Mobtex Limited SMS Sender"');
header('HTTP/1.0 401 Unauthorized');
echo "You need to be authorised to use this application";
exit;

}else{

if(($_SERVER['PHP_AUTH_USER']=="**********") and ($_SERVER['PHP_AUTH_PW']=="**********")){
echo "

Authenticated

";


}else{

header('WWW-Authenticate: Basic realm="Authenticate"');
header('HTTP/1.0 401 Unauthorized');
echo "You need to be authorised to use this application";
exit;
}

}

?>

Yes, I know the blog has been slow in the last two weeks, I'm getting around to sleeping every second night and working on the site, back end and a million other jobs so the blog is way down the list right now but we're moving along and I thought this was a nice little snippet to drop in here.

Wednesday, February 01, 2006

Spider Simulator Report


I'm on the Web Credible mailing list and it came through today with a cool link to Summit Media and their Spider Simulator which I used right away, wow, a newsletter worth reading as it holds some value to me. Staggering.... lol

I don't know what it is that's made me such a standards freak all of a sudden, all pages I'm working on validate as XHTML 1.1 and the validate as CSS, the domain is running a watertight DNSreport.com report and now there's this little tool setting me another test to work upto.

robots.txt

http://www.mobtex.net/robots.txt

User-agent: *
Disallow: /cgi-bin/
Disallow: /gif_icons/
Disallow: /sandbox/
Disallow: /screenshots/
Disallow: /wall4php/
Disallow: /tinymce/
Disallow: /includes/
Disallow: /content_uploads/
Disallow: /components/

Cool tool to validate your robots.txt file:

http://www.searchengineworld.com/cgi-bin/robotcheck.cgi

References:

http://www.searchengineworld.com/robots/robots_tutorial.htm
http://www.robotstxt.org/wc/robots.html

The most paranoid robots.txt file I have ever seen:

http://www.whitehouse.gov/robots.txt