|
|
|
|
|
|
|
|
|
|
|
ALGORITHM OF UPLOADING
User can upload his data to his website. For this he opens file upload_to_search.htm or upload_to_search.php, and fills up the text fields: name, column1 to column4 and ten_of_htm. Then he clicks the button ‘Upload your file’ or simply the button ‘upload’. Javascript program in the file sends all this data to the file ‘add_video.php’ which is situated in the server with request to add this data. If the adding is successful, then the user can see the massage on his computer’s screen. The massage, maybe, is accompanied by showing the ‘id’ of this data assigned by the server, and the user can use this ‘id’ for searching.
ALGORITHM OF SEARCHING
When the user types first word, for example, ‘bai’ in the text field of the file ‘search.htm’ (See:
www.windeu.com/search_for_sale/search.htm) or in the text field ‘search’ of any .htm file, then his key is up in 200 millisecond, and in the file ‘search_results.php’ fines that this word coincides with the first word of 1 or more files .htm of websites in the world.
By using command ‘echo’ the file ‘search_results.php’ shows on the screen of the user’s browser all the names of all the files .htm of websites in the world with this word, for example:
'love story'
'love songs'
'love can not be bought'
When the user continues and types the second word, for example, ‘ca’ in the text field of the file ‘search.htm’ (See:
www.windeu.com/search_for_sale/search.htm) or in the text field ‘search’ of any .htm file, then his key is up in 200 millisecond, and in the file ‘search_results.php’ fines that this word coincides with the second word of 1 or more files .htm of websites in the world.
By using command ‘echo’ the file ‘search_results.php’ shows on the screen of the user’s browser all the names of all the files .htm of websites in the world with this word, for example:
'love story'.
We use
the following compilers
to create websites programs: Microsoft (MS) Front
pages 5.0, Microsoft Front pages 2012 and Mozilla Firefox of the latest version. You can download - from
http:// www.microsoft.com/downloads. Particularly 5.0 Microsoft Front pages you can install from the CD Microsoft
Windows XP Professional Service Pack 2 that contained MS Office10. Puzzles with Mozilla Firefox You can download - from http://www.firefox.com/downloads.
Advantages: these compilers can find errors in any line, when you compose wrong, i.e. grammatical errors - or any syntax errors
yet.
|
The website programming tricks use Javascript or PHP
and jquery. There are many websites on the Internet describing how to use PHP and jquery
or Javascript for full package with specific examples of programs:
1/ log in; 2/ registration; 3/ count the number of visitors;
4/ search; 5/ number of other features such as viewer comments - etc. To calculate the number of viewers - visitors,
as well as number of users logged in, registered, searched, commented, etc. programmers must perform the following steps:
write
a code in the language
html (htm); further in the Internet server
of the provider in your "acounter's cabinet", where you registered, go to the database MySQL 5.0 or newer versions, and create tables with the names 'num_of_visitors', 'signin', 'registration', 'search' 'comment' etc.
Then you have to programme manually the file php - to connect your .htm files
to the database.
|
Embed advertisements in
the other websites. The .htm pages always have two columns or three columns. If you
had found that a certain web page, for
example. www.yahoo.com has a lot of people watching, you can deal with the owner of this website to peddle the
advertisements.
In this case you must use the embed code to "insert" your advertisement. For example
www.windeu.com would embed code that plugs into the home page website
www.mail.ru as follows:
<!-- This is a code for www.windeu.com to embed at another website -->
<table width="100%"><tbody><tr><td class="w-banner" id="banner-placeholder">
<div id="slot_4499" class="banner ">
<img src="http://www.windeu.com/windeu.files/d14723032.gif" style="width:0;height:0;position:absolute;"
alt="">
<div class="rb_banner"><a href="https://r.mail.ru/n187798151?&rnd=920342760"
target="_blank">
<img src="%20http:/www.windeu.com/%20windeu.files/d14723032.gif%20" alt=""
title="" width="300" border="0" height="300">
</a></div></div></td></tr></tbody></table>
<!-- /This is a code for www.windeu.com to embed at another website -->
You can also use the embed code with the tag
to plug into your page .htm file of any extensions: .jpg, .png, .bmp,. htm etc., even video files
with extension .swf. For example, to plug in video file
www.windeu.com/nuoiong.htm of
the page "Beekeeping in Vietnam"
from www.youtube.come FwXUUATzJoo code, you can use the following code:
<object width="100%" height="240">
<param name="movie" value="http://www.youtube.com/v/
FwXUUATzJoo&hl=en_US&fs=1&&hl=
en_US&fs=1&">
<param name="allowFullScreen" value="true">
<param name="allowscriptaccess" value="always">
<embed src="http://www.youtube.com/v/FwXUUATzJoo&hl=
en_US&fs=1&&hl=en_US&fs=1&"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true"
width="100%" height="240"> </object>
|
Full package for the program to calculate
the number of viewers includes the following files: num_of_visitors.htm, num_of_visitors.php and the database
with the table name 'num_of_visitors'. File describe_search.txt for describing the database is in the
num_of_visitors.zip. The program to calculate the number of viewers works as follows: when the viewer clicks mouse
at the website URL address, for example, www.windeu.com in his browser, the program begins. On the browser
screen where runs num_of_visitors.htm file will appear 2 strings,
for example, "The viewer is here.", "Num of visitors:
10000".
Download num_of_visitors.zip here:
|
A perfect way for the program to
calculate the number of signed in includes the following files: signin.htm, signin.php and and the database
with the table name 'register'. File describe_search.txt for describing the database is in the signin.zip.
The program to calculate the number of people logged in works as follows: when the viewer clicks mouse
at the button - the button "Submit" in his file signin.htm, the program begins.
From register.htm the user asks the file register.php by the method 'form'. Now, in its turn, the page signin.php queries the
table 'register' in the database. On the viewer's browser screen where runs the signin.htm file will appear the words "You had
signed in." if the viewer has previously registered. Conversely on the browser screen will appear the words "Failed to sign in."
if
the viewer has not previously registered.
You can download signin.zip here:
|
The clever and ingenious
program
for registration of users is given in editing and composing the files
Confirmemail.php and
4.php. The process of calculated number of
subscribers includes the following files: 2.htm,
Confirmemail.php,
4.php and the database table with the name 'register'.
File describe_search.txt for describing the database is in the register.zip. The program to calculate the number of
viewers logged up works as follows: when the viewer clicks mouse at the button "Send" in his file
2.htm, the
program begins. From 2.htm a name and email of the viewer are sending to the file
Confirmemail.php by executing the 'form'. Now, in its turn, the page
Confirmemail.php sends email to the viewer's mail box. If the viewer, in fact,
has his
mail box, he
must confirm this by sending an answer to the given website to the file 4.php
that queries the table 'register' in the database. On the viewer's browser screen where runs
the registering
file 2.htm will
appear the words "This name existed. Failed to register." if
the viewer has previously registered. Conversely on the browser
screen will appear the words "You had registered." if
the viewer has not previously registered.
You can download register.zip here:
|
Website app-s developing
and hosting:
|
|
|
|
|
|