Ad disengaged
January 23rd, 2007, 10:02 PM
I am setting up a MSRS and I uploaded the files
So far most of it works but when I open up this page
http://www.radpimps.com/graphics/backgrounds/
I get the message: Unable to open http://www.radpimps.com/graphics/backgrounds/1
And the source code for the page is :
<?
include("http://www.radpimps.com/_header.php");
$title = "Backgrounds > Page 1";
include ('http://www.radpimps.com/title.php');
?>
<?
$path = "http://www.radpimps.com/graphics/backgrounds/1";
//using the opendir function
$dir_handle = @opendir($path) or die("Unable to open $path");
echo "<table width=\"100%\" align=\"center\">
<tr>
<td style=\"padding-right: 10px;\"><div class=\"text\"><div align=\"center\">Simply copy and paste the codes into
the 'about me' section of your profile!<br></div>
<br>";
//running the while loop
while ($file = readdir($dir_handle))
{
if($file!="." && $file!="..")
echo " <table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"padding-right: 10px;\" class=\"too\"><img src=\"http://www.radpimps.com/graphics/backgrounds/1/$file\" width=\"100\" height=\"100\" border=\"1\"></td>
<td class=\"too\"><div style=\"padding-bottom: 5px;\"></div>
<textarea name=\"textarea2\" cols=33 rows=5 class=\"bginput\" onClick=\"this.focus();this.select()\"><style type="text/css">
body {
background-image: url(http://www.radpimps.com/graphics/backgrounds/1/$file);
}
</style>
<a href="http://www.radpimps.com/" target="_blank"><img src="http://www.radpimps.com/support.gif" alt="Myspace Layouts" style="position:absolute; left:0px; top: 0px;" border="0"></a> </textarea></td>
</tr>
</table><br /><br>";
}
echo "
</td>
</tr>
</table>";
closedir($dir_handle);
?>
<?
include("http://www.radpimps.com/inc/ads1.php");
include("http://www.radpimps.com/_footer.php");
?>
I dont know much about PHP or CURL so im kinda lost here.
So far most of it works but when I open up this page
http://www.radpimps.com/graphics/backgrounds/
I get the message: Unable to open http://www.radpimps.com/graphics/backgrounds/1
And the source code for the page is :
<?
include("http://www.radpimps.com/_header.php");
$title = "Backgrounds > Page 1";
include ('http://www.radpimps.com/title.php');
?>
<?
$path = "http://www.radpimps.com/graphics/backgrounds/1";
//using the opendir function
$dir_handle = @opendir($path) or die("Unable to open $path");
echo "<table width=\"100%\" align=\"center\">
<tr>
<td style=\"padding-right: 10px;\"><div class=\"text\"><div align=\"center\">Simply copy and paste the codes into
the 'about me' section of your profile!<br></div>
<br>";
//running the while loop
while ($file = readdir($dir_handle))
{
if($file!="." && $file!="..")
echo " <table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"padding-right: 10px;\" class=\"too\"><img src=\"http://www.radpimps.com/graphics/backgrounds/1/$file\" width=\"100\" height=\"100\" border=\"1\"></td>
<td class=\"too\"><div style=\"padding-bottom: 5px;\"></div>
<textarea name=\"textarea2\" cols=33 rows=5 class=\"bginput\" onClick=\"this.focus();this.select()\"><style type="text/css">
body {
background-image: url(http://www.radpimps.com/graphics/backgrounds/1/$file);
}
</style>
<a href="http://www.radpimps.com/" target="_blank"><img src="http://www.radpimps.com/support.gif" alt="Myspace Layouts" style="position:absolute; left:0px; top: 0px;" border="0"></a> </textarea></td>
</tr>
</table><br /><br>";
}
echo "
</td>
</tr>
</table>";
closedir($dir_handle);
?>
<?
include("http://www.radpimps.com/inc/ads1.php");
include("http://www.radpimps.com/_footer.php");
?>
I dont know much about PHP or CURL so im kinda lost here.