News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Redirect Links

Started by Mr. Pedram, April 27, 2013, 12:49:36 AM

Previous topic - Next topic

diegolyanky

How to redirect to a php site with subaction ?

Example: https://localhost/index.php?action=dlattach;topic=167142.0;attach=268705119

If I redirect this url, I obtain:

https://localhost/index.php?action=dlattach .. .Nothing after the first semicolon ...

The ;topic=167142.0;attach=268705119

As I can see, take the url from:


$url = $_GET['url'];


Any way to redirect all url complete, with all semicolon in the final URL ?


SMF ... SimpleMachines ... Simple, but complete if you want it ;)

diegolyanky


Little question:

What if I want to do that, but with all attachments links?...

I mean, when someone try to download an attached file to  a post...

Nice MOD, and working fine on SMF 2.0.18

Thankies!
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Advertisement: