Jump to content

Need some direction


spdwrench

Recommended Posts

Hello Everyone... I have a free online dating site....

 

I am trying to watermark the uploaded photos...

 

also I want to resize any photos over 800 by 600

 

 

if you can help with either of these please respond....

 

the code looks like this:

 

 


$file_source = $member_code."_$number.".man_MIME2Ext($_FILES["filename_1"]['type']);

upload_file($_FILES["filename_1"]['tmp_name'],"photos/$file_source",man_MIME2Ext($_FILES["filename_1"]['type']));

 

 

 

 

 

the file that needs to be watermarked and resize would be $tochange="photos/".$file_source;

 

any help would be appreciated I tried to integrate several script that are out there and none seem to do the trick...

 

I am using

 

PHP 5.0.4

 

GD 2.0.28

 

Memory_limit 32M

 

thanks for any input or help on this...

 

I am pretty new but trying hard to learn

 

Paul

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.