background preloader

Script languages

Facebook Twitter

Perl Regular Expressions. Troubleshooters.Com and Code Corner Present Copyright (C) 1998-2001 by Steve Litt Without regular expressions, Perl would be a fast development environment. Probably a little faster than VB for console apps. With the addition of regular expressions, Perl exceeds other RAD environments five to twenty-fold in the hands of an experienced practitioner, on console apps whose problem domains include parsing (and that's a heck of a lot of them). Regular expressions is a HUGE area of knowledge, bordering on an art. Rather than regurgitate the contents of the Perl documentation or the plethora of Perl books at your local bookstore, this page will attempt to give you the 10% of regular expressions you'll use 90% of the time.

Note that for this reason we assume all strings to be single-line strings containing no newline chars. Simple String Comparisons The most basic string comparison is $string =~ m/sought_text/; $string =~ m/^sought_text/; Similarly, the $ operator indicates "end of string". . . Ississ. Www.pement.org/awk/awk1line.txt. How to save data from a PHP form - computer help forum.

Hi Everybody, I want to use a php form to save the data inputted to it ,within the hosting server as simple text file. As most of the hosting services don't provide mailing PHP and even if so then the mail address must of the of the same domain for which the hosting server is being used. So i wondering is there any way to save the information instead of sending via email.

Kindly Please help me. The Form Code " Name: Your Email: <input type="text" name="email"> Your Message: <textarea name="message" rows="5" cols="30"></textarea> The PHP code for the form $to = "webmaster@XXXXXXXXXX.com"; $subject = "Results from your Request Info form";$headers = "From: Form Mailer";$forward = 1;$location = " $date = date ("l, F jS, Y"); $time = date ("h:i A"); $msg = "Below is the result of your feedback form. Above form and PHP script work fine for servers providing an email PHP script. Thanks..... 15 Exceptional JQuery Resources And Tutorials. By Karthik Viswanathan Since it first began, jQuery has had a profound effect on the web design world. Its famous slogan, “write less, do more”, exemplifies its true nature and ability. Throughout the past year, hundreds of thousands of jQuery tutorials and resources have been released.

They range from a simple HTML change to dynamic sliders and charts. Below we present 15 exceptional jQuery resources and tutorials which we have hand-picked from the wide range of articles. These resources not only help you accomplish amazing things, but they do it with style and elegance. Follow along as we count down 15 of the best jQuery resources out there. 1. This is a way to emphasize thumbnails which the users hover over. 2. A comprehensive tutorial on how to create an image scroller with jQuery, AJAX, and CSS. 3. A calendar with a mind-blowing user interface and animation effects. 4. This resource lists many sites which use jQuery in innovative ways. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. jQuery Tutorials for Designers. This article contains 10 visual tutorials intended for web designers and newbies on how to apply Javascript effects with jQuery. In case you don't know about jQuery, it is a "write less, do more" Javascript library.

It has many Ajax and Javascript features that allow you to enhance user experience and semantic coding. Since these tutorials are focused on jQuery, I'm not going to get into the details of the CSS. Note: the version used in this article is jQuery 1.2.3 View jQuery Demos Download Demo ZIP How jQuery works? First you need to download a copy of jQuery and insert it in your html page (preferably within the <head> tag). How to get the element? Writing jQuery function is relatively easy (thanks to the wonderful documentation). 1. Let's start by doing a simple slide panel. When an elment with class="btn-slide" is clicked, it will slideToggle (up/down) the <div id="panel"> element and then toggle a CSS class="active" to the <a class="btn-slide"> element. 2. 4a. 4b. 5a. 5b. 6. 7. 8. 9.

Jquery. JQuery. Using Deferreds in jQuery 1.5 | Eric Hynds. Deferreds, new in jQuery 1.5, decouple logic dependent on the outcome of a task from the task itself. They’re nothing new to the JavaScript scene; Mochikit and Dojo have implemented them for some time, but with Julian Aubourg's AJAX rewrite landing in 1.5, deferreds in jQuery was the logical next step. With deferreds, multiple callbacks can be bound to a task's outcome, and any of these callbacks can be bound even after the task is complete. The task in question may be asynchronous, but not necessarily. What's more, deferreds are now built-into $.ajax() so you'll get them automatically. Handlers can now be bound like this: var req = $.get('foo.htm'); req.done(function( response ) { }); req.fail(function() { }); doSomethingAwesome(); req.done(function( response ) { }); We are no longer limited to one success, error, or complete handler anymore, and instead of simple callback functions, these hooks are now self-managed first-in, first-out callback queues.

View this example on jsFiddle. YoxView - jQuery image viewer plugin. JavaScript. Intro. Javascript--what the heck is it? Is it a really difficult programming language that casual web designers should be afraid of? What is it used for? Hopefully we'll be able to answer these questions for you and more in this tutorial JavaScript has been around for several years now, in many different flavors. The main benefit of Javascript is to add additional interaction between the website and its visitors with just a little extra work by the web developer.

By definition, JavaScript is a client-side scripting language. There are many uses (and abuses!) Clocks Mouse Trailers (an animation that follows your mouse when you surf a site) Drop Down Menus Alert Messages Popup Windows HTML Form Data Validation Before you begin this tutorial, you should have basic knowledge of HTML. This tutorial will cover the basics of JavaScript, from where to place your JavaScript all the way to making your own JavaScript functions. Js. Tcl/Tk.