Re: Can this be done with PHP?



On Jun 20, 9:40 pm, "-1" <n...@xxxxxxx> wrote:
I have a php file that I have briefly shown some of the code of at the
bottom of this message.

Part A of the script runs an analysis and then based upon the analysis,
either does no data output or outputs some data. Regardless of what happens
in part A, part B then runs.

Is there some code that I can put between Part A and Part B that would
complete the following task.

If after the analysis in part A, data is displayed on the webpage, then it
would display and part B would not run and the php script would terminate.
If after the analysis in part A, data is not displayed on the webpage, then
and only then would part B run.

Note that part A contains a script that is encrypted and can't be modified.

Thank you

**********************
Part A
<? virtual('/cgi-bin/analysis.pl') ?>

exit(0);

**********************
Part B
<?php
more code
**********************

?>


.



Relevant Pages

  • Re: sending JPG bytes to a PHP script via POST?
    ... as binary data over a post to a PHP script. ... able to display that JPEG but I've tried imagecreatefromstring without ... If you want to display an image from PHP, ...
    (comp.lang.php)
  • Re: Imagepng error
    ... >> what appears to be an HTML page. ... If you want to display an image, ... To display an image generated by a PHP script, ...
    (alt.php)
  • Re: PHP Time Question
    ... display PST and not the servers EST when a php script is run. ... But not sure what script to use it on. ... No other adjustments are necessary. ...
    (comp.lang.php)
  • Re: PHP problems in Apache
    ... This is to get around missing dns entry. ... script to display date: ... source', the above php script is displayed, meaning that php is not working. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Internet Explorer - Firefox
    ... Firefox, the problem is how publisher displayed it in IE. ... I imagine it is a problem with how the script is ... suppose to display a search box for flights..i am pretty sure that the ...
    (microsoft.public.publisher.webdesign)