[PHP] PHP implementation of something like Apache's mod_speling?

2002-07-31 Thread Tim Luoma
As I assume most of you know, mod_speling (sic) is a feature of the Apache httpd that will suggest possible corrections to URLs. i.e. if you look for /sidebar/ on my site you'll get a 404 because the actual URL is /sidebars/ The problem is that some sites don't enable mod_speling and some don

[PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Tim Luoma
Marcus Unlimited wrote: > "What is the easiest way to test locally (on my desktop) without having to > upload?" If you follow the route that several folks suggest and go with one of the 'install everything' routes, be sure to install the same versions ... for example, some of them install olde

[PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Tim Luoma
Marcus Unlimited wrote: > So what is the absolute simplest and easiest path to open my .html pages > with some php mysql in em. and see them as they will work on the web??? To quote a friend of mine: "The only way to see how this will work is to see how this will work." Get some server space

[PHP] Re: Redirect Question

2002-07-21 Thread Tim Luoma
FWIW, a user note at http://www.php.net/manual/en/function.header.php says : There is this nasty bug in IE 5 for Windows prior to service pack 2, described in Microsoft knowledgebase article Q281197 which causes a problem with redirecting.. if you submit a POST form to a page that uses hea

[PHP] Re: Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Tim Luoma
César Aracena wrote: > I think that the best way you can achieve this, considering all the > troubles and different configurations you will have to make for each > user, is to make them choose the type of connection they want, and set a > cookie in the visitor's browser with a one year life time w

[PHP] Re: Formmail replacement?

2002-07-16 Thread Tim Luoma
JJ Harrison wrote: > Does anyone know a good PHP-based Formmail Replacement(From matt's script > archive)? http://www.google.com/search?q=Formmail+php gave http://www.lumbroso.com/scripts/formmail.php as one of the top results -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Variables aren't being passed to php page

2002-07-15 Thread Tim Luoma
Jason Wong wrote: > On Monday 15 July 2002 03:55, Tim Luoma wrote: > >>Jason Wong wrote: >> >>>This list gets at least one question a day on this subject ... >> >>And there will be a lot more as people scan the web for example scripts >>and find one

[PHP] Re: Variables aren't being passed to php page

2002-07-14 Thread Tim Luoma
Jason Wong wrote: > This list gets at least one question a day on this subject ... And there will be a lot more as people scan the web for example scripts and find ones that assume 'register_globals' is set to on. TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Dealing with spaces and punctuation in uploaded filenames (tjlq)

2002-07-13 Thread Tim Luoma
I am using this basic example (from the manual iirc) for uploading files Upload this file: What I am trying to do then is to remove any spaces or punctuation that might be in the filename. This is what I am using for the filename: $FILENAME = $_FILES['userfile']['name']; and

[PHP] Gainesville, Florida PHP Users? (Re: [PHP-WIN] PHP meetup [CROSS-POST]Meet other PHP Developers in Your Area)

2002-07-12 Thread Tim Luoma
Well I don't see a user group listed for Gainesville, FL... and we could have a cool acronym too PUGG (php users group of gainesville) ok, that's a first attempt, but anyway So are there other Gainesville, Florida folks around? If so please drop me a link and maybe we can form

[PHP] Re: PHP: Script Security: Best coding practices

2002-07-08 Thread Tim Luoma
olinux wrote: >A little off your request, but may be of interest: > >Top 21 PHP Programming Mistakes from Zend.com >http://www.zend.com/zend/art/mistake1.php >http://www.zend.com/zend/art/mistake2.php > Hrm... I wonder if someone @ Zend has messed up their template for s The titles are coming