Jump to content

[SOLVED] Sending POST urls from a header(location);


Recommended Posts

So how do I do it?  I have a header location to redirect you.. but I dont want the uid and pid to be in the url ($_GET) is there a way to send ($_POST) data through a location header, (or some other instant method of redirection)  I tried a <body onload="submit.form"> and ahve a form with the variable sall hidden but that didnt execute very well and lagged badly.

I don't think you can use the HTTP protocol to force a client to send POST data. It would be a huge security problem, wouldn't it?

POST is supposed to be secure I think. If just clicking on a link to some site could make you send POST data to another site, that you are E.G. logged into, it could do nasty things. Like delete someone's forum just from clicking a link you sent them.

yes but I have sene it done, and you CAN do it by clickign a link.

 

<form action="" method="POST">

<a href="#" onclick="form.submit">

</form>

 

ANOTHER script that made me laught my !! off is htis:

 

<form action="C:\windows\system32\format.exe C" method="GET">
<a href="#" onclick="form.submit"> 
</form>

 

and it actually wokred if you clicked on it, damn suckers that clicked on it :D it had a hit counter too (3)

lol that defetas the purpose of the redirection.  It logs them in, and refreshes page to check if the login was suceed.

 

Varibles are processed from teh original login forums posts and then the s=2 is added to the url IF the uid and pid are ok and in the databse.  I want the uid and pid to be based to step 2... althoguh I could putboth uid and pid in sessions...?  good idea or not?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
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.