View unanswered posts | View active topics It is currently Wed Dec 13, 2017 9:46 pm



Reply to topic  [ 1 post ] 
 Display text in md5 format 
Author Message
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post Display text in md5 format
Alright, here, I am going to show you how to display text in md5 format.

Action.php
[HTML] <HTML>
<form action='recieved.php' method='GET'>
FirstName: </br> <input type='text' name='FirstName'> </br>
LastName: </br> <input type='text' name='LastName'> </br>
<input type='submit' value='Submit'>
</form>

</HTML>[/HTML]

now recieved.php

[PHP]<?php

$f = md5($_GET['FirstName']);
$l = md5($_GET['LastName']);

echo "Your first name is $f and your last name is $l";


?>[/PHP]

now once you look at the page, it should be displayed in md5 format.


Thu Dec 31, 2009 1:02 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.