I am wanting to witch over all of my tagboards to your tagboard (Cause it pwns all the others in looks and ease of use). I just need to get the Submit buttons and forms to work outside of the Iframe.
Im currently trying to use phpost.php (In the same directory as everything else) to put the Iframe & forms into then use a PHP Include to merge it with the real page that im using it in. I need The forms to submit stuff right below the Iframe (For looks). Im not entirely sure how these PHP commands in your coding work so im at a loss. Any ideas how to get it to submit from this page?
here is what I currently have on phpost.php
PHP Code:
<iframe src="tagboardz/test/phShoutBox.php" width="300" height="350" frameborder="0">No
Frames</iframe>
<form method="post" action="<?=$_SERVER['PHP_SELF'];?>?cmd=<?=$cmd;?>" name="phform">
<table class="table" align="center" width="100%">
<tr>
<td align="center" class="form_bottom">
<?
If($_COOKIE['name']) {
$name=htmlspecialchars(stripslashes($_COOKIE['name']));
} Else {
$name="Name";
}
If($_COOKIE['url']) {
$url=htmlspecialchars(stripslashes($_COOKIE['url']));
} Else {
$url="URL";
}
?>
<input type="text" name="name" size="22" onfocus="Clear(this)" value="<?=$name;?>" /><br />
<input type="text" name="shout" size="22" onfocus="Clear(this)" value="Message" /><br />
<input type="text" name="url" size="22" onfocus="Clear(this)" value="<?=$url;?>" /><br />
<input type="hidden" name="submit" value="true" />
<input type="submit" name="submit" value=" Shout It Out! " /><br />
<?If($cmd=="all") {?>
<a href="javascript:void(0);" onclick="phPopUp('<?=$_SERVER['PHP_SELF']."?cmd=extras";?>',200,335,1)" class="alt">Extras</a> | <a href="<?=$_SERVER['PHP_SELF'];?>" class="alt">Limit Shouts</a>
<?} Else {?>
<a href="javascript:void(0);" onclick="phPopUp('<?=$_SERVER['PHP_SELF']."?cmd=extras";?>',200,335,1)" class="alt">Extras</a> | <a href="<?=$_SERVER['PHP_SELF']."?cmd=all";?>" class="alt">All Shouts</a>
<?}?>
</td>
</tr>
</table>
</form>