Reply to Re: Set file name

Re: Set file name new!
by colin, 16 years, 5 months ago
You can use the following parameter:
$handle->file_new_name_body = 'new name';

So for instance, you can do:
$handle->file_new_name_body = $_POST['my_field'];
But be careful to escape the field first, otherwise it is a big security risk!Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important