Monthly Archives: May 2009 - Page 2

Automatically display form data with PHP

This is a simple PHP  script to automatically display (dump output)  data submited from a html form.

The form setup

  • all inputs (form fields) need to have the same name with [] at the end to turn it into an array,  e.g <input type=text name=formdata[]>

formq.html content

<form method=post action=showme.php>
Name: <input type=text name=formdata[]><br>
Email: <input type=text name=formdata[]><br>

<input type=submit value=ok>
</form>

The Script setup

showme.php content

<?php
$data = $_POST['formdata']; # get value from the form fields

foreach ( $data as $key => $value ) { # loop through array collecting the results

echo  “$value<br>”;  # output the data  – print to page
}
?>

Technorati Tags: , , , ,

Offline Blogging Tools

Keyboard

Offline Blogging Tools let you comfortably write and effortlessly publish new entries to your blog.  I personally like the easy to use Scribefire, a Firefox addon, but there are many others our there.  Here is a shortlist…

Scribefire

Platform: Windows, Mac, Linux

This is an addon for Firefox so you need to be using Firefox (clearly)

BlogDesk

Platform: Windows

BlogDesk is totaly free of charge and optimized for the blog systems WordPress, MovableType, Drupal, Serendipity and ExpressionEngine.

BlogGTK

Platform: Linux

BloGTK is a weblog client that allows you to post to your weblog from GNOME without the need for a separate browser window. BloGTK allows you to connect with many weblog systems such as Blogger, Movable Type, WordPress, and more.

Windows Live Writer (by Microsoft)

Platform: Windows

WLW is a desktop application for publishing to blogs and works with almost any blog provider in the world including Windows Live Spaces, Blogger, WordPress and more.

Qumana

Platform: Mac, Windows

Great for bloggers on the move. Qumana features include easy text formatting and image insertion, simple Technorati tagging, advertising insertion with Q Ads and more.

Technorati Tags: , , , , , , , , , , , , ,

Windows 7 RC available now

The Release Candidate for Windows 7 is now available to the public. Their servers have been struggling to deal with the demand of downloads according to the ZDnet website. There has been a lot of talk about Windows 7 being the OS that will release Microsoft of the embarrassment of Vista, it’s said to look like Vista but less annoying to use. Well, now you can judge by yourself, download it from…

http://www.microsoft.com/windows/windows-7/download.aspx or

http://technet.microsoft.com/en-gb/evalcenter/dd353205.aspx?ITPID=mscomsc

Technorati Tags: , ,