You are here: Re: create new animated image from images « All PHP « IT news, forums, messages
Re: create new animated image from images

Posted by Sqrl on 04/17/06 15:39

Thanks for your reply, that is my site, :) Currently I am using a script to
make tags, http://www.tagcorner.com/TagzBySqrl/PurpleFlowers2/anames.php
(click on one of the names on the left).

I offer free sig tags, and would like to offer animated ones, or tags
created from animated alphas that have been sent to me. I want to combine
all the images into one image...

A site that already does what I am trying to do is:

http://www.glittermaker.com another example, would be
http://www.glitterkiss.com

I'm not trying to copy those sites, I want to do my own thing with either my
own animations or those supplied to me from my site visitors. The
advertising on the site doesn't generate enough revenue to cover server
costs, but I get a kick sharing these creations. So any help would be
appreciated.

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 unerscores.</u>
</p>
<p align="center">
Text: <input type="text" name="message" size="20"><br />
<input type="submit" value="Get Your Tag">
</p>
</form>

<?php
$fromtheinput = eregi_replace("a", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("b", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("c", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("d", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("e", "<img src=e.gif>", $fromtheinput);
$fromtheinput = eregi_replace("f", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("g", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("h", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("i", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("j", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("k", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("l", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("m", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("n", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("o", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("p", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("q", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("r", "<img src=r.gif>", $fromtheinput);
$fromtheinput = eregi_replace("s", "<img src=s.gif>", $fromtheinput);
$fromtheinput = eregi_replace("t", "<img src=t.gif>", $fromtheinput);
$fromtheinput = eregi_replace("u", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("v", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("w", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("x", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("y", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("z", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("0", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("1", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("2", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("3", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("4", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("5", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("6", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("7", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("8", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("9", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("\*", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("_", "<img src=a.gif>", $fromtheinput);
echo "<textarea>";
$fromtheinput = eregi_replace("a", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("b", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("c", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("d", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("e", "<img src=e.gif>", $fromtheinput);
$fromtheinput = eregi_replace("f", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("g", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("h", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("i", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("j", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("k", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("l", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("m", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("n", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("o", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("p", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("q", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("r", "<img src=r.gif>", $fromtheinput);
$fromtheinput = eregi_replace("s", "<img src=s.gif>", $fromtheinput);
$fromtheinput = eregi_replace("t", "<img src=t.gif>", $fromtheinput);
$fromtheinput = eregi_replace("u", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("v", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("w", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("x", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("y", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("z", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("0", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("1", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("2", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("3", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("4", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("5", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("6", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("7", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("8", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("9", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("\*", "<img src=a.gif>", $fromtheinput);
$fromtheinput = eregi_replace("_", "<img src=a.gif>", $fromtheinput);
echo "</textarea>";

Thanks,

Sqrl


"Ehsan" <haque.ehsan@gmail.com> wrote in message
news:1145170895.629264.318360@j33g2000cwa.googlegroups.com...
> View source of the page and you will have the script for it. Remember
> you will have to have the animated images for the letters used. The
> images are named a.gif, b.gif....z.gif
>
> Hope this helps.
>
> Thanks and God Bless!!
>
>
> Ehsan
> http://ehsan.bdwebwork.com
>

 

Navigation:

[Reply to this 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

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