Sunday, 9 June 2019

the recreation of thefacebook2004


Hi guys! I'm back with a new article  the recreation of thefacebook2004Thefacebook Clone is nothing more than an attempt to recreate the first version of Facebook was launched in 2003/2004 ,This project aims to be an advanced , lightweight and free clone, being written with PHP , HTML , CSS and with MySQL as data storage. we will discuss about Facebook is a social networking service launched as FaceMash in July 2003, but later changing to TheFacebook on February 4, 2004It was founded by Mark Zuckerberg with his college roommate and fellow Harvard University student Eduardo Saverin. The website's membership was initially limited by the founders to Harvard students, but was expanded to other colleges in the Boston area, the Ivy Leagueand gradually most universities in the United States and Canada,corporationsand by September 2006, to everyone with a valid email address along with an age requirement of being 13 and older

TheFacebook Clone
- Version : 1.0 

Files

index.php

terms.php

privacy.php

contact.php

social_net.php

search.php

profile.php

about.php

register.php

login.php

messages.php

read_message.php

send_message.php

edit_profile.php

edit_privacy.php

edit_account.php

edit_photo.php

my_friends.php

home.php

invite.php

faq.php

logout.php

Images

The recreation of the html, is being based only in images found on the internet.






 















 Hope this post will help you . If you enjoy my work then please share my posts with your buddies and anyone who might be interested in thefacebook2004

                                           coming soon  on Udemy

Tuesday, 4 June 2019

Step to create a WordPress blog using XAMPP

 Hope this post will help you to install WordPress. If you enjoy my work then please share my posts with your buddies and anyone who might be interested in WordPress If you had any problem about this post, please do mention it in the comment section.WordPress is an open-source content management system (CMS). It’s based on PHP and MySQL. It most associates with blogging, E-commerce stores, personal sites and many more. Now WordPress control 30%of the web. In this guide, we discuss how to create a WordPress blog using XAMPP.

 

1) Why WordPress?

It’s FREE                                           SEO Friendly                                  
High Security                                    High Performance
Customizable Design                       Responsive Mobile Sites

2) Step by Step Guide

Step 1 – Prerequisites

1.XAMPP – Apache (A) + MariaDB(M) + PHP(P) + Perl(P)



                     CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
XAMPP is an Open source software. It’s a Stands of Cross-platform (X). we can create a local web server using XAMPP. It’s easy to use and it works with Windows, Linux, and Mac OS. You can use alternative software for XAMPP, such as WAMP, MAMP but today I’m going to focus about XAMPP.
XAMPP Download link (121 MB) – https://www.apachefriends.org/index.html
WAMP download link (286 MB) – http://www.wampserver.com/en/#download-wrapper
MAMP download link (410 MB) – https://www.mamp.info/en/downloads/
2. WordPress (v5.1)



                           CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
WordPress Download link (11 MB) – https://wordpress.org/download/
Step 1 Completed
 

Step 2 – How to install XAMPP.

  • Click on the downloaded XAMPP setup. (If you got any permission message or warning message click “OK” or “YES” button to continue)
  • It will open the XAMPP setup wizard. Click next button to continue.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Now it asked, what components we want to install and what’s not. We only need Apache and MySQL. (select following Components and click the next button to continue)
    • Server
      • Apache – Apache Server
      • MySQL – Database Server
    • Program Language
      • PHP – Hypertext Preprocessor
    • Program Languages
      • phpMyAdmin – Database Control panel



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Choose installation location and click Next (Default: C:\xampp)  (If you got Windows Defender Firewall Permission request, Tick both checkboxes and click Allow access.)
  • Click the next button to continue Now it will install XAMPP (wait till the installation complete) After the installation complete. Click Finish.
  • It will open the XAMPP Control panel automatically.
  • This is a XAMPP Control Panel.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Now click Start up Apache and MySQL (It will start Apache and MySQL servers)
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

 Now open your web browser and type http://localhost  or http://127.0.0.1 on the address bar.

 

Step 2 Completed

Step 3 – Creating a Database

  • Open a web browser and type http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin (it will redirect you to phpMyAdmin control page)



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Click Databases and enter the Database Name then click Create, it will create our database.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
My database name is “wpdb2019”
Congratulation! Step 3 Completed

Step 4 – WordPress Installation

Open XAMPP Control Panel and click the explorer button. It will open the XAMPP installation directory.
Open an “htdocs” folder and Copy you’re downloaded WordPress file into the htdocs folder then extract it. (htdocs -> wordpress)
Then rename it whatever you like. I’m going to call it “wordpress”.

WordPress Installation (Normal configuration)
  • Enter http://localhost/wordpress or http://127.0.0.1/wordpress on your browser (It will redirect us to the WordPress installation wizard.)



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Select a language and click Continue.
  • It’s Time to connect database and WordPress. click Let’s go! It will redirect you to the “database configuration page”. Enter your Database Details, Then click submit button to continue.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
Database Name – “wpdb2019” (you’re Database name)
Username – “root” (it’s default root)
Password – “” (it’s default empty)
Database Host – “localhost”
Table Prefix – “wp_”

  • Now time to install WordPress, Press “Run the installation”.
Note: If you got an error message. you need to configure the database manually.

WordPress Installation (Manual Configurations)
  • Open the WordPress folder where you saved WordPress. (C:\xampp\htdocs\wordpress) and find a file called, “wp-config-sample.php” and rename it to “wp-config.php”
  • Open it using your, default text editor.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Find this section
  1. /** The name of the database for WordPress */
  2. define( 'DB_NAME', 'database_name_here' );
  3. /** MySQL database username */
  4. define( 'DB_USER', 'username_here' );
  5. /** MySQL database password */
  6. define( 'DB_PASSWORD', 'password_here' );
  7. /** MySQL hostname */
  8. define( 'DB_HOST', 'localhost' );
  • Change it like below and save changes.
  1. /** The name of the database for WordPress */
  2. define( 'DB_NAME', wpdb2019' );
  3. /** MySQL database username */
  4. define( 'DB_USER', 'root' );
  5. /** MySQL database password */
  6. define( 'DB_PASSWORD', '' );
  7. /** MySQL hostname */
  8. define( 'DB_HOST', 'localhost' );



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Select a language and press Continue.

  • After installation complete, we need to fill our site information. (Don’t worry, you can change these settings anytime)



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
Site title – ‘Demo Site”
Username – “admin”
Password – “techie!@#”
Your Email –
demo@techieupgrader.in
Done, Step 4 Completed. It’s time to log in

Step 5 – WordPress Admin Control Panel.

Open a web browser and type http://localhost/wordpress/wp-admin/ it will redirect you to the WordPress admin login page.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
Enter your credentials.
Username – admin
Password – techie!@#
This is WordPress Admin control panel.



CtechF - How to create WordPress blog using xampp (Localy) - Screenshot