SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
{Problem fixed} Arabic support in file name?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing
View previous topic :: View next topic  
Author Message
doowane



Joined: 30 Nov 2007
Posts: 6

PostPosted: Nov 30, 2007 7:05 pm    Post subject: {Problem fixed} Arabic support in file name? Reply with quote

Hello,

I just buy XfileSharing and installed without any problem.
Thank you for that product.

I have a litle problem when I upload a file with an arabic name I got strange characters...
Is it possible to have the arabic showing, or have the name renamed automatically?

Here a screen copy : http://netwane.net/print.png

Thank you.


Last edited by doowane on Dec 06, 2007 9:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Files-Up



Joined: 25 Nov 2007
Posts: 17

PostPosted: Dec 03, 2007 4:27 am    Post subject: Reply with quote

Me too

i want this Embarassed

or if u can remove non english characters from the link with .htacess/mod_rewrite
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Dec 04, 2007 11:00 am    Post subject: Reply with quote

2doowane: what was the link without domain name? What codepage do you use to display arabic symbols correctly?

2Files-Up: I can remove non-english chars when generating links or on Download page, or on both steps.

"Remove non-english chars from filename on Download page" hack:
in index.cgi find
Code:
$fname=~s/\.{2,99}/./g;

and add below:
Code:
$fname=~s/[^a-z0-9\_\-\+\.\(\)\@\!\'\&]+//ig;
Back to top
View user's profile Send private message Visit poster's website AIM Address
doowane



Joined: 30 Nov 2007
Posts: 6

PostPosted: Dec 05, 2007 8:25 am    Post subject: Reply with quote

Hi

Thanks for your answer

It is working now

Just changed to Windows-1256
Back to top
View user's profile Send private message
Files-Up



Joined: 25 Nov 2007
Posts: 17

PostPosted: Dec 08, 2007 6:02 pm    Post subject: Reply with quote

PilgrimX182 wrote:
2doowane: what was the link without domain name? What codepage do you use to display arabic symbols correctly?

2Files-Up: I can remove non-english chars when generating links or on Download page, or on both steps.

"Remove non-english chars from filename on Download page" hack:
in index.cgi find
Code:
$fname=~s/\.{2,99}/./g;

and add below:
Code:
$fname=~s/[^a-z0-9\_\-\+\.\(\)\@\!\'\&]+//ig;



this did not work man

see this link

ربيعالأسمر~&_Atilde - 1.0 Mb
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group