Tuesday 29 August 2017

how to upgrade/update specific applications in linux

hello linux Userzz today i am going to show you steps for upgrade specific applications  LETS GO!!!!




1>To only upgrade specific applications YOU CAN USE THESE  COMMAND 


sudo apt-get --only-upgrade install "APPLICATIONS NAME"
 
 
 OR

sudo apt-get dist-upgrade "APPLICATIONS NAME"
 
OR
 
 
 sudo apt-get upgrade "APPLICATIONS NAME"



EXAMPLE:--

 FIREFOX UPGRADE DEMO -
 
sudo apt-get dist-upgrade firefox
OR
 
 
sudo apt-get upgrade firefox
 OR


sudo apt-get --only-upgrade install firefox  

2> METASPLOIT UPGRADE EXAMPLE

sudo apt-get --only-upgrade install metasploit-framework


more information

for searching specific application name use this command

apt search "application name what ever you know"

example -

i want to find corrent application name of metasploit so used this command
apt search metasploit and in result in found  "metasploit-framework"



THANKZ FOR visting our websitez

plz subscribe our youtube channel link given here --  https://www.youtube.com/channel/UCYbTXOWSoai1eH1uCa127Zg


Sunday 27 August 2017

FATRAT - [x]::[warning]:this script require mingw32 or 64 installed to work

fix for fatrat[x]::[warning]:this script require mingw32 or 64 installed to work

 Checking type of shell ....
[local]
 [ * ] Checking for internet connection
 [ ? ]::[Internet Connection]: CONNECTED!
 [ ? ] Xterm.............................[ found ]
 [ ? ] Dns-Utils ........................[ found ]
 [ ? ] Gcc compiler......................[ found ]
 [ ? ] Apache2 ..........................[ found ]
 [ ? ] Gnome Terminal....................[ found ]
 [ ? ] UPX Compressor....................[ found ]
 [ ? ] Ruby..............................[ found ]
 [ ? ] Openssl...........................[ found ]
 [ ! ] Installing tools dependencies
 [ ? ] Monodevelop ......................[ found ]
 [ ? ] Jarsigner (java)..................[ found ]
 [ ? ] Unzip.............................[ found ]
 [ ? ] Keytool (java)....................[ found ]
 [ ? ] Zipalign
 [ ? ] Proguard
 [ X ] Mingw-w64 -> not found
 [ ? ] DX 1.8
 [ ? ] Aapt v0.2-3821160
 [ ? ] Apktool v.2.2.2



fix----


apt-get install mingw-w64 -y


 done ...................
root-  apt-get install mingw-w64 -y
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following additional packages will be installed:
  binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64 g++-mingw-w64-i686
  g++-mingw-w64-x86-64 gcc-mingw-w64 gcc-mingw-w64-base gcc-mingw-w64-i686
  gcc-mingw-w64-x86-64 gfortran-mingw-w64 gfortran-mingw-w64-i686
  gfortran-mingw-w64-x86-64 gnat-mingw-w64 gnat-mingw-w64-base gnat-mingw-w64-i686
  gnat-mingw-w64-x86-64 mingw-w64-common mingw-w64-i686-dev mingw-w64-x86-64-dev
Suggested packages:
  gcc-6-locales
The following NEW packages will be installed:
  binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64 g++-mingw-w64-i686
  g++-mingw-w64-x86-64 gcc-mingw-w64 gcc-mingw-w64-base gcc-mingw-w64-i686
  gcc-mingw-w64-x86-64 gfortran-mingw-w64 gfortran-mingw-w64-i686
  gfortran-mingw-w64-x86-64 gnat-mingw-w64 gnat-mingw-w64-base gnat-mingw-w64-i686
  gnat-mingw-w64-x86-64 mingw-w64 mingw-w64-common mingw-w64-i686-dev
  mingw-w64-x86-64-dev
0 upgraded, 20 newly installed, 0 to remove and 1707 not upgraded.
Need to get 208 MB of archives.




 

Friday 25 August 2017

Life Before the Internet

Life Before the Internet

History Lessons from the Historically Ignorant.



I was alive before the Internet so I remember it quite well. And I can�t tell you how many times I�ve been asked what it was like before there was such a thing as �cyberspace.� Mostly because I�ve never been asked.
Hence the need to write a post about it. LOGIC!
Okay. So first off, the earth was a cold, barren place. The sky was filled with darkness and a sense of foreboding hung heavy in the air. I assume you�ve seen the first ten minutes of 2001: A Space Odyssey?


