[PHP] parsing mail files

2002-04-29 Thread Michael George
Hello! I am looking for some sample code that will parse a file in Unix mbox format. I want to write an app that will examine mail messages for email-registration info. Parsing the mail with the registration is what I will do, but Im hoping someone has already done some relatively simple code

Re: [PHP] parsing mail files

2002-04-29 Thread Michael George
On Mon, Apr 29, 2002 at 02:42:01PM +0200, Michal Dvoracek wrote: try sourceforge.net or freshmeat.net. There are very usefull programs. Try search: mail mime Great suggestion, thanks! -- In light of the terrorist attack on the U.S.: They that give up essential liberty to

[PHP] is_int() and is_double

2001-10-24 Thread Michael George
I am having trouble with the is_int() and is_double() functions. The relevant parts of the function I'm using are: --- function lookupProduct( $partNum, $serial ) { print( lookupProduct( $partNum, $serial )BR\n );

Re: [PHP] MySQL query help

2001-09-11 Thread Michael George
On Mon, Sep 10, 2001 at 03:59:36PM -0500, Sheridan Saint-Michel wrote: Well, I played with this a little more and it seems to be acting oddly when you first call this select unless you set the variable first. So if the below doesn't work try actually doing this $query=set @count=NULL;

[PHP] MySQL query help

2001-09-10 Thread Michael George
I'm trying to make a query that will number it's own output rows. e.g. when listing all the entries in a table that are related to a specific invoice, there will be a column with a monotonically increasing integer value (1-x where x is the number of matching entries). I know I can easily do

[PHP] Form variables

2001-03-21 Thread Michael George
According to the docs, when creating form variables which will be passed as globals to the next PHP script invocation, one can make single dimensional arrays, but not multi-dimensional arrays. I read this after I'd created a script which generates a form with a 2D array on it. But as I test it,

[PHP] enum and set possible values

2001-03-20 Thread Michael George
I'm looking here at the mysql functions for PHP4.0.4 and I'm not finding what I seek... I see that mysql_fetch_field() will get information about a field in the result set from a mysql_db_query(). What I'm wanting to find out is what the possible values are for an enum or a set. So if I have

[PHP] update two frames at once?

2001-03-12 Thread Michael George
Hello al! Is it possible to have two frames updated when cliking on one link? I have a page that is broken into 4 parts: master title section title d section screen i r . what I want is that when a link is clicked on in the directory (the left column), I'd like to update

[PHP] HTML book recommendation

2001-03-08 Thread Michael George
This is a bit off-topic, but I'm curious what you PHP'ers would recommend as a good HTML book. I think I need to learn some stylesheet stuff and the tutorial I've got covers the basics, but I'd like some more in-depth info on the commands. Is the O'Reilley(sp?) book the best, or are there

[PHP] Ret from text input

2001-02-19 Thread Michael George
I have a php script that I'm writing for taking/passing/reading phone messages. I've got a screen where one enters the name of the person leaving the message. I've found that when the "from_whom" field is active, if the user hits Return, the form is returned w/o hitting a "submit" button. Is

[PHP] incorrct behavior w/ persistent connection

2001-02-12 Thread Michael George
Hello all! I'm VERY new to PHP+MySQL, but I've been writing software for years. Anyway, I have a simple question to see if anyone else has had this problem. I have a PHP app that creates a table and makes entries to it. Those entries can then be edited. I've found that if I hit the "add"