|
Posted by Armando Padilla on 07/30/07 06:15
Have you tried this?
************************/
Part A - redone
***********************/
<?php
$text = virtual('/cgi-bin/analysis.pl');
if(!empty($text)){
echo $text;
}else{
/*****************
Part B here
*****************/
}
?>
-1 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') ?>
> **********************
> Part B
> <?php
> more code
> **********************
>
> ?>
>
>
[Back to original message]
|