Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11809
Latest: Rheingauner
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 41673
Total Topics: 7283
Most Online Today: 40
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 60
Total: 61

Author Topic: "&" Character is replaced with "&"  (Read 4517 times)

0 Members and 1 Guest are viewing this topic.

Offline mariodieck

  • Member
  • *
  • Posts: 9
    • View Profile
"&" Character is replaced with "&"
« 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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15779
    • View Profile
Re: "&" Character is replaced with "&"
« 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mariodieck

  • Member
  • *
  • Posts: 9
    • View Profile
Re: "&" Character is replaced with "&"
« Reply #2 on: May 05, 2012, 02:09:49 am »
What files should I copy?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15779
    • View Profile
Re: "&" Character is replaced with "&"
« 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mariodieck

  • Member
  • *
  • Posts: 9
    • View Profile
Re: "&" Character is replaced with "&"
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15779
    • View Profile
Re: "&" Character is replaced with "&"
« Reply #5 on: May 06, 2012, 01:21:30 am »
Open the Sources/Downloads.php file
Find all instances of
Code: [Select]
$fileurl = htmlspecialchars($_REQUEST['fileurl'],ENT_QUOTES);
Replace with
Code: [Select]
$fileurl = mysql_escape_string($_REQUEST['fileurl']);
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mariodieck

  • Member
  • *
  • Posts: 9
    • View Profile
Re: "&" Character is replaced with "&"
« Reply #6 on: May 12, 2012, 05:37:44 pm »
Thank you very much, it works

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6919 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
6028 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
1 Replies
4491 Views
Last post March 26, 2011, 01:26:09 pm
by SMFHacks
8 Replies
5740 Views
Last post September 19, 2011, 02:00:29 pm
by VividViews
7 Replies
4178 Views
Last post April 30, 2013, 04:52:02 am
by Branko

+- Recent Topics

Bulk Upload Many Pictures by SMFHacks
Today at 01:52:32 pm

8: Trying to access array offset on value of type null by SMFHacks
January 27, 2022, 10:27:28 pm

The download button has disappeared by SMFHacks
January 23, 2022, 07:32:43 am

Logo and Category? by tank_fv101
January 10, 2022, 08:03:11 am

Questions about SMF Gallery Pro Folders and Gallery URL by scso1502
January 05, 2022, 03:48:27 pm

$subcats_linktree by mickjav
January 05, 2022, 03:08:29 pm

New Photos Won't Upload - Gallery Pro 8.0 or 9.0b - Old Photos Still Visible by scso1502
January 05, 2022, 02:23:16 pm

Additional Recommendations for SMF Store by SMFHacks
January 03, 2022, 02:37:10 pm

Seasons Greetings by SMFHacks
December 24, 2021, 10:02:42 pm

Problems with the contact mod by SMFHacks
December 22, 2021, 09:16:24 am

Powered by EzPortal