Also, humans roamed in packs like wolves, but with shoes.
Yeah, we had shoes.
Actually, it was totally fine. There was a lot of really great, amazing shit happening. As a kid, I was pretty content with my Casio mini-keyboard and my backyard for entertainment. Even though we had no Internet, let alone iPads or cell phones, I was never bored because I would just go outside, talk to myself, and make pretend-tea out of dirt and puddle water. I also had Hungry Hungry Hippos so, yeah, life was pretty sweet.


And then the Internet came and shit changed. Some for the good, some I could totally do without. Like I don�t need Tumblr or Twitter in my life. But I do like Medium <insert winking whore emoji>.
So for those of you who were born in late 90�s or some made-up decade like the �aughts,� or you older folks who�ve mostly blocked-out anything that happened prior to say, 1994*, here�s a completely incomplete list of how the Internet changed the world:
1. Listicles didn�t exist as such. Oh sure, people made lists, but mostly things like shopping lists or to-do lists. Or even list jokes that they recited live and in person. Also, there was The Book of Lists which is literally days and days worth of entertainment that I haven�t the capacity to recommend enough.
2. Which brings us to Books. I don�t know about you guys, but I remember a little something called the en-sahy-kluh-pee-dee-uh (or encyclopedia). I also remember grabbing the L-N volume and reading nineteen pages about the Louisiana Purchase. I then proceeded to switch back and forth between the encyclopedia and the thesaurus trying to find different words to use so I wasn�t accused of plagiarism while writing my 5th grade essay entitled �The Louisiana Purchase: Turns Out You Can Sell Shit You Don�t Actually Own!�
3. No one shared pictures of food. The only people who took pictures of food were food photographers who got paid to take pictures of food. It was a very confusing time.
4. You had to look up movie times in the � newspaper! Whuuuut?!
If you didn�t have a subscription to the local paper, you might as well go stick your head in the dirt because you, sir, had no fucking idea when Back to the Future was playing. Unless, of course, you called Moviefone.
5. Speaking of paper, don�t forget The Great & Powerful Phone Book.
How do I find a plumber? How do I get a pizza delivered? The phone book, idiot. It�s not like there�s some series of tubes that contain this elusive information.


6. On the topic of phones, you either called your friend on a telephone?�?corded and then eventually, cordless�or spoke to them in person. Creepy, right?
And that phone had NO camera or games.
And yet, we JUST. KEPT. USING. IT.


7. Thanks in part to Title II of The Communications Act of 1934, and the overdue 1982 breakup of the Bell system, corporations couldn�t hold public utilities (systems of communication like telephone and radio) for ransom. Sadly, the repealing of the Fairness Doctrine in 1987 began a deterioration of the public interest standard for broadcast television, yada, yada, yada, then the Internet came along and� well, now the FCC is the official ball-cupper of the ISPs. For more info read: Net Neutrality
8. If you didn�t know if that guy who played Kojak was still alive or not, you were just left to forever wonder. Or get in your car, drive to a bookstore and buy a current Almanac (a book).
9. Also, libraries.
10. Anonymous people who wanted to write mean things to other people had to spend money on postage. Or at least take the time to find your phone number� thanks again, phone book.


11. You either had a paper map or you got fucking lost! And you liked it!
12. You had to watch what was on television when it was actually scheduled to be on television. None of this on-demand �I wanna watch it right now� whiny bullshit. If the only thing that was on was a rerun of Alf, you sat down and you fucking watched it (I didn�t have cable growing up because my parent�s didn�t love me).
13. �Google� was a sound a baby makes and not a terrifying data-mining overlord that knows every embarrassing thought you�ve ever been stupid enough to type into the search bar.


14. You didn�t have a tiny WiFi computer in your pocket to pass the time at the dentist�s office, so you were forced to read Golf Digest. Thus pain, boredom, and golf became forever linked in your psyche.
15. Slide projectors and photo albums were a necessity for anyone that gave a goddamn about precious memories and vacation photos. These were also considered instruments of torture.
16. Rotten Tomatoes and IMDB didn�t exist, so you watched Siskel and Ebert. And you genuinely liked it!
17. No email. You could literally be unreachable. Takes my breath away just thinking about it.
18. Fake news was The National Enquirer or a new weight loss diet that involved pigeon feet and vinegar (or buffalo meat and Alka Seltzer).
19. You PAID musicians for music. And you listened to the entire album because you just spent like $13.99 for it. And it came with artwork and liner notes and a bunch of cool stuff. And if you bought a cassette, there was a 50/50 chance the cassette player in your car would mangle it.
20. You didn�t �blog.� Nobody cared what you had to say. You just shoved all that creative energy down into a deep, dark place that you never acknowledged and got an accounting degree. After years of misery you started scrawling depressive poetry onto cocktail napkins and once you developed a serious drinking problem, then and only then, did you get a book deal. Or you were a journalist for money or something.


21. You had to buy fancy r�sum� paper and envelopes and actually use the US postal service to apply for jobs. Like an adult.
22. YouTube was known as �public access television.�
23. When you went out to eat, you either stared silently at your dining partner or you had a conversation. Divorce was very common.
24. You didn�t �post� on �social media.� You composed pretentious holiday newsletters that irritated the ever-loving the crap out of all those unfortunate enough to be on your mailing list.
PS. No one cares that Timmy�s in Aspen on a ski scholarship or that Nancy married the Ambassador to Fiji. Honestly, I think you�re hiding your unhappiness with expensive wine and lies.
Sorry. That last part has very little to do with the Internet.
25. If you wanted to watch that scene from The Breakfast Club where Principal Vernon says �You mess with the bull, you get the horns,� and walks away with the toilet seat cover stuck in his pants, you had to go rent it (post VHS or course) or wait until it came on TV?�?and then watch the lame, heavily-edited, commercial version. That�s how we learned to deal with adversity.
26. Jeff Bezos was just some well-off, Princeton grad with a crazy dream to someday control the means of production, food, space and time.
Two down, two to go.
27. I almost forgot pay phones! These were germ-infested, public communication devices for when you needed to call your parents to come pick you up from the mall. This also required that you keep a quarter in your pocket (small, round currency made of alloys).
28?�?30. You basically just walked around not knowing a lot of shit. But neither did anyone else, so no one really noticed.



* Look, I know about ARPAnet and all that jazz, and how the web was technically around prior to 1994. But honestly, Prodigy and CompuServe subscribers were mostly just hanging out on message boards. And it wasn�t until I created my Hotmail Account in the mid-nineties that shit got real. So there.

How To Download Instagram Videos/Photos to Computer

Download Instagram Videos to Computer/PC

  • Log in to your Instagram Account using any web browser like Google Chrome, Mozilla Firefox etc.
  • Get the URL of your video by clicking download instagram videos  and by pressing View Video page.
  • Right-click on the video and Select �Inspect Element�.
  • You will see a link in a <div> tag after src, click it.
  • Now your video will start playing in a new tab. Then right click anywhere on the screen and select Save Video Asdownload Instagram videos
  • Your video will now start downloading.
  • You�re done

Download Instagram Videos to Computer Easily

  • Follow first 3 steps from the above procedure and open dredown website.
  • Paste the copied URL in the text box provided
  • Press Dredown!
    download instagram videos from PC
  • You�re done.


Wednesday 23 August 2017

Subtitle-to-speech program


Subtitle-to-speech program

A program to turn movie subtitles (SRT) to speech using the Windows narrator
other formate to convert srt from these site (example .ass to srt) 
https://subtitletools.com/convert-to-srt
https://lab.sorz.org/tools/asstosrt/


In order to rid myself of the subconscious addiction to western
cinema, I started watching a lot of movies from other countries,
especially Asian countries. 

Most of these films have subtitles submitted by fans - way much
cooler than voice-overs. The problem I have with reading subtitles
while in bed stems from the fact that I wear glasses... I am a
programmer so I decided to tackle the issue of subtitles-to-speech
once and for all. What luck, Vista has a better voice for the narrator!


1. The subtitle-to-speech window


2. Click the Play or Browse-for-Folder button to specify the location of the subtitle file (Subrip only)


3. Locate the subtitle file...


4. If a video has been found (AVI) matching the subtitle file, you will be asked if you want to launch the video file in your default media player


5. The subtitles have been parsed from the file specified as well as the last subtitle time


