 | Cost Effective Website and Network Monitoring IPCheck Server Monitor - Free Download |
WebProWorld Dev Forum |
Transforming static html site into dynamic one
Thanks to the increase of my website contents and products, I feel the need to change my current html static site into a database driven / dynamic one, and retouching the front end while at it.
CSS Container not doing its job
I am trying to get my container to wrap around all of my other divs. It doesn't seem to be doing that. Please help!
Screen Resolution Variables
I created this simple home page for him at an 800x600 resolution and thought all was well. Last night, my husband took a look at his site on his computer, on which the screen resolution is much larger. The site looked bad, as the designed page was on the left of the screen, and right third of the webpage on his computer was all blank. I would like to be able to code in the ability for my webpage to readjust to different screen resolutions.
|

Recent
Articles |
Using Cookies with PHP
Using cookies in PHP is a fairly easy task. As you know, you can store information in a cookie that can be used later on.
PHP:Form Series - Validators & Client-side Validation
Welcome to the first part of a new two-part series on the PHP:Form web component. In this part, I will give you an introduction to PHP:Form, its features, and why it is so useful. I will also discuss the inbuilt validators that PHP:Form supports.
The Power of Web Forms
Web forms allow site owners to gather information about their site visitors. Web forms can be as simple as an email newsletter subscription box, or as complex as an advanced ecommerce checkout page.
Macromedia Studio 8 Now Available
Macromedia has released Macromedia Studio 8, which combines the latest versions of Dreamweaver, Flash Professional...
How to test for the Javascript DOM?
Browsing the forums, development articles and other resource sites raised an interesting yet recurring question... |
|
|
10.13.05 Make A Search Engine For Your Website With PHP

By
Rory Canyon
This hands on PHP Programming article provides the knowledge necessary to design and develop a search engine for your website using PHP version 4.0 and above.
Making a search engine for your website with PHP is really easy and provides substantial functionality required by most of the small to medium websites. This article introduces every steps of the development, including both design and PHP programming. Basic computer skills and knowledge of HTML fundamentals are required. Ok, let's begin now.
Step 1: Design Search Box Under your website root, make a file called search.htm or anything you like and type in the following code:
<html>
<head>
<title>Web Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="search.php">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="36%">
<div align="center">
<input type="text" name="keyword">
Cost Effective Website and Network Monitoring
IPCheck Server Monitor - Free Download |
|
</div>
</td>
<td width="64%">
<input type="submit" name="Submit" value="Search">
</td>
</tr>
</table>
</form>
</body>
</html>
Step 2: Write search.php file. It is the core of your website search engine.
Under your website root, create a file called search.php or anything you like.
<?php
//get keywords
$keyword=trim($_POST["keyword"]);
//check if the keyword is empty
if($keyword==""){
echo"no keywords";
exit;
}
?>
With above, you can give hints to your users when they forget to enter a keyword. Now let's go through all the files or articles in your website.
Read the rest of the article.
About
the Author:
Rory Canyon is the founder of ScriptMenu.com. Having spent a number of years developing various medium to big web systems.
For more information visit http://www.scriptmenu.com
For more articles by Rory, visit scriptmenu articles |