473,385 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

not receiving emails expected

The following describes the problem I am having. Can anyone help?

$send_to[] = "da*******@yahoo.com";
$send_to[] = "pr********@advisiongraphics.com";
$send_to[] = "ad**************@mac.com";


// send email
foreach ($send_to as $dest)

mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do

mail($r["email"],$email_subject,$message,$header); //This line
working

Sep 27 '07 #1
13 1518
davjoh wrote:
The following describes the problem I am having. Can anyone help?

$send_to[] = "da*******@yahoo.com";
$send_to[] = "pr********@advisiongraphics.com";
$send_to[] = "ad**************@mac.com";


// send email
foreach ($send_to as $dest)

mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do

mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?

Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 28 '07 #2
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working

Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?

Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
This is what is in the header

// build headers
$header = sprintf("From: %s\n",$email_from);
Not sure what you mean by response to mail() call.

Sep 28 '07 #3
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working

Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?

Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
Here is some more code related to the header

if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}

Sep 28 '07 #4
davjoh wrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjoh wrote:
>>The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?

Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -

This is what is in the header

// build headers
$header = sprintf("From: %s\n",$email_from);
Not sure what you mean by response to mail() call.
mail() is a function call. It has a return code indicating whether the
email was passed on to your MTA or not.

What's that response?

The first step is to see if it even made it to the mta.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 28 '07 #5
davjoh wrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjoh wrote:
>>The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?

Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -

Here is some more code related to the header

if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
And don't try to fool with html to start. Get it to work with plain
text, first.

And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).

Also, some spam filters will block email which has just html.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 28 '07 #6
On Sep 28, 3:21 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?
Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
Here is some more code related to the header
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}

And don't try to fool with html to start. Get it to work with plain
text, first.

And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).

Also, some spam filters will block email which has just html.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
It appears this is the solution.

The php.ini file needed 'short tags on' enabled to read the
array correctly.
Sep 30 '07 #7
davjoh wrote:
On Sep 28, 3:21 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjoh wrote:
>>On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?
Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
Here is some more code related to the header
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
And don't try to fool with html to start. Get it to work with plain
text, first.

And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).

Also, some spam filters will block email which has just html.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -

It appears this is the solution.

The php.ini file needed 'short tags on' enabled to read the
array correctly.

No, short tags has nothing to do with reading arrays. And nothing
you've posted here indicates a problem with short tags.

Also, you should not be depending on short_tags being on. Even Zend
talks about that.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 30 '07 #8
On Sep 30, 11:01 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
On Sep 28, 3:21 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
The following describes the problem I am having. Can anyone help?
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header); //This line NOT
working
//expecting it to send email to all the above addresses assigned to
$send_to[] array. Is it because values have not been added to $dest
and if so how to do
mail($r["email"],$email_subject,$message,$header); //This line
working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?
Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
Here is some more code related to the header
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
And don't try to fool with html to start. Get it to work with plain
text, first.
And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).
Also, some spam filters will block email which has just html.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
It appears this is the solution.
The php.ini file needed 'short tags on' enabled to read the
array correctly.

No, short tags has nothing to do with reading arrays. And nothing
you've posted here indicates a problem with short tags.

Also, you should not be depending on short_tags being on. Even Zend
talks about that.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
if I echo the results of reading the array could that help in
determining the problem?

Oct 1 '07 #9
davjoh wrote:
On Sep 30, 11:01 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjoh wrote:
>>On Sep 28, 3:21 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjoh wrote:
>>The following describes the problem I am having. Can anyone help?
>>$send_to[] = "davjoh...@yahoo.com";
>>$send_to[] = "product...@advisiongraphics.com";
>>$send_to[] = "advision_gali...@mac.com";
>>// send email
>> foreach ($send_to as $dest)
>> mail($dest,$email_subject,$message,$header); //This line NOT
>>working
>>//expecting it to send email to all the above addresses assigned to
>>$send_to[] array. Is it because values have not been added to $dest
>>and if so how to do
>> mail($r["email"],$email_subject,$message,$header); //This line
>>working
>Nope, but you haven't told us enough about your problem. For instance,
>what's the response from the mail() call? What's in $header?
>Are you suer it isn't going into a spam black hole somewhere? Are you
>trying to send too many emails too quickly, and therefore upsetting your
>MTA?
>--
>==================
>Remove the "x" from my email address
>Jerry Stuckle
>JDS Computer Training Corp.
>jstuck...@attglobal.net
>==================- Hide quoted text -
>- Show quoted text -
Here is some more code related to the header
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
And don't try to fool with html to start. Get it to work with plain
text, first.
And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).
Also, some spam filters will block email which has just html.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
It appears this is the solution.
The php.ini file needed 'short tags on' enabled to read the
array correctly.
No, short tags has nothing to do with reading arrays. And nothing
you've posted here indicates a problem with short tags.

Also, you should not be depending on short_tags being on. Even Zend
talks about that.
>- Show quoted text -

if I echo the results of reading the array could that help in
determining the problem?
It could. But more importantly, where is the data coming from? and
what does it look like there?

And when dealing with objects and arrays, it's generally better to do
something like:

echo "<pre>\n";
print_r ($var);
echo "</pre>\n";
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 1 '07 #10
On Sep 30, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjohwrote:
On Sep 30, 11:01 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjohwrote:
On Sep 28, 3:21 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjohwrote:
On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjohwrote:
>The following describes the problem I am having. Can anyone help?
>$send_to[] = "davjoh...@yahoo.com";
>$send_to[] = "product...@advisiongraphics.com";
>$send_to[] = "advision_gali...@mac.com";
>// send email
> foreach ($send_to as $dest)
> mail($dest,$email_subject,$message,$header); //This line NOT
>working
>//expecting it to send email to all the above addresses assigned to
>$send_to[] array. Is it because values have not been added to $dest
>and if so how to do
> mail($r["email"],$email_subject,$message,$header); //This line
>working
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?
Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
Here is some more code related to the header
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
And don't try to fool with html to start. Get it to work with plain
text, first.
And when you do send html email, you should always have a plain text
mime type for those who have text email readers (or choose to disable
html email).
Also, some spam filters will block email which has just html.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -
- Show quoted text -
It appears this is the solution.
The php.ini file needed 'short tags on' enabled to read the
array correctly.
No, short tags has nothing to do with reading arrays. And nothing
you've posted here indicates a problem with short tags.
Also, you should not be depending on short_tags being on. Even Zend
talks about that.
- Show quoted text -
if I echo the results of reading the array could that help in
determining the problem?

It could. But more importantly, where is the data coming from? and
what does it look like there?

And when dealing with objects and arrays, it's generally better to do
something like:

echo "<pre>\n";
print_r ($var);
echo "</pre>\n";

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
The data is hard coded into the file

$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email

This is the whole file:
<?php
// Copyright 2004-2007 J.F. Aubertin & AdVision Multimedia
Productions, all rights reserved.
//----------------------------------------------------------
//------------[ Config ]------------------------------------
//----------------------------------------------------------

$thanks_page = "contact_us_thanks.php";
$form_page = "contact_us_form.php";
$mail_page = "contact_us_email.php";

$send_to[] = "da*******@yahoo.com";
$send_to[] = "we*******@cliffhousecottages.com";
//$send_to[] = "in**@cliffhousecottages.com";
$email_subject = "Cliffhouse & Treehouse Accommodations - Thank you
for contacting us!";
$email_from = "re***********@cliffhousecottages.com";

$db_table = "clifftree_requests";

//----------------------------------------------------------
//------------[ Setup ]-------------------------------------
//----------------------------------------------------------

include_once("fdb_conf.php");
include_once("flib/txt2htm.php");

if (empty($vars)) $vars=$HTTP_POST_VARS;
if (empty($vars)) $vars=$HTTP_GET_VARS;
if (empty($vars)) $vars=$_POST;

//----------------------------------------------------------
//------------[ Main Code ]---------------------------------
//----------------------------------------------------------

if (empty($vars))
{
include($form_page); exit();
}
else
{
//if (empty($vars["company"])) $err_msg[] = "Company required.";
if (empty($vars["firstname"])) $err_msg[] = "First Name Required.";
if (empty($vars["lastname"])) $err_msg[] = "Last Name Required.";
if (empty($vars["email"])) $err_msg[] = "Email Required.";
if (empty($vars["tel_phone"])) $err_msg[] = "Telephone Number
Required.";
//if (empty($vars["street"])) $err_msg[] = "Street required.";
//if (empty($vars["city"])) $err_msg[] = "City required.";
//if (empty($vars["prov"])) $err_msg[] = "Prov/State
required.";
//if (empty($vars["postal"])) $err_msg[] = "Postal Code
required.";
//if (empty($vars["country"])) $err_msg[] = "Country required.";

$str="sdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="xdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="ldate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
if (count($err_msg) 0)
{
include($form_page); exit();
}
else
{
$str="sdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$sdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

$str="xdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$xdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

$str="ldate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$ldate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

// -- Begin Prepare Insert -------- //
$ff=array();
$ff[]="firstname";
$ff[]="lastname";
$ff[]="tel_phone";
$ff[]="email";

$ff[]="accommodation";
$ff[]="sdate_month";
$ff[]="sdate_day";
$ff[]="sdate_year";
$ff[]="xdate_month";
$ff[]="xdate_day";
$ff[]="xdate_year";
$ff[]="ldate_month";
$ff[]="ldate_day";
$ff[]="ldate_year";
$ff[]="diet_requirements";

$ff[]="comments";

$r = array();
foreach ($ff as $x)
$r[$x]=$vars[$x];
// -- End Prepare Insert ---------- //
// add to db, show thanks page
$r["uid"] = sprintf("%010d",fcounter2($db_type,$db,
$db_table,"1000000000"));
$r["adate"] = date("Y.m.d");
$r["atime"] = date("H.i");
$r["mdate"] = date("Y.m.d");
$r["mtime"] = date("H.i");

fdb_insert($db_type,$db,$db_table,$r);
// build headers
$header = sprintf("From: %s\n",$email_from);

if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}

// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header);

echo "$dest.\" \".$email_subject.\" \".$message.\" \".$header
\n"; //test code 09/27/07

mail($r["email"],$email_subject,$message,$header);

include($thanks_page);
}
}

//----------------------------------------------------------
//------------[ Functions ]---------------------------------
//----------------------------------------------------------

function fcheckbox($name,$value)
{
global $vars;
if ($vars[$name] == $value)
return " checked";

return "";
}

//----------------------------------------------------------
//------------[ End ]---------------------------------------
//----------------------------------------------------------

?>

Oct 1 '07 #11
davjoh wrote:
On Sep 30, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>davjohwrote:
>>On Sep 30, 11:01 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
It could. But more importantly, where is the data coming from? and
what does it look like there?

The data is hard coded into the file

$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email

This is the whole file:
<?php
// Copyright 2004-2007 J.F. Aubertin & AdVision Multimedia
Productions, all rights reserved.
//----------------------------------------------------------
//------------[ Config ]------------------------------------
//----------------------------------------------------------

$thanks_page = "contact_us_thanks.php";
$form_page = "contact_us_form.php";
$mail_page = "contact_us_email.php";

$send_to[] = "da*******@yahoo.com";
$send_to[] = "we*******@cliffhousecottages.com";
//$send_to[] = "in**@cliffhousecottages.com";
$email_subject = "Cliffhouse & Treehouse Accommodations - Thank you
for contacting us!";
$email_from = "re***********@cliffhousecottages.com";

$db_table = "clifftree_requests";

//----------------------------------------------------------
//------------[ Setup ]-------------------------------------
//----------------------------------------------------------

include_once("fdb_conf.php");
include_once("flib/txt2htm.php");

if (empty($vars)) $vars=$HTTP_POST_VARS;
if (empty($vars)) $vars=$HTTP_GET_VARS;
if (empty($vars)) $vars=$_POST;

