Fileupload with javascript and php -


when use fileupload, can't path work.
path show c:\fakepath\ram_education (2).sql doesn't insert in database

here code:

function carrer() {     var name=document.careerfrm.name.value;     var lname=document.careerfrm.lname.value;     var email=document.careerfrm.email.value;     var mobile=document.careerfrm.mobile.value;     var currently=document.careerfrm.currently.value;     var intrested=document.careerfrm.intrested.value;     var city=document.careerfrm.city.value;     var state=document.careerfrm.state.value;     var zipcode=document.careerfrm.zipcode.value;     var experience=document.careerfrm.experience.value;     var resume=document.careerfrm.resume.value;      url="career_db.php?name="+name+"&lname="+lname+"&email="+email+"&mobile="+mobile+"&currently="+currently+"&intrested="+intrested+"&city="+city+"&state="+state+"&zipcode="+zipcode+"&experience="+experience+"&resume="+resume;     abc.open("get",url,true);     abc.send();     alert(url);      abc.onreadystatechange=function()     {         if(abc.readystate==4)         {             document.getelementbyid('errorcarrer').innerhtml=abc.responsetext;         }     } } 


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -