Search This Blog

Monday, August 4, 2008

phalanger-on-xp [Phalanger]

phalanger-on-xp [Phalanger]
Step by step guide describes how to configure - PHP COMPILER in Windows XP with IIS 5.1 to run Phalanger applications.

Sunday, August 3, 2008

Using the Popup Object

Using the Popup Object
Using the Popup Object
The popup object enables you to create window objects that take full advantage of Dynamic HTML (DHTML). Click the Show Me button to see some of the exciting things that can be done using a popup.

This article first outlines the important features of the popup object. Several of these features and the basic syntax to use with the popup object will then be demonstrated. Alternatives to the popup will be explored in the last section.

Ajax tooltip

Ajax tooltipYou can download the entire script from this Zip file

Files included in the package:

ajax-tooltip.html = Main HTML file
js/ajax-tooltip.js = Main JS file for the script>
js/ajax.js = Ajax (Library from http://twilightuniverse.com/projects/sack)
js/ajax-dynamic-content.js = The dynamic content script from this site
css/ajax-tooltip.css = CSS for tooltip
css/ajax-tooltip-demo.css = CSS for the demo
images/arrow.gif = Arrow used in the tooltip
demo-pages = External files loaded by the tooltip

Four Exciting Ways to Use the Popup Object

Four Exciting Ways to Use the Popup Object
Context menus are accessed by clicking the right mouse button. Usually this displays a default context menu. Now you can create a customized context menu with the popup object.

Send mail example using the mail function

Send mail example using the mail function


The mail function in php is built-in unlike a lot of other languages such as ASP and is extremely easy to use. Below is a simple example (copy the below into a file with a php extension such as mailtest.php and upload it to your webspace):

NB: Please ensure you have php setup for your domain, you can do this using your hosting control panel under domain menu > website settings > ticking the php checkbox and clicking save

E-mail Validation with PHP

E-mail Validation with PHPWhen you register on at a website, the site normally checks if the e-mail address that you enter is in a valid format. This is done by using what called a Regular Expression. What we need to do is check if a string (eg $email) matches the regular expression:

Friday, August 1, 2008

Contact PHP Email Form Script w copy n paste free contact php script code

http://www.ibdhost.com
Contact PHP Email Form Script w copy n paste free contact php script code



Email ID validation script

if(!$visitormail == "" && (!strstr($visitormail,"@") !strstr($visitormail,"."))) {

echo "

Use Back - Enter valid e-mail

\n";

$badinput = "

Feedback was NOT submitted

\n";

echo $badinput;die ("Go back! ! ");

}

if(empty($visitor) empty($visitormail) empty($notes )) {

echo "

Use Back - fill in all fields

\n";

die ("Use back! ! ");

}



Wednesday, July 30, 2008

Free Domain Names - Free Domain Name with Web Hosting

Free Domain Names - Free Domain Name with Web Hosting

All best and cheapest reseller hosting website listing and ranking page

Saturday, July 19, 2008

content-wide advt