Download button redirect based upon device

fheaky

Power Member
Joined
May 3, 2010
Messages
694
Reaction score
346
Hey guys,

I was wondering whether it was possible to add a code to a download button so that it redirects users upon them clicking the download button to a certain link based upon their device.

I want people with all devices that do not run windows to go to link A
And people who do run windows to go to link B

Would it be possible to do this?
 
yupp that's definitely doable. If you are using php, this would solve your problem:
Code:
http://stackoverflow.com/a/18070424/1437261
 
yupp that's definitely doable. If you are using php, this would solve your problem:
Code:
http://stackoverflow.com/a/18070424/1437261

Thank you. But I don't really understand coding, it's never really been my thing. All I understand from that is that they explain how the operating system in retrieved from the browser, but I really can't figure out how to implement it into a download button to make windows go to link A and all others to link B.
 
Does anyone know how I can do that?
 
^^ No spoonfeeding. Learn basic php, or outsource it :D
 
It can be done with php. There is a php code out there. I can't remember the site name so you gotta search for it on google.
 
Back
Top