Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to send POST data to an external page in an external frame?
    primarykey
    data
    text
    <p>I have problems managing to do what I explained in the title. I was wondering if anyone could help me.</p> <p>So I will explain it again in more detail:</p> <p>I have a webpage which contains a form which sends POST data to an external URL(not mysite.com but hissite.com, I hope you got the idea) I used a HTML frame to create a page inside my own website (such as mysite.com/hissite) in order to hide the actual URL of the other website. The problem is that I am not able to pass the form input to hissite.com but through the frame inside my website.</p> <p>I basically want the following: 1. The user logins on my website. 2. My login form passes the login information to the other website. 3. The user is logged in but instead to be redirected to the other website he is redirected to the frame inside my website which contains the other website.</p> <p>I do not know how to explain it better, but I hope someone will understand me and help me to finish my project.</p> <p>I have to mention that the form on my webpage has the same structure(fields, fields names etc) as the form on the other website. So I believed it would be super easy to pass the input through the frame. Well,... I realised it isn't that easy.</p> <p>Here is the form:</p> <pre><code>&lt;form action="/home/signin" method="post" name="loginForm" class="large-form" id="loginForm" &gt; &lt;fieldset&gt; &lt;label for="username"&gt;Username&lt;/label&gt; &lt;input type="text" name="username" tabindex="1" id="username" value="" /&gt; &lt;/fieldset&gt; &lt;fieldset&gt; &lt;label for="password"&gt;Password&lt;/label&gt; &lt;input type="password" name="password" tabindex="2" id="password" value="" /&gt; &lt;input type="hidden" name="themeName" value=""/&gt; &lt;/fieldset&gt; &lt;br/&gt; &lt;div id="login-button"&gt; &lt;input type="submit" value="Log In" tabindex="3" /&gt; &lt;/div&gt; </code></pre> <p></p> <p>Thank you in advance for your help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload