I'm trying to attach a file with the -attach switch, but get this output from blat.
Attached binary file: C:\\Documents and Settings\\czb0204\\Desktop\\lhcquotes.exe
File not found: C:\\Documents and Settings\\czb0204\\Desktop\\lhcquotes.exe
i've tried ereg_replace to get rid of the slashes. If the slashes is the problem, how do i get rid of the little not-so-verticals ??
I first used $file=stripslashes($file); and the slashes then went through correctly as C:\docu~1\bla.exe. But then got the error that it could not find the temporary file created by php - DHPUploadphp51.tmp (notice no slashes). I then removed the $file=stripslashes($file); and everything worked fine. The problem before was the enctype="multipart/form-data". The only problem I have now is that the attached file is now called php51.tmp and not bla.exe.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.