//----------------------------------------------------------
//------------[ Main Code ]---------------------------------
//----------------------------------------------------------

if (empty($vars))
{
include($form_page); exit();
}
else
{
//if (empty($vars["company"])) $err_msg[] = "Company required.";
if (empty($vars["firstname"])) $err_msg[] = "First Name Required.";
if (empty($vars["lastname"])) $err_msg[] = "Last Name Required.";
if (empty($vars["email"])) $err_msg[] = "Email Required.";
if (empty($vars["tel_phone"])) $err_msg[] = "Telephone Number
Required.";
//if (empty($vars["street"])) $err_msg[] = "Street required.";
//if (empty($vars["city"])) $err_msg[] = "City required.";
//if (empty($vars["prov"])) $err_msg[] = "Prov/State
required.";
//if (empty($vars["postal"])) $err_msg[] = "Postal Code
required.";
//if (empty($vars["country"])) $err_msg[] = "Country required.";

$str="sdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="xdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="ldate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
if (count($err_msg) 0)
{
include($form_page); exit();
}
else
{
$str="sdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$sdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

$str="xdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$xdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

$str="ldate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$ldate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);

// -- Begin Prepare Insert -------- //
$ff=array();
$ff[]="firstname";
$ff[]="lastname";
$ff[]="tel_phone";
$ff[]="email";

$ff[]="accommodation";
$ff[]="sdate_month";
$ff[]="sdate_day";
$ff[]="sdate_year";
$ff[]="xdate_month";
$ff[]="xdate_day";
$ff[]="xdate_year";
$ff[]="ldate_month";
$ff[]="ldate_day";
$ff[]="ldate_year";
$ff[]="diet_requirements";

$ff[]="comments";

$r = array();
foreach ($ff as $x)
$r[$x]=$vars[$x];
// -- End Prepare Insert ---------- //
// add to db, show thanks page
$r["uid"] = sprintf("%010d",fcounter2($db_type,$db,
$db_table,"1000000000"));
$r["adate"] = date("Y.m.d");
$r["atime"] = date("H.i");
$r["mdate"] = date("Y.m.d");
$r["mtime"] = date("H.i");

fdb_insert($db_type,$db,$db_table,$r);
// build headers
$header = sprintf("From: %s\n",$email_from);

if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}

// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header);

echo "$dest.\" \".$email_subject.\" \".$message.\" \".$header
\n"; //test code 09/27/07

mail($r["email"],$email_subject,$message,$header);

include($thanks_page);
}
}

//----------------------------------------------------------
//------------[ Functions ]---------------------------------
//----------------------------------------------------------

function fcheckbox($name,$value)
{
global $vars;
if ($vars[$name] == $value)
return " checked";

return "";
}

//----------------------------------------------------------
//------------[ End ]---------------------------------------
//----------------------------------------------------------

?>
OK, a few things. If you have to have the file, instead of using
include_once(), use require_once(). And what are in these files? Do
they perhaps use short tags?

You should use $_POST and $_GET instead of HTTP_POST_VARS and
HTTP_GET_VARS. The former are superglobals, the latter are not.

What's the purpose of this?

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();

Including the file will display anything displayable, anyway.

Also, you have a lot of other stuff going on - database, etc.

Is this running on a test sever? If so, you should be running with

display_errors=on
error_reporting=E_ALL

in your php.ini file.

If this is a production server, the above is not a good idea. But you
can do the same thing by putting at the top of your script:

ini_set("display_errors", "1");
ini_set("error_reporting", E_ALL);

