php-general Digest 30 May 2009 08:18:07 -0000 Issue 6149

Topics (messages 293356 through 293373):

Re: Numerical Recipe - Scheduling Question
        293356 by: Bastien Koert
        293359 by: Stuart
        293365 by: Shawn McKenzie
        293366 by: bruce
        293367 by: bruce
        293368 by: Stuart
        293372 by: Shawn McKenzie

Re: recipes anyone?
        293357 by: PJ
        293358 by: Bob McConnell
        293360 by: Michael A. Peters
        293361 by: Michael A. Peters
        293362 by: Michael A. Peters
        293364 by: Shawn McKenzie
        293370 by: PJ
        293371 by: PJ

Re: Confirmation email caught by spam filter
        293363 by: Dee Ayy
        293369 by: LAMP

pdf_new()
        293373 by: Sumit Sharma

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
On Fri, May 29, 2009 at 2:12 PM, Stuart <[email protected]> wrote:

> 2009/5/29 kyle.smith <[email protected]>:
> > I'm confused as to why cron doesn't work for you.  It doesn't explicitly
> > tell you when the next X occurences will be, but math does.  If you
> > schedule something to run every 5 minutes starting at 1:45 PM, it's
> > simple work to be able to report that the next times would be 1:50 PM,
> > 1:55 PM, 2:00 PM etc.
>
> You can be a lot more intelligent than that. I have a job queue system
> running on several sites I maintain that uses a simple run_at
> timestamp. A cron job runs every minute and essentially does this...
>
> * Locks the job queue.
>
> * Does the equivalent of "select job from job_queue where run_at <=
> unix_timestamp() order by run_at asc limit 1".
>
> * If no jobs need running it simply exits otherwise it locks the job
> it got back and unlocks the queue.
>
> * Runs the job (wrapped in a safe environment that catches output and
> errors and does something useful with them).
>
> * Marks the job as completed or with an error status.
>
> * If the job is marked as recurring it creates a new job by cloning
> the job it just ran, sets run_at based upon the schedule definition
> (which can be a time of day, a time of day + a day of week, a time of
> day + a day of month or simply a number of seconds) and sets the
> status to new.
>
> * Either removes the completed job from the queue or archives it
> complete with errors and output for later inspection depending on the
> job config and status.
>
> * If this processor has been running for > 60 minutes it exits,
> otherwise it looks for another job to run.
>
> This system will automatically scale up to 60 job processors per hour,
> but obviously you can modify the cron config to run more or less as
> your requirements dictate. Assuming the job queue is on a shared
> resource such as a database this can also scale across machines
> effectively infinitely.
>
> There's also a whole bunch of stuff around catching crashed jobs and
> doing something useful with them, but I'll leave how to handle those
> as an exercise for the reader.
>
> > Is this running in a web browser, somehow?  If not, PHP is not the
> > solution.
>
> Total codswallop! PHP is no more tied to web browsers than a
> hovercraft is tied to water. My job queue system is 100% PHP (although
> it can run jobs not written in PHP, but that's a topic for another
> day) and beyond initial development it's never given me any problems.
>
> Hmm, might have to write that lot up as a blog post with some example
> code. Sometime...
>
> -Stuart
>
> --
> http://stut.net/
>
> > -----Original Message-----
> > From: bruce [mailto:[email protected]]
> > Sent: Friday, May 29, 2009 1:11 PM
> > To: [email protected]
> > Subject: [PHP] Numerical Recipe - Scheduling Question
> >
> > Hi..
> >
> > Got a need to be able to allow a user to specify the frequency to run
> > certain apps/processes.. I need to be able to have the user specify a
> > start Time, as well as a periodic frequency (once, hourly, daily,
> > weekly...) as well as allow the user to specify every XX minutes...
> >
> > So i basically need to be able to determine when the future
> > events/occurances are, based on the user input.
> >
> > I've searched the net for alogorithms dealing with scheduling and
> > haven't come up with any php based solutions.. I've also looked at
> > numerical recipes and some other sources (freshmeat/sourceforge/etc..)
> > with no luck..
> >
> > I have found an approach in another language that I could port to php..
> > But before I code/recreate this, I figured I'd see if anyone here has
> > pointers or suggestions...
> >
> > Cron doesn't work for me, as it can run a process at a given time.. but
> > it doesn't tell me when the next 'X' occurance would be...
> >
> > Thoughts/Comments..
> >
> > Thanks
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
> > http://www.php.net/unsub.php
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I would be very interested in that. I am developing a project where a queue
is required to manage load. Your post above has some pointers that I like,
but more information would be greatly appreciated.

-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
2009/5/29 Bastien Koert <[email protected]>:
>
> On Fri, May 29, 2009 at 2:12 PM, Stuart <[email protected]> wrote:
>>
>> Hmm, might have to write that lot up as a blog post with some example
>> code. Sometime...
>
> I would be very interested in that. I am developing a project where a queue
> is required to manage load. Your post above has some pointers that I like,
> but more information would be greatly appreciated.

http://stut.net/blog/2009/05/29/php-job-queue/

Pretty much a brain dump but it does provide a little more info than
my earlier post. Comments welcome.

-Stuart

-- 
http://stut.net/

--- End Message ---
--- Begin Message ---
bruce wrote:
> Hi..
> 
> Got a need to be able to allow a user to specify the frequency to run
> certain apps/processes.. I need to be able to have the user specify a start
> Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
> well as allow the user to specify every XX minutes...
> 
> So i basically need to be able to determine when the future
> events/occurances are, based on the user input.
> 
> I've searched the net for alogorithms dealing with scheduling and haven't
> come up with any php based solutions.. I've also looked at numerical recipes
> and some other sources (freshmeat/sourceforge/etc..) with no luck..
> 
> I have found an approach in another language that I could port to php.. But
> before I code/recreate this, I figured I'd see if anyone here has pointers
> or suggestions...
> 
> Cron doesn't work for me, as it can run a process at a given time.. but it
> doesn't tell me when the next 'X' occurance would be...
> 
> Thoughts/Comments..
> 
> Thanks
> 

This is confusing.  When and where do you need to "be able to determine
when the future events/occurances are"?  You need to display this after
the user schedules the app/process or an admin needs to login and see
this at any given time?

Regardless it is easy with the PHP time/date functions.  Once you've
collected and stored the start/stop times and interval, something
similar to:

$interval = "1 week";

$next = $start_time;
while ($next <= $end_time) {
        $next = strtotime("+$interval", $next);
        echo date(DATE_RFC822, $next) ."\n";
}


-- 
Thanks!
-Shawn
http://www.spidean.com

--- End Message ---
--- Begin Message ---
hey shawn...

strtotime (or something similar) might just work

i'll always know the interval... which can be used to compute the nexttime,
which then becomes the next starttime...

i'm assuming there's an equally simple way to find the last day of a given
month if i choose that as an interval as well..

for my initial needs.. this might work.. until i free up time to actually
craft a more generic solution, independent of the underlying language/os..

thanks



for next month.. and the start

-----Original Message-----
From: Shawn McKenzie [mailto:[email protected]]
Sent: Friday, May 29, 2009 2:48 PM
To: [email protected]
Subject: [PHP] Re: Numerical Recipe - Scheduling Question


bruce wrote:
> Hi..
>
> Got a need to be able to allow a user to specify the frequency to run
> certain apps/processes.. I need to be able to have the user specify a
start
> Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
> well as allow the user to specify every XX minutes...
>
> So i basically need to be able to determine when the future
> events/occurances are, based on the user input.
>
> I've searched the net for alogorithms dealing with scheduling and haven't
> come up with any php based solutions.. I've also looked at numerical
recipes
> and some other sources (freshmeat/sourceforge/etc..) with no luck..
>
> I have found an approach in another language that I could port to php..
But
> before I code/recreate this, I figured I'd see if anyone here has pointers
> or suggestions...
>
> Cron doesn't work for me, as it can run a process at a given time.. but it
> doesn't tell me when the next 'X' occurance would be...
>
> Thoughts/Comments..
>
> Thanks
>

This is confusing.  When and where do you need to "be able to determine
when the future events/occurances are"?  You need to display this after
the user schedules the app/process or an admin needs to login and see
this at any given time?

Regardless it is easy with the PHP time/date functions.  Once you've
collected and stored the start/stop times and interval, something
similar to:

$interval = "1 week";

$next = $start_time;
while ($next <= $end_time) {
        $next = strtotime("+$interval", $next);
        echo date(DATE_RFC822, $next) ."\n";
}


--
Thanks!
-Shawn
http://www.spidean.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
hey shawn...

on the strtotime function... it appears to simply take intervals of a string
type..

is there a way to have it take intervals of the number of secs? or is there
another time function that takes the current date/time, and allows you to
add an interval in secs?

thanks



-----Original Message-----
From: Shawn McKenzie [mailto:[email protected]]
Sent: Friday, May 29, 2009 2:48 PM
To: [email protected]
Subject: [PHP] Re: Numerical Recipe - Scheduling Question


bruce wrote:
> Hi..
>
> Got a need to be able to allow a user to specify the frequency to run
> certain apps/processes.. I need to be able to have the user specify a
start
> Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
> well as allow the user to specify every XX minutes...
>
> So i basically need to be able to determine when the future
> events/occurances are, based on the user input.
>
> I've searched the net for alogorithms dealing with scheduling and haven't
> come up with any php based solutions.. I've also looked at numerical
recipes
> and some other sources (freshmeat/sourceforge/etc..) with no luck..
>
> I have found an approach in another language that I could port to php..
But
> before I code/recreate this, I figured I'd see if anyone here has pointers
> or suggestions...
>
> Cron doesn't work for me, as it can run a process at a given time.. but it
> doesn't tell me when the next 'X' occurance would be...
>
> Thoughts/Comments..
>
> Thanks
>

This is confusing.  When and where do you need to "be able to determine
when the future events/occurances are"?  You need to display this after
the user schedules the app/process or an admin needs to login and see
this at any given time?

Regardless it is easy with the PHP time/date functions.  Once you've
collected and stored the start/stop times and interval, something
similar to:

$interval = "1 week";

$next = $start_time;
while ($next <= $end_time) {
        $next = strtotime("+$interval", $next);
        echo date(DATE_RFC822, $next) ."\n";
}


--
Thanks!
-Shawn
http://www.spidean.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
2009/5/29 bruce <[email protected]>:
> hey shawn...
>
> on the strtotime function... it appears to simply take intervals of a string
> type..
>
> is there a way to have it take intervals of the number of secs? or is there
> another time function that takes the current date/time, and allows you to
> add an interval in secs?

$timestamp = time() + $num_secs;

-Stuart

-- 
http://stut.net/

> -----Original Message-----
> From: Shawn McKenzie [mailto:[email protected]]
> Sent: Friday, May 29, 2009 2:48 PM
> To: [email protected]
> Subject: [PHP] Re: Numerical Recipe - Scheduling Question
>
>
> bruce wrote:
>> Hi..
>>
>> Got a need to be able to allow a user to specify the frequency to run
>> certain apps/processes.. I need to be able to have the user specify a
> start
>> Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
>> well as allow the user to specify every XX minutes...
>>
>> So i basically need to be able to determine when the future
>> events/occurances are, based on the user input.
>>
>> I've searched the net for alogorithms dealing with scheduling and haven't
>> come up with any php based solutions.. I've also looked at numerical
> recipes
>> and some other sources (freshmeat/sourceforge/etc..) with no luck..
>>
>> I have found an approach in another language that I could port to php..
> But
>> before I code/recreate this, I figured I'd see if anyone here has pointers
>> or suggestions...
>>
>> Cron doesn't work for me, as it can run a process at a given time.. but it
>> doesn't tell me when the next 'X' occurance would be...
>>
>> Thoughts/Comments..
>>
>> Thanks
>>
>
> This is confusing.  When and where do you need to "be able to determine
> when the future events/occurances are"?  You need to display this after
> the user schedules the app/process or an admin needs to login and see
> this at any given time?
>
> Regardless it is easy with the PHP time/date functions.  Once you've
> collected and stored the start/stop times and interval, something
> similar to:
>
> $interval = "1 week";
>
> $next = $start_time;
> while ($next <= $end_time) {
>        $next = strtotime("+$interval", $next);
>        echo date(DATE_RFC822, $next) ."\n";
> }
>
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
bruce wrote:
> hey shawn...
> 
> strtotime (or something similar) might just work
> 
> i'll always know the interval... which can be used to compute the nexttime,
> which then becomes the next starttime...
> 
> i'm assuming there's an equally simple way to find the last day of a given
> month if i choose that as an interval as well..

If you search, there are 100s of ways to do these types of things.
Check the date/time functions.  There are many and many ways to use
theme.  Here is one:

date('t', strtotime("$year-$month-01"));

> for my initial needs.. this might work.. until i free up time to actually
> craft a more generic solution, independent of the underlying language/os..
> 
> thanks
> 
> 
> 
> for next month.. and the start
> 
> -----Original Message-----
> From: Shawn McKenzie [mailto:[email protected]]
> Sent: Friday, May 29, 2009 2:48 PM
> To: [email protected]
> Subject: [PHP] Re: Numerical Recipe - Scheduling Question
> 
> 
> bruce wrote:
>> Hi..
>>
>> Got a need to be able to allow a user to specify the frequency to run
>> certain apps/processes.. I need to be able to have the user specify a
> start
>> Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
>> well as allow the user to specify every XX minutes...
>>
>> So i basically need to be able to determine when the future
>> events/occurances are, based on the user input.
>>
>> I've searched the net for alogorithms dealing with scheduling and haven't
>> come up with any php based solutions.. I've also looked at numerical
> recipes
>> and some other sources (freshmeat/sourceforge/etc..) with no luck..
>>
>> I have found an approach in another language that I could port to php..
> But
>> before I code/recreate this, I figured I'd see if anyone here has pointers
>> or suggestions...
>>
>> Cron doesn't work for me, as it can run a process at a given time.. but it
>> doesn't tell me when the next 'X' occurance would be...
>>
>> Thoughts/Comments..
>>
>> Thanks
>>
> 
> This is confusing.  When and where do you need to "be able to determine
> when the future events/occurances are"?  You need to display this after
> the user schedules the app/process or an admin needs to login and see
> this at any given time?
> 
> Regardless it is easy with the PHP time/date functions.  Once you've
> collected and stored the start/stop times and interval, something
> similar to:
> 
> $interval = "1 week";
> 
> $next = $start_time;
> while ($next <= $end_time) {
>       $next = strtotime("+$interval", $next);
>       echo date(DATE_RFC822, $next) ."\n";
> }
> 
> 
> --
> Thanks!
> -Shawn
> http://www.spidean.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
Thanks!
-Shawn
http://www.spidean.com

--- End Message ---
--- Begin Message ---
Bob McConnell wrote:
> From: PJ
>   
>> I'd like to get some input on how to deal with recipes.
>> use html pages to store and display, XML or db or... ? And what about
>> clips, like flvs ? TIA.
>>
>>     
>
> There are as many ways to do cookbooks as there are cooks. I am familiar
> with half a dozen, without counting the professional packages put out by
> another department here where I work.
>
> RecipeML is one option, but it is seriously incomplete if you need to
> include nutritional information.
>
> Qookbooks, Gormet (Gnome), Krecipes (KDE) MealMaster, Master Cook,
> Recipants, etc. all have different storage formats and display formats.
> Some are well documented, some are buried in the code, and some are
> still kept secret. You can take your pick, or combine them and roll your
> own.
>
> A bigger issue is how to import existing recipe files. I have several
> years of messages collected from newsgroups like rec.food.recipes,
> r.f.cooking, r.f.baking, etc. that I would like to put into a usable,
> and searchable format. But there are too many variations in the formats
> and naming conventions used to be able to write a single routine to
> handle them all. It is much easier just to use those already published
> in MealMaster formats. At least that one is documented clearly now that
> they are out of business.
>
> Bob McConnell
>   
Thank you gentlemen. Basically, that's what I figured. But this does
give me some more stuff to mull over. The only thing I'm really
wondering is if it's worth doing anything with XML.
I do have a number of recipes already in HTML; probably will try to
re-use them and modify/or adapt with CSS.
Thanks, again.

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-------------------------------------------------------------
Phil Jourdan --- [email protected]
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


