Error Message:
Warning: include(../confirm.html) [function.include]: failed to open stream: No such file or directory in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 29
Warning: include() [function.include]: Failed opening '../confirm.html' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 29
When in IE - Form works fine and goes to confirm thank you page.
Please advise
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try removing the relative link in the processor.php by removing the "../".
include(confirm.html)
Then move the confirm.html file to the same location as the processor.php file.
I don't use FireFox so I have never seen anything like this but from the error messages you sent this change seems logical.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the confirm / thank you page appeared. Yay. But now...
it pushed the HTML page down...
And shows some other error message
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/s/u/r/surelocknetwks/html/php/processor.php:4) in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 8
You may have to test a fill out the form in Firefox to it to show the error for you.
THanks so much for the quick reply.
Very much appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How many employees do you employ?: " . $_POST['field_1'] . "
How many company locations do you have?: " . $_POST['field_2'] . "
Are you looking to expand your business foot print?: " . $_POST['field_3'] . "
Do you have a mobile Sales Force?: " . $_POST['field_4'] . "
Is Network Security a Major Concern?: " . $_POST['field_5'] . "
Business Name: " . $_POST['field_6'] . "
Busines Location: " . $_POST['field_7'] . "
First Name: " . $_POST['field_8'] . "
Last Name: " . $_POST['field_9'] . "
email address: " . $_POST['field_10'] . "
Office Number: " . $_POST['field_11'] . "
Mobile Number: " . $_POST['field_12'] . "
What is the best time to be reached?: " . $_POST['field_13'] . "
Comments: " . $_POST['field_14'] . "
You've got some html outside the php tags. It appears that this is somehow interfering with sessions and or the include function.
Since I can not see all the code, and all the changes you have made it is impossible for me to help you debug what you have done.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Form URL
http://surelocknetworks.com/php/
When submitting form - error page appears
Link:
http://surelocknetworks.com/php/processor.php
Error Message:
Warning: include(../confirm.html) [function.include]: failed to open stream: No such file or directory in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 29
Warning: include() [function.include]: Failed opening '../confirm.html' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 29
When in IE - Form works fine and goes to confirm thank you page.
Please advise
Try removing the relative link in the processor.php by removing the "../".
include(confirm.html)
Then move the confirm.html file to the same location as the processor.php file.
I don't use FireFox so I have never seen anything like this but from the error messages you sent this change seems logical.
Oooh.. Almost Worked!!!
I changed to: include(confirm.html)
the confirm / thank you page appeared. Yay. But now...
it pushed the HTML page down...
And shows some other error message
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/s/u/r/surelocknetwks/html/php/processor.php:4) in /home/content/s/u/r/surelocknetwks/html/php/processor.php on line 8
You may have to test a fill out the form in Firefox to it to show the error for you.
THanks so much for the quick reply.
Very much appreciated.
Here is the processor.php CODE
<img height="900"
src="../src/download.php?absolute_dl=true&passed_id=1509&mailbox=INBOX&ent_id=2"
width="1440" />
<?php
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
session_start();
if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) {
mail("info@surelocknetworks.com, tjohnson@surelocknetworks.com, mdavis@surelocknetworks.com, iufoma@surelocknetworks.com, simmke1@surelocknetworks.com", "New Prospect Inquiry", "Contact Details Below:
How many employees do you employ?: " . $_POST['field_1'] . "
How many company locations do you have?: " . $_POST['field_2'] . "
Are you looking to expand your business foot print?: " . $_POST['field_3'] . "
Do you have a mobile Sales Force?: " . $_POST['field_4'] . "
Is Network Security a Major Concern?: " . $_POST['field_5'] . "
Business Name: " . $_POST['field_6'] . "
Busines Location: " . $_POST['field_7'] . "
First Name: " . $_POST['field_8'] . "
Last Name: " . $_POST['field_9'] . "
email address: " . $_POST['field_10'] . "
Office Number: " . $_POST['field_11'] . "
Mobile Number: " . $_POST['field_12'] . "
What is the best time to be reached?: " . $_POST['field_13'] . "
Comments: " . $_POST['field_14'] . "
");
include("confirm.html");
}
else {
echo "Enter Security Letters on Form";
}
?>
You've got some html outside the php tags. It appears that this is somehow interfering with sessions and or the include function.
Since I can not see all the code, and all the changes you have made it is impossible for me to help you debug what you have done.