0

hi

all

i have a login form after validation
it redirect to other domain what i want if that user is valid then on other domain (website) it should be auto login? can i fire submit button click from my domain to other domain


tnx

3
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by urtrivedi
0

You can set the 'action' attribute of a form to a page on another site, such as 'http://somesite.com/login.php', if that's what you mean.

i did this , but getting no result


my question is

1 .acctu there is username andd pass fields on other domain
can i fill those fileds and fire submit button click there from my domain?

any other idea will help me

2. if login fails there then capture that error and display in my domain login page?

thnx

Edited by mangel.murti: n/a

0

i did some mistake.....humans nature...
according to twiss , i provide url in action of a form. and also done some chages on form elements put same id name of form element as in other domain exits.
so it's working now.
i have not much idea abut curl .
but if u guide me to achive me my second target ?
then it will good for me.

tnxn

0

If you have php manual, than look for curl functions. Its used to access website through your php code. You can also post data and get response from the websites, that you can process on your page.

Edited by urtrivedi: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.