Hi all.
I am having a bit of trouble with my site on two different hosting
platforms.
Here at work, I am running Mandrake10 Official, but Speakeasy is running
PHP with different compile options. I've already had to add "_COOKIE"
and "HTTP_POST_VARS " to my code to allow for this, but something else is
apparently amiss as well.
Everything looks fine when testing locally, but from the speakeasy site,
I get this in all my textboxes:
<br /><b>Notice</b>: Undefined index: CompFax in
<b>/mnt/webhosting/sites/d/deluxestitcher. com/order.php</b> on line
<b>157</b><br />
It apparently only appears in boxes for which no cookie has been stored
in the browser.
Here's the page with problems:
Could someone please tell me the hopefully quick & easy solution to this?
Thanks.
--john
Here's a small code snippet:
<font size="2"
face="Arial,Hel vetica,Geneva,S ans-serif,sans-serif"><b>Compa ny
Fax:</b></font></div></td>
<td colspan="8"><di v align="right">< table width="100%" border="0"
cellspacing="0" cellpadding="0" >
<tr><td align="left"><i nput id="CompanyFax " value="<?php echo
$_COOKIE["CompFax"] ?>" type="text" name="CompanyFa x" size="34"
maxlength="70">
</td></tr>
Speakeasy's info.php can be found here:
My local info.php can be found here:
I am having a bit of trouble with my site on two different hosting
platforms.
Here at work, I am running Mandrake10 Official, but Speakeasy is running
PHP with different compile options. I've already had to add "_COOKIE"
and "HTTP_POST_VARS " to my code to allow for this, but something else is
apparently amiss as well.
Everything looks fine when testing locally, but from the speakeasy site,
I get this in all my textboxes:
<br /><b>Notice</b>: Undefined index: CompFax in
<b>/mnt/webhosting/sites/d/deluxestitcher. com/order.php</b> on line
<b>157</b><br />
It apparently only appears in boxes for which no cookie has been stored
in the browser.
Here's the page with problems:
Could someone please tell me the hopefully quick & easy solution to this?
Thanks.
--john
Here's a small code snippet:
<font size="2"
face="Arial,Hel vetica,Geneva,S ans-serif,sans-serif"><b>Compa ny
Fax:</b></font></div></td>
<td colspan="8"><di v align="right">< table width="100%" border="0"
cellspacing="0" cellpadding="0" >
<tr><td align="left"><i nput id="CompanyFax " value="<?php echo
$_COOKIE["CompFax"] ?>" type="text" name="CompanyFa x" size="34"
maxlength="70">
</td></tr>
Speakeasy's info.php can be found here:
My local info.php can be found here:
Comment