If you still can't see anything wrong, strip it down to the bare
minimums and try to get it working. It will be much easier to debug,
and once you get that working, you can add features and ensure it keeps
working.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 2 '07 #12
On Oct 1, 7:52 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjoh wrote:
On Sep 30, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
davjohwrote:
On Sep 30, 11:01 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
It could. But more importantly, where is the data coming from? and
what does it look like there?
The data is hard coded into the file
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "product...@advisiongraphics.com";
$send_to[] = "advision_gali...@mac.com";
// send email
This is the whole file:
<?php
// Copyright 2004-2007 J.F. Aubertin & AdVision Multimedia
Productions, all rights reserved.
//----------------------------------------------------------
//------------[ Config ]------------------------------------
//----------------------------------------------------------
$thanks_page = "contact_us_thanks.php";
$form_page = "contact_us_form.php";
$mail_page = "contact_us_email.php";
$send_to[] = "davjoh...@yahoo.com";
$send_to[] = "webmas...@cliffhousecottages.com";
//$send_to[] = "i...@cliffhousecottages.com";
$email_subject = "Cliffhouse & Treehouse Accommodations - Thank you
for contacting us!";
$email_from = "reservaati...@cliffhousecottages.com";
$db_table = "clifftree_requests";
//----------------------------------------------------------
//------------[ Setup ]-------------------------------------
//----------------------------------------------------------
include_once("fdb_conf.php");
include_once("flib/txt2htm.php");
if (empty($vars)) $vars=$HTTP_POST_VARS;
if (empty($vars)) $vars=$HTTP_GET_VARS;
if (empty($vars)) $vars=$_POST;
//----------------------------------------------------------
//------------[ Main Code ]---------------------------------
//----------------------------------------------------------
if (empty($vars))
{
include($form_page); exit();
}
else
{
//if (empty($vars["company"])) $err_msg[] = "Company required.";
if (empty($vars["firstname"])) $err_msg[] = "First Name Required.";
if (empty($vars["lastname"])) $err_msg[] = "Last Name Required.";
if (empty($vars["email"])) $err_msg[] = "Email Required.";
if (empty($vars["tel_phone"])) $err_msg[] = "Telephone Number
Required.";
//if (empty($vars["street"])) $err_msg[] = "Street required.";
//if (empty($vars["city"])) $err_msg[] = "City required.";
//if (empty($vars["prov"])) $err_msg[] = "Prov/State
required.";
//if (empty($vars["postal"])) $err_msg[] = "Postal Code
required.";
//if (empty($vars["country"])) $err_msg[] = "Country required.";
$str="sdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="xdate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
$str="ldate"; if (!checkdate($vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"])) $err_msg[] = "Valid appointment date
required";
if (count($err_msg) 0)
{
include($form_page); exit();
}
else
{
$str="sdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$sdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);
$str="xdate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$xdate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);
$str="ldate";
$vars[$str] = sprintf("%04d.%02d.%02d",$vars[$str."_year"],
$vars[$str."_month"],$vars[$str."_day"]);
$ldate = mktime(0,0,0,$vars[$str."_month"],$vars[$str."_day"],
$vars[$str."_year"]);
// -- Begin Prepare Insert -------- //
$ff=array();
$ff[]="firstname";
$ff[]="lastname";
$ff[]="tel_phone";
$ff[]="email";
$ff[]="accommodation";
$ff[]="sdate_month";
$ff[]="sdate_day";
$ff[]="sdate_year";
$ff[]="xdate_month";
$ff[]="xdate_day";
$ff[]="xdate_year";
$ff[]="ldate_month";
$ff[]="ldate_day";
$ff[]="ldate_year";
$ff[]="diet_requirements";
$ff[]="comments";
$r = array();
foreach ($ff as $x)
$r[$x]=$vars[$x];
// -- End Prepare Insert ---------- //
// add to db, show thanks page
$r["uid"] = sprintf("%010d",fcounter2($db_type,$db,
$db_table,"1000000000"));
$r["adate"] = date("Y.m.d");
$r["atime"] = date("H.i");
$r["mdate"] = date("Y.m.d");
$r["mtime"] = date("H.i");
fdb_insert($db_type,$db,$db_table,$r);
// build headers
$header = sprintf("From: %s\n",$email_from);
if (!empty($mail_page))
{
// build headers
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html\n";
ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();
$message .= "\n";
}
else
{
// build email
$message = "";
$message .= sprintf("Subject: %s\n",$subject);
$message .= "\n";
$message .= sprintf("Date: %s\n",$r["adate"]);
$message .= sprintf("Company: %s\n",$r["company"]);
$message .= sprintf("First Name: %s\n",$r["firstname"]);
$message .= sprintf("Last Name: %s\n",$r["lastname"]);
$message .= sprintf("Email: %s\n",$r["email"]);
$message .= sprintf("Phone: %s\n",$r["tel_phone"]);
$message .= "\n";
$message .= sprintf("Mailing: %s\n",$r["mailing"]);
$message .= "\n";
$message .= sprintf("Comments:\n",$r["comments"]);
$message .= sprintf("%s\n",$r["comments"]);
$message .= "\n";
}
// send email
foreach ($send_to as $dest)
mail($dest,$email_subject,$message,$header);
echo "$dest.\" \".$email_subject.\" \".$message.\" \".$header
\n"; //test code 09/27/07
mail($r["email"],$email_subject,$message,$header);
include($thanks_page);
}
}
//----------------------------------------------------------
//------------[ Functions ]---------------------------------
//----------------------------------------------------------
function fcheckbox($name,$value)
{
global $vars;
if ($vars[$name] == $value)
return " checked";
return "";
}
//----------------------------------------------------------
//------------[ End ]---------------------------------------
//----------------------------------------------------------
?>

OK, a few things. If you have to have the file, instead of using
include_once(), use require_once(). And what are in these files? Do
they perhaps use short tags?

You should use $_POST and $_GET instead of HTTP_POST_VARS and
HTTP_GET_VARS. The former are superglobals, the latter are not.

What's the purpose of this?

ob_start();
include($mail_page);
$message = ob_get_contents();
ob_end_clean();

Including the file will display anything displayable, anyway.

Also, you have a lot of other stuff going on - database, etc.

Is this running on a test sever? If so, you should be running with

display_errors=on
error_reporting=E_ALL

in your php.ini file.

If this is a production server, the above is not a good idea. But you
can do the same thing by putting at the top of your script:

ini_set("display_errors", "1");
ini_set("error_reporting", E_ALL);

If you still can't see anything wrong, strip it down to the bare
minimums and try to get it working. It will be much easier to debug,
and once you get that working, you can add features and ensure it keeps
working.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
It appears all the emails that should have been sent, were. It just
took 3 days to get to the destination.

Oct 3 '07 #13
davjoh wrote:
===- Hide quoted text -
>>
- Show quoted text -

It appears all the emails that should have been sent, were. It just
took 3 days to get to the destination.
I guess it's true - while electricity moves at the speed of light,
electrons move at 1-2 inches/second.

:-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 3 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: bounce | last post by:
Hello, Consider the following HTML: <form action="/cgi-bin/mailmanager.pl" method="post"> <input type="hidden" name="recipient" value="bounce@springbock.net"> <input type="hidden"...
1
by: Sajsal | last post by:
Hi all I am developing a web app in which the client wants an email sending and receiving functionality. Is it possible in C#. If yes where should I start. If anyone could tell that how long...
1
by: Leszek | last post by:
Hello, A few weeks ago I sent a post about sending encrypted emails. I found out how to encrypt such emails using .NET, but now there is another step: How to receive them? Let's say I have...
2
by: mamatha | last post by:
Hi, I want to send Email in VB to mutiple users through SMTP and receiving emails thruegh IMAP.How can i built.If any one knows the source code or URL please let me know Mamatha
1
by: CS | last post by:
I have a stored procedure which sends out an email to all the users listed in the database. for some reasons I am not getting all emails. could someone offere some assistance? Here's my code....
4
by: tomer.ha | last post by:
Hi there, I'm new to Python, but know other scripting and programming languages. I want to develop a script which will receive emails with attachments from my POP3 account, perform certain...
2
by: Big Moxy | last post by:
Here is my code for formatting an HTML email. I know that spinning through the $_POST array as I am isn't very pretty but it's a long list so for now I'm using this approach. The problem is that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.