Bir yankı çağrısı içinde bir işlevi çalıştırmak nasıl

0 Cevap

Bu hızlı ama basit bir soru. Ben kötü bir gün yaşıyorum ve bunu nasıl bilmiyorum:

Ne yapmam gerekiyor bu ...

Bu yüzden bu echo eğer ben url PMD için kontrol ediyorum:

<?php 
        if ( isset($_GET['pmd']) ) { 
          echo"<div class=\"response\"><p style=\"width:350px; height:200px; vertical-align:middle;\"><strong>Thank you for acting as a &quot;watchman on the walls&quot; of Jerusalem! Your name will now appear on our virtual wall.<br><br>You can also catch up on the latest news from Israel by visiting our news feed below.</strong></p></div>";
        }else { etc...

Ne ki içinde yer alması gerekir böyle böyle bir görüntü izleme piksel kapalı ateş olduğunu.

<img src="url.com?cid=12345&aid=1234&oid=<?php echo mt_rand(); ?>&quantity=1" height="1" width="1" />

Ne var istiyorum olduğunu:

<?php 
        if ( isset($_GET['pmd']) ) { 
          echo"<div class=\"response\"><p style=\"width:350px; height:200px; vertical-align:middle;\"><strong>Thank you for acting as a &quot;watchman on the walls&quot; of Jerusalem! Your name will now appear on our virtual wall.<br><br>You can also catch up on the latest news from Israel by visiting our news feed below.</strong></p>
          <br />
          <img src="url.com?cid=12345&aid=1234&oid=<?php echo mt_rand(); ?>&quantity=1" height="1" width="1" />
          </div>";
        }else {

Ne yangın ki mt_rand () işlevi almak için ne yapmak gerekiyor?

Teşekkürler,

Mat

0 Cevap