Location object, PHP Web Programming

Assignment Help:

This is part of a Window object & it is accessed by the window. location property. It has the complete URL of any given Window object, or, if none is denoted, of current Window object. Syntax: All its properties are strings representing distinct portions of the URL, generally which takes the given form:

<protocol>//<host>[:<port>]/<pathname>[<hash>][<search>]

You can build a Location object through simply assigning a URL to the location property of an object:

Property

Description

Hash

The hash property is a string starting with a hash (#), which specifies an anchor name in an HTTP URL

Host

The host property is a string including the hostname & port strings.

hostname

The hostname property denote the server name, subdomain & domain name (or IP address) of a URL.

Href

The href property is a string defining the entire URL, and of which all other link properties are substrings.

pathname

The pathname property is a string portion of a URL defining how a specific resource can be accessed.

Port

The port property is a string defining the communications port that the server uses.

protocol

The protocol property is the string at the beginning of a URL, up to and

 Including the first colon (:), that specifies the method of access to the URL.

Syntax:              window.location = "file:///C:/Projects"


Related Discussions:- Location object

We need help in website to buy as well as sell digital files, We need help ...

We need help In Website to Buy as well as Sell Digital Files I want a website created where users are able to buy and sell digital files. The users will have to all have usernam

How php statement is different from php script, How PHP statement is differ...

How PHP statement is different from PHP script? Difference between PHP script and PHP statement is that statements are set of instructions which tell PHP to perform an action.

Jhbjhkjhkjhkj, Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words...

Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words accepted#

Write a php application, Write a Php application that is used to manage a r...

Write a Php application that is used to manage a restaurant business. Assume menu items, categories (appetizer, dessert ...etc), prices and descriptions. The Restaurant has 10 tabl

Need help in magento search function and return postage, Magento Search Fun...

Magento Search Function and Return Postage Detailed Description Below 1 - We would like to install a new search function in Magento, the search doesn't work. Do you have any

We are presently in search of a web site developer, Website Developer We...

Website Developer We are presently in search of a web site developer. Job Description- We're looking for a Web Developer. Your responsibilities- a) Review business requ

Php developer that has preceding experience with wordpress, Php developer t...

Php developer that has preceding experience with Wordpress and its plugins. Aim- Building E-commerce solutions utilizing WordPress plugins for a company which is selling a docum

Resume parser, how can we parse resumes in different formats like doc,docx,...

how can we parse resumes in different formats like doc,docx,pdf and rtf ?

We want help in wordpress plugin development, We want help in WordPress Plu...

We want help in WordPress Plugin Development - Route Delivery Schedule We want a plugin that has the ability to display Delivery Schedules based on a location filter in a calend

I need help in woocommerce and wordpress extra developemnt, I need help in ...

I need help in woocommerce and wordpress extra developemnt needed on existing website I have an existing website which I want some extra development on. It's a pretty simple cus

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd