Click to See Complete Forum and Search --> : Php Script on Wordpress Sidebar, need help.


borzack
03-17-2008, 07:46 AM
I'm a total newbie. Need help.

I have this php file border125_09.php:

<?
$entre_id = $_GET[entre_id];
echo "
<table width=\"146\" height=\"284\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td colspan=\"3\">
<img src=\"images/border125_09_01.png\" width=\"146\" height=\"50\"></td>
</tr>
<tr>
<td>
<img src=\"images/border125_09_02.png\" width=\"10\" height=\"150\"></td>
<td>
<script src=\"http://entrecard.s3.amazonaws.com/widget.js?user_id=$entre_id&type=standard_127\" type=\"text/javascript\" id=\"ecard_widget\"></script>
</td>
<td>
<img src=\"images/border125_09_04.png\" width=\"9\" height=\"150\"></td>
</tr>
<tr>
<td colspan=\"3\">
<img src=\"images/border125_09_05.png\" width=\"146\" height=\"84\"></td>
</tr>
<tr>
<td colspan=\"3\" align=\"center\">
<font size=\"-2\">EntreFrame by <a target=\"_blank\" href=\"http://entrecard-widgetsurf.most-effective-solution.com\">ECWS</a></font>
</td>
</tr>
</table>";
?>


I enter in my browser URL box:

http://entrecard-widgetsurf.most-effective-solution.com/entreframe/border125_09/border125_09.php?entre_id=7327

This works perfectly.

I need this to be on Wordpress sidebar. So I did this:

<script src="http://entrecard-widgetsurf.most-effective-solution.com/entreframe/border125_09/border125_09.php?entre_id=7327"></script>


but nothing came out. Any suggestion?

Huevoos
03-17-2008, 01:08 PM
<iframe src="http://entrecard-widgetsurf.most-effective-solution.com/entreframe/border125_09/border125_09.php?entre_id=7327"></iframe>

borzack
03-17-2008, 01:52 PM
Thanks, but... entrecard widget scanner won't scan anything inside an <iframe>, I tried that, it worked (displayed the border around the widget), but the scanner won't scan (I get a 'no code installed' in my entrecard account when i did with the <iframe>). Sorry I forgot to tell about that. Any other solution is much appreciated.

borzack
03-19-2008, 06:56 AM
anyone? :(