Jump to content

[SOLVED] How to put my ad in index.php?


assasinkilla

Recommended Posts

How to put:

<!-- Begin BidVertiser code -->

<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=53378&bid=12344554" type="text/javascript"></SCRIPT>

<noscript><a href="http://www.bidvertiser.com">marketing</a></noscript>

<!-- End BidVertiser code -->

 

In:

<?php

 

  if(isset($_GET['r']))

  {

 

 

$r=$_GET['r'];

 

  }

if ($r > 0)

{

header("Location:client/index.php?r=$r");

}

else

{

header("Location:client/index.php");

}

?>

 

Also any php designer.? I wonder how ppl can design the layout php in wordpad? :S

Link to comment
https://forums.phpfreaks.com/topic/82871-solved-how-to-put-my-ad-in-indexphp/
Share on other sites

You have this rite?

<?php

        if(isset($_GET['r']))
        {
       
      
             $r=$_GET['r'];
       
        }
      if ($r > 0)
      {
header("Location:client/index.php?r=$r");
}
else
{
header("Location:client/index.php");
}
?>

 

And you wanna insert this?

 

<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=53378&bid=12344554" type="text/javascript"></SCRIPT>
<noscript>marketing</noscript>
<!-- End BidVertiser code -->

 

Then , you can use this:

 

<?php

        if(isset($_GET['r']))
        {
       
      
             $r=$_GET['r'];
       
        }
      if ($r > 0)
      {
header("Location:client/index.php?r=$r");
}
else
{
header("Location:client/index.php");
}
echo "<!-- Begin BidVertiser code -->\n";
echo "<SCRIPT LANGUAGE=\"JavaScript1.1\" SRC=\"http://bdv.bidvertiser.com/BidVertiser.dbm?pid=53378&bid=12344554\" type=\"text/javascript\"></SCRIPT>\n";
echo "<noscript>marketing</noscript>\n";
echo "<!-- End BidVertiser code -->\n";?>

 

Using only the function echo just to print the code

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.