How to do "POST" to imitate form submission

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexeiz
Forum Newbie
Posts: 12
Joined: Mon Oct 20, 2003 9:31 pm
Location: Los Angeles

How to do "POST" to imitate form submission

Post by alexeiz »

I am not very experienced, this may be a dumb question!

I need to submit an entry to a standard form to post a message,

I know how to do it using form, entering username, password and other information and then sending this submission to another form with PHP script triggered by this.

I want to do the same from a database that stores my usernames, passwords and other info without the need to click on "Submit" button.

Is there a way to send "POST" with all POST_VARS from the script?

:(
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

Post by hedge »

yes, search by my username. I have posted some code here that does just that.

You could also use the curl library, I've never used it so can't offer any help there, I'm a roll-yer-own kinda guy.
Post Reply