No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
18 Posted Topics
Hi, I'm not new to SQL or PHP, or basic queries of SQL databases, but I'm creating a site that's going to be dependent on having a really accurate search feature. Basically, I'm just looking for some help on how I can get started, because there's a ton of information … | |
Hello! I have been doing my reading on log-in/username system security and I want to post what I have done! I still feel like my system is lacking in security, so I'd love any and all input! I've completely obscured the MySQL table values to my liking (A LOT of … | |
Hi! I have a question that probably has a really simple answer :D. I have a regex that validates names: [CODE]elseif (!preg_match('#^[a-z0-9' -]{1,35}$#i',$lastname )) { include('includes/error.php'); }[/CODE] Only if the name I enter has an apostrophe, it gives me my error message. Can someone please help me modify this regex … | |
Hi all! So I've been reading about the "FOR XML AUTO" function which sounds great, but it hasn't been working when I try it in phpmyadmin. I get an error in the area of "FOR XML AUTO", I know SimpleXML is disabled on my package but would that be why … | |
Hi! I'm trying to take the XML feed from Google Calendars: [url]www.google.com/calendar/feeds/jeffc418%40gmail.com/public/basic[/url] And make it into a PHP variable so I can set each calendar event as a variable. How would I go about that? I contacted my hoster about simplexml and I got a response about PHP 4/5. If … | |
Re: [CODE]preg_match( "/^.*(?=.{3,})(?=.*[a-z])(?=.*[A-Z]).*$/",$pass)[/CODE] Try this! | |
Re: Maybe this: [url]http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/[/url] :D? | |
Hi all, Say there are two checkboxes on a page (test1 and test2), I want to write a JavaScript code that disables one if the other is checked. Here's what I wrote that didn't work: [CODE]<input type="checkbox" name="test1" <script language="Javascript">if (test2.checked = true){document.write('DISABLED');}</script>>[/CODE] Please help :D!!! Thanks a million! Jeff | |
Hey all! I have a question that I just need a real solid answer to ;) Basically, I need a PHP script that checks values inputted by a form for special characters (only allows letters, numbers, and apostrophes). For form validation :D. I'm really not the best with regexes otherwise … | |
Hi everyone! I really love this forum, it's by far the best coding forum I've been to. I have been attempting form validation and login security for about a month now, and I made the mistake of using all JavaScript for validation (though my site requires JavaScript...sooo I could always … | |
Hey all! Pretty simple I hope :D I have a website that absolutely requires JavaScript to be enabled for it to work. How can I make it so that if a user with JavaScript disabled tries to view my site they are redirected to an error message? Thanks! | |
Re: If I may try my hand at this :D: -Add the [code]method = "post"[/code] to your form tag. -Change [code]$action = $_POST['action'];[/code] to [code]$action = $_GET['action'];[/code] | |
Re: Try this: [CODE]mail($to, $subject, $body); [/CODE] in place of what you have. | |
Hi all! I've been working on the validation for my web site, and I am currently trying to write a script so that if I have the following usernames in the username column of my MySQL table entitled "members": -Jeff -Pete -Bob That no one who is registering a name … | |
Hi everyone! I have a problem with a very simple solution I've just been unable to find :D Say you have a text file that says "My name is jeffc418. My name is kkeith29. My name is =IceBurn=." How do you get it to say just: jeffc418 kkeith29 =IceBurn= Would … | |
I'm so angry at my computer that I feel like making a really bad movie called "Return of the Boot Problems!" I've been having the same problem for...ohhh, around eight months!!! Here's what happens: Issue A: 1. Hit the Power button. 2. Lights in the computer come on, fans spin. … | |
Hi! For the past few months, I've been having an issue where I hit the power button on my computer (built it in February), and the lights come on and the fans spin, but I get nothing on the monitor, and no POST beep. A month and a half ago, … |
The End.