|
Samay Live | |
|
EBooks » Web Tutorials
Learn how to write a simple PHP script which randomly rotates banners
or links on your page. This technique allows you to use any number of
area with a random content. Everything is written in a few lines of
code, no database, no file system.
In this tutorial I'm going to learn you ow to create
a simple rotation script.
It can be used for rotating banners or for your links page.
You don't need to have database access, it is just one php file.
PHP (Personal Home Page) is a tool that lets you create
dynamic web pages. PHP-enabled web pages are treated just like regular
HTML pages and you can create and edit them the same way you normally
create regular HTML pages.
Virtual Training Company's tutorial is taught by Joshua Mostafa and shows you how to get the most out of using PHP.
He begins with the basics and takes you smoothly from an absolute
beginner who knows nothing at all about PHP through all you need to
know to use PHP in creating your very ownincredible web page.

by enygma There are many
ways to go about authenticating a user for your site, some are more
secure than others. The one that will be discussed here is doing the
authentication from a MySQL database.
To begin with, we will help you create the database that we
will use to authenticate off of. Keep in mind, this is a very simple
tutorial and there are many other ways for you to do this. Obviously,
you'll need MySQL up and running on your machine and know a bit about
how to use it. If you don't know how to use MySQL yet, poke around on
the net and look for an introduction. I'm sure there is one somewhere.
On numerous occassions I have been asked how to serve images from a
non-web accessible directory. A lot of sites now a days sell content
and with the latest in php technologies like sessions and such, people
like to use session management and authentication on their websites,
without using .htaccess files in their directory. The easiest solution
to protecting images is by reading them from a directory outside the
document root on the webserver and serving it to another php script.
This helps in two ways. 1. People cannot link directly to your images via a URL. 2. You can
use another script to serve the image and make people login to view the
image as well you could use your own html design dynamically around the
image.
The goal of this tutorial, as you probably guessed by the title, is to
help you (yes you) create your very own news-driven web site. Now, this
doesn't have to be a system as glorified as something like Slashdot or
some of the other big news sites. All you may need is a simple system
for displaying news and for editing/adding news to the front page.
Well, look no further - I will show you how to create a nice simple
news-driven site using nothing but some pretty simple PHP and a MySQL
database. Now, this can be done without a database by using a text file
or something, but that's a bit more difficult. You'd have to write
something to parse out the info you needed and something to put it in
the right place when you were adding to it. For the sake of ease, we're
going to use a simple MySQL database.
|
| |
|