Unstoppable Domains โ€” Expired Auctions

Php help?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch
Impact
0
anyone lend a hand combining 2 different php pages into 1?
basically, put a word cloud script inside another page's php header and footer.

it's beyond my abilities.

thx
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
post the code.
 
0
•••
either use this or the other: whichever your server permits
Code:
<?php
echo file_get_contents("http://otherdomain.com/other.php");
?>
or
Code:
<?php
include 'http://otherdomain.com/other.php';
?>
 
0
•••
template.php

Code:
<html>
<head>
 <title><?php echo $title; ?>
</head>
<body>
 <?php echo $body; ?>
<br><?php echo $footer; ?>
</body>
</html>

index.php
PHP:
<?php
$title = "index page";
$body = "body text";
$footer = "footer ยฉ 2005";
include("template.php");
?>

there would be a security problem, but shudnt be a problem atm
 
0
•••
weblord that is not necessarily the bet thing to do. It is not taking into consideration the possibility of conflicting variables etc.

The best would be as suggested, post the code and we can then go from there.
 
0
•••
thanks for the headsup.
peter@flexiwebhost said:
weblord that is not necessarily the bet thing to do. It is not taking into consideration the possibility of conflicting variables etc.

The best would be as suggested, post the code and we can then go from there.
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back