Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 22, 2013, 04:24:17 pm

Login with username, password and session length
Members
Total Members: 10766
Latest: Heater Sajid
Stats
Total Posts: 32383
Total Topics: 5479
Online Today: 67
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 42
Total: 42
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: "&" Character is replaced with "&"  (Read 1124 times)
mariodieck
Inline PM Customer
*****
Offline Offline

Posts: 9


View Profile
« on: April 28, 2012, 01:35:51 am »

Hello, when I try to set a new download, and a link to "Upload URL" insert is converted to.

The originals link
http://www.eifok-team.net/forum/index.php?page=DatabaseItem&id=214

The error link
http://www.eifok-team.net/forum/index.php?page=DatabaseItem&id=214

Are there problems with the character set, or what's going on?

lg Mario
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10999


View Profile
« Reply #1 on: April 28, 2012, 04:53:12 pm »

Attached two files copy to your Sources folder of your forum and see if it helps
Logged
mariodieck
Inline PM Customer
*****
Offline Offline

Posts: 9


View Profile
« Reply #2 on: May 05, 2012, 02:09:49 am »

What files should I copy?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10999


View Profile
« Reply #3 on: May 05, 2012, 02:15:22 am »

The two attached files in the post above

If you can't see the files enter your license information under
http://www.smfhacks.com/index.php?action=license
Logged
mariodieck
Inline PM Customer
*****
Offline Offline

Posts: 9


View Profile
« Reply #4 on: May 05, 2012, 03:47:51 am »

Sorry forgot to say it did not I use the "Downloads System Pro"

Use the normal version.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10999


View Profile
« Reply #5 on: May 06, 2012, 01:21:30 am »

Open the Sources/Downloads.php file
Find all instances of
Code:
$fileurl = htmlspecialchars($_REQUEST['fileurl'],ENT_QUOTES);
Replace with
Code:
$fileurl = mysql_escape_string($_REQUEST['fileurl']);
Logged
mariodieck
Inline PM Customer
*****
Offline Offline

Posts: 9


View Profile
« Reply #6 on: May 12, 2012, 05:37:44 pm »

Thank you very much, it works
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 03:00:09 pm]

[Today at 10:44:26 am]

[Today at 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.34 seconds with 20 queries.