Advertisement
| 05.09.2008 at 08:32AM PDT, ID: 23389747 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.09.2008 at 08:40AM PDT, ID: 21533979 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
<?php
ini_set("sendmail_from","ifs@domain.com");
$subject = 'Online Enrollment'; // Subject of email sent to you.
$emailadd = 'apps@domain.com'; // Your email address. This is where the form information will be sent.
$fromadd = 'ifs@domain.com'; //address for from field to pass authentication
$from = "To: $emailadd\nFrom: IFS <" . $fromadd . ">\nX-Mailer: PHP/" . phpversion();
$url = 'https://www.domain.com/confirm/confirm.htm'; // Where to redirect after form is processed.
$req = '0'; // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
// --------------------------Do not edit below this line--------------------------
$text = "Results from form:\n\n";
$space = ' ';
$line = '
';
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{echo "$key is empty";die;}
}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
}
mail($emailadd, $subject, $text, $from);
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
?>
|
| 05.09.2008 at 08:47AM PDT, ID: 21534054 |
| 05.09.2008 at 08:54AM PDT, ID: 21534131 |
| 05.09.2008 at 09:10AM PDT, ID: 21534284 |
| 05.09.2008 at 10:42AM PDT, ID: 21535038 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
<?php
ini_set("sendmail_from","ifs@domain.com");
$subject = 'Online Enrollment'; // Subject of email sent to you.
$emailadd = 'apps@domain.com'; // Your email address. This is where the form information will be sent.
$fromadd = 'ifs@domain.com'; //address for from field to pass authentication
$from = "From: IFS <" . $fromadd . ">\nX-Mailer: PHP/" . phpversion();
$url = 'https://www.domain.com/confirm/confirm.htm'; // Where to redirect after form is processed.
$req = '0'; // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
// --------------------------Do not edit below this line--------------------------
$text = "Results from form:\n\n";
$space = ' ';
$line = '
';
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{echo "$key is empty";die;}
}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
}
if (!mail($emailadd, $subject, $text, $from)) { echo "<br />MAIL COMMAND FAILED FOR $emailadd<br />Please call 911<br />"; }
echo '<META HTTP-EQUIV=Refresh CONTENT="2; URL='.$url.'">';
?>
|
| 05.09.2008 at 10:45AM PDT, ID: 21535059 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: |
<?php
ini_set("sendmail_from","ifs@domain.com");
$subject = 'Online Enrollment'; // Subject of email sent to you.
$emailadd = 'apps@domain.com'; // Your email address. This is where the form information will be sent.
$fromadd = 'ifs@domain.com'; //address for from field to pass authentication
$from = "From: IFS <" . $fromadd . ">\nX-Mailer: PHP/" . phpversion();
$url = 'https://www.domain.com/confirm/confirm.htm'; // Where to redirect after form is processed.
$req = '0'; // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
// --------------------------Do not edit below this line--------------------------
$text = "Results from form:\n\n";
$space = ' ';
$line = '
';
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{echo "$key is empty";die;}
}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
}
if (!mail($emailadd, $subject, $text, $from)) {
echo "<br />MAIL COMMAND FAILED FOR $emailadd<br />Please call 911<br />";
die("Not Redirected to $url");
} else {
echo '<META HTTP-EQUIV=Refresh CONTENT="2; URL='.$url.'">';
}
?>
|
| 05.09.2008 at 11:41AM PDT, ID: 21535444 |
| 05.10.2008 at 05:15AM PDT, ID: 21538693 |
| 05.11.2008 at 10:11AM PDT, ID: 21542944 |
| 05.12.2008 at 09:54AM PDT, ID: 21548579 |
| 05.12.2008 at 10:00AM PDT, ID: 21548635 |