divided up (i.e. attachment is text)
Regards
Mark Cubitt
CODE
function send_mail($to, $from, $subject, $body, $attachment = '',
$attachmentDir = '')
{
$path_to_sendmail = /usr/sbin/sendmail;
$fp = popen($path_to_sendmail -t, w);
if ($attachment
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
I could be wrong though
Regards
Mark Cubitt
-Original Message-
From: Travis Low [mailto
light on it
for me.
I'm prob just making a silly mistake but any help would be very much
appreciated.
Thanks in advance
Regards
Mark Cubitt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also, if they do other things but really don't
$letterammount = ($letterammount + 1);
}
}
return($string);
}
hope that helps
Regards
Mark Cubitt
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]
Sent: 28 March 2003 11:33
a copy of the code you are using might help for suggestions,
and you say each line has upto 5 seprate querys on your db, are you using
seprate tables to hold that data?
-Original Message-
From: Simon Lusted [mailto:[EMAIL PROTECTED]
Sent: 12 March 2003 14:57
To: [EMAIL PROTECTED]
in either php
or perl ,
is mod_fast_cgi a better way to do this ? is there a way of
trawling through
each page creating a html version of it and also converting the links to
other pages and the other pages too ?
Mark Cubitt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Are all
takes this a little off topic.
regards
Mark Cubitt
-Original Message-
From: electroteque [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 11:13
To: [EMAIL PROTECTED]
Subject: Re: [PHP] creating flat versions of php pages
i dont understand what you mean , anyway, this is a short term
this helps
regards
Mark Cubitt
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 14:02
To: [EMAIL PROTECTED] Php. Net
Subject: [PHP] dynamic list box
Hello,
I have an sql statement that pulls data into a dynamic list box,
the problem
is, I
;
}
pg_close($dbh);
?
regards
Mark Cubitt
-Original Message-
From: Sebastian [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 09:35
To: [EMAIL PROTECTED]
Subject: [PHP] AUTH (.htaccess style)
Greetings.
I have a member system which each user has a unique ID, username
and password.
I
: text/html);
Header(Status: 302 Moved);
Header(Location: $site/unauthorised.htm);
exit;
}
pg_close($dbh);
?
regards
Mark Cubitt
-Original Message-
From: Sebastian [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 09:35
To: [EMAIL PROTECTED]
Subject
Hello,
I need to manipulate, the following data in a number of diffierent ways
(specifics follow).
Telephone extension number - 4 digits in the range 2000-2119
Total time on phone - seconds integer values
Total No. of calls - integer value
Name - A persons name
I'm purposely NOT using a
12 matches
Mail list logo