[PHP-DB] Strange rawlist behaviour

2006-02-06 Thread Chris Payne
Hi there everyone, Can anyone see a problem with the below code? It scans an FTP directory and adds the LAST item in that directory to the database (Being the latest item added) - however, if the directory only has 1 file in it it WON'T add anything, the system returns that the directory is empt

RE: [PHP-DB] php/sendmail help!

2006-02-06 Thread Bastien Koert
You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that order if (ereg("^[A-Z]{2}{0-9]{4}$",$_POST['postal'])){ ... As for pasting it back to the form, I would suggest you hav

[PHP-DB] php/sendmail help!

2006-02-06 Thread JeRRy
Hi, I have a form, form results are PUSHED to another page and processed. Files below. (in plain-tet) Now this is what I want to do: 1) Make all fields required input, but if easy to configure I want to have rules for each textarea. For instance an email address must contain a '@'

Re: [PHP-DB] screen resolution!

2006-02-06 Thread Luis Morales
Well, you can do use auto resize if you use 0% over height and width table's html tags. eg. put your table content --- Regards, Luis Morales On Mon, 2006-02-06 at 09:28 -0800, Micah Stevens wrote: > Yes, there is. It's called HTML. > > You might think me daft, but HTML was actua

Re: [PHP-DB] screen resolution!

2006-02-06 Thread Micah Stevens
Yes, there is. It's called HTML. You might think me daft, but HTML was actually created to allow the page to adapt to screen size. The oldest technology on the block is actually the thing to use in this situation, otherwise you're just creating extra work for yourself. A simple example: -

Re: [PHP-DB] First web app, ever, so please bear with me

2006-02-06 Thread Julien Bonastre
This is my kind of gear... You've hit my nail, right ontop of my head... I have made some feature similar to this for Australia.. I am using a federal government operated index of every registered landmark, train station, suburb, river, etc that stores the geographical position [latitude

[PHP-DB] Creative Commons CA, MX, and UK postal code databases?

2006-02-06 Thread Matty Sarro
Hey all! I'm working on expanding the functionality of one of my first web apps (it simply searches by radius from a zip code). Currently I've been using creative commons databases for the US (released under the Share & Share Alike license here http://civicspacelabs.org/home/zipcodedb). I'm having

Re: [PHP-DB] screen resolution!

2006-02-06 Thread JeRRy
Yes I know this but there is no script that can re-write webpages on the fly for certain resolutions? Instead of re-doing each page for each res.? With the technology these days I thought someone would of created something like this, so you create a website than you put it through a