[PHP] Security issues with file uploads

2002-12-18 Thread Steve Fitzgerald
Hi, I was wondering if anyone would care to comment on the following. I am currently building a business directory using PHPand MySQL for a client who wants to be able to maintain the site themselves. The site will be hosted on Apache (of course) and I have built an admin section where they can ad

[PHP] netscape wont show form result

2002-06-11 Thread Steve Fitzgerald
I. am testing a feedback form which consists of a single file with the standard '>' It has problems when using ns4.7. If the form is filled in correctly it works and sends email, but it checks for required fields and correct email address and if there is a mistake ns shows a blank page with the fo

Re: [PHP] netscape wont show form result

2002-06-11 Thread Steve Fitzgerald
ense to give > you the *source* of that warning like it does, but that's the basic > explanation. In short, seeing that in your source is similar to being > unable to view the source, unless of course you are staring at a page > that says "Data Missing" at the top with a brie

Re: [PHP] netscape wont show form result

2002-06-13 Thread Steve Fitzgerald
I know what you are both saying and it was a poor explanation from me as to what happened. let me explain it further because although the code is working now i would like to know what happened. We know the code should work the same regardless of browser since the server is interpreting the code no

[PHP] preg_match or not?

2002-07-06 Thread Steve Fitzgerald
I have been struggling for a couple of hours now trying to write a preg_match expression to validate a dollar amount - the user may or may not put in the decimals so I want to allow only digits plus a possible period followed by two more digits. My eyes are now swimming and I just can't seem to ge

[PHP] Re: preg_match or not?

2002-07-06 Thread Steve Fitzgerald
Thanks, thats hit the nail on the head, and my headache is a whole lot better! Steve Cc Zona wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Steve Fitzgerald) wrote: > > > I have been struggling for a couple of hours now trying to write a > > preg_mat

[PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
I am designing a form using sessions in which the user inputs their details on page 1 and after submitting they are directed to page 2 for confirmation. They then have the option of editing their input (ie they are returned to page 1) where their previous input is reflected in the form fields by v

Re: [PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
om an array, and how to > have the correct value selected if it exists, else showing a default > selection. > > Cheers, > > Justin French > > on 08/07/02 9:36 PM, Steve Fitzgerald ([EMAIL PROTECTED]) wrote: > > > I am designing a form using sessions in which the user i

[PHP] Re: printf

2002-04-10 Thread Steve Fitzgerald
Use number_format() to put a comma between the thousands $foo = 123456789; print number_format($foo); //will print 123,456,789 Ron Allen wrote: > I am looking at how to format output > > Here is what I have. There is a simple currency conversion that I do and > the output is just a string of nu

[PHP] Sessions and Opera

2002-04-10 Thread Steve Fitzgerald
While testing a login page with different browsers I noticed that Opera (vers5.02) didn't allow me access to the site despite using the correct input, so I wrote the following pages to test Opera's performance. It seems that Opera doesn't pass registered variables to the new page. IE & NS both pr

[PHP] Re: Sessions and Opera

2002-04-10 Thread Steve Fitzgerald
dei? Salvei? Que tal um presentinho? > http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 > > "Steve Fitzgerald" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > While testing a login page with different browse