Make Hosting Mini Or Filemeneger With Security Twice s User Login Session
Php coding examples
The following is a site / project shortcut that we will be laying out in stages, but this will happen if only someone plans to build it better or depending on the reader's interest whether you want to read it, learn how this mini page hosting can ben
the window for example web hosting and file manager will often experience errors from the server, it is caused by limited free resources, Kan might be different if we cultivate in a place that has abundant resources
Buat
i
To build a web hosting and file manager full of dynamic systems
which are very complex, one letter error will result in errors in loading pages. Therefore, use the trial board first, because this project runs on linuk, as a mandatory reference to read the localhost work project.
Prepare Tools and Materials. To make the page run, on a server and
capable of reading unicode linuk systems. The following is an example
of a full multi-user script, including bostrap smote
control.
Struktur file Sistem |
|
|
Layanan Hosting Gratis |
|
|
Database-sistem |
|
|
Struktur-Folder |
|
|
Sistem Pendaftaran php |
|
|
Sistem login php |
|
|
Connection-database.php |
Is the system installed correctly, is your website capable of
creating user sessions sign up and login, all system tools can work,
next step, we will create website hosting table
webhosting.sql Create subfolders Persiapkan Owen_websit Here's the folder structure of sparator_websit
_database
assets controllers Director doble_fo file sparator_upto _database |
cultivated.
Have you seen the results of what we are going to build, are you interested in building a page on this example if so, let's prepare the tools and lots, I made this page using only a very simple tool by using the Android OS on a smartphone, I really use the editor for PHP and HTML codw, using the general version of rootexplorer
Indeed most people, will definitely think back to making this page, but if you are a reader of ideas and like to solve complicated problems, come with me to make this very easy even for someone who has just seen this, can make it. briefly. how not easy, if I provide two containers that can form it all, what you need now
A place for internet difficulties, or script code that is ready to function I save and provide free yes for free let's prove it. Creates input from and hides behind button traps, Here I will place the input from it on the side that is easily seen by each user who enters
I'm going to create a interface to allow the count of the user and owen-websit by recording user data from the user's tape I will create the following file.
Indeed most people, will definitely think back to making this page, but if you are a reader of ideas and like to solve complicated problems, come with me to make this very easy even for someone who has just seen this, can make it. briefly. how not easy, if I provide two containers that can form it all, what you need now
A place for internet difficulties, or script code that is ready to function I save and provide free yes for free let's prove it. Creates input from and hides behind button traps, Here I will place the input from it on the side that is easily seen by each user who enters
Create a throw line direction or the direction of the data entry source to create a second session, with the login session name and key.
The image includes shortcut buttons that are placed in the up and down menu, Shows the results of the user who created a web hosting account, min.
You can view and save the data from here This is a Botstrap Drobdown code file which you can not modify since I found it
You can view and save the data from here This is a Botstrap Drobdown code file which you can not modify since I found it
cultivated.
actually you can search for the file you need, in the search field on the imbadded site window on this page I'll make it easy for you to do what you need by providing a search box I've set up to find files and components for this project
.
Now we see how many database tables we will use in this project. Below is the number of tables
Now we see how many database tables we will use in this project. Below is the number of tables
This is the subu to start writing to the page from here all file control will start.
writing to the database will still take place without us seeing just by pointing one button, data will automatically be recorded based on the id, name and key, but I will delay writing the password and drag them on the page, update the web hosting data in the aql program I use one of these tables that you might not expect that the table is the key to all data points.
Important column rows in the owen_websit table
Important column rows in the owen_websit table
From here we start writing the input data just call it the file name
start_owb-b.php
The data input file is in the start_owb-b.php file the file is invoked with a magic call put the file between the Drobdow menu shortcut keys,
start_owb-b.php
The data input file is in the start_owb-b.php file the file is invoked with a magic call put the file between the Drobdow menu shortcut keys,
place it in the current user area so that the data can recognize each user.on the imbadded window of the site you try to click the link.
You will see text that will redirect the user
if you have never created a page before, the user will be prompted to create a page immediately,
falidation_ceck. php then the data will be matched with the data from the owen_websit table. If it is not the same or there is no data stored, the user will see the page in the image.
1.owen_websit_is.
2.owen_websit_str_b.
3.owen_websit_created_by.
The row column above, requires that the data be filled in at the first load of creating a web hosting page, If I use the source code from this page, I make sure that if the column table doesn't work properly, it will cause an error page,
I make a special program for data errors or collisions, This is very useful, I also enforced strict user lock on page loading methods to prevent future problems
use aql function, if the data is different from the source allows the user to view the error page if ($ you-aql) { requested data } other { error page }
Samples code
Error page
<div class = "container top">
<div class = "row clearfix">
<? php <? php if ($ rws_search_username ['user_username']) {?>
<? php include'Owen_websit / index.php ';
require 'database / database.php'; echo "</div> </div> ";
}
else
{
?>
<div class = "container">
<div class = "row clearfix">
<? php include'openpop-error.php '; } ?>
</div>
Point the trigger ribbon to the falidation.php page, The data sent will be checked, if there is no user data it will be discarded to the page falidation_ceck.php and if the password is lost or other problems, the user will return to the home page. Now let's develop the code for.
</div>
Writing data into the database I will create the following file
and binds usernames of keywords, and other data, in an invisible button bundle,
will still be able to work with other form names, the user will only see the trigger word
Point the trigger ribbon to the falidation.php page, The data sent will be checked, if there is no user data it will be discarded to the page falidation_ceck.php and if the password is lost or other problems, the user will return to the home page. Now let's develop the code for.
falidation.php
Validation detects matches of username and password, It looks empty. Users are advised to create a page, just call the following file new_folder.php, I'm going to put a lot of code on that page you can see the following example I don't mind if you copy it right.
I am using the new_folder file. php For this reason, many absorb data about other atanra as follows files associated with the magic call.
The falidation.php file and the falidation_ceck.php file are very close together and complex,if not received any data from falidation.php new window header points to falidation_ceck.php,
we don't need to break down what you need to pay attention to is every form that leads to records, database input, should pay attention to entry passports and welcome files an example is as follows.
falidation_ceck.phpIf the link box direction comes from the user's login circle and plans to create a webhosting page, then link direction sheet path or also known as passport entry
<form aktion = "register-webhosting.php? us = <? php echo $ youscript ['username'];?> & id = <? php echo $ youcript ['id'];?>"> <button> ( trigger) </button>
</form>
Example of connection code on file as passport identifier as follows.
Example of connection code on file as passport identifier as follows.
$id = mysqli_real_escape_string($database,$_REQUEST['id']);
$username= mysqli_real_escape_string($database,$_REQUEST['username']);
I am using the new_folder file. php For this reason, many absorb data about other atanra as follows files associated with the magic call.
components/authentication.php.
components/check-username-availability.php.
config.inc.php.
components/session_cek_key.php.
controllers/base/head.php.
size.php.
controllers/navigation/first-navigation.php.
config.inc.php.
components/session_cek_key.php.
controllers/base/head.php.
size.php.
controllers/navigation/first-navigation.php.
Owen_websit/index.php.
_database/database.php.
Owen_websit/created_new_mywebsit.php.
openpop.php.
_database/database.php.
Owen_websit/created_new_mywebsit.php.
openpop.php.
new_folder.php is the facility / arena some active code, instead of the new_folder.php page, the code that dominates the page is a magic call, index of owen_websit directory.
there are many input fields, checkbox selection,
This is included in the include magic call file that's on create_new_mywebsit.php i created the following file. class_in_web2.php
Now let's go to the essential steps, yes it sets the identity of your page which will be visible to public, let's go to Register/options_websit.
Sample code
Dress up page view, background themes,
Continue writing to the database, As I often emphasize that writing data into the database depends on the entry of the passport from the direction of throwing the data input link, and the welcome code on the insert page, if the two codes match, you will get good results.
In the process of writing data into the database, sodara will spend a lot of time, I'm not saying it's hard, it's a challenge, train our mental strength, At the time of writing this time would be different, When we will write to the database, At the same time, I added a
NEW DIRECTOR WRITING CODE SCRIPT AND TWO HTML / PHP TEXT FILES with different names to one folder space, You can see the sample code snippet below clearly
I assume. on this page, most affected, specify the page identity, let's call it the following file add_websit.php
Don't forget to create a subfolder first, for each user's storage space, we need to create a main subfolder, to After that , let users define the names of folders and files in their own space .
When the header displays a new window, the user will see an overlay of the website input page, where in the future the user can skip this page to update the web page identity data.
Require users to reset a second password after, and once again I remind you to always pay attention to your ID and username as your entry passport, and write file signature to welcome data, important column table, 1.owen_websit_id (for key) 2.owen_websit_created_by (identifier) 3.owen_websit_str_b (Password) these points should actually be stored in the database
Program code write into the data, you can always change the data at any time, and can change the direction of the window header anywhere with a note, must include a passport in the file and greetings on the file.
See the results from the satabase, create file outside, and keep it a secret, core file name, I make an id bond for each data with a special code, such as, passport enter each file, it is not appropriate if we use the key from the database table name, because the passport will display the original text next to the url to make it look more feasible, enter the passport file, You have to change it, for example I removed the passport / id from the table
<a href = "name-file.php? & Owen_websit = $ owen_websit_id Change <a href = "name-file.php? & id = $ owen_websit_id and the welcome code at name-file.php $ id = mysqli_real_escape_string ($ database, $ _ REQUEST ['id']);
View results from multiple files and collect data on open space but is protected by hiding parent / original filenames with magic include calls.
root
myweb.php.
View results from multiple files and collect data on open space but is protected by hiding parent / original filenames with magic include calls.
root
myweb.php.
Collect all files in one room director root / Owen_websit. If the opportunity arises I will explain the function of each file
We'll see the final result, this page is not completely finished yet, There's still work beyond this, I will create an Admin control, to organize, activity, users, prevent abuse, resources, We'll be off track from this page, Admin control must be able to stand beyond this, When the user fills in the form to the mini web hosting table, I add, enter quary for admin table, useful for seeing what users are doing there.
Control Admin is directly involved in all user decisions, without Admin approval, users will not be able to fully enjoy all the features available.
Adm.
For Admin script code,
It is impossible for me to overlay because I also use script code.
if anyone wants to use it, you can contact me via email Mailing
Posting Komentar untuk "Make Hosting Mini Or Filemeneger With Security Twice s User Login Session"