il link che hai messo tu è questo (andando sul sito):
http://www.terrenobili.com/apriricette.php?ricetta=acciughe_limone.html
credo che non gli piaccia quel ".html" alla fine, che nel codice che ti avevo scritto io andrebbe infatti messo all'interno della pagina "apriricette.php" quando setti l'iframe:
<?php
$val = $_GET['ricetta'];
echo '<iframe name="contenuto" src="http://www.casacantamessa.com/pierrezip/antipasti/' . $val . '.html" width="100%" height="100%"> </frame> ' ;
?>
Se così non funziona, dato che non l'ho testato, può essere ci sia qualcos'altro che non va :(
ah, e togli il tag <html> prima e dopo l'<iframe>, se no non ti fa vedere la pagina completa ;)
Grazie .Vedo tanta buona volontà da parte tua!!!
Vedo di farmi capire:
in terrenobili, ci sono due file apriricette uno di "base" ed uno di "lingua"(italiano, inglese ecc..)
quello "base" ha questo codice:
<?php
/*
$Id: privacy.php,v 1.22 2003/06/05 23:26: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_APRIRICETTE);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_APRIRICETTE));
?>
<?php
$val = $_GET['ricetta'];
echo '<iframe name="contenuto" src="http://www.casacantamessa.com/pierrezip/antipasti/' . $val . '.html" width="100%" height="100%"> </frame> ' ;
?>
<!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>Gelati - Ricette - Prodotti tipici<?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="0" cellpadding="0">
<tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top" class="bar_left"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top" class="centercolor"><table border="0" width="95%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td>
</tr>
<tr>
<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><?php echo TEXT_INFORMATION; ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_home.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top" class="bar_right"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></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'); ?>
quello di lingua ha questo codice:
<?php
/*
$Id: antipasti.php,v 1.3 2001/12/20 14:14:14 dgw_ Exp $
Localizzazione di Mauro Dalu - iPassion www.ipassion.it
adattata per la snapshot del 9 Settembre 2002.
Basata sulla localizzazione originale di Opencommercio.com
riveduta e corretta da Tarantino Afostino
[email protected]
Tricase Lecce Italy 31/05/2002 00.03.14
Rilasciata sotto GNU General Public License
*/
define('NAVBAR_TITLE', 'Ricette ');
define('HEADING_TITLE', 'RICETTE');
define('TEXT_CLOSE_WINDOW', 'Chiudi Finestra');
define('TEXT_INFORMATION', '<html>
<iframe name="contenuto" src="http://www.casacantamessa.com/pierrezip/antipasti/acciughe_limone.html" width="100%" height="100%">
</frame></html>');
?>
la pagina indice ha questo codice (parziale)
<?php
/*
$Id: antipasti.php,v 1.3 2001/12/20 14:14:14 dgw_ Exp $
Localizzazione di Mauro Dalu - iPassion www.ipassion.it
adattata per la snapshot del 9 Settembre 2002.
Basata sulla localizzazione originale di Opencommercio.com
riveduta e corretta da Tarantino Afostino
[email protected]
Tricase Lecce Italy 31/05/2002 00.03.14
Rilasciata sotto GNU General Public License
*/
define('NAVBAR_TITLE', 'Ricette ');
define('HEADING_TITLE', 'RICETTE');
define('TEXT_CLOSE_WINDOW', 'Chiudi Finestra');
define('TEXT_INFORMATION', '
<table border="0" cellspacing="1" width="">
<body bgcolor=#FFFFE6>
<tr>
<td valign="bottom" colspan="2" class="main">ANTIPASTI</td>
</tr>
<tr>
<td valign=top>
<a href="http://www.terrenobili.com/apriricette.php?ricetta=acciughe_limone">ACCIUGHE AL LIMONE</a><br>
.............
</td>
</tr>
</body>
</table>
</html>');
?>