How to integrate PHPBB3.2.8 login onto my external website - html

REF: http://thefwf.xyz/2020/
REF: http://thefwf.xyz/b/
So as you can tell /b/ is where my PHPBB3 forums are located. The first link referenced is a direct link to my web site.
I would like to take the Login / Password box from PHPBB3 and essentially place it directly below the header video that I made. I simply do not know how to achieve this.
I've done lots of good searching.

maybe similar this code help you but phpbb use form token that should post to the action url by username and password for login.
if you can get form token from phpbb login is possible.
<form action="http://thefwf.xyz/b/ucp.php?mode=login" method="post">
<input type="text" name="username">
<input type="text" name="password">
<input type="hidden" name="form_token" value="[ form token ]">
<button type="submit">login</button>
</form>

Related

Embeded HTML post form data in angular application

In third party portal, if we click on button it redirect to my angular application. Issue is when the user click on that button it pass the post data and I want to capture that post data in my angular application. I tried certain ways but it does not seems to work for me. Kindly help me to resolve this issue.
Below is the form structure which I receive from the third party vendor.
<form id="ApplicationRedirectForm" encType="application/x-www-form-urlencoded" method="post" name="login" action="http://localhost:4200/" target="_blank">
<input name="login" value="test" type="hidden">
<input name="country" value="testcountry" type="hidden">
<input name="city" value="testcity" type="hidden">
<input type="submit" value="submit">
</form>
Note: to test it on my local machine I have added button and actions as localhost:4200
Please let me know if more details are required here.
Thanks in Advance.

I can't get my submit button to send an email, Ive tried several formats

I am using a form id= contact-form with a form loader. I have tried getting my email to submit with form action and html href however nothing has working this is what I am currently trying to get to work. any suggestions?
<form method="post" action="mailto:m_galvin1005#email.campbell.edu" >
<input type="submit" value="Send Email" />
</form>
I placed this form method inside of a form id. Not sure if thats where I am getting held up at
Unfortunately, browsers don't actually know how to send emails. The web browser only really knows how to render HTML, JS and CSS code into a visual experience.
PHP is a language that runs server-side, which you can use to tell a web server to send an email to whatever address you input.
Here's a good article on PHP Emailing: https://css-tricks.com/snippets/php/send-email/
It is important to note that this code REQUIRES a web-space or server to compile.
It will be a very basic email form, having said this I think you are missingpost argument in your form tag. The following should work
<form action="mailto:m_galvin1005#email.campbell.edu" method="post" enctype="text/plain" >
Name:<input type="text" name="Name">
Email:<input type="text" name="Email">
<input type="submit" name="submit" value="Submit">
</form>

How can the user save a form and access it later?

I have made a form and I want the user to have this option to type into the form and have the ability to close the page and open it again and see the text they have typed into the form. Do I have to use a database?
Here's my form:
<form action="" name="form1">
<label>Enter the title: </label>
<input type="text" name="title" class="title">
<label>Enter the description: </label>
<textarea name="description" class="description">
<!--Here's the save button-->
<input type="submit" name="submit" value="Save" class="savebtn">
</form>
I'm also not sure if I have to use a submit button.
You can use offline storage capabilities of HTML5.
See Client-Side Storage
Cheers !!
There are a number of different solutions.
The easiest way I would think of is to use a cookie, you can find how to create and manage cookie with easy javascript here
Then with some simple javascript code, when you load the page you just check if there is a cookie, if there is you retrieve the data and populate the form.

HTML Login to another site by clicking a reference

I have been using the post method to login a “Guest” user to another site, like in the following:
<form action="http://example.com/login.asp" method="post" target="_blank">
<input type="hidden" name="username" value="Guest" />
<input type="hidden" name="password" value="0000"/>
<input type="submit" name="btnSubmit" value="Login" />
</form>
I need now to avoid this method and I wish to use the get method instead, like in the following:
Login as Guest
I reach the page and the username and password values are on, but I cannot find what is missing to achieve the login without the need of clicking a button by the user. In other words, the user by clicking the link should be logged in with no further action. Is there any way?
Please advice.
in http://example.com/login.asp at beginning just check username and password is present or not and all others what you want and then logged them in and finaly one thing when you using form then your method is POST but when you go through anchor link then method is GET it's not POST and I think you miss this..

Submitting to a remote .cfm file using an html form

I want visitors to my website to be able to search for airport lounges offered by a company called Priority Pass. I have created the following form:
<form action="http://prioritypass.com/lounges/lounge-print.cfm" method="post">
<input type="text" id="print_airport_code" name="print_airport_code" value="MAN" />
<input type="submit" value="Submit" />
</form>
Which mirrors the form they have on their own mobile search site (here). But when I submit my form it doesnt seem like the parameters are being posted properly.
Any help would be great. Thanks.
The form on their website doesnt appear to contain any fields which I have missed?
You're pointing to the wrong URL; POSTing to /lounges/lounge-print.cfm is producing an HTTP redirect header, which is corrupting your output.
Additionally, the name of your input field is incorrect. Using someone else's form results often requires you to maintain all field names consistently as they appear on the remote site.
Change the form to:
<form action="http://www.prioritypass.com/mobile/lounges.cfm" method="post">
<input id="Airport_Code" name="Airport_Code" type="text" size="10" value="MAN" />
<input type="submit" value="Submit" />
</form>