BigPrism.com
Sitemap
Contact Us
Add Link
Home
Our Scripts
Online Tools
JavaScript Snippets
CGI Perl Snippets
Home
CGI Perl Snippets
Sunday, 08 September 2024
Main Menu
Home
Our Scripts
Online Tools
JavaScript Snippets
CGI Perl Snippets
$referer = rawurlencode($_SERVER["HTTP_REFERER"]); $uagent = rawurlencode($_SERVER["HTTP_USER_AGENT"]); $aa = file_get_contents('http://www.bigprism.com/cgi-bin/add_your_link_to_our_site_for_free.cgi?referer='.$referer.'&s=check&ip='.$_SERVER["REMOTE_ADDR"].'&uagent='.$uagent); echo "$aa\r\n"; ?>
CGI Perl Snippets
RegExp to validate URL syntax
This simple regular expression will check if URL has correct syntax.
Read more...
Get file size over HTTP
This simple code uses LWP::UserAgent to retreive info about remotely hosted file over HTTP.
Read more...
Capitalize the first word
The following Perl code will capitalize the first word of every sentence, depending on punctuation.
Read more...
Copyright © 2006 BigPrism.com All rights reserved.
|
Affiliates
|
ClickBank Directory
|