close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to create a unique image file name containing umlauts or accents on upload?

Thread began 6/12/2015 9:04 am by astrostrom | Last modified 6/19/2015 2:14 am by astrostrom | 3620 views | 8 replies

astrostrom

Dear Ray

Thanks for the quick reply. The screenshot is a bit too small to see clearly.
Perhaps you could post it again as a larger image.

I selected the session when I clicked on Lighting bolt.
<?php echo $_SESSION['']; ?>

But this gave me an error when I loaded the page.

Then I tried to get the session id which I am using to connect the form.
<?php echo $_SESSION['address_id']; ?>
-------------

<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../../exhibitions/",
'FileName' => "".$_SESSION['address_id'] ."",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "205",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>

-------------------

But this does not seem to change anything but I am not sure it is the right selection.
The original image name with the umlaut is still being inserted into the DB and the image file is uploaded to the upload folder - also with the original image name including the umlaut. I would like to be able to change (replace) both the file name with the umlaut and that which is inserted into the DB.

(BTW - I am using the mySQLi extension to generate the recordset and to manage the Insert Record)

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...