I need to display an entire downline (info about all
members referred by another member). The query to
actually get the info I need is fairly simple, but
displaying it in a table is what's tripping me up.
There are two tables: Affiliates and Referrals.
Affiliates keeps track of all affiliate info.
I need to display an entire downline (info about all
members referred by another member). The query to
actually get the info I need is fairly simple, but
displaying it in a table is what's tripping me up.
There are two tables: Affiliates and Referrals.
Affiliates keeps track of all affiliate info.
I need to display an entire downline (info about all
members referred by another member). The query to
actually get the info I need is fairly simple, but
displaying it in a table is what's tripping me up.
There are two tables: Affiliates and Referrals.
Affiliates keeps track of all affiliate info.
I have a PHP script that queries a MySQL database,
retrieves email addresses, and sends an email to all
members of a website.
The problem is this: the PHP script times out after
sending about 5,000 mailings, and I have to restart it
10 times in order to mail the entire list!
This is an ongoing p
e at it - that
> *might* fix it. Please
> note that executing set_time_limit() also resets the
> timer, so
> set_time_limit(20) every 100 e-mails should be more
> than enough.
>
> HTH
>
> Bogdan
>
> Daren Cotter wrote:
> > I have a PHP script that queries
is?
--- Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> On 08/14/2002 08:54 PM, Daren Cotter wrote:
> > I have a PHP script that queries a MySQL database,
> > retrieves email addresses, and sends an email to
> all
> > members of a website.
> >
To recap, my problem is:
I need some mailings sent immediately (confirmation
emails, welcome emails, password lookup emails, etc),
while others simply get thrown into the queue, and get
sent the next time the queue processes.
I contacted a sendmail guru, and he told me that if
Sendmail is run wi
7;ll check the queue
> continously and send out the emails as it receives
> them instantaneously.
>
> Adam
>
> On Thu, 15 Aug 2002, Daren Cotter wrote:
>
> > To recap, my problem is:
> >
> > I need some mailings sent immediately
> (
I have found a solution to my bulk email problem. I'm
posting my solution simply because I spent nearly a
year finding it, and I KNOW there's many other people
in my same situation.
First, a recap of my problem:
I need to send personalized emails to my member list
on a daily basis. I use PHP to
Justin is perfectly correct. Sessions are really the
way to perform this task (sessions actually use
cookies in most scenarios).
However, if you need to track the user for longer than
they will be at your site (i.e., they close the
browser and come back a week later, like you said), it
should be
php.ini config file
--- Randy Johnson <[EMAIL PROTECTED]> wrote:
> How do I surpress php warnings from being displayed
> to the screen
>
>
> Randy
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
_
I use PHP to send mail. Recently, emails originating
from the server stopped sending. After some
investigation, I looked at the /var/log/maillog file,
and saw the following errors when a mailing tried to
originate:
Aug 29 13:16:10 x sendmail[1162]: g7TIGA001162:
SYSERR(apache): Can't create trans
Hi all...
For some reason, starting today, sendmail will not run
as root on my server...it starts as user "apache".
This is causing permission problems with the mail
queue. I have made no configuration modifications to
the server in months.
Does anyone know why this may be happening, or how to
f
I have PHP installed on a Cobalt RaQ550. I know there
are two ways of installing PHP, one as a binary, and
one as an Apache module. I am pretty sure PHP gets
installed as an Apache module for the Cobalt
installation.
My problem, is that I absolutely NEED to run a PHP
script using crontab. The scr
://server/path/to/script.php >/dev/null 2>&1
>
> Then as the first thing in that script you will
> probably want to set the
> time limit to 0 so it doesn't time out...
>
>
>
> On Wed, 25 Sep 2002, Daren Cotter wrote:
>
> > I have PHP installed on a
f Arguments: $argc\n";
It prints nothing, not even 0
--- Chris Hewitt <[EMAIL PROTECTED]> wrote:
> >
> >
> >On Wed, 25 Sep 2002, Daren Cotter wrote:
> >
> >>
> >>My problem, is that I absolutely NEED to run a PHP
> >>script using c
somethign?
--- Jason Young <[EMAIL PROTECTED]> wrote:
> Sorry to butt in :)
>
> Arguments to web scripts are done in the format:
> page.php?arg1=data1&arg2=data2
>
> So you would use that full string as the lynx path.
>
> Hope this helps :)
> -Jason
>
>
#x27;m
> assuming this is what you want?
>
> To clarify:
> phpfile.php contains:
> $hi = $argv[1];
> echo $hi;
> ?>
>
> Running the command "php -f phpfile.php test"
> returns "test"
>
> Does this help at all??
>
> -Jason
>
;> Arguments to web scripts are done in the format:
> >> page.php?arg1=data1&arg2=data2
> >>
> >> So you would use that full string as the lynx
> path.
> >>
> >> Hope this helps :)
> >> -Jason
> >>
> >> Daren Cotter wrote:
&
> > assuming this is what you want?
> >
> > To clarify:
> > phpfile.php contains:
> > > $hi = $argv[1];
> > echo $hi;
> > ?>
> >
> > Running the command "php -f phpfile.php test"
> returns "test"
> >
>
In any case, register_globals is ON for my server.
I don't understand why this isn't working? I'm doing
exactly what the manual says. What could I be missing?
--- Robert Cummings <[EMAIL PROTECTED]>
wrote:
> Nope, $GLOBALS remains as always...
>
>
>
http://www.php.net/manual/en/language.va
Holy wowsers...about 5 pages of jibberish printed out,
and at the end:
Warning: Nesting level too deep - recursive
dependency? in test.php on line 3
There isn't even a line 3 in the script:
--- Don Read <[EMAIL PROTECTED]> wrote:
>
> On 25-Sep-2002 Daren Cotter
This just prints out a bunch of info (seems to be
unimportant)...what am I looking for in this?
--- Don Read <[EMAIL PROTECTED]> wrote:
>
> On 25-Sep-2002 Daren Cotter wrote:
> > Holy wowsers...about 5 pages of jibberish printed
> out,
> > and at the end:
> >
Don,
It was not there anywhere.
--- Don Read <[EMAIL PROTECTED]> wrote:
>
> On 25-Sep-2002 Daren Cotter wrote:
> > This just prints out a bunch of info (seems to be
> > unimportant)...what am I looking for in this?
> >
>
> You're looking for your a
o();
> ?>
>
> in it and run it as:
>
> % php script.php arg1 arg2 arg3
>
> and then search the output for arg1 and find out
> where it is. It's got to
> be there somewhere.
>
> -philip
>
> On Wed, 25 Sep 2002, Daren Cotter wrote:
>
> > Do
]>
> wrote:
> >> Then try a script with:
> >>
> >> >> phpinfo();
> >> ?>
> >>
> >> in it and run it as:
> >>
> >> % php script.php arg1 arg2 arg3
> >>
> >> and then search the output
I need to filter out certain characters from being
stored in the database from our signup form. The
fields include first name, last name, street address,
city, zip, etc.
Question 1: What characters should be allowed, other
than lowercase, uppercase, digits, and the space
character?
Question 2: W
I need a regular expression to verify various inputs
on my form. I know the base case of:
"^[a-zA-Z0-9]+$"
matches any letter or number. I'm looking for various
input from the list as to what characters should be
allowed in the following fields:
Name: I would think -, ', and space for sure. Any
John,
What about foreign names...such as the umlaut in
German? I'm not interested in allowing ALL of the
characters, just the most common ones...I'd hate to
restrict a genuine registration because the name
contains an unaccepted character. Know what I mean?
--- "John W. Holmes" <[EMAIL PROTECTED
29 matches
Mail list logo