Reply to Re: create new animated image from images

Your name:

Reply:


Posted by Janwillem Borleffs on 04/17/06 17:16

Sqrl wrote:
> Someone supplied me with the following code, I've cleaned up a few
> errors in it, but it does not work. My PHP is limited, I created
> TagCorner from scratch following tutorials on using PHP and databases
> but am lost with this one.
>

<form action="freetag.php" method="post">
<p align="center">
<u>Only input letters, numbers, asterisks, and underscores.</u>
</p>
<p align="center">
Text: <input type="text" name="message" size="20"><br />
<input type="submit" value="Get Your Tag">
</p>
</form>
<?php
if (isset($_POST['message'])) {
print preg_replace('/([a-z\d_*])/', '<img src=$1.gif>',
$_POST['message']);
}
?>


JW

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация