Long time reader, first time post!
I'm trying to use a simple form that passes a variable to another page that will display the users input to view a web (catalog) page. For example:
Catpage.php - takes the users input (a catalog page number, 1-555) and passes the variable to viewCatPage.php. The object here is for the user to have the ability to enter a page number and view that page by clicking the "go" button on Catpage.php
The viewCatPage.php code looks like this:
<?php
$url = "http://www.myurl.com/html/catalog_page/$input.html";
if ($input <= 555) {
readfile($url);
}
else {
print("Invalid Entry! Please enter a number between 1 and 555");
}
?>
It works fine with one exception. The page loads without any of the images that are usually associated with the page. Any suggestions? Thanks in advance for your help!