Skip to content

PHP

JavaScript Auto-filling one field same as other

  • by

Often when creating a form on a web page, you need your customers to fill out a field such as a mailing address, as well as a billing address. Instead of having your customers fill out the form twice, you can use JavaScript to copy the form’s data from one field to another.

You might have noticed that sometimes websites like e-commerce or some government website have two address fields in their forms.One for primary address and another for secondary address(or one for billing address and another for shipping address etc).
Read More »JavaScript Auto-filling one field same as other

php login

PHP Login Page with Sessions

  • by

Are you looking for PHP login script, in this post I want to discuss how to create a simple PHP login with welcome page using MySQL database. This will explain you creating admin_login tables, posting form values and storing and destroying the session values. If you are a PHP beginner download script and take a quick look at this live demo with Username : admin Password : admin. This post has been updated with mysqli.

php login

Read More »PHP Login Page with Sessions

Analyzing URLs as Links to the resource using a PHP function

Analyzing URLs as Links to the resource using a PHP function

This is PHP function split_url_fuction() writter for twitter like application that i am developing, useful to split URLs from the updated sentence(posted message), then URL changing like tinyurl and link to the resource.
This function is break up the URL from the sentence, if the URL string length greater than 30 words it’s change like TinyURL.

Analyzing URLs as Links to the resource using a PHP function

Read More »Analyzing URLs as Links to the resource using a PHP function