• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

QUICK java question

http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
http://forums.anandtech.com/categories.aspx?catid=33&flcache=2506997&entercat=y
 
ok to be specific.......

<?
$uploadNeed = $_POST['uploadNeed'];
// start for loop
for($x=0;$x<$uploadNeed;$x++){
$file_name = $_FILES['uploadFile'. $x]['name'];
// strip file_name of slashes
$file_name = stripslashes($file_name);
$file_name = str_replace("'","",$file_name);
$copy = copy($_FILES['uploadFile'. $x]['tmp_name'],$file_name);
// check if successfully copied
if($copy){
echo "http://toj.bloodyvelvet.com/$file_name | uploaded sucessfully!<br>";
}else{
echo "$file_name | could not be uploaded!<br>";
}
} // end of loop
?>

<p><a href="http://toj.bloodyvelvet.com/">Click here to go back to file index!</a></p>

see that bold text? this script is part of an upload script and I want it to show the full URL by displaying the address , then displaying the uploaded file name right after it. and I'm afraid the "//" in the URL will mess that line up by thinking it's a comment line.

thanks!
 
Back
Top