Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-26-2003, 05:34 AM   #1
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Image Magick & Web applications

I'm looking for anyone that has had experience using ImageMagick in web applications. I need someone who can code me something that will enable ImageMagick to create a bitmap image with text entered into a form, and save the image with variables in the file name taken from parameters sent via the form.

I barely understood that myself. haha.

Hit me up on icq: 247847856
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 07:05 AM   #2
Trafficbrokercom
Confirmed User
 
Join Date: Dec 2002
Posts: 542
easy.

coding time 5 minutes ..

if you can give a better description of what you need ..
Trafficbrokercom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 07:18 AM   #3
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
You have mail, mike. Cheers.
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 09:24 AM   #4
notjoe
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
Quote:
Originally posted by chodadog
You have mail, mike. Cheers.
I think he basically wants to prevent automated logins by creating an image based login where the surfer has to manually enter the number(s) in the image back into the form to verify it is infact a human.


Generate the number based image.
Generate a hash.
Put the hash in a hidden field
Display image

And on submiting
Verify the hash exists in the db, and that the number in the next field beside the hash is the same number which was entered in the form area.

(doesnt have to be used to stop a login but can be used to break any automated process)

Last edited by notjoe; 11-26-2003 at 09:27 AM..
notjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 10:11 AM   #5
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 07:45 PM   #6
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Quote:
Originally posted by Arty
I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.
What's GD?
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 07:58 PM   #7
icedemon
Confirmed User
 
Join Date: Jun 2003
Location: Lutz, FL
Posts: 1,022
You can find out about GD here
http://www.boutell.com/gd/
If your doing what notjoe was talking about, GD would be way better to make pics with in the program. Here is what I do in Perl.

Code:
#!/usr/bin/perl

use CGI;
use GD;
use String::CRC32;

# create a new image
$q = CGI->new();
$im = GD::Image->new(100,15);
$crc = crc32($q->remote_host());

# allocate some colors
$bg = $im->colorAllocate(96,128,160);
$white = $im->colorAllocate(255,255,255);

$im->transparent($bg);
$im->interlaced('true');
$im->string(gdGiantFont,0,0,$crc,$white);

print $q->header(-type=>'image/jpeg');
print $im->jpeg();
__________________
Clips4Sale.com
icedemon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 08:01 PM   #8
boneprone
Hall Of Fame
 
boneprone's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: Portland Oregon USA
Posts: 34,415
My programer can do this.

Hit me up ill send em your way.
He works for tips and tips alone like any good stripper.
__________________

Industry Hall Of Fame Legend Mike Jones
Bow to the Power - Still BP4L
http://gfyawards.com/hall-of-fame
Learn about it kids.
boneprone is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2003, 08:04 PM   #9
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,117
Quote:
Originally posted by Arty
I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.
Doh, got to this thread too late. Yes, GD is what you want.

If you haven't already selected from the half dozen other posts above, give me a shout.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.