Jump to content

Go to link + password - Need help making a form.


purpleCRAYON

Recommended Posts

<?php
$link = "http://login.website.com/password.php?nextURL=http%3A//member.website.com/myProfile.php&password=";
?> 

 

That's the website.

 

I want to make a form, so that after "&password=" it will put it there.

 

So basically like this:

 

- Website; www.mydomain.com (Already have)

- When you go to this website, there will be a form asking you for your password. NOT username.

- When you put in your password, and enter it will redirect to this URL: "http://login.website.com/password.php?nextURL=http%3A//member.website.com/myProfile.php&password="

- Say we used the password "php" it would redirect to: "http://login.website.com/password.php?nextURL=http%3A//member.website.com/myProfile.php&password=php".

 

Anybody have any idea how to do this?

 

 

Here is my updated source:

 

<form action="http://login.mysite.com/password.nhn?nextURL=http%3A//member.mysite.com/myProfile.nhn&" method="get">
Password: <input type="text" name="password" />
<input type="submit" />
</form>

 

But it is sending me to:

http://login.mysite.com/password.nhn?password=zzzz321

 

Any ideas?

I think Mchl means something like this:

 

<form action="http://login.website.com/password.php" method="get">
<input type="hidden" name="nextURL" value="http%3A//member.website.com/myProfile.php" />
<input type="password" name="password" />
<input type="submit" />
</form>

 

Or not. Whatever.

I think Mchl means something like this:

 

<form action="http://login.website.com/password.php" method="get">
<input type="hidden" name="nextURL" value="http%3A//member.website.com/myProfile.php" />
<input type="password" name="password" />
<input type="submit" />
</form>

 

Or not. Whatever.

 

Trying that now, couldn't find an example of it on the web, so I needed to do it the way above. :P

 

 

Edit: I think I got it to work, i'm getting some friends to test it now.

 

I can't seem to find the edit button, sorry 5AM.

 

Anyways, does anybody know a way to obsfucate URLs? I don't want people to be able to find the URL inside of this.

 

I remember free site that you would make a "short url" but it wasn't just a redirect, it actually hid the URL you were on & visiting.

 

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.