![]() Topic awaiting preservation: including a script but running it in another dir (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: New Jersey, USA |
![]() I could swear I asked you guys something similar to this before, but couldn't find the thread. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() PHP treats includes as if they were initally part of the script that is currently running. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
![]() I think there may be a way of doing that using exec(), but I severly advise against that; exec() is the Devil of PHP functions and should only be used if nothing else will ever work. |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() Thanks mr.maX |