dev Posted May 23, 2009 Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now