Applied regular expressions in PHP: Provisioning the Linksys PAP2T


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Applied regular expressions in PHP: Provisioning the Linksys PAP2T
# 1  
Old 10-24-2008
Applied regular expressions in PHP: Provisioning the Linksys PAP2T

10-24-2008 01:00 AM
The Linksys PAP2T is an analog telephone adapter (ATA) widely used in VoIP applications to connect an analog phone to a digital IP network. Some PAP2T units are locked and dedicated to a particular VoIP service. Others are capable of using a process called provisioning to ensure that important parameters remain fixed despite local attempts to change them. By employing open source tools such as PHP and MySQL, you can manage these latter kinds of units while they are out in the field.



Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Regular Expressions

Hi Ilove unix and alwyas trying to to learn unix,but i am weak in using regular expressions.can you please give me a littel brief discription that how can i understand them and how to use .your response could lead a great hand in my unix love. (1 Reply)
Discussion started by: manoj attri
1 Replies

2. Shell Programming and Scripting

Help with regular expressions

I have a file that I'm trying to find all the cases of phone number extensions and deleting them. So input file looks like: abc x93825 def 13234 x52673 hello output looks like: abc def 13234 hello Basically delete lines that have 5 numbers following "x". I tried: x\(4) but it... (7 Replies)
Discussion started by: pxalpine
7 Replies

3. Shell Programming and Scripting

Regular expressions help

need a regex that matches when a number has a zero (0) at the end of it so like 10 20 120 30 330 1000 and so on (6 Replies)
Discussion started by: linuxkid
6 Replies

4. Shell Programming and Scripting

Regular Expressions

what elements does " /^/ " match? I did the test which indicates that it matches single lowercase character like 'a','b' etc. and '1','2' etc. But I really confused with that. Because, "/^abc/" matches strings like "abcedf" or "abcddddee". So, what does caret ^ really mean? Any response... (2 Replies)
Discussion started by: DavidHe
2 Replies

5. Shell Programming and Scripting

Regular Expressions

#!/usr/bin/perl $word = "one last challenge"; if ( $word =~ /^(\w+).*\s(\w+)$/ ) { print "$1"; print "\n"; print "$2"; } The output shows that "$1" is with result one and "$2" is with result challenge. I am confused about how this pattern match expression works step by step. I... (8 Replies)
Discussion started by: DavidHe
8 Replies

6. UNIX for Advanced & Expert Users

regular expressions

I have a flat file with the following drug names Nutropin AQ 20mg PEN Cart 2ml Norditropin Cart 15mg/1.5ml I have to extract digits that are before mg i.e 20 and 15 ; how to do this using regular expressions Thanks ram (1 Reply)
Discussion started by: ramky79
1 Replies

7. UNIX for Advanced & Expert Users

Regular Expressions

Hi, below is a piece of code written by my predecessor at work. I'm kind of a newbie and am trying to figure out all the regular expressions in this piece of code. It is really a tough time for me to figure out all the regular expressions. Please shed some light on the regular expressions... (3 Replies)
Discussion started by: ramky79
3 Replies

8. UNIX for Dummies Questions & Answers

regular expressions

Hi Gurus, I need help with regular expressions. I want to create a regular expression which will take only alpha-numeric characters for 7 characters long and will throw out an error if longer than that. i tried various combinations but couldn't get it, please help me how to get it guys. ... (2 Replies)
Discussion started by: ragha81
2 Replies

9. Shell Programming and Scripting

Help with regular expressions

I have following content in the file CancelPolicyMultiLingual3=U|PC3|EN RestaurantInfoCode1=U|restID1|1 ..... I am trying to use following matching extression \|(+) to get this PC3|EN restID1|1 Obviously it does not work. Any ideas? (13 Replies)
Discussion started by: arushunter
13 Replies

10. Shell Programming and Scripting

Regular Expressions

I'm trying to parse RichText to XML. I want to be able to capture everything between the '/par' tag in the RTF but not include the tag itself. So far all I have is this, '.*?\\par' but it leaves '\par' at the end of it. Any suggestions? (1 Reply)
Discussion started by: AresMedia
1 Replies
Login or Register to Ask a Question
xclock(1X)																xclock(1X)

NAME
xclock - analog / digital clock for X SYNOPSIS
xclock [-help] [-analog] [-digital] [-chime] [-hd color] [-hl color] [-update seconds] [-padding number] OPTIONS
xclock accepts all of the standard X Toolkit command line options along with the additional options listed below: This option indicates that a brief summary of the allowed options should be printed on the standard error. This option indicates that a conventional 12 hour clock face with tick marks and hands should be used. This is the default. This option indicates that a 24 hour digital clock should be used. This option indicates that the clock should chime once on the half hour and twice on the hour. This option specifies the color of the hands on an analog clock. The default is black. This option specifies the color of the edges of the hands on an analog clock, and is only useful on color displays. The default is black. This option specifies the frequency in seconds at which xclock should update its display. If the clock is obscured and then exposed, it will be updated immediately. A value of 30 seconds or less will enable a second hand on an analog clock. The default is 60 seconds. This option specifies the width in pixels of the padding between the window border and clock text or picture. The default is 10 on a digital clock and 8 on an analog clock. DESCRIPTION
The xclock program displays the time in analog or digital form. The time is continuously updated at a frequency which may be specified by the user. X DEFAULTS
This program uses the Clock widget. It understands all of the core resource names and classes as well as: Specifies the width of the clock. The default for analog clocks is 164 pixels; the default for digital clocks is whatever is needed to hold the clock when displayed in the chosen font. Specifies the height of the clock. The default for analog clocks is 164 pixels; the default for digital clocks is whatever is needed to hold the clock when displayed in the chosen font. Specifies the frequency in seconds at which the time should be redisplayed. Specifies the color for the tic marks. The default depends on whether reverseVideo is specified. If reverseVideo is speci- fied the default is lwhite, otherwise the default is black. Specifies the color of the insides of the clock's hands. The default depends on whether reverseVideo is specified. If reverseVideo is specified the default is lwhite, otherwise the default is black. Specifies the color used to highlight the clock's hands. The default depends on whether reverseVideo is specified. If reverseVideo is specified the default is lwhite, otherwise the default is black. Specifies whether or not an analog clock should be used instead of a digital one. The default is True. Specifies whether or not a bell should be rung on the hour and half hour. Specifies the amount of internal padding in pixels to be used. The default is 8. Specifies the font to be used for the digital clock. Note that variable width fonts currently will not always display correctly. WIDGETS
In order to specify resources, it is useful to know the hierarchy of the widgets which compose xclock. In the notation below, indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name. XClock xclock Clock clock ENVIRONMENT
to get the default host and display number. to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. FILES
specifies required resources BUGS
xclock believes the system clock. When in digital mode, the string should be centered automatically. SEE ALSO
X(1X), xrdb(1X), time(3) AUTHORS
Tony Della Fera (MIT-Athena, DEC) Dave Mankins (MIT-Athena, BBN) Ed Moy (UC Berkeley) xclock(1X)