Open Tech Support
Open Tech Support Archives
Back to HomeCommunityReviewsGuidesDownloadsTech LinksMarketplaceContact Us
 »  SITE NAVIGATION
»  OTS Home
»  OTS Forums
»  OTS Archives

»  About our site
»  Search our site
»  Support our site

»  What is this site?
»  Who are we?
 
 
 »  ADVERTISMENT
 
  Pages: 1

PHP Unique ID

(Click here to view the original thread with full colors/images)


Posted by: BabyPinkHeart

Hi!
I am using a tagboard script by fusionPHP (www.fusionphp.org).

I can make multiple comment sets as long as I use <a href="/tags/tags.php?id=unique_id">Comment</a>.

To send the information, I use:

<form action="http://www.url.com/scripts/tags/tags.php?submit=yes&id=main" method="post" target="tags">
<iframe src="http://www.url.com/scripts/tags/tags.php?id=main" name="tags"></iframe>
<input type="text" size="11" name="name" value="Name" class="tag" maxlength="15"> <input type="text" name="url" value="http://" class="tag"><br>
<textarea rows="4" name="message" value="Message" class="tag" cols="25">comment</textarea>
<input type="submit" value="send" class="tag">&nbsp;<input type="reset" value="Clear" class="tag" name="reset">
</form>

But when I try and break it down, it goes to the same board. When the iframe loads, it has the unique board but when a comment is made, it gets sent to another one.

To view the readme file from fusionPHP: http://www.fusionphp.org/tags_readme.php

Any help will be appreciated. Thanx.



Posted by: DemonBob

How are you outputing the form? Is it just a webpage, sendinf information to a php script? or is it part of the script it's self? Where do you have the header information being sent after the information from the form is sent to the php script?



Posted by: BabyPinkHeart

I am sending information to a PHP script (tags.php). I don't really know much about PHP programming so I just pretty much guess modifying it.

The information is being sent to a dat file. The tags.php is then called to display the contents (in the iframe).

Thank you for your help!



Posted by: BabyPinkHeart

Do I need to change <form action="http://www.url.com/scripts/tags/tags.php?submit=yes&id=main" method="post" target="tags"> so it will send to the unique ID?

When I call the iframe, the unique ID works but not when it sends.



 
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.