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+"¤tly="+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
Post a Comment