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
https://forums.phpfreaks.com/topic/60606-need-some-direction/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.