Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-29-2008, 09:57 PM
Rujikin is offline Rujikin
Registered User

Join Date: Jan 2008
Posts: 1

Important PhShoutBox forms

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>
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phShoutBox extremegamer phphq.Net Forums 1 03-08-2008 02:31 AM
phShoutBox help needed fsy phphq.Net Forums 1 08-14-2007 05:45 AM
Forms pop up BARRACUDA General Chat 3 11-26-2005 04:05 PM
Forms atholon Web design and Programming 7 07-11-2005 07:56 AM
Quick way to validate to forms :D BeBop Web design and Programming 3 06-08-2005 05:20 PM


All times are GMT -5. The time now is 03:13 PM.




Powered by vBulletin®