Jump to content

Help really needed please


accesstv

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

 

example

http://url.goeshere.co.uk/username/password

 

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

 

example

http://my_ip:port/get.php?username=username&password=password&type=m3u&output=ts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.