Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Freelancers Forum Messages on Thursday May 31st 2007

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 19:51

>Am I right these snippets are looking for either >"abc" or "abc.de" (where "abc" is one or more digits)? Yer thats right. How would you do it with just plain javascript? I was thinking about loopin...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 19:34

On Thu, 2007-05-31 at 18:32 +0000, Dom Latter wrote: > On Thursday 31 May 2007 6:09 pm, Graham Stark wrote: > > > Try: > > > > ^-?\d+(\.\d{2})?$ > > Somehow I suspect a simple bit of Javascript woul...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 19:22

On Thursday 31 May 2007 6:09 pm, Graham Stark wrote: > Try: > > ^-?\d+(\.\d{2})?$ Somehow I suspect a simple bit of Javascript would be not just far more=20 maintainable, but actually more efficient...

RE: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 18:43

> -----Original Message----- > From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of James > Herrington > Sent: 31 May 2007 18:13 > To: FN-FORUM / [EMAIL REMOVED] > Subject: Re: FN-FORUM: Currency Valida...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 18:02

Thanks Phil, I don't know why i had that in there, today is the first time i've used regular expressions at all so i was bound to make some mistakes. I got the following to work now /^-?\d+(\.\d{2...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 17:59

On Thu, 2007-05-31 at 16:50 +0000, James Herrington wrote: > > /^-?\\d+(\\.\\d{0,2})?$/ Try: ^-?\d+(\.\d{2})?$ (so the whole .xx block is optional). Graham > > > > Perhaps? Makes the decimal an...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 17:41

> /^-?\\d+(\\.\\d{0,2})?$/ > > Perhaps? Makes the decimal and the digits after it optional as a block. Sorry, that doesnt work, the last working expression i have is this /^\d+\.\d{2}$/ Thanks f...

RE: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 17:39

> -----Original Message----- > From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of James > Herrington > Sent: 31 May 2007 16:57 > To: FN-FORUM / [EMAIL REMOVED] > Subject: FN-FORUM: Currency Validation...

RE: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 17:06

James Herrington wrote: > Hi, > > I'm trying to use a regular expression to validate currency in > javascript. > So far i've got > > var isPrice = /^-?\\d+\\.\\d{0,2}?$/; > > but when i check a nu...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 17:06

> /^-?\\d+(\\.|)\\d{0,2}?$/; > > I think... > > My regex is a bit rusty. nope, that doesnt appear to have worked, thanks for trying though. James...

Re: FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 16:51

/^-?\\d+(\\.|)\\d{0,2}?$/; I think... My regex is a bit rusty. Graham James Herrington wrote: > Hi, > > I'm trying to use a regular expression to validate currency in javascript. > So far i've g...

FN-FORUM: Currency Validation in Javascript

date posted 31st May 2007 16:47

Hi, I'm trying to use a regular expression to validate currency in javascript. So far i've got var isPrice = /^-?\\d+\\.\\d{0,2}?$/; but when i check a number using this if there isn't a decimal p...

Re: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 12:23

> I don't believe there's anything about PHP formmail programs that makes > them intrinsically more secure than ones written in any other language. > I'm pretty sure it's all to do with _how_ the prog...

Re: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 12:13

chris hill wrote: > > Marc, > > I see from your code you are using formmail.pl, I would strongly > advise against this. formmail.pl has been proven to have many many > vulnerabilities (google for i...

RE: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 12:02

Great way to either get lots of spam or possibly open your formmail script to spammers (I do hope there is some kind of security on that formmail.pl). Ideally you should ALWAYS hard code the recipien...

Re: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 11:59

Marc, I see from your code you are using formmail.pl, I would strongly advise against this. formmail.pl has been proven to have many many vulnerabilities (google for it) mostly allowing people to se...

RE: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 11:57

Hi Marc, > I created a website I created last year, > 'www.peelcreative.co.uk', I have been obtaining work > generally through word of mouth since then but am about to > send out some publicity wi...

Re: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 11:52

I just noticed from your site that the form is going to [EMAIL REMOVED] If this email address doesn't exist then you won't receive it and they'll all bounce. You need to change it to [EMAIL REMOVED]...

Re: FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 11:48

Hi Marc, does the form have this piece of code in the HTML?...

FN-FORUM: Dreamweaver - Problems with form and email address

date posted 31st May 2007 11:38

Hi, I created a website I created last year, 'www.peelcreative.co.uk', I have been obtaining work generally through word of mouth since then but am about to send out some publicity with the website...



Messages by Day
May 31st 2007
May 30th 2007
May 29th 2007
May 28th 2007
May 27th 2007
May 26th 2007
May 25th 2007
May 24th 2007
May 23rd 2007
May 22nd 2007
May 21st 2007
May 20th 2007
May 19th 2007
May 18th 2007
May 17th 2007
May 16th 2007
May 15th 2007
May 14th 2007
May 13th 2007
May 12th 2007
May 11th 2007
May 10th 2007
May 9th 2007
May 8th 2007
May 7th 2007
May 6th 2007
May 5th 2007
May 4th 2007
May 3rd 2007
May 2nd 2007
May 1st 2007


Messages by Month
December 2007
December 2007
October 2007
October 2007
August 2007
July 2007
July 2007
May 2007
May 2007
March 2007
March 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000