SmartFeedSmartFeed          



WELCOME - YOU ARE CURRENTLY VIEWING 419EATER AS A GUEST

By joining our community you will have the ability to post topics and access other forums reserved for members. Registration is quick, simple and absolutely free. Join our community today by clicking here.

ScamWarners.com - Internet Anti-Fraud Center - now open!

These forums are READ ONLY. Click here to register on our new forums - aff.419eater.com


 program error

View next topic
View previous topic
 
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
D11
Elite Baiter


Joined: 02 Jul 2006
Posts: 1702


PostPosted: Mon Mar 30, 2009 12:05 pm Reply with quoteBack to top

This is driving me nuts.

Code:
if (!preg_match('!^[^a-zA-Z0-9]+$!', $username) == 1 ) {
die('Found something other then a number or letter.');
}


Quote:
You asked for the name to be checked = dsagae64£Q%\"£
it is fine


Code:
if (preg_match('!^[^a-zA-Z0-9]+$!', $username) == 1 ) {
die('Found something other then a number or letter.');
}


Quote:
You asked for the name to be checked = dsagae64£Q%\"£
it is fine


Why isnt it doing what its supposed to and checking the string - the first one should trip out at the £ ( if not a-z or 0-9 ) or the second one should trip out at the d

one says if NOT got a-z0-9 the other says if only a-z0-9

But it has to be something im doing wrong, but i cant see where. It should tell me that the name dsagae64£Q%\"£ is invalid

_________________
star
1x United Kingdom 0x
Click here to support 419Eater.com

I make software that drives lads crazy. Thats my revenge on lads. (it all helps)

this transaction is 100 percent risk/hitch free - bobo

why no pay me - abum bello
because the cops will know it was you - me
ok this is good - abum bello
View user's profileSend private message
Slightlyoutofit
Baiting Guru


Joined: 13 Feb 2007
Posts: 14310
Location: Foraging for Nuts.


PostPosted: Mon Mar 30, 2009 1:35 pm Reply with quoteBack to top

^^ Yeah.

That would piss me off too.

_________________
Star pony pony pony Nurse Nastys Audi TT Purple Flower Whip
Safari Jolly Roger Mortar Closed lad accounts Cellphone United Kingdom

God will see you true for all this you have done to me you bastard. - Collins Kalu
MAY THE HAND THAT TYPE ON KEYBORD BECOME STRICKEN AND TRANSMIT VIRUS TO YOU ENTIRE BODY. - Dr Linda Akeem
oh what a mess its time cabbage punks like u will be expose for trully what they are. - David Cole
View user's profileSend private messageYahoo MessengerSkype Name
Nurse Nasty
Baiting Guru


Joined: 31 Aug 2005
Posts: 7251
Location: Australia, where a dingo stole my eski


PostPosted: Mon Mar 30, 2009 1:50 pm Reply with quoteBack to top

Yep. I see the problem. You forgot to add:

Code:
345t20ny8ywonyt89owqy49tyt9q3y4tnyq089ty4 00 0 00 0011 01010101010 1 1010 1 010101 10 101 01 01)(*&&^ %$*&(^$%%&


That'll fix up that widget wonky thingo. Sorry to get all technical on you all.

_________________
[Support 419Eater] l [Get Premium!] l [Helpful stuff] l [ScamWarners]

vv Nasty Predicaments vv
Porno-Lad
Musa Crocodile
Comic Lads


Starstarstarstarstar Easter Egg 2012
GoatPurple FlowerMc FryGolden PithGolden Pith
View user's profileSend private messageSkype Name
Casual Occurrence
Master of Master Baiters


Joined: 25 Dec 2007
Posts: 529
Location: Around here....somewhere.....


PostPosted: Mon Mar 30, 2009 2:32 pm Reply with quoteBack to top

Not sure what language you're using there, but in java and similar you would need commas to separate (What I am assuming are) the arguments there:

Code:
[^a-zA-Z0-9]





Ah, the 'joys' of programming, I remember this feeling well. I feel for you.

_________________
Closed lad accounts x48; United Kingdom x10 Australia x7; fake checks: $592,854.89 USD ==> Biggest Fake check: $450,000.00

"When I die, I'm leaving my body to science fiction." - Cathartic Kate

IF YOU MEET THIS MAN ON GROUND YOU WILL NOT BE ABLE TO RAIN ABUSES ON HIM...I WOULD ADVICE YOU READ AND TRY TO UNDERSTAND HIS E-MAILS VERY WELL BEFORE YOU START INSULTING HIS PERSONALITY. - Rev. Niklas

Thank you for your Undiluted Assictance and we hope to have a Lasting business relationship with you. - Hou Weijun

YOU ARE A F***ING BASTERD!!! - [Account reported] Dr. John E. Telex/Foreign Remitance Department

<a href="/forum/viewtopic.php?t=159622">Getting into collecting accounts from ASEMs? For a breakdown of a simple example bait: Click Here</a>
View user's profileSend private message
GomerPyle
Baiting Guru


Joined: 04 Jan 2007
Posts: 8875
Location: Wherever I lay my hat


PostPosted: Mon Mar 30, 2009 4:27 pm Reply with quoteBack to top

Is it the wrong colour ?

_________________
Fake sites killed 1 x Australia 9 x United Kingdom 3 x 168 X Closed lad accounts Easter Egg 2011
Pith Helmet - the 'Asparagus Kid' - Accra to Lome - You Must surly Die in The Name Of Jesus Christ
Pith Helmet - Steve - Lagos to Accra
Pith Helmet - Frank - Lagos to Cotonou - co-bait with the vampire
Pith Helmet - Shorty - Lagos to Cotonou - My Agro Base farming where i rearing chicken and other animals was set ablazed overnight and we do not know who is actual behinde all these evils! -
I and my crew was locked up for 3 good days….They wanted to charge us to court but later we are fined an huge amount of money…I asked them why did they arrest the men, they started laughing and saying all sorts mockering words! -
…because now, am left with nothing and remember i told you my Guy (Joe) gave up earlier this morning
View user's profileSend private messageSkype Name
OxygenDeprived
Baiting Guru


Joined: 05 Mar 2007
Posts: 4138
Location: Crushing Lad's spirits, one at a time...


PostPosted: Mon Mar 30, 2009 4:33 pm Reply with quoteBack to top

The 'die' makes me think PHP db.

I found this example online of the preg_match
Code:
preg_match("/^[a-zA-Z0-9]+$/", $str) 


It leads me to think it doesn't like your second "^" in there and that you may need another "/".

_________________
Premium Membership | Need a Mentor? | Eater University
Kelv1n
Safari Sandra, Owerri to Lagos Sand Timer 18+ months | Safari Oga Mark - Dakar to St. Louis, Senegal
Safari N4ncy & Yeb0ah - Accra to Abidjan | Safari Safari Safari Safari Safari Barrister Stone Sand Timer 13+ months
PD Results: Safari x18
AS Results: Safari x4
Closed lad accounts x 15
Mortar x 3
Cellphone x 56 Easter Egg 2013
United Kingdom 138 sites killed
View user's profileSend private messageVisit poster's website
Dutch
Baiting Guru


Joined: 22 Nov 2007
Posts: 4204
Location: Dislocated


PostPosted: Mon Mar 30, 2009 5:19 pm Reply with quoteBack to top

It's the combination of ^ + ^^ + ^^^^ that might do the trick.

_________________
SpainNigeriaNetherlandsCanadaSouth AfricaUnited KingdomAustraliaIvory CoastGhanaTogoUkraineIrelandHong KongFranceSenegalGermanyBeninTurks and CaicosIndonesiaPortugalBurkina FasoMalaysiacameroonJapanGambiaSierra LeoneKenya deadified fake websites) x 374
Mortar x11 Closed lad accountsx a couple Cellphone pony Easter Egg Nurse Nastys Audi TT Goat Golden Goat
Yes we can! (with a bit of help)
View user's profileSend private message
D11
Elite Baiter


Joined: 02 Jul 2006
Posts: 1702


PostPosted: Tue Mar 31, 2009 11:20 am Reply with quoteBack to top

Thanks oxy Smile

That works Smile

all for the want of a "/" drove me nuts for hours.

_________________
star
1x United Kingdom 0x
Click here to support 419Eater.com

I make software that drives lads crazy. Thats my revenge on lads. (it all helps)

this transaction is 100 percent risk/hitch free - bobo

why no pay me - abum bello
because the cops will know it was you - me
ok this is good - abum bello
View user's profileSend private message
OxygenDeprived
Baiting Guru


Joined: 05 Mar 2007
Posts: 4138
Location: Crushing Lad's spirits, one at a time...


PostPosted: Tue Mar 31, 2009 3:44 pm Reply with quoteBack to top

It's always the smallest detail w/ php isn't it Razz

_________________
Premium Membership | Need a Mentor? | Eater University
Kelv1n
Safari Sandra, Owerri to Lagos Sand Timer 18+ months | Safari Oga Mark - Dakar to St. Louis, Senegal
Safari N4ncy & Yeb0ah - Accra to Abidjan | Safari Safari Safari Safari Safari Barrister Stone Sand Timer 13+ months
PD Results: Safari x18
AS Results: Safari x4
Closed lad accounts x 15
Mortar x 3
Cellphone x 56 Easter Egg 2013
United Kingdom 138 sites killed
View user's profileSend private messageVisit poster's website
larry
Old Telecom Guy


Joined: 07 Mar 2008
Posts: 516
Location: land of mountains plains, lakes, gophers etc etc


PostPosted: Tue Mar 31, 2009 7:09 pm Reply with quoteBack to top

Ooooh I am sooo glad I'm not programming any more.

_________________
<a href="/forum/donate.php">[Click here to donate to 419Eater.com]</a>

"Mimi si yule ninayesema ni mimi" - Larry

"sir i have just told you the gospel truth" - D4n Nkw3rr3
Safari = Group safari - Dan Nkw3rr3: Port Harcourt to Abeche (with a layover in Cameroon)
Closed lad accounts x 4 Cellphone x 2 pony
View user's profileSend private message
GordonBennett
Baiting Guru


Joined: 29 Mar 2007
Posts: 2829
Location: Pedicabo ego vos et irrumabo


PostPosted: Tue Mar 31, 2009 10:39 pm Reply with quoteBack to top

Quote:
Is it the wrong colour ?
Laughing
View user's profileSend private message
PsycheDelia_Smith
Baiting Guru


Joined: 30 Oct 2004
Posts: 3577
Location: Devon, UK


PostPosted: Wed Apr 01, 2009 6:37 am Reply with quoteBack to top

Try

if (preg_match("!^[^a-zA-Z0-9]+$!", $username) == 1 ) {
die("Found something other then a number or letter.");
}

Notice the double quotes.

_________________
SATISFIED CLIENTS:
"I was forced to sell off my designers black suit to be able to return back to Ouagadougou and on my coming back here my wife
took me to the cyber cafe and showed me the site where my photographs of circumcision was put on the net."-'Tosser' 0gugu0

"I am now completely twatted and shagged and will obey all your instructions to the fullest."-"Tosser" Oguguo

Golden Pith "Frankily speaking,I wouldn't want to travel to the far east again."-Edward Smith, Lagos-Singapore (14600 miles round trip via Dubai)


9x Safari 4 x Lagos-Accra , 3x Port Harcourt - Ibadan, 1x Lagos-Singapore, 1x Burkina-Bamako
Netherlands Nigeria Ghana South Africa
Sand Timer'Ed', 3 yrs 8 mnths Sand Timer'Oguguo',6 years and 4 months
View user's profileSend private message
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum





All Content © 2003 - 419Eater.com : SEO Company
Powered by phpBB © 2001, 2002 phpBB Group :S5: FI Theme :: All times are GMT