6. If you had opted to open the video file as well, the movie starts playing and you can see how the program works


7. Since the video and the program are in no way connected, you need to manually adjust the timing (scrub...). Just click on the running time label to open the scrub dialog


8. If you are using Videolan's VLC, you can turn off the subtitles, by clicking the appropriate menu entries as shown.

Download the program 64 KB win vista tested Media fire

Tuesday 22 August 2017

phishing attack from linux with 3g/4g mobile internet hotspot on wan

Setup Online to local machine Forwarding for SET Social Engineering Toolkit in Kali Linux

You will follow the given steps to setup  forwarding.
  1. Go on ngrok.com and click on Sign Up
    VirtualBox_Kali-Linux-2017
  2. Fill your detail and register.
    sign-up-on-ngrok
  3. Download ngrok zip file, choose appropriate architecture as per your system (64bit/32bit). otherwise you will face problem.
    download-ngrok
  4. Extract the files
  5. Run terminal and reach at location you have extracted ngrok file.
  6. After sign up on ngrok.com you will get two commands written there. Execute both commands in sequence.
    run-commands
  7. Start SET Social Engineering toolkit
    run-SET
    Select 1 > 2 > 3 > 2 options after starting toolkit and hit enter after pressing each key.
  8. It will ask for IP Address, Copy forwarding link generated by ngrok and paste here.
    copy
  9. Give the website name you want to create phishing page. (ex - www.facebook.com , www.gmail.com)
  10. Send link to victim and wait for logging him/her
    irctc.co.in login
  11. After Login
    result
I hope you like this article if you have any question comment in box.
Cheers!

how to use mobile network hotspot wan for website in linux / install ngrok / portword with mobile hotspot



Share Your Local Web Server Publicly using ngrok 

how to portword with linux mobile 3g 4g internet

without router share you your website

As a web developer, my workflow often includes writing a little code, firing up a local web server, and doing a quick smoke test to make sure things look alright. Occasionally, I'll encounter a situation where I'll need someone else (coworker, client, etc.) to provide some feedback on a design decision before moving forward. If I'm in the office, it's easy. I'll just call them over to take a look.

However, there are times when I need to share my local changes with someone remotely and get feedback quickly. If the change is relatively minor, deploying to some staging environment might be overkill. How can I expose my local web server publicly so my clients can view my changes and provide immediate feedback?

What is ngrok?


ngrok is a reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.

What can I do with ngrok?


  1. Expose any http service behind a NAT or firewall to the internet on a subdomain of ngrok.com.
  2. Expose any tcp service behind a NAT or firewall to the internet on a random port of ngrok.com.
  3. Inspect all http requests/responses that are transmitted over the tunnel.
  4. Replay any request that was transmitted over the tunnel.

What is ngrok useful for?


  1. Temporarily sharing a website that is only running on your development machine.
  2. Demoing an app at a hackathon without deploying.
  3. Developing any services which consume webhooks (HTTP callbacks) by allowing you to replay those requests.
  4. Debugging and understanding any web service by inspecting the HTTP traffic.
  5. Running networked services on machines that are firewalled off from the internet.
  6. use mobile internet , sim internet and hotspot internet worldwide without port fwding 
  7. use your internet for wan attack (settoolket phishing and ratattack with metaspoilt)

Enter, ngrok!


ngrok, creates a secure tunnel from a randomly-assigned, public internet address to a locally running web service. It also captures any traffic moving through the tunnel, allowing users to inspect HTTP request data. ngrok has several uses, and publicly exposing a local web server is one of them.

Installation


There really is no "installation" required. You simply visit the download page and follow the instructions.

i am using kali linux so i will download linux (3)  after download extract  the zip file and copy the extracted file at "/usr/local/bin

