Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43260
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 256
Total: 257

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - witchyu

Pages: [1]
1
Support / Re: "&" Character is replaced with "&"
« on: April 26, 2013, 02:02:25 am »
Bhut when i do that the download crashes...

I know what is going on (the same site), after change two lines (1402 and 1799 in Downloads2.php) result is:
Code: [Select]
Parse error: syntax error, unexpected T_IF in /home/..../Sources/Downloads2.php on line 1
Yes that is it, thanks Branko  ;)

2
Support / "&" Character is replaced with "&"
« on: April 25, 2013, 01:24:21 pm »
Hi!

I have a problem with Download System 1.4.1 (not pro) and SMF 2.0.4 ...
Character & in the link line is automatically replaced with & when i press a download buttom...
To be more clearly: when you try to add a new downlad and in the window "Upload Url: " you put al link who has a "&" character the end result when you click a downlond button the characters will change in to "&" .
For example:
Original link : http://www.familienforum.biz/DB/index.php?page=EntryFileDownload&fileID=144

The out going link: http://www.familienforum.biz/DB/index.php?page=EntryFileDownload&fileID=144

It already was such a question here http://www.smfhacks.com/index.php/topic,6731.0.html

Administrator SMFHacks wrote
Quote
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']);

Bhut when i do that the download crashes

What can be done, please help


Pages: [1]

+- Recent Topics

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal