Sebastian [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
having a little problem. I know i have a connection to the mysql database
but for some reason i can't get this to update the database when submit is
clicked. perhaps i am overlooking something.. Here is part of the script:
one
$headers .= MIME-Version: 1.0\r\n;
$headers .= Content-type: text/html; charset=iso-8859-1\r\n;
$headers .= From: .$from_name. .$from_address.\r\n;
$headers .= Reply-To: .$from_name. .$from_address.\r\n;
$headers .= X-Priority: 3\r\n;
$headers .= X-MSMail-Priority: Normal\r\n;
$headers .=
Hi all,
I'm making a bulk send mail program script.
In this script I use an array:
now this works fine: $send_vars = array(
'recipients' = array('[EMAIL
PROTECTED]','[EMAIL PROTECTED]','[EMAIL PROTECTED]')
I'm thinking about starting a cookbook/recipes website and I'm guessing
there's some special skills for handling recipes (ingredients, cooking
times, etc) and I would like to know if there's a PHP based project that is
designed for that kind of the project.
Doing google searches for anything that
If I understood correctly, the first time start_session is used, the server
will send both a cookie AND rewrite the links in the page with the sessionid
appended to it. This seems logical since at the first call for a session the
server can not know whether the browser will accept cookies or not.
On 24-Mar-2003 daniel wrote:
hi there is a way to include files once in php3 ?
I've always used function_exists():
if (! function_exists('debug'))
include('common.inc');// get the basics
if (! function_exists('array_pop'))
include('libphp4.php3'); // get
Hi
What I'd like to do is open an html file, strip out the content between
the body/body tags so that I can insert it into my own template.
Has anyone got any good resources or tutorials I could read to help me
accomplish this simple sounding task.
I have no idea where to start! ;o)
Thanks
for an application, i would like to have the temporary upload file directory
under the webroot of this application.
how can i override the php.ini directive of upload_tmp_dir ?
--
roger
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March
On 24-Mar-2003 L0vCh1Y wrote:
JWH SELECT TO_UNIXTIME(your_column) FROM table ...
It doesn't work... MySQL returns error - what could be trouble in? I
also tried
SELECT TO_UNIXTIME(foo) AS bar FROM baz
But it's look like it doesn't know such function :\.
I tried table in next
Hello,
First you need to convert dates in timestamp:
int mktime ( int hour, int minute, int second, int month, int day, int year [, int
is_dst])
or
strtotime('-MM-DD');
(year-month-date; 4 digit year; month and date need to be with leading zero)
Then you can use function like
I'm using Command Line php and php-xslt functions ( sablotron 0.96 )
I have got an error such that :
php: output.cpp:1554: Bool OutputterObj::eventAttributeStart(Situation ,
const EQName ): Assertion `!eventAttributeStart' failed.
Any idea?
Fatih stnda
Yre Elektronik Yaymclk A..
0 212 234 00
Hi,
Using the following code i get a parse error for line 137, and i cant see
anything wrong with it, i would be very grateful for someones help here!
if ($num 0){
if ($values[$i] == 0){
$query = DELETE FROM WMS_Allocatations WHERE User_ID =
'.$_GET[user_id].' AND Project_ID =
On 24-Mar-2003 Philip J. Newman wrote:
$headers .= MIME-Version: 1.0\r\n;
$headers .= Content-type: text/html; charset=iso-8859-1\r\n;
$headers .= From: .$from_name. .$from_address.\r\n;
$headers .= Reply-To: .$from_name. .$from_address.\r\n;
$headers .= X-Priority: 3\r\n;
$headers .=
You have a curly brace, where you should have a square bracket:
if ($values{$i] != 0){ //line 137
if($values[$i]) {
James
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Using the following code i get a parse error for line 137, and i cant see
anything wrong with it,
At 11:24 24.03.2003, shaun said:
[snip]
Using the following code i get a parse error for line 137, and i cant see
anything wrong with it, i would be very grateful for someones help here!
if ($num 0){
if ($values[$i] == 0){
$query = DELETE FROM
On Monday 24 March 2003 17:28, Roger Thomas wrote:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a References: header that tells
Am talking to a part Bristol City Council in the UK. To persuade them to
use PHP I need to find some high profile reference sites.
Looked on php.net but all the sites were technical support sites, not
really corporate or government sites. This is not very good, the MySQL lot
have a very good
On Monday 24 March 2003 18:35, Don Read wrote:
On 24-Mar-2003 Philip J. Newman wrote:
$headers .= MIME-Version: 1.0\r\n;
$headers .= Content-type: text/html; charset=iso-8859-1\r\n;
$headers .= From: .$from_name. .$from_address.\r\n;
$headers .= Reply-To: .$from_name. .$from_address.\r\n;
Ben Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Am talking to a part Bristol City Council in the UK. To persuade them to
use PHP I need to find some high profile reference sites.
So..
Can anyone give me some sites who use PHP that the people at Bristol city
Council
Does anyone know how to count check # of user logged on (and not logged off) using
PHP?
Should I use session?
best regards
./pl
Hi all,
I'v got the following:
round ($val1,4);
echo $val1;
It works fine, but when $val which is a float, contains for instance 1.1 I
want it to output 1.1000 instead of just 1.1
I know in C++ this can be done with setprecision(), but I can't seem to find
anything similar in phpplease
If you store your text htmlentitied in the database, you will need to
apply htmlentities to the search string, but not when you bring the data
back from the database tables (to either display in the text editing screen,
or the normal viewing screen. Example:
?php $text = This is a test /textarea;
Dear Online Business Opportunity Seekers
Why CCI ?
CCI, Core Club International is a 3 year old,
Federally registered non-profit humanitarian
aid, corporation.
Federal EIN # 93-1324671
State Reg. # 036394-99
Established April 17, 2000
CCI was set up to help eradicate poverty in the
world
Tony, try searching the archives - the regular expression that's required to
get the stuff between the body tags has been asked many, many times
before.
Here's a quick bit of code that might get you started:
?php
$temp_file = /tmp/ . uniqid(yahoo);
$myfile = /path/to/myfile.html;
$file =
number_format
Adriaan Nel wrote:
Hi all,
I'v got the following:
round ($val1,4);
echo $val1;
It works fine, but when $val which is a float, contains for instance 1.1 I
want it to output 1.1000 instead of just 1.1
I know in C++ this can be done with setprecision(), but I can't seem to find
This has been discussed before. It depends on what kind of
authentication you use. Sessions are great for this, but you need to use
your own session save handler, save sessions to sql db, and then use
select count(*)
P Lok wrote:
Does anyone know how to count check # of user logged on (and
You could have also used sprintf, which can be called from C++ as well.
Josh.
On March 24, 2003 07:18 am, Marek Kilimajer wrote:
number_format
Adriaan Nel wrote:
Hi all,
I'v got the following:
round ($val1,4);
echo $val1;
It works fine, but when $val which is a float, contains
I'm refering to the type of documentation that mysql and php has on their
websites, where you have chapter headings and sections, and people can look
at a contents pages, or can look at individual sections, or can look at one
massive html file with everything in it or can download the entire
Can someone help?
I have uploaded my PHP pages, created in Dreamweaver MX to my hosting server
but when I try to access the page the only option I get is to download it.
What am I doing wrong?
I have created the forms and guestbooks that mail information to me but
these do not work, they are OK
Server is probably set up wrong or your extensions are wrong. Check with
the ISP wether you have PHP facilities, the extension is .php normally but
sometimes .php3.
At 03:55 24/03/2003 +, Andy wrote:
Can someone help?
I have uploaded my PHP pages, created in Dreamweaver MX to my hosting
Hi Ben
They say that the server is set up for PHP4, and they say it is something to
do with my scripts.
Not sure I believe them.
My pages have the extension .php
Andy
Ben Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Server is probably set up wrong or your extensions are
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~jolove/PHP/EMail/EmailPHP.phps
and look at the code ... it really is very short ...
The function send() returns success, yet my mail client,
Hi,
I don't think this's the solution... so take this msg only as info. :)
Same problem can happen with old browsers. Solution is to add .php to
MIME-Settings of text/html. I had this problem with eBay (*.dll) some
times ago. :)
But I think it's a problem with your ISP. If there are errors
Hi
I'm new (to the list and php) - be gentle on me!
I'm working on a script that will allow a client to send an email message to
an email list that is pulled out of a database(mysql). I've got the script
working sort of..., though it needs more work. Essentially, I
pull the e-mails out of a
Hi,
I have some checkboxes on my form and am using the following code to
populate it. The box will be checked if the user is allocated to the
project. My problem is if I uncheck a checkbox and send the form I don't
know what the $project_id is as it returns zero, so I cant delete the
Thanks!
Could u pls tell me where can I find the said topic?
Is the record in db still valid if the user has disconnected?
rgds
./pl
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This has been discussed before. It depends on what kind of
authentication you use.
Yeah, sorry, it's the UNIX_TIMESTAMP() function you want.
FROM_UNIXTIME() will convert a Unix timestamp to a MySQL timestamp,
also.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Don
hi
Could anyone give me an example of a prepare() and execute() that
retrieves a simple dataset as an associative array and then prints it
to the screen? I can only seem to find examples that do an INSERT and I
am having trouble doing the translation.
Thanks
charles
--
PHP General Mailing
php-general Digest 24 Mar 2003 13:56:35 - Issue 1957
Topics (messages 140790 through 140847):
Re: Calculating the difference between two dates
140790 by: Don Read
140791 by: Greg Beaver
140817 by: Nenad Djordjevic
Re: reloading a page..
140792 by: Leo
I'm currently stuck in a project where I need to pull info from a
database and sort it by order of 2 seperate fields and creates a text
report of the results. No problems there but
now what the boss is wanting to do is break it up into slices of 8 records
per file and save each file individually
Hey andy,
I had this problem a while ago.
And this is a server problem.
This is what happens if the server is
unable to execute the .php files.
I can't look at my docs right now so can't give
you a clue in how to fix this.
Will have a look when i'm at home.
Thijs
-Oorspronkelijk
Hi Thijs
It would seem it was a problem with the server, and they have now corrected
this. Even though they said it was my scripts.
Thank you for your help all.
Andy
Thijs Lensselink [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey andy,
I had this problem a while ago.
And this
At 15:50 24-3-03, you wrote:
I'm currently stuck in a project where I need to pull info from a
database and sort it by order of 2 seperate fields and creates a text
report of the results. No problems there but
now what the boss is wanting to do is break it up into slices of 8 records
per file and
Ben Edwards wrote:
Am talking to a part Bristol City Council in the UK. To persuade them
to use PHP I need to find some high profile reference sites.
You may find some useful references in the archive of this list. I
remember a poster with the subject of: Is php used by U.S. Government?
By
On Mon, 24 Mar 2003 13:06:45 -, Shaun [EMAIL PROTECTED] wrote:
Hi,
I have some checkboxes on my form and am using the following code to
populate it. The box will be checked if the user is allocated to the
project. My problem is if I uncheck a checkbox and send the form I don't
know what the
On Mon, 24 Mar 2003 16:11:00 +0800, Larry Li [EMAIL PROTECTED] wrote:
But MS SQL SERVER saved all characters. Only first 255 characters was
shown
in textarea. What's wrong?
Thanks for your input,
Larry
What does the html source look like? Sounds like some sort of html closing
tag
On Monday 24 March 2003 21:56, Charles Kline wrote:
Could anyone give me an example of a prepare() and execute() that
retrieves a simple dataset as an associative array and then prints it
to the screen? I can only seem to find examples that do an INSERT and I
am having trouble doing the
On Monday 24 March 2003 21:05, mailing wrote:
I'm new (to the list and php) - be gentle on me!
I'm working on a script that will allow a client to send an email message
to an email list that is pulled out of a database(mysql). I've got the
script working sort of..., though it needs more
Hi,
Can someone tell me if I can use php to accomplish
the following:
I would like to create a form that can:
A. Total the sum of a certain number of numerical
fields, Before the user clicks submit
B. Automatically fill in sections of a form
based on selections made by the user. As an example,
use javascript
- Original Message -
From: Keven Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:32 PM
Subject: [PHP] Dynamic Form
Hi,
Can someone tell me if I can use php to accomplish
the following:
I would like to create a form that can:
A.
Hi Keven,
Hi,
Can someone tell me if I can use php to accomplish
the following:
I would like to create a form that can:
A. Total the sum of a certain number of numerical
fields, Before the user clicks submit
B. Automatically fill in sections of a form
based on selections made by
If the page does not submit between changes, PHP will not be much help,
that would be JavaScript's job. You could use PHP to prepare the arrays
that JavaScript will use to accomplish this.
- Charles
On Monday, March 24, 2003, at 11:32 AM, Keven Jones wrote:
Hi,
Can someone tell me if I can
The system is done with xml and xslt and uses the docbook utilities like
jade, jadetex, sgml and other utilities.
--
Ray
On Mon, 2003-03-24 at 05:48, James wrote:
I'm refering to the type of documentation that mysql and php has on their
websites, where you have chapter headings and sections,
can anybody help me out with this? I have figured out checkdate finally,
but still have nothing that will help me with time validation.
thanks,
Jeff
Domintcom [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a form that is passing a date variable, and a time variable. I
will
Hello list.. I have an issue..
I have users athenticating to apache using the ldap_mod_auth module,
when they authenticate it populates the LDAP_USER variable. What I need
is to also populate the REMOTE_USER variable for some other CGI's, I
know I could change them, but there are several
Manual:
string *setlocale* ( mixed category, array locale)
If /locale/ is zero or 0, the locale setting is not affected, only the
current setting is returned.
Martin Towell wrote:
So noone has any ideas at all ? Surely not ?
If my question's too vague, please let me know and I'll try to expand
On Tuesday 25 March 2003 00:39, DomIntCom wrote:
can anybody help me out with this? I have figured out checkdate finally,
but still have nothing that will help me with time validation.
explode() on the time delimiter (probably colon)
check that hour is 1-12 (or 0-23)
check that minute is 0-59
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo The string ($str) is bogus;
} else {
echo $str == . date('l dS of F Y h:i:s A',$timestamp);
}
Erwin Kerk
Web Developer @ BliXem.nl
Jason Wong wrote:
On Tuesday 25 March 2003 00:39,
this should be pretty straight forward, but I cannot make this work for some
reason.
$ndate = str_replace(','', '2003-1;1 00:00:01' AND '2003-3-1 23:59:59');
to extrapolate we have the following string surrounded by double quotes;
'2003-1;1 00:00:01' AND '2003-3-1 23:59:59'
now - I have even
Why not get MySQL to compare your date with today?
e.g.
select if(Booking_Date = curdate(),'booked','free') as Todays_Status ...
$Todays_Status = mysql_result($result,$i, Todays_Status);
echo you are $Todays_Status today;
I find it is much, much safer to only use the database for finding out
hi,
i have paresed entire messaage into an array. everything was ok untill i
encountered a message/rfc822 subtype.it was a farwaded message.now my
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is
Array
(
[Date] = Tue, 18 Mar 2003 13:28:07
I think this can be acoplished with some apache configuration
directives. Php has nothing to do with this, as it funtions besides CGI's
Jeremy Russell wrote:
Hello list.. I have an issue..
I have users athenticating to apache using the ldap_mod_auth module,
when they authenticate it populates
works for me:
echo str_replace('2003','2002', '2003-1;1 00:00:01' AND '2003-3-1
23:59:59');
DomIntCom wrote:
this should be pretty straight forward, but I cannot make this work for some
reason.
$ndate = str_replace(','', '2003-1;1 00:00:01' AND '2003-3-1 23:59:59');
to extrapolate we have the
This is either bug in the extensions, or you give wrong parameters to a
function or method.
Fatih stnda wrote:
I'm using Command Line php and php-xslt functions ( sablotron 0.96 )
I have got an error such that :
php: output.cpp:1554: Bool OutputterObj::eventAttributeStart(Situation ,
const
I think there is a module example/template in the php sources
hzqbbc wrote:
Hi all:
I want to write a small module for php and reduce some overhead while doingthe same
job with PHP scripts.
But i'm new to php dev, and even don't konw about the archtecture of phpmodule.. So
could
yea - that figures... I was pretty certain I had the syntax correct. this
is kind of a round about way, but I finally did get the following to work;
$ndate = strtr($date, ' , \\);
$ndate = stripslashes($ndate);
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
works
I'm writing a little script that is parcing a excel generated csv file.
While all the users will be using windows I'd like to make it safe for all
file types.
Any one have a quick snippet that I could use to convert a temp file to use
all \n based line endings for consistency?
Thanks.
~ Mike
--
thanks Erwin Jason... I will work with these two, and see what I can come
up with.
Erwin Kerk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo The string ($str) is bogus;
}
Try str_replace(chr(39),..
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:23 PM
To: DomIntCom
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] can't make str_replace work with single quote
works for me:
echo str_replace('2003','2002',
CLI does not have time limit by default, and memory should not be a
problem too, but you will need to use unset() more often than it is used
to in web scripts. Also look at direct IO functions, there is something
about serial ports
Jason Young wrote:
After upgrading to RedHat 8.0 and
hi,
I am very new to php so please forgive me if this is somewhat of a dumb
question
I have a html page with a whole bunch of textfields and checkboxes.
Once the user fills out the information it is entered it is recorded in a
mySQL db/table
the problem that i am having is with the checkboxes. if
I wish to use the include() and/or the require() functions to include a
block of PHP multiple times in my file. The block contains code for
outputting PDF elements. Although other external code (functions for
example) are successfully referenced using these commands, the PHP's PDF
functions don't
I am using a SELECT statement to grab all items from a database table and while
looping through the results I am connecting the fields with tabs and adding a new line
at the end of the row to create a tab delimited file.
On one field I do a nl2br in order to preserve the spacing in the field.
My server has cURL built into its php module, but it doesn't support
SSL, and thus doesn't support requests to secure servers, i.e. https. It
was an effort in itself to get them incorporate cURL, and I was just
wondering if I should move immediately to a new host - if this were just
--- Iggy [EMAIL PROTECTED] wrote:
I have a html page with a whole bunch of textfields and checkboxes.
Once the user fills out the information it is entered it is recorded
in a mySQL db/table the problem that i am having is with the
checkboxes. if they are checked everything works fine, but if
nl2br() doesn't remove the newlines, it simply adds in the br / in before
them.
The str_replace should work, how are you trying to use it?
---John Holmes...
- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:56 PM
Subject: [PHP]
My server has cURL built into its php module, but it doesn't support
SSL, and thus doesn't support requests to secure servers, i.e. https. It
was an effort in itself to get them incorporate cURL, and I was just
wondering if I should move immediately to a new host - if this were just
On 24-Mar-2003 shaun wrote:
Hi,
I have some checkboxes on my form and am using the following code to
populate it. The box will be checked if the user is allocated to the
project. My problem is if I uncheck a checkbox and send the form I don't
know what the $project_id is as it returns
The data is being entered into a textarea and is being stored as it is
entered but with an addslashes right before insertion.
On the extract I am doing the following:
$row[description] = stripslashes($row[description]);
$row[description] = nl2br($row[description]);
$row[description] =
The data is being entered into a textarea and is being stored as it is
entered but with an addslashes right before insertion.
On the extract I am doing the following:
$row[description] = stripslashes($row[description]);
You don't have to use stripslashes() on data coming out of a database
Ah! That did it, it's all on Windows and when I tried removing things I
tried at one point removing the \r as i thought the nl2br changed the \n to
br /
Thanks a lot John :)
Jeff
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
PHP General
Trying to do what should be rather simple and I have done before.
Maybe I am just overlooking the obvious but this is the error I get...
Warning: Unable to open 'Array' for reading: No such file or directory
in /var/www/html/nepso_noah/NEPSO/includes/reporters/update_profile.inc
on line 33
This
At 20:36 24.03.2003, Mike Zornek said:
[snip]
I'm writing a little script that is parcing a excel generated csv file.
While all the users will be using windows I'd like to make it safe for all
file types.
Any one have a quick snippet that I could use to
$mail-BCC( [EMAIL PROTECTED] );
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
u etetr reference them with $_FILES['photonew']['tmp_name']
or do a print_r($_FILES); and it'll tell u info in the upload
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP] File uploads...
Trying to do what
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 1:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
From, CC and BCC are headers to be
- Original Message -
From: Al [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 1:14 PM
Subject: [PHP] File uploads...
Trying to do what should be rather simple and I have done before.
Maybe I am just overlooking the obvious but this is the error I get...
Warning:
Not everyone has whatever class you seem to be using...
Bryan Brannigan wrote:
$mail-BCC( [EMAIL PROTECTED] );
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
I had a look in the cgi-bin in the site that's hosting my files and it
contains a binary file called php.dat. Can anyone tell me what the
file is used for?
Regards
Gavin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
i have paresed entire messaage into an array. everything was ok untill i
encountered a message/rfc822 subtype.it was a farwaded message.now my
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is
Array
(
[Date] = Tue, 18 Mar 2003 13:28:07
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
- Original Message -
From: Bryan Brannigan [EMAIL PROTECTED]
To: Oden Odenius [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent:
How can send bcc: with mail()?
From, CC and BCC are headers to be set in the fourth parameter of the
mail()
function. Headers must be spearated by end-of-line characters.
$headers = From: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
BCC: [EMAIL PROTECTED];
mail($to, $subject, $body,
I dont know where my brain is today, obviously not with me. I had this
working yesterday and then a server crash casued them to run the backup from
teh day before and wiped all my work out.
Can someone please get me back on track.
HEre is the problem.
I want to list a collection of items.
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:51 PM
Subject: Re: [PHP] mail() Bcc:
How can send bcc: with mail()?
From, CC and BCC are headers to
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:17 PM
Subject: Re: [PHP] mail() Bcc:
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL
Braindead!
I need to evaluate a number if greater than 7 and add a value per increment.
I'm frazzled and can't think straight.
Thanks Guys!
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED] *
http://xend.net*
602-971-2791
At 23:51 24.03.2003, CPT John W. Holmes said:
[snip]
If I'm wrong, someone please let me know, but some servers may only accept
Bcc: instead of bcc: or BCC:, etc... ?? Does anyone know if that matters? If
it does, is it only dependant upon the sending SMTP
Huh?
Not really following what you want to achieve, but:
?
$n = 9;
$floor = 7;
if($n $floor)
{
$diff = $n - $floor; //eg 2
// no idea what you want to do from here
}
?
on 25/03/03 10:58 AM, Richard Whitney ([EMAIL PROTECTED]) wrote:
Braindead!
I need to evaluate a
not sure if this is what you're looking for:
if ( $var 7 ) {
// do stuff
}
- cheers,
Sebastian
- Original Message -
From: Richard Whitney [EMAIL PROTECTED]
| Braindead!
|
| I need to evaluate a number if greater than 7 and add a value per
increment.
| I'm frazzled and can't think
1 - 100 of 115 matches
Mail list logo