steps to extract zip file and copy to the bin location with terminal 

  • open command line, press CTRL + ALT + T
  • extract the zip file and copy to /usr/local/bin (assuming the zip file is in ~/Downloads)
  • cd ~/Downloads
    sudo unzip ngrok-stable-linux-amd64.zip -d /usr/local/bin/
  • done!
 ?Install your authtoken (auth code below is a example copy auth token from ngrok.com account.Copy the authentication code from your account in ngrok.com we will be using this to authenticate our tunnel. You can do this by going to the folder where ngrok is stored and using .(GO TO NGROK WEBSITE SIGN IN AND THEN COPY AUTH CODE
/ngrok authtoken

yourauthtokenhere � The authentication code will then be saved.
Example Authtoken Screen Shot Shows Ngrok Auth Code (This account is not used by HackingVision and was deleted after this tutorial)

?To create your first secure tunnel use the command below to set up a tunnel on port 80 I�m using http port 80 for SET use whatever port you would like ngrok to tunnel through.


 Now you should be able to run ngrok command from anywhere, because the ngrok binary is already copy to /usr/local/bin/.



 How to use ngrok

Let's say you have a local web server running on port 80, and you want to make that localhost accessible through the internet using ngrok, then you need to run this command:
ngrok http 80
ngrok http [port-number]

 i am running my localhost with apache2 with html simple website you can run your apache2 by this command 

 service apache2 start



Once ngrok is launched, it will display the following:

1
2
3
4
5
6
7
8
9
ngrok (Ctrl+C to quit)
 
Tunnel Status                 online
Version                       1.7/1.7
Forwarding                    http://2779ffc7.ngrok.com -> 127.0.0.1:3000
Forwarding                    https://2779ffc7.ngrok.com -> 127.0.0.1:3000
Web Interface                 127.0.0.1:4040
# Conn                        0
Avg Conn Time                 0.00ms

Using the information provided above, we have our public web address: http://2779ffc7.ngrok.com. We can share this URL with our collaborators! Any visits to this URL will be tunneled to our local web server. As people visit the URL, ngrok will update by displaying any HTTP requests flowing through the tunnel:
1
2
3
4
5
HTTP Requests
-------------
 
GET /favicon.ico              200 OK
GET /                         200 OK

Further Request Inspection with the Dashboard

ngrok provides a introspection dashboard which is hosted locally at http://localhost:4040/.


Since all HTTP traffic is captured by ngrok, more detailed information about each request can be explored on the dashboard. The dashboard updates in real-time. So, as people view your exposed website, the dashboard will update along with each request. You can explore request time, duration, headers, parameters, etc. It even pretty-prints JSON and XML responses to make them easier to read.

 

 


Thursday 10 August 2017

how to create wishing page from linux

if you want to remove rockstardevil from website than paytm me 10 dollar !!!! contact detail - instagram rockstardevil34



For this Web App, you Need to create a Four Files
1 - index.php
2 - userwish.php
3 - db.php
4 - .htaccess
  • First Create a Database on your Webserver
  • After creating the Database run this SQL Query to create Tables for the Web App
    CREATE TABLE event_wishes
    (
    id INT NOT NULL AUTO_INCREMENT,
    title VARCHAR (500) NOT NULL UNIQUE,
    str VARCHAR (500) NOT NULL UNIQUE,
    PRIMARY KEY (ID)
    );
27
  • After creating Database Tables create Three files
  • index.php - Homepage
  • userwish.php - Greeting Page
  • db.php - For MYSQL Database Connection
  • Now Add this Below code on db.php File
        <?php

$dbhost = 'localhost';
$dbuser = 'YOUR DB USER';
$dbpass = 'YOUR DB PASS';
$dbname = 'YOUR DB NAME';

$con=mysqli_connect($dbhost, $dbuser, $dbpass,$dbname) //connect to the database server
or die ("Could not connect to mysql because ".mysqli_error());

mysqli_select_db($con,$dbname) //select the database
or die ("Could not select to mysql because ".mysqli_error());

?>
* Add your Database login credits and Save the db.php File * Add this Below code on index.php File
<?php

/*
Plugin Name: MSK Festival Wishes Web App
Plugin URI: https://www.allwebtuts.com/festival-wishes-web-app/
Description: Festival Wishes Web App - A PHP Plugin Which Helps us to Create an Awesome SEO Friendly Festival Event Wishing Web App with Custom Greeting Wishes Page.
Version: 1.1
Author: Santhosh veer
Author URI: https://www.mskian.com
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


include('db.php');

if(isset($_POST['create-wish']))
{

$title=mysqli_real_escape_string($con,$_POST["title"]);
$title=htmlentities($title);

//friendly URL conversion
function to_prety_url($str){
if($str !== mb_convert_encoding( mb_convert_encoding($str, 'UTF-32', 'UTF-8'), 'UTF-8', 'UTF-32') )
$str = mb_convert_encoding($str, 'UTF-8', mb_detect_encoding($str));
$str = htmlentities($str, ENT_NOQUOTES, 'UTF-8');
$str = preg_replace('`&([a-z]{1,2})(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i', '\1', $str);
$str = html_entity_decode($str, ENT_NOQUOTES, 'UTF-8');
$str = preg_replace(array('`[^a-z0-9]`i','`[-]+`'), '-', $str);
$str = strtolower( trim($str, '-') );
return $str;
}
$str=to_prety_url($title);

// sql query for inserting data into database
$sql_query = "INSERT INTO event_wishes (title,str) VALUES ('$title','$str')";
$result_set=mysqli_query($con,$sql_query);

// Redirect to Greeting Page
//Replace http://localhost/$str with your Greeting WEB APP URL
header("Location: http://localhost/$str");
exit();

}

?>

<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebSite">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $current_page = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo '<link rel="canonical" href="'.$current_page.'" itemprop="url"/>'; ?>


<!-- Edit the Meta Tags Add your Own Meta Contents -->
<!-- Seo Meta Tags -->
<title>Mskian Festival Wishes Web App</title>
<meta name="description" content="Create an Awesome Name Wishing Festival Web App."/>
<meta name="robots" content="index,follow">
<link href='YOUR FAVICON URL' rel='icon' type='image/x-icon'/>

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Mskian Festival Wishes Web App" />
<meta name="twitter:description" content="Create an Awesome Name Wishing Festival Web App." />
<meta name="twitter:image" content="THUMBNAIL IMAGE FOR TWITTER SHARE" />
<meta name="twitter:site" content="@yourtwitterusername" />
<meta name="twitter:creator" content="@yourtwitterusername" />

<!-- Facebook Open Graph data -->
<meta property="og:title" content="Mskian Festival Wishes Web App" />
<meta property="og:type" content="website"/>
<meta property="og:url" content="YOUR WEB APP URL" />
<meta property="og:image" content="THUMBNAIL IMAGE FOR FACEBOOK SHARE" />
<meta property="og:description" content="Create an Awesome Name Wishing Festival Web App." />
<meta property="og:site_name" content="YOUR SITE NAME" />
<meta property="fb:app_id" content="APP ID" />

<!-- Google+ Meta Tags. -->
<meta itemprop="name" content="Mskian Festival Wishes Web App">
<meta itemprop="description" content="Create an Awesome Name Wishing Festival Web App.">
<meta itemprop="image" content="THUMBNAIL IMAGE FOR GOOGLE+ SHARE">



<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>


<style type="text/css">
body {
font-family: 'Montserrat', sans-serif;
font-size: 18px;
}

h1{
font-size: 2.3em;
font-weight: 600;
margin: 20px 0 10px 0;
letter-spacing: -1px;
}


.login-form {
margin: 0 auto !important;
float: none;
padding: 15px;
}

.login-form form.form-horizontal {
padding: 10px 20px;
}

.bold{
font-weight: 700;
}
</style>

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

</head>
<body>
<br />
<br />


<div class="col-md-6 col-lg-5 col-sm-8 center-block well login-form">
<h2 class="no-margin text-center">Create Greeting</h2>
<div class="clearfix">&nbsp;</div>
<form method="post" class="form-horizontal" data-parsley-validate>
<div class="form-group">
<input type="text" class="form-control" name="title" placeholder="Your Name" data-parsley-required="true">
</div>
<div class="form-group">
<button type="submit" name="create-wish" class="btn btn-success btn-block btn-lg">Create Wish</button>
</div>
</form>
</div>
</div>
<div class="clearfix">&nbsp;</div>



<!-- JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.5.1/parsley.min.js"></script>

</body>
</html>
* Find this Below on the index.php file * Replace it with your Web App URL
header("Location: http://localhost/$str");
* Add this below code on userwish.php File
<?php

include("db.php");

$str=mysqli_real_escape_string($con,$_GET["str"]);

//Get data's from the Table
if(isset($str))
{

$sql_query="SELECT * FROM event_wishes WHERE str='$str'";
$result_set=mysqli_query($con,$sql_query) or die('error');
$user_wish=mysqli_fetch_array($result_set);
}
?>

<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebSite">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $current_page = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo '<link rel="canonical" href="'.$current_page.'" itemprop="url"/>'; ?>

<!-- Edit the Meta Tags Add your Own Meta Contents -->
<!-- Seo Meta Tags -->
<title><?php echo $user_wish['title']; ?> Wishing your happy independence day</title>
<meta name="description" content="<?php echo $user_wish['title']; ?> Wish you a happy independence day Here is your happy independence day Greeting Wishes."/>
<link href='YOUR FAVICON URL' rel='icon' type='image/x-icon'/>

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<?php echo $user_wish['title']; ?> Wishing your happy independence day" />
<meta name="twitter:description" content="<?php echo $user_wish['title']; ?> Wish you a happy independence day Here is your happy independence day Greeting Wishes." />
<meta name="twitter:image" content="THUMBNAIL URL IMAGE FOR TWITTER SHARE" />
<meta name="twitter:site" content="@yourtwitterusername" />
<meta name="twitter:creator" content="@yourtwitterusername" />

<!-- Facebook Open Graph data -->
<meta property="og:title" content="<?php echo $user_wish['title']; ?> Wishing your happy independence day" />
<meta property="og:type" content="article"/>
<meta property="og:url" content="<?= "http://example.com".$_SERVER['REQUEST_URI']; ?>" />
<meta property="og:image" content="THUMBNAIL IMAGE URL FOR FACEBOOK SHARE" />
<meta property="og:description" content="<?php echo $user_wish['title']; ?> Wish you a happy independence day Here is your happy independence day Greeting Wishes." />
<meta property="og:site_name" content="YOUR SITE NAME" />
<meta property="fb:app_id" content="APP ID" />
<meta content='YOUR FACEBOOK PROFILE URL' property='article:author'/>
<meta property="article:publisher" content="YOUR FACEBOOK PAGE URL" />

<!-- Google+ Meta Tags. -->
<meta itemprop="name" content="<?php echo $user_wish['title']; ?> Wishing your happy independence day">
<meta itemprop="description" content="<?php echo $user_wish['title']; ?> Wish you a happy independence day Here is your happy independence day Greeting Wishes.">
<meta itemprop="image" content="THUMBNAIL IMAGE URL FOR GOOGLE+ SHARE">


<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>


<style type="text/css">
body {
font-family: 'Montserrat', sans-serif;
font-size: 18px;
}

h1{
font-size: 2.3em;
font-weight: 600;
margin: 20px 0 10px 0;
letter-spacing: -1px;
}


.login-form {
margin: 0 auto !important;
float: none;
padding: 15px;
}

.login-form form.form-horizontal {
padding: 10px 20px;
}

.bold{
font-weight: 700;
}
</style>

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

</head>
<body>
<br />
<br />


<h2 class="no-margin text-center">Hello <?php echo $user_wish['title']; ?> Wishing you a happy independence day :-) </h2>
<br />



<div class="col-md-6 col-lg-5 col-sm-8 center-block well login-form">
<h2 class="no-margin text-center">Create Your Own Greeting Wish Like this</h2>
<div class="clearfix">&nbsp;</div>
<form method="post" action="index.php" class="form-horizontal" data-parsley-validate>
<div class="form-group">
<input type="text" class="form-control" name="title" placeholder="Your Name" data-parsley-required="true">
</div>
<div class="form-group">
<button type="submit" name="create-wish" class="btn btn-success btn-block btn-lg">Create Wish</button>
</div>
</form>
</div>
</div>
<div class="clearfix">&nbsp;</div>



<!-- JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.5.1/parsley.min.js"></script>

</body>
</html>
  • Now Find this Below line on userwish.php
<form method="post" action=index.php class="form-horizontal" data-parsley-validate>
  • Replace index.php With your Festival Wishes Web App Homepage URL
  • Add this Rule on HTACCESS File for SEO Friendly URL
    RewriteEngine On
    RewriteRule ^([a-zA-Z0-9_-]+)$ userwish.php?str=$1
  • That's all successfully we created a Festival Wishing Web App
When he/she Enter his/her name to create a Festival Greeting Wishes It will Generate a Festival Greeting Wishes with Custom SEO URL + Greeting Page
All the user's data are Saved in Database
Recommended PHP Version 5.6 and 7
Database Extension - MYSQLI
DB Support - MYSQL 5.6, MARIA DB 10 and Latest versions