View Single Post
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen.
Old 01-18-2019 , 05:33   Re: [ANY] ASteambot - Redirect
Reply With Quote #26

Quote:
Originally Posted by mdmanl View Post
I was thinking about an simple php redirect script and send the server you want to connect to via a HTTP Get variable.
For example: http://example.com/?s=127.0.0.1

However I had some difficulties with the dots in the IP (I dont know if you can support dots in a GET variable trough the htaccess file)

But anyways, redirecting to a steam:// url from php works!


Edit:
PHP file should be something like this:
<?php
$server = $_GET["s"];
header('Location: steam://connect/{$server}/');
exit();
?>


Sorry for my broken English, I hope it made sense to you.
Yeah, I mean, it could work. But I have no use of this, since the messages are sent through Steam interface, so it would still be an unclickable link... ?
__________________
Want to check my plugins ?
Arkarr is offline