Skip to main content

Posts

Showing posts with the label html

Why autosuggest field in coldfusion doesn't work with Firefox

I have faced this problem and it took me awhile to figure out what was the problem, while the same code worked find on Explorer but didn't on Firefox. It looks that Firefox is sensitive to the structure of how you write your code, so you must well format your form tags and other html tags. In my case I included the cfform inside the html table while I shouldn't do this I should start by the cfform then the table , please see the code below: <cfform format="html" method="post" action=""> <table width="50%" align="center" border="0"> <tr><td class="text3">Member: <cfinput name="username" type="text" autosuggest="#list#" label="Username:" size="30"/></td> <td class="text3"><cfinput name="submit" type="submit" value="Show User"/></td></tr> </table> </cfform...

How to redirect web URL in PHP, Coldfusion and HTML

web page redirection is very common in web development, so for instance if some tried to access a paged without a valid authenticated session he will be redirected to a login page. Also if you move your site from a place to another you need to redirect traffic that goes to the old one to move to the new one. How to redirect to another URL? In coldfusion: In coldfusion you have to use the following tag, please change the url in the cfset below to the URL you want to redirect the traffic to: <cfset url="http://blog.abusalah.info"> <cflocation url="#url#"> In PHP see the code below, please note to change the URL to the url you want to redirect to: <?php $URL="http://blog.abusalah.info"; header("Location: $URL"); ?> In both Coldfusion and PHP when the redirection code is found the page will stop processing and will redirect the traffic. So if the tags are on the top of the page the anyother code in the page will be ignored, but if t...

The Semantic Web

Semantic Web aims to create a meaning and define inter-relationship for information available on the web In the early stages of the World Wide Web (web) it was necessary to develop standards to view web content (HTML language) and to create communication channels (N-Tier applications, email, ftp, etc.). As the web started to be the world’s largest knowledge base, accessible world wide, it became important to develop tools to transfer knowledge between cultures. However, it is still not possible for applications and agents to interoperate with other applications and agents without having a predefined, human created common framework of the meaning of the information being transferred on both sides. Semantic Web (SW) alleviates this problem by providing a common framework that allows data to be shared and reused across application, enterprise, and community boundaries [W3C Semantic Web, 2019]. A clear example on SW application is schema.org. Google, Bing, Yahoo use schema...