Jump to content

Help really needed please


Recommended Posts

Hi there people


I am in some bit of a situtation..


I need to be able to create a URL that redirects to an ip, however i need the url to have username and password that will transfer to the ip.


Basically i want to give out the url to each user and for them to type there username/password at the end





USER1 - http://url.goeshere.co.uk/user1/pass1

USER2 - http://url.goeshere.co.uk/user2/pass2


Both urls will then redirect to my ip and will need to be able to send the username and password also




USER1 redirects to http://my_ip:port/get.php?username=user1&password=pass1&type=m3u&output=ts

USER2 redirects to http://my_ip:port/get.php?username=user2&password=pass2&type=m3u&output=ts


Link to comment
Share on other sites

Re-think your approach.  Create a login form with a submit button.  Let the login script process the uid and pswd and THEN send them to the url.  If that url needs some id material, use a a SESSION var for the username (BUT NOT THE PASSWORD!)  or pass that in the url still.


The password s/b passed via a POST method (hence the form), not a GET.  And it should never be passed again once the user has been authenticated.

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.