View Full Version : form to form data transfer.
TuNiX
12-11-2008, 03:48 PM
im not really sure how to phrase this that's why it was so hard to figure out where to put it.
How would i create a form that when submitted would send data to another form on a whole other website.
for example if i wanted to make a custom "local, not internet accessible or hosted" facebook login web page that after you enter your user name and pass it would then send the user name and pass to facebook, or faceboks log in page and subit the data.
is this possible? how would i go about doing this?
dchard05
12-11-2008, 04:03 PM
I'm not sure about that but what I think is if your form have direct access to other website not just a link but a permission from their administrator to use their website to pass data it's possible. But if it's just a link to other website without direct access I think it's impossible
TuNiX
12-11-2008, 04:04 PM
thats what i was afraid of. could i copy the whole log in page source and just change everything around? or is that illegal? keep in mind i don't plan to ever put this up on the internet its just a little home project.
dchard05
12-11-2008, 04:14 PM
hmmm....I think it's ok to copy the source code provided that it's for home and it will not be live on the internet but I'll remind you that it's not certain that if you copy their source code meaning that's all the code for that page....they might use a server side script for process or other process
TuNiX
12-11-2008, 05:00 PM
ohh i see what your saying. the php login page send the data filled form to a script that lies on the server and that script does the rest of the job. it should still work because the data will still be sent to that script.
this isnt really the place for this question but it has to do with what were talking about, when you use a php script to log into a mysql database how come users cant just view the source and get the login information for your database?
dchard05
12-11-2008, 05:05 PM
that's how it is....you can just see the code of what you can see on the page....what you see is what you get....you can't see the login for the database because it's just a connection from your form thru the database
TuNiX
12-11-2008, 06:28 PM
yeah but you still have to put that connection information in the php code. when you put the connection code in does it usually go in client side code or server side code?
murrayd77
12-12-2008, 10:20 AM
I understand what you exactly need and that can be done if only they provide you direct access to their username and password. If only you have access, you can pass the input and check them.
-- Dave.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.