2014-11-25 4 views
0
가 여기 PHP 안에 내 임시 저장 코드

Laravel에서 작동하지 않습니다 그리고 그것은 laravel 컨트롤러임시 저장소는

이것은보기 안에 작동하지 않습니다 :

echo "<script>localStorage.setItem('filename', 'key.pdf');</script>"; 


$newval = "<script>document.write(localStorage.filename);</script>"; 
Input::file('salesconformation')->move($destinationPath,$newval); 
$desPathimg=public_path()."assets/uploads/home/".$newval; 

난 못해

된 newval하고 저장 $의 값을 가져 오는 동안, 그것은 오류를 보여줍니다

, 파일을 저장할 수

Could not move the file "C:\xampp\tmp\phpAB6A.tmp" to "C:\xampp\htdocs\wrp\public/assets/uploads/home\script>"() 

내가하고있는 실수는 무엇입니까?

Laravel에서 localstoage를 지원하지 않는지 여부 ??

+0

'prettyPrint'는 어디에 사용됩니까? 게시 한 코드에는 없습니다. – GillesC

+0

나는 심지어 예쁜 스크립트 라이브러리를

관련 문제