radix4u
Downloads
Home
Staff
tutorials!
Downloads
Links
new layout
Other

Enter subhead content here

Free Layouts





You can use these layouts on your site as long as you follow the terms and conditions within the readme file.


ViewDownload

ViewDownload

ViewDownload

ViewDownload

ViewDownload

ViewDownload

ViewDownload

ViewDownload

these layouts from or firends dabu4u(they have no site)



 

Wallpaper Info
Name: BlueFusion
Creator: Radix
Wallpaper Info

Name: Light
Creator: Radix
Wallpaper Info

Name: Calm Waters
Creator: Radix

Wallpaper Info
Name: Galaxy Disturbance
Creator: Radix

Wallpaper Info

Name: Into the Horizon
Creator: Radix

Wallpaper Info

Name: Morning Sky
Creator: radix

Wallpaper Info

Name: On This Night
Creator: Radix
Site: click here
Wallpaper Info
Name: Shattered Dreams
Creator: Radix
Site:
Wallpaper Info
Name: Smile Mugshots
Creator: radix

Wallpaper Info
Name: Smile Vision
Creator: Radix
Wallpaper Info
Name: Nameless
Creator: Radix
Name: Downcast
Creator: Radix

By using this script you agree to our EULA

Upload Script

By: Radix


The Code:

<?
$abpath = ""; //ABSOLUTE Path to where you want images upload
$abpath2 = ""; //Path to images NO SLASHS AT BEGGINING OR END!
$url = ""; // The url of your website
$sizelim = "no"; //size limit? yes or no
$size = "50000"; //if sizelimit what is the limit in bytes


if($_POST['submit']) {

$cert1 = "image/pjpeg";
$cert2 = "image/jpeg";
$cert3 = "image/gif";
$cert4 = "image/x-png";

$log = "";

$dir = "$abpath";
$dh = opendir($dir);
while (false !== ($filename = readdir($dh))) {
$files[] = $filename;
}

sort($files);

$random1 = count($files);
$random1--;
$random1--;
$random1++;


if ($img1_name == "") {
$log .= "No file selected for upload!
";
}
if ($img1_name != "") {

if (file_exists("$abpath/$img1_name")) {
$log .= "File already exists!
";
echo "$log";
exit();
} else {


if ($sizelim == "yes") {
if ($img1_size > $size) {
$log .= "The file was too big
";
echo "$log";
exit();
}
}

if (($img1_type == $cert1) or ($img1_type == $cert2) or ($img1_type == $cert3) or
($img1_type == $cert4)) {
if (($img1_type == $cert1)) {
$img1_name = $random1 . ".jpeg";
}
if ($img1_type == $cert2) {
$img1_name = $random1 . ".jpg";
}
if ($img1_type == $cert3) {
$img1_name = $random1 . ".gif";
}
if ($img1_type == $cert4) {
$img1_name = $random1 . ".png";
}
@copy($img1, "$abpath/$img1_name") or $log .= "Couldn't copy the file to server
";
if (file_exists("$abpath/$img1_name")) {
$log .= "The file was uploaded
";
}
} else {
$log .= "The file is not an image
";
echo "$log";
exit();
}
}
}


?> <html>
<head>
<title>Image Report</title>
</head>
<body>
<p>Log:<br>
<?

echo "$log<br>";

if (file_exists("$abpath/$img1_name")) {
echo "<br>URL: <b>$url/$abpath2/$img1_name</b><br>";
echo "<img src=\"$url/$abpath2/$img1_name\">";
}
?>
</p>
<body>
<html>

<?
} else {
?>

<form method=POST action=upload.php enctype=multipart/form-data>
<p>File to uploaded:<br>
<input type=file name=img1 size=30><br>
<input type="submit" name="submit" value="Upload">
</form>

<?
}
?>


Enter supporting content here

radix4u desihned by dabu4u(c)