please help me to know the working of this small script.. i think it posts the data into database but i want to know how it works..i also want know how to desighn this type of script to work in my website(data base) if possible please let me know is it possible to add the contents of the script(given below) to work in my website?...i will be very thank full to you guyz if i found the solution... method="post" action="Login.aspx?ReturnUrl=%2fframe.aspx&&acao=sair"
you are passing value this way Login.aspx?ReturnUrl=%2fframe.aspx&&acao=sair You can do iot this way <form method = "post" action="Login.aspx"> <input type = "hidden" value = "frame.aspx" name = "ReturnUrl"> <input type = "submit" value="submit" name = "submit">
thanks for your great help ..so you mean login.aspx will be the form to enter the data and the data entered by the user will be checkedout in frame.aspx right?
thank you javaongsan you helped me alot.. but i want to know one more thing....how to insert login page of orkut in my website...?i mean when a user enters his id and passward ..after verifying him he should be redirected into his profile ...he should be accessing orkut through my website...just like using open id but the orkut url must be proxified ..a website just like powerscrap
basically i wanna use a login form in my website..where the user will be directed into orkut profile after he gets login(if the login is correct).. i know that i can do it by using iframe with php .. but i dont know how to implement this.. i mean where the action url for post should go.....?can you help me with this?
you're asking the same question in a few other threads. I think you want somebody to code it for you for free? lol All programmers of any language have been exactly where you are right now. You're making a site and you need something coded to make it work. The only problem is, you dont know how to do that. So you go to some programmers forums and ask them to do it...and just like we all heard at some point along the way - nobody will code something entirely for you. If you post your code or a snippet of code then its acceptable to point our small glitches or code errors. But if you're trying to GET THE FREE code..especially for an entire log in and redirect system .. then you will rpobably spend more time asking than if you just go and learn it yourself. Hit the tutorials ..eventually you'll be happy that you did. You wont have to ask programmers to program things for you when you learn it for yourself. if you're making websites like that with a login system, then you're pretty much at the point where you need to learn to program. PHP is not exceedingly difficult by any means. Put your site on hold, and spend at least 3 to 6 months with PHP ..you'll be happy you did. So will the forum programmers. lol Are you any good at SEO? If you want to promote my website for a few hours a day , I'll teach you PHP . lol
What the benefit of logging in via your website an staying within the iframe? What the purpose of your model?
firstly i can access orkut.com in my colleage secondly if it is in iframe.. i can also add advertises in that page... but i dont know how to implemt this script
i dont need to use proxy scripts..www.ultimateweblogos.com is my website which is a proxy website.. but this time i dont like to use.. i want my users to directly login to orkut/myspace and facebook.. ha just like powerscrap
the code snippet for: method="post" action="Login.aspx?ReturnUrl=%2fframe.aspx&&acao=sair" looks like something that comes from a basic submit form - a user enters there information and clicks the form submit button. The page that its posting the information to is Login. So obviously its part of a login code. the method "POST" means that all variables / information entered will be hidden and passed to the Login page. the other method would be GET , and get displays the variables in the URL string like if you see a site that will say site*com/somepage.php?name=lisa&?last_name=Frufru ...or whatever for login scripts and most forms its good to just POST method. I would personally do that login in PHP instead of .asp because i know PHP better. but the form attributes are still very much the same to see that's what it clearly is. Out of curiosity... you dont know a lot of HTML? Because forms are basic HTML and then are worked into the program language for handling their info. a basic form: <form name="form_example" method="post" action="this-same-page.php"> First Name: <input type="text" name="f_name" maxlength="20" size="30"><br> Last Name: <input type="text" name="l_name" maxlength="20" size="30"><br> <input type="submit" value="submit" onclick="this.form.submit"> This would create two text boxes for first and last name ..and a submit button. The method for passing the variables that the user enters is POST (invisible , not displayed to URL string) The action in the opening form tag, shows what action will take place when its triggered by the end submit tag that does 'onclick="this.form.submit" Two of the most important tags of the form - the others of f_name and l_name are simply gathering information and displaying their text boxes for users to enter information into. they each have a specific name f_name, and l_name so as to label the data so when its shuffled around in scripts, you can keep track of which information youre calling and using. When the user clicks the submit button it sets off the 'onclick' ..and that means "when this button is clicked.. do this" and what its telling it to do , is to submit that form. That causes it to trigger the opening form tags 'action' attribute. The action specified in the action is action="this-same-page.php" So you see the action is to load that web site page called "this-same-page.php" (most times its the same page you're already on. ) But when it reloads this page while holding the first_name and last_name data, a script will appear at the top of the page as it relaods ..that tells it something like IF the variables f_name and l_name are not empty .. then process them and do all these lines of code with the information ..but if those variables ARE empty ..then nobody has used the form..so load the page normally without activating any fancy code or processes. etc so with that example, you can annalyze your code snippet and see what it is now.