Re: [PHP] PHP debugger




On Apr 28, 2008, at 10:58 AM, J. Manuel Velasco - UBILIBET wrote:

Ok, so I am going to try this one, Jason Pruim, let's check how it works ... :p

PROBLEM DESCRIPTION:
In my whois web-app, when a EU doamin is queried, whois.pl perl script is lunched and I got the right result to my PHP script I the result is shown at the web.
If I do the query to a ES domain, other whois.pl script is lunched, but passthru doesn't execute it.
Both scripts are almost the same, they are in the same file structure, same machine, same permissions...

Have you tried to use a program to compare the files? Make sure that only the necessary lines are different?


The most strange is that I logged the command petition and If I copy and paste exaclty the same that is passed to passthru, the command for the whois to ESNIC is executed in the command line and shows the result.

Collegues told me to check the ENV, permissions, and so on, I did with no results, also, the other perl script that is almost the same is executed, so I feel very very lost.

Three files attached:
whois_es.pl -> perl script to query whois in ESNIC
whois_eu.pl -> perl script to query whois in EURID
container.php -> intermediate page where the commands are build and passthru is executed.

Is there any particular reason you are using different perl scripts instead of a simple whois script for all of them?

Also... the only attachment was your logo :)




Thank you very much for any hint. I feel lost almost one week with this BUG.

Jason Pruim escribió:


On Apr 28, 2008, at 10:32 AM, Thijs Lensselink wrote:

Quoting Daniel Brown <parasane@xxxxxxxxx>:

On Mon, Apr 28, 2008 at 7:00 AM, J. Manuel Velasco - UBILIBET
<tech@xxxxxxxxxxxx> wrote:

Hello,

Anybody knows a good debugger for PHP and basic usage?

There's a pretty good one known as Jason Pruim. ;-P

ROFL!


Yall have too much time on your hands! :P





--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@xxxxxxxxxx





--
<Manucastellano.jpg>

--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@xxxxxxxxxx





Relevant Pages

  • Re: Problem with one perl script executing another, execution started by Apache httpd
    ... perl script located in a directory tree completely outside the ... directory tree for IndigoPerl, as well as a system command (this is ... The second one just hangs, displaying the initial text, but the script ... What happens if you type this at the command ...
    (comp.lang.perl.misc)
  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • Re: Kill processes after web page closes
    ... script and build a new web page based on input. ... If the user clicks the command button and is returned ... find the PERL script is still running. ... I'm not sure if this is exact but possible when user click back button then Appache server send TERM or QUIT signal to your perl proccess. ...
    (comp.lang.perl.misc)
  • Re: Create a context menu entry doing runas
    ... Unfortunately the Perl script is on a networked drive that isn't ... by having the runas command execute a bat file that was local to my ... it doesn't remember drives that I've already mapped. ... the target Perl script must either be on my local drive or I ...
    (microsoft.public.windowsxp.basics)
  • Re: Create a context menu entry doing runas
    ... Unfortunately the Perl script is on a networked drive that isn't ... by having the runas command execute a bat file that was local to my ... it doesn't remember drives that I've already mapped. ... the target Perl script must either be on my local drive or I ...
    (microsoft.public.windowsxp.basics)