This is a discussion on "PHP Dig" within the PHP Forum section. This forum, and the thread "PHP Dig are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
PHP Dig
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
PHP Dig
Hi All,
I currently have some backtick commands running on my debian server, however when i try and run it on my windows server or my ubuntu server it wont run.
Last edited by karinne; Apr 26th, 2007 at 16:30. Reason: Please use [php]...[/php] tags when displaying PHP code! |
|
|
|
||||
|
Re: PHP Dig
Yep, of course there is, it's a simple script, but the real question is:
1. Why won't it run? Is it using IIS or Apache? Is PHP installed? Do you get an error message? We're not mind readers!
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: PHP Dig
IIS for Windows and Apache for Ubuntu
no errors, it just stops processing anything as soon as it reaches the first command that it needs to run. PHP is installed and works fine. |
|
||||
|
Re: PHP Dig
by "stops processing" do you mean...
A) the PHP code is displayed as text, hence it's not executed... OR B) you don't see the PHP code, it's being executed, but itdoesn't output anything... (I'm sorry I'[m asking so many questions, I'm an ASP programmer but I'm trying to help)
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: PHP Dig
no errors, just blank :S
I think the problem is that i am executing: $output = `/usr/bin/host -t ns $query`; but as /usr/bin doenst exist on windows servers, it wont run.. but i have no idea where else to point it.. DAMN M$ |
![]() |
| Tags |
| backtick, dig, php |
| Thread Tools | |
|
|