Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-27-2007, 10:52 PM #1
- Join Date
- Jun 2006
- Thanked 0 Times in 0 Posts
Can you check my short code snippet please?
I want users to be able to create an image from either an image template on my site (labelled $im) or by entering in a url.I think i've worked it out, but my php is not very good so can you tell me where i'm going wrong with it please?
I realised that the
$im = imagecreatefromjpeg($im)
$im = imagecreatefromjpeg(http://www.address.com/image.jpeg)
This is the code that i have put in the php file...
$im = imagecreatefromjpeg($useraddress);
$im = imagecreatefromjpeg($im);
If you want to see for yourself what its doing go to www.gamesigs.co.uk/test.php
Cheers and i hope to hear from you soon.Visit Gamesigs.co.ukto create your own personalised signature using our generator,
03-27-2007, 11:20 PM #2
- Join Date
- Dec 2005
- Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
- Thanked 637 Times in 625 Posts
Do you have register_globals turned on? $useraddress won't be set if you don't. You shouldn't be relying on register_globals in any case-- just use $_POST['useraddress'] instead.