![]() |
PHP GURU? - Quick question for you! :)
We need to submit some form info to a secure 3rd party server via method=POST, but we need to check up on the info in our local MySql db to make sure it?s not regged already before the info is passed on.
Is this possible? :helpme |
Yes, simply connect to the mysql database on the submit page, retrieve the row that you would like to see is already taken, then loop the submitted name and see if it matches up. If it does, then make a error handler, and that should solve your problem.
|
Thank you for the reply Porn Pusher! :)
The problem is that we don't know the username we need to check before it's entered into the form and submitted to the other server? |
this is very possible, set the forms action to your php page, on the php page, check the database, and if you still want to send it on when your done, you have two options, either send an http request to the secure server (using headers to set the post variables) or pumping out a form, and automatically submit it with some hahahahahahahahahaha. the latter is easier, but kind of a jimmy rigged way of doing it.
|
Quote:
|
Quote:
|
Quote:
|
hit me up on icq 333.75924
|
Quote:
|
Quote:
|
All times are GMT -7. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123