--- End Message ---
--- Begin Message ---
From: PJ
> Bob McConnell wrote:
>> From: PJ
>>   
>>> I'd like to get some input on how to deal with recipes.
>>> use html pages to store and display, XML or db or... ? And what
about
>>> clips, like flvs ? TIA.
>>>
>>>     
>>
>> There are as many ways to do cookbooks as there are cooks. I am
familiar
>> with half a dozen, without counting the professional packages put out
by
>> another department here where I work.
>>
>> RecipeML is one option, but it is seriously incomplete if you need to
>> include nutritional information.
>>
>> Qookbooks, Gormet (Gnome), Krecipes (KDE) MealMaster, Master Cook,
>> Recipants, etc. all have different storage formats and display
formats.
>> Some are well documented, some are buried in the code, and some are
>> still kept secret. You can take your pick, or combine them and roll
your
>> own.
>>
>> A bigger issue is how to import existing recipe files. I have several
>> years of messages collected from newsgroups like rec.food.recipes,
>> r.f.cooking, r.f.baking, etc. that I would like to put into a usable,
>> and searchable format. But there are too many variations in the
formats
>> and naming conventions used to be able to write a single routine to
>> handle them all. It is much easier just to use those already
published
>> in MealMaster formats. At least that one is documented clearly now
that
>> they are out of business.
>>
>> Bob McConnell
>>   
> Thank you gentlemen. Basically, that's what I figured. But this does
> give me some more stuff to mull over. The only thing I'm really
> wondering is if it's worth doing anything with XML.
> I do have a number of recipes already in HTML; probably will try to
> re-use them and modify/or adapt with CSS.
> Thanks, again.

A lot depends on what you are actually going to do with them. If you
need output in several different forms, then XML/XSLT might be the best
way to go. But, I have seen an automated translation of the RecipeML DTD
into an SQL schema, and it was not pretty. Unless you are very familiar
with XML, or just want some practice, I wouldn't go there.

I have been looking at this idea for some time, and have pretty much
decided on a Postgres server for the back end with a custom schema.
There are several features I want that are not all available in any of
the consumer grade packages I have seen; like a web based front end,
exclusion of specific ingredients due to allergies and being able to
attach dated notes about alterations or substitutions I try each time I
prepare a recipe. I just need to sit down with my collected notes and a
few days to patch it together. But lately I have been spending most of
my time with our grandchildren instead of the computer.

Good luck,

Bob McConnell

--- End Message ---
--- Begin Message ---
PJ wrote:
I'd like to get some input on how to deal with recipes.
use html pages to store and display, XML or db or... ? And what about
clips, like flvs ? TIA.


I believe there is already an xml format for recipes.
I would either use that format to store them, or use equivalent database fields to store them.

When displaying, you'd need to translate the recipe xml format to html but you should also make the xml format available for people with software designed to work with recipe's.

http://www.happy-monkey.net/recipebook/

is one xml specification. There may be others.
I use to maintain the Fedora package for a python/Gtk2+ recipe manager, it used sqlite internally but could import from at least one xml format - not sure if the one I linked to is it or not.

You'll need to use one of the xml tools to convert xml recipe's to html for viewing, but by using xml in your code, you both make the recipe's readily available via xml to your users and make it easy for you to add recipe's to your site that use the specified xml format.
--- End Message ---
--- Begin Message ---
PJ wrote:

Thank you gentlemen. Basically, that's what I figured. But this does
give me some more stuff to mull over. The only thing I'm really
wondering is if it's worth doing anything with XML.

For display in a web browser, the only thing you should do with xml is what browsers know how to handle - xhtml and MathML (maybe a few others ??) - and IE still doesn't properly support either of those.

xml however is an excellent way to store information for data exchange between different applications, assuming the specification (DTD) is logical and well documented.

Don't use xml just for the sake of using xml, if that's what you are asking. Use it because a good xml specification already exists for what you want to do that makes it easier for data sharing between different apps / hardware.
--- End Message ---
--- Begin Message ---
Bob McConnell wrote:
> like a web based front end,
> exclusion of specific ingredients due to allergies and being able to
> attach dated notes about alterations or substitutions I try each time

That sounds wicked.
One of my brothers is allergic to corn.
Being able to flag ingredients that contain corn (usually ingredients that contain corn syrup) would also be great.

Fortunately nothing too drastic happens when he gets corn, he gets a rash and a bad attitude - but it still manages to slip its way into a lot of things you wouldn't think contain corn.

I think it may be corn syrup itself and not corn that he is allergic to, I don't remember.
--- End Message ---
--- Begin Message ---
Michael A. Peters wrote:
> Bob McConnell wrote:
>> like a web based front end,
>> exclusion of specific ingredients due to allergies and being able to
>> attach dated notes about alterations or substitutions I try each time
> 
> That sounds wicked.
> One of my brothers is allergic to corn.
> Being able to flag ingredients that contain corn (usually ingredients
> that contain corn syrup) would also be great.
> 
> Fortunately nothing too drastic happens when he gets corn, he gets a
> rash and a bad attitude - but it still manages to slip its way into a
> lot of things you wouldn't think contain corn.
> 
> I think it may be corn syrup itself and not corn that he is allergic to,
> I don't remember.

Oh God, please don't get PJ started on corn!

-- 
Thanks!
-Shawn
http://www.spidean.com

--- End Message ---
--- Begin Message ---
Michael A. Peters wrote:
> Bob McConnell wrote:
> > like a web based front end,
> > exclusion of specific ingredients due to allergies and being able to
> > attach dated notes about alterations or substitutions I try each time
>
> That sounds wicked.
> One of my brothers is allergic to corn.
> Being able to flag ingredients that contain corn (usually ingredients
> that contain corn syrup) would also be great.
>
> Fortunately nothing too drastic happens when he gets corn, he gets a
> rash and a bad attitude - but it still manages to slip its way into a
> lot of things you wouldn't think contain corn.
>
> I think it may be corn syrup itself and not corn that he is allergic
> to, I don't remember.
>
Oh my god, you have just treaded into one horrible hornet's nest... corn
is probably the worst thing imaginable when it come to the food chain,
nutrition, ecology, global warmiing, allergies, "green" fuel, etc. etc.
not to mention that we as "human beings" are practically being turned
into corn ourselves.
Maybe your brother already knows about some of this, but it would be
worth it for you to pursue the subject and you would be horrifies what
corn is doing to our bodies and our planet. That is truly Montezuma's
Revenge. If you want to know where to look, I'll check it out from my
reading... I don't have that on me at the moment. ;-)

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-------------------------------------------------------------
Phil Jourdan --- [email protected]
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


--- End Message ---
--- Begin Message ---
Shawn McKenzie wrote:
> Michael A. Peters wrote:
>   
>> Bob McConnell wrote:
>>     
>>> like a web based front end,
>>> exclusion of specific ingredients due to allergies and being able to
>>> attach dated notes about alterations or substitutions I try each time
>>>       
>> That sounds wicked.
>> One of my brothers is allergic to corn.
>> Being able to flag ingredients that contain corn (usually ingredients
>> that contain corn syrup) would also be great.
>>
>> Fortunately nothing too drastic happens when he gets corn, he gets a
>> rash and a bad attitude - but it still manages to slip its way into a
>> lot of things you wouldn't think contain corn.
>>
>> I think it may be corn syrup itself and not corn that he is allergic to,
>> I don't remember.
>>     
>
> Oh God, please don't get PJ started on corn!
>
>   
Too late! :-P

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-------------------------------------------------------------
Phil Jourdan --- [email protected]
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


--- End Message ---
--- Begin Message ---
Are you sure it's a PHP thing?

The way I have some of my email accounts setup is that I only accept
email from folks in my address book.  If I just registered a new
account somewhere, chances are I do not have them in my address book,
so it will go to the Junk/Spam folder.

If this is your issue, educate your users to make sure they check
their Junk/Spam folder depending upon their Junk/Spam filtering
settings when they are first registering.

--- End Message ---
--- Begin Message --- partially, this is my issue. but it looks like the message "add the email address [email protected] to you address book" didn't help. at least not noticeable.

afan



Dee Ayy wrote:
Are you sure it's a PHP thing?

The way I have some of my email accounts setup is that I only accept
email from folks in my address book.  If I just registered a new
account somewhere, chances are I do not have them in my address book,
so it will go to the Junk/Spam folder.

If this is your issue, educate your users to make sure they check
their Junk/Spam folder depending upon their Junk/Spam filtering
settings when they are first registering.



--- End Message ---
--- Begin Message ---
Hi,

Unable the create new pdf file object. Getting an error when coding as
following:

<?php

$pdf    =    pdf_new();

?>

*Fatal error*: Call to undefined function pdf_new() in *C:\wamp\www\abc1.php
* on line *3*

Please Help.

Thanks,
         Sumit.

--- End Message ---

Reply via email to