Jump to content

Posting to a form while redirecting


redbrad0

Recommended Posts

Is it possible to redirect a user to another php page but send a post with the variables? I know that I could use CURL to post the data but I do not want to get the response from the website.

 

What I am using this for is phpmyadmin. My application will say if they have permission to view the database and if so it will post the username and password so the information is not in plain site.

Link to comment
https://forums.phpfreaks.com/topic/107509-posting-to-a-form-while-redirecting/
Share on other sites

there a ways to do this, couple of classes I've seen floating around (can't remember any off the top of my head)

 

however it violates some of the rules of web architecture (bad thing) so I haven't played with it,

 

generally what I do is a follow-up page,

 

give a happy note and a 2nd post button

 

of course if your working with a small site you can always dig through the web to find methods,

Google is full of great answers to good questions (the good question is the tricky part)

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.