the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Do I have to close and reopen the socket every few hundred emails?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just wanted to come to grips with how sockets/SMTP works. Is it like
this...
1. I open the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Also, is step 3 necessary?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http
I just wanted to come to grips with how sockets/SMTP works. Is it like
this...
1. I open the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Also, is step 3 necessary?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http
Is there any way to get the process id of a script running on Apache?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
02 12:08 AM
To: Matthew Delmarter
Cc: PHP Mailing List
Subject: Re: [PHP] set_time_limit() in a loop
what are you doing a while on
if while never ends and you reset the time out each loop and use
ignore_user_abort(true), it will still be going 13 hours latter.
maybe if you send the full code so w
I should also mention that the loop is sending mail using mail().
Is it possible that this is the problem somehow?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject
Thanks for your reply Martin.
Any ideas why ignore_user_abort would cause this problem?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a
script is still
running 13 hours later! Or is this related to the ignore_user_abort?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
tter_name,
$newsletter_email,
$newsletter_subject,
'Return-Path: <[EMAIL PROTECTED]>'
)
It doesn't work! If I change 'Return-Path: <[EMAIL PROTECTED]>' to
'Reply-To: <[EMAIL PROTECTED]>' it does work.
Any ideas?
Reg
I have developed a site using PHP and MySQL.
My question:
How do I share the data stored in the database with another site?
Regards,
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
How do I use ereg to check for MSIE 5.5 and above.
eg: eregi("(MSIE.[56])",$HTTP_USER_AGENT)
This only gets version 5 and 6 ... but I want 5.5 and above. Any
ideas?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: September 26, 2001 12:01 PM
To: PHP Mailing List
Subject: [PHP] display query results at random
How do I return a specific record from a db outside of the query?
Let's say I "select * from table" (using my
How do I return a specific record from a db outside of the query?
Let's say I "select * from table" (using mysql_fetch_object) and get 5
results. I want to display the 5 results in different / random places
on the page.
Place 1 - show details for record 3
Place 2 - show details for record 1
Plac
mail directly to the
smtp server? Can you foresee any problems?
I look forward to your reply...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Let's say I am mailing 1000 members of a mailing list - is it possible
to stop the process once started? In particular I am looking for a
browser based solution...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Let's say I am mailing 1000 members of a mailing list - is it possible
to stop the process once started? In particular I am looking for a
browser based solution...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Here is an example of my code:
$text = "Hi ##firstname## ##lastname##,";
$text = ereg_replace("##([^#]+)##", $row->."\\1", $text);
$row-> is a result of using mysql_fetch_object. I would expect it to
replace ##firstname## and ##lastname## with the value of
$row->firstname and $row->lastname
ic example is displaying the results of a mail program as
it fires off mail to hundreds of members in a database.
Will this slow down the execution of the script at all - or much?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
Hi all,
I am curious about how to best define the size of fields in mysql. Is
there some size that are better used than others?
For example without thinking about it to much I would tend to size
fields in multiples of 10 - 20, 50, 100, 200 etc... Is this the best
answer?
Regards,
Matthew
I'll try again... my explanation of my exact problem was not too good
last time :P
I am working with the following code:
$text = "##firstname##";
$text = ereg_replace("##([^#]+)##", $row["\\1"], $text);
$row[] is a result of using mysql_fetch_array. I would expect it to
replace
Is it possible to dynamically assign a variable name?
For example:
variable name is $var_."name"
or $var_."$name"
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
How do I search an array?
For example if I want to know if $array contains "1"...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list adminis
How do I search mysql based on an array?
For example suppose I had an array of array(1,2,3). And I want to
search like so:
SELECT * FROM table WHERE id=arrayvalues
Regards,
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
ge! I
should admit that I am only just getting used to arrays...
Matthew
-Original Message-
From: Ben Bleything [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:03 PM
To: 'Matthew Delmarter'
Subject: RE: [PHP] storing array in mysql
Have you tried serialize()'ing it
Hi all,
I want to store the results of a multiple select input box in a mysql
db. The box looks like this:
name
I cannot seem to store the array in a database and then output the
result using foreach. Any tips?
Regards,
Matthew Delmarter
Web Developer
AdplusOnline.com Ltd
e?
In short I want to know if more than personal preference is involved
in naming fields...
Regards,
Matthew Delmarter
Web Developer
AdplusOnline.com Ltd
www.adplusonline.com
Phone: 06 8357684
Cell: 025 2303630
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
do I get a script to run in the background? I am
only familiar with processing script within an html page that is returned to
a client. Will a script like this keep running even if a browser window is
closed?
Also is there any examples of this kind of app?
Regards,
Matthew Delmarter
Web
n a field - but I
can see it's advantages.
I hope this all makes sense...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
n a field - but I
can see it's advantages.
I hope this all makes sense...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Is it possible to stop the mail delivery once the process has started - even
in the middle of a run?
-Original Message-
From: Michael Stearne [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 2:07 PM
To: Matthew Delmarter
Cc: PHP Mailing List
Subject: Re: [PHP] sending 5000+ emails
appreciated...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I at looking at using PHP to send a monthly newsletter to 5000+ users who
have subscribed via our site. The newsletter will be in HTML format for
those who have selected this option - otherwise plain text.
Can PHP handle something like this?
Regards,
Matthew Delmarter
--
PHP General Mailing
is is mnoGoSearch?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
nd correct? I never knew such things could be done. If so, can
it be done with PHP?
I look forward to your reply...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
How do I return the name of a file without any extensions or path info.
Eg how do I return "about" from "http://www.domainz.com/about.htm".
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I have a mysql database of events. It contains the following fields:
- EventID
- EventName
- EventDescription
- EventStartDate
- EventEndDate
I would like to query the database for the next 5 events from the current
date (today). Any ideas?
Regards,
Matthew Delmarter
Web Developer
--
PHP
I want to check to see if all vars in HTTP_GET_VARS array are empty. How can
I do this?
The code would work like this:
if(all HTTP_GET_VARS empty):
do this;
else:
echo this;
endif;
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To
I have an interesting problem with sessions (using enable-trans-sid).
I have created a page with the following javascript function on it:
function swapImgRestore() {
var i,x,a=document.sr; for(i=0;a&&ihttp://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I am about to build my own shopping cart but would like some feedback on the
following:
1. Using arrays stored in a PHP4 session vs. a database for storing cart
details.
2. What is the best method of passing session data if cookies disabled.
I hope you can help...
Matthew
--
PHP General Mail
39 matches
Mail list logo