RE: [PHP] bulk mail()

2002-06-14 Thread Jeff Field
I've been doing the following sending personalized mail to 600+ recipients, so far without any signs of discomfort anywhere: set_time_limit($total_rows * 1); // up the script timeout 1 second per email BTW, I use qmail; not sendmail. As I've never used sendmail, I don't know if this is part of

RE: [PHP] possible to add a "record number" to a query?

2002-06-13 Thread Jeff Field
r taken to a MySQL list, though. Actually, you never > said what DB you were using. This works in MySQL. > > ---John Holmes... > > > -Original Message- > > From: Jeff Field [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 13, 2002 10:01 AM > > To: [EMAI

RE: [PHP] possible to add a "record number" to a query?

2002-06-13 Thread Jeff Field
results 1, 2, 3, etc. Make sense? Thanks for your help! Jeff > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 8:30 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] possible to add a "record number" to a query? >

[PHP] possible to add a "record number" to a query?

2002-06-13 Thread Jeff Field
I would like to have a column returned in a query that tells you which record I'm looking at? Sort of like an auto_increment? IOW, the query results would look like: record first last 1 johndoe 2 joe blow 3 carol fisher The table only has first and last, but

RE: [PHP] Access control question - follow-up question

2002-06-07 Thread Jeff Field
> To: PHP List > Subject: Re: [PHP] Access control question - follow-up question > > > On Fri, Jun 07, 2002 at 11:32:48AM -0500, Jeff Field wrote: > > > > In regards to "Passing/testing the password on each page is > unnecessary and > > poses security risks."

RE: [PHP] Access control question - follow-up question

2002-06-07 Thread Jeff Field
, I'm a little unclear as to the security risk. Have I got this right? Thanks! Jeff > -Original Message- > From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 10:42 AM > To: PHP List > Subject: Re: [PHP] Access control questio

[PHP] Access control question

2002-06-07 Thread Jeff Field
Quick question... I have a site where user's log in, they put their user name and password in a form and if they are verified against the database, session variables are created, $_SESSION['user']; $_SESSION['pass']; and they get sent to the next page by way of, header("Location: https://www.m

RE: [PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Jeff Field
et outside > your function--say, you are opening a new page and not passing all the > variables to it. The function (which apparently works) isn't getting set > variables. Try echoing the input variables just above the > function call and > see if they're all there. &g

RE: [PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Jeff Field
t; try checking the return val, and (if using mysql) print > out mysql_error() if you get a bad return val. > > --- > Scott Hurring > Systems Programmer > EAC Corporation > [EMAIL PROTECTED] > Voice: 201-462-2149 > Fax: 201-288-1515 > > > -Original Message

[PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Jeff Field
I apologize...I just posted this to the database list but then realized it may not be a database issue, so thought I'd better give it a shot over here. Help! I've been having a weird problem today (and maybe it's been there all along, just haven't noticed...it's only been live a few days). I ha

RE: [PHP] Sessions question (-enable-trans-sid)

2002-06-06 Thread Jeff Field
nabled would be to just run every page in your site through PHP. That way, the URI's for every page will be appended with the SID, and maybe that's the way to go. Anyway, I hope I've got this all right and I hope it helps someone. Jeff > -Original Message- > From: J

[PHP] Sessions question (-enable-trans-sid)

2002-06-05 Thread Jeff Field
Hi, I'm confused about one thing regarding sessions and haven't been able to find the definitive answer anywhere. Hopefully, I can here. There are two ways to enable sessions: 1) Session ID is passed through cookies 2) Session ID is passed through the URL, either done manually or by automatic

[PHP] regex help

2002-05-26 Thread Jeff Field
This is not really specific to PHP (although the information might be useful for all that form validation we all do), and for that I apologize in advance (does anyone know of a regex mailing list?), but maybe someone here can help with the following: I find no good regex for checking valid domain

[PHP] using array to declare globals in function?

2002-05-24 Thread Jeff Field
Anyone know how to declare globals in a function from an array? The following doesn't seem to work: foreach($_POST as $key => $value) global $form_var[$key]; Thanks for any help! Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] matching two form fields function?

2002-05-23 Thread Jeff Field
I feel bad about asking a question like this, but I've spent quite a bit of time trying to track down what should be a simple answer and, no luck. Anyway... I'm trying to create a simple function that will match two form fields against each other, e.g. "Email" equals "Repeat Email". The followin

[PHP] what does this mean in plain english?

2002-05-17 Thread Jeff Field
Hi. I'm fairly new to PHP and programming in general. I'm learning mostly by deconstructing what others have written...but even though I have plenty of PHP books and have searched the Internet high and low, I'm stumped by the exact meaning in the following function of what the question mark's ("?