Useful notes & manuals
from the
world wide web
L:
P:
Register now!
<<<1>>>
Redirect only certain files with .htaccess | read more.. Unsorted
Solution from: http://codesnippets.joyent.com/tag/htaccess Created by tlw on 05.02.2023 @ 18:26

# (force addition of www depending on your cert) RewriteEngine On RewriteCond % !^www\. RewriteRule ^(.*)$ http://www.%/$1 [R=301,L]

Convert links into clickable hyperlinks | read more.. PHP
Solution from: http://www.totallyphp.co.uk/code/convert_links_into_clickable_hyperlinks.htm Created by tlw on 05.02.2023 @ 18:26

A function to change an email address or url into a clickable HTML hyperlink using eregi_replace.

Space in url and JavaScript trim and replace function | read more.. JavaScript
Solution from: http://codiebag.blogspot.com/2007/07/space-in-url-and-javascript-trim-and.html Created by tlw on 05.02.2023 @ 18:26

Replacing all spaces in url to %20

Submit a form using POST method through PHP | read more.. PHP
Solution from: unknown Created on 05.02.2023 @ 18:26

To submit a form using POST method through PHP, just add the data to be posted as header. This essentially saves one extra html page sent to the browser when user has to be redirected. Mostly found this technique useful for redirecting to payment gateways.

Reading anchor value from url | read more.. JavaScript
Solution from: http://bytes.com/topic/javascript/answers/535179-reading-url-anchor-refrence Created by tlw on 05.02.2023 @ 18:26

self.document.location.hash self.document.location.hash.substring(1)

HTML url Encoding Reference | read more.. HTML
Article from: http://www.w3schools.com/TAGS/ref_urlencode.asp Created on 05.02.2023 @ 18:26

url encoding converts characters into a format that can be safely transmitted over the Internet.

<<<1>>>
 
Created by THE LOST WEB © 2009-2012