dev Posted May 23, 2009 Share Posted May 23, 2009 Hi, am afraid if i am posting in right cat. can anyone please translate this php code to asp<?php $id = $_GET['sessionId']; $id = trim($id); session_name($id); session_start(); $inputName = $_GET['userfile']; $fileName = $_FILES[$inputName]['name']; $tempLoc = $_FILES[$inputName]['tmp_name']; echo $_FILES[$inputName]['error']; $target_path = 'c:\\upload\\'; $target_path = $target_path . basename($fileName); if(move_uploaded_file($tempLoc,$target_path)) { $_SESSION['value'] = -1; }?>I will be thankful Link to comment Share on other sites More sharing options...
justsomeguy Posted May 26, 2009 Share Posted May 26, 2009 See the response I gave to your post in the PHP forum. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.