You are here: Re: Help with "No input file selected" (yes, that old chestnut again) « PHP Programming Language « IT news, forums, messages
Re: Help with "No input file selected" (yes, that old chestnut again)

Posted by Tristαn White on 06/14/06 10:35

On 13/6/06 18:52, in article HdydndRCU8zbZhPZnZ2dnUVZ_qydnZ2d@comcast.com,
"Jerry Stuckle" <jstucklex@attglobal.net> wrote:

> Hmmm, it looks like maybe you're trying to modify OS Commerce files? And
> perhaps you're not including everything you need to define the oscommerce
> information.
>
> Does /goodgifts/worldmap1.php actually exist? Or is it perhaps in a different
> directory?



Yes, basically the way all the webpages are laid out is:

Filename.php within the root folder (goodgifts)

Filename.php within includes/languages/english

Basically it's two PHP files, both very different. This is the same
structure we have used for about 800 pages so can't see why it's now going
wrong. The HTML within the PHP works because it's actually a definition
string (note the closing 'apostrophe and the closure of the PHP)....

I probably wasn't very clear in my earlier post. Splitting them up they are:
---------------------------------------------------------------------------
/GOODGIFTS/WORLDMAP1.PHP
---------------------------------------------------------------------------
<?php
/*
$Id: privacy.php,v 1.21 2003/02/13 04:23:23 hpdl Exp $


osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com


Copyright (c) 2003 osCommerce

Released under the GNU General Public
License
*/

require('includes/application_top.php');


require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WORLDMAP1);


$breadcrumb->add(NAVBAR_TITLE,
tep_href_link(FILENAME_WORLDMAP1));
?>
<!doctype html public "-//W3C//DTD
HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta
http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;
?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo
(($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG;
?>">
<link rel="stylesheet" type="text/css"
href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0"
topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header
//-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof
//-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3"
cellpadding="3">
<tr>
<td width="<?php echo BOX_WIDTH; ?>"
valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>"
cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php
require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof
//-->
</table></td>
<!-- body_text //-->
<td width="100%"
valign="top"><table border="0" width="100%" cellspacing="0"
cellpadding="0">
<tr>
<td><table border="0" width="100%"
cellspacing="0" cellpadding="0">
<tr>
<td
class="pageHeading"><br><?php echo HEADING_TITLE; ?></td>

<td></td>
</tr>
</table></td>
</tr>
<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>
<tr>
<td><br><table border="0" width="100%"
cellspacing="0" cellpadding="2">
<tr>
<td
class="main"><?php echo TEXT_INFORMATION; ?></td>
</tr>

</table></td>
</tr>
<tr>
<td align="right"
class="main"><br><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) .
'">' . tep_image_button('ContinueArrowDots.gif', IMAGE_BUTTON_CONTINUE) .
'</a>'; ?></td>
</tr>
</table></td>
<!-- body_text_eof //-->

<td>

<!-- right nav insertable here //-->

</td>

</tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php
require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof
//-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES .
'application_bottom.php'); ?>

---------------------------------------------------------------------------
/GOODGIFTS/INCLUDES/LANGUAGES/ENGLISH/WORLDMAP1.PHP
---------------------------------------------------------------------------

<?php
/*
$Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $


osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com


Copyright (c) 2002 osCommerce

Released under the GNU General Public
License
*/

define('NAVBAR_TITLE', 'WORLDMAP1');
define('HEADING_TITLE',
'<font color="#FF9933">Guilt Trips</font>');
define('TEXT_INFORMATION', '
<table width="90%" border="0" cellpadding="5" height="339">
<tr>

<td width="20%">&nbsp;</td>
<td width="51%">

<p><font size="7" face="Verdana, Arial, Helvetica, sans-serif"><b>Guilt
Trips!</b></font><font size="4" face="Verdana, Arial, Helvetica,
sans-serif"><b> <br>
</b></font><font size="4"
face="Verdana, Arial, Helvetica, sans-serif"><b>How many trees will your
journey consume?<br>
</b></font></p>

</td>
<td width="11%">&nbsp;</td>
</tr>
<tr>
<td width="20%"
valign="middle">
<div align="right">
<p></p>

</div>
</td>







<HR>



<td width="51%"
valign="top">
<HR>
<p><font size="2"
face="Verdana, Arial, Helvetica, sans-serif">I need to plant....</font></p>

<BR>
<IMG SRC="images/tree.gif" ALT="beech tree"
height="195" width="158"><BR>
<h1><b>One
Tree!</b></h1>


<p><font size="2" face="Verdana, Arial,
Helvetica, sans-serif">to counterbalance my destructive carbon-emitting
trip.</font></p>
<p><font size="2" face="Verdana, Arial,
Helvetica, sans-serif">However, remember that the figures are <i>for one
person travelling</i>. If there are five of you travelling in your party,
multiply the figure by five!</font></p>
<div
align="right">

<hr>
<p><font
size="-2"> </font></p>
</div>
</td>

<td width="11%">&nbsp;</td>
</tr>
<tr>
<td
width="20%">&nbsp;</td>
<td width="51%" valign="middle">

<p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Some
immediate ways to make a difference...</b></font></p>

<ul>
<li><font size="1" face="Verdana, Arial,
Helvetica, sans-serif"><b>Plant trees</b> to counterbalance my destructive
carbon-emitting trip</font>
<li><font size="1"
face="Verdana, Arial, Helvetica, sans-serif"><b>Plant</b> <a
href="http://www.goodgifts.org/goodgifts/product_info.php?cPath=75&products_
id=197" target="_blank">mango</a> trees in India, <a
href="http://www.goodgifts.org/goodgifts/product_info.php?cPath=75&products_
id=118" target="_blank">fruit trees</a> in Africa and <a
href="http://www.goodgifts.org/goodgifts/product_info.php?cPath=75&products_
id=100" target="_blank">beech</a> trees in UK woodland</font>

<li><font size="1" face="Verdana, Arial, Helvetica,
sans-serif"><b>Preserve</b> an <a
href="http://www.goodgifts.org/goodgifts/product_info.php?cPath=75&products_
id=73" target="_blank">acre of rainforest</a></font>

</ul>
<p><font size="1" face="Verdana, Arial, Helvetica,
sans-serif">For these and other similar gifts, see the <i><a
href="http://www.goodgifts.org/" target="_blank">Good Gifts
Catalogue</a></i>. </font></p>
<p><font size="1"
face="Verdana, Arial, Helvetica, sans-serif">Other ways of making a
difference could include:</font></p>
<ul>

<li><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Paying
</b>for a holiday for a poor family</font>
<li><font
size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Providing </b>21
meals for school children in Africa (the equivalent number of meals on my
week\'s holiday)</font>
</ul>

<p><font size="1" face="Verdana, Arial, Helvetica, sans-serif">We spend an
absolute fortune on holidays every year, travelling in a world where people
are starving to death all around us. Imagine how much better the world would
be if everyone donated just 1% of his or her holiday\'s expense to make the
planet a better place. Start assuaging your guilt now!</font></p>

</td>
<td width="11%">&nbsp;</td>
</tr>

<hr>

<p><font size="-2"> </font></p>
</div></td>

<td width="11%">&nbsp;</td>
</tr>
<tr>
<td
width="20%">&nbsp;</td>
<td width="51%" valign="middle"><a
href="guilttrips.php">Back to map</a></td>
<td width="11%">&nbsp;</td>

</tr>
</table>
');
?>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация