i've been using:
ereg('^[a-zA-Z0-9]{3,23}$', $_POST['password'])
to check that a password only contains letters and numbers, but how do i make whitespaces OK as well?
i saw \s is meant to in a regex meant to mean a whitspace, so i tried [a-zA-Z0-9\s] but it thinks its a backslash and an s...
Thanks to those who replied!
prosper and flumpy . . . good point. I did not realise java itself had no direct upload capabilities. stefan . . . thanks, but ftp is not really wht i'm after.
I've found juploader is just what i need!
http://jupload.biz/
you can use the java applet to select...
hi,
Being in the proccess of designing a photo sharing website, I would like some advice on how to aquire an easy upload tool.
I am aware that html has its own simple file upload capabilities (with a "browse..." button) but this is not good enough for the users of my site - they need to be...
Thanks again micker377: I know the monitor is working fine cos i can check it on my old PC. When I plug it in, it says "no signal", then goes orange until i unplug both the data cable and the power cable. Yes the fans keep running while I'm checking for problems.
Nelviticus: thanks for your...
Thanks micker377 for the advice! CMOS jumper is in the right position though, and its definately not the monitor thats not working. When I turn it on, the onboardspeaker just makes one short quite beep straight away, apart from when i turn it on with no memory in, when it beeps loudly three...
I'm trying to use an AMD Athlon 64 3000+ 64bit Socket 754 CPU
Thanks Enkrypted, here's what I've tried now:
* I've checked in the mother board manual, and it does definately support PC2100 memory and i have definately installed the memory securley and into the right slot. (it is a single chip...
Hi, I'm trying to put together a PC for the first time, and have put together the following components:
* ADM Combo-Z motherboard
(http://www.sonicmarts.com/ask8coalim1c.html)
* Standard 512MB PC2100 DDR SDRAM
* Ide CD-rom, floppy disk drvie, hard disk
* GeForce 2 MX AGP graphics card
MY...
I'm wanting to create a perl sub called "checkValid". When I use this sub, I want to be able to pass to two string values to it and for it use perl's RegEx abilities to return a true or false response. However, I'm not too knowledgeable when it comes to RegEx, which is why I'm asking for your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.