Re: [PHP-WIN] getting started - need pointers

2009-05-28 Thread Joseph LeBlanc
You might need to uninstall the Apache server that you installed before WAMP. If you still have that old one running, http://localhost will be pointing to the old server rather than the WAMP one. -Joe On May 28, 2009, at 4:16 PM, Mike Kay wrote: WAMP installed. PHP still not working.si

Re: [PHP-WIN] Looking for code for an alphabetic menu in php

2009-05-22 Thread Joseph LeBlanc
Make sure you filter $letter before using it in the query. Replace $letter = $_GET["letter"] with this: preg_match('/^[A-Z]/', $_GET["letter"], $matches); $letter = $matches[0]; If you don't do this, someone could insert malicious SQL into the $letter variable. This regular expression will m