Page 1 of 1

php exec command

Posted: Thu Nov 27, 2014 9:12 am
by selvamuthu
hello everybody

exec('type myfile.txt > lpt1') is not working
but
exec('type myfile.txt > some.txt') is working

lpt1 is well connected in dos shell and works fine
net use lpt1 \\computer\sharename /persistent:yes
successfully connected

please help asap

Re: php exec command

Posted: Mon Dec 01, 2014 12:57 pm
by Christopher