|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
exec() ``
hi guys
I am having some problems executing using the exec() and ``. Im trying to remove a file with it and I try rm -v filename.fn $execString = "rm -r filename.fn"; exec($exeString, $output); printf($output) this is what it tells me--->removing /home/filename.fn but the filename is still there? I dont get it?? can anyone please help if i print the $output i ![]() |
|
#2
|
|||
|
|||
|
Hmmm. Do you have delete privledges for your account? I assume that you're not logged in as root, right? ALso, try specifying the full path to the file as a second option.
|
|
#3
|
|||
|
|||
|
tried the full path
its got me baffled.
i dont know why it says that it is removing when it doesn't. it doesn't say that if you dont have the correct privileges. any more ideas? thanks ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > exec() `` |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|