27
2010
Visual Basic Script Tutorial – else/if
The idea of elseif is to make an if statement within another if statement. Lets see what i mean : <script type=”text/vbscript”> arthackers.net arthackers= 60 If arthackers> 70 Then document.write(“Wear a T-Shirt!”) ElseIf arthackers> 60 Then document.write(“Wear please!”) ElseIf arthackers> 50 Then document.write(“O god! Wear a tshirt!”) Else document.write(“Take a coat!”) End If </script>
27
2010
All Windows cmd commands for beginners
ADDUSERS Add or list users to/from a CSV file ARP Address Resolution Protocol ASSOC Change file extension associations• ASSOCIAT One step file association ATTRIB Change file attributes b BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS Change file permissions CALL Call one batch program from another• CD Change Directory – move to a specific Folder• CHANGE Change Terminal Server Session properties CHKDSK Check Disk – check and repair disk [...]
27
2010
Objects in Python
Python functions have attributes, and that those attributes are available at runtime. A function, like everything else in Python, is an object.Once you import a module, you can reference any of its public functions, classes, or attributes. Modules can do this to access functionality in other modules, and you can do it in the IDE too. This is an important concept, and you’ll talk more about it later.Everything in Python is an object, and almost [...]
27
2010
Shorten Text or link / URL in PHP – script
Sometimes, when you want to display the URL on a web page, it can be so long it looks untidy and messes up your layout. Of course, you can come up with suitable text for a hyperlink instead of showing the URL, but what about when a user posts a web address to your web site? Here’s a little script that, can be integrated directly into your site. function shorten_link($link) { preg_match(“#<a(.*?)>(.*?)</a>#”,$link,$m); for($i = 1;$i<sizeof($m)-1;$i++) [...]
27
2010
Caps Control with PHP
When dealing with user input, you will often come across people who keep their Caps Lock key permanently enabled, which can make reading what they write difficult on the eye. It also looks like they are shouting. To solve the problem, we can writhe a simple PHP script which with different modes for case manipulation. function Convert($text,$mode=”") { if($mode == “ac”) return strtoupper($text); else if($mode == “al”) return strtolower($text); else if($mode == “cew”) { $text [...]
27
2010
Wrap Text in PHP
You can make text wrap in a browser in various ways, including using tables, iframes, and textareas, but sometimes you need absolute control over the wrapping in terms of the number of characters at which the wrap should occur, regardless of whether the user resizes their browser window. Using this plug-in, it’s easy to pass a string of text and have it wrapped using <br /> tags. What’s more it can also indent the start [...]
27
2010
Subroutines in Perl
If you have written programs longer than one hundred lines or so, I don’t need to tell you how important it is to organize programs into subroutines. But for some reason, many Perl programmers seem to be allergic to them.I tend to use a lot of subroutines. In fact, when I start a new project, I usually write a subroutine with the same name as the program, and start the program by invoking it. sub [...]
27
2010
Errors in Perl
What could possibly go wrong? Only three things: Compile-time error: Perl compiles the entire program before it starts exe-cution. If there is a syntax error anywhere in the program, the compiler prints an error message and stops without attempting to run the program. Run-time error: If the program compiles successfully, it will start executing,but if anything goes wrong during execution, the run-time system prints an error message and stops the program. Semantic error: In some [...]
27
2010
How to execute Perl script
There are several ways to execute a Perl program, but the most common is to put a “shebang” line at the beginning that tells the shell where to find the program called perl that compiles and executes Perl programs. #!/usr/bin/perl print @ARGV; The UNIX utility called echo takes any number of command-line arguments and prints them. Here is a perl program that does almost the same thing: print @ARGV; The program contains one print statement. [...]
Facebook Fans
Share Me With Google Plus!
Popular Posts
Social Bookmarking sites list 2012 - New and fresh bookmarking sites
93 |
Bulgarian proxy or how to open arenabg and zamunda
65 |
+ 150 New Free Directory Sites List 2012 - Sorted by Page Rank
22 |
Scrapebox crack free download ?
19 |
Great List With Google Plus / FB likes/ tweets exchange sites - Hot Topic
16 |
How to make World Of Warcraft Cataclysm Server
10 |
The Best Bulgarian Torrents - Listing
9 |
500 Free Directory List 2011 !
9 |
Free RSS Directory List Where To Submit Your Site
9 |
Guest Blogs List and Useful Information
8 |
Recent Comments
- punjab singh on New Social Bookmarking Sites List PR5-PR8 Only -2012
- Georgi on New Article Directory Sites List – May 2012 + 200 quality sites PR6-PR0
- Djesur on Bulgarian proxy or how to open arenabg and zamunda
- Djesur on Bulgarian proxy or how to open arenabg and zamunda
- Djesur on Bulgarian proxy or how to open arenabg and zamunda







