Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
bigcook
New Member
New Member



Joined: Mar 26, 2008
Posts: 2

PostPosted: Sun Jul 26, 2009 1:20 pm Reply with quote

Hello i wonder if anyone can help me out with my module. When i submit a search form using GET my URL is being stripped.

Code:
URL example:

What i need : modules.php?name=mymodule&level=search&searchterms=blahblah
whats i get is:modules.php?level=search&searchterms=blahblah

its stripping the module name.


I really need to use GET and not POST for bookmarks and so on.

here is my search form.
Code:
      <form action="modules.php?name=Gallery&level=search&" method="get">

         <div>
         <input type="hidden" name="level" value="search" />
         <input type="text" name="searchterms" />
         <input class="submit" type="submit" value="Search" />
         </div>
      </form>
 
View user's profile Send private message
floppydrivez
Involved
Involved



Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi

PostPosted: Sun Jul 26, 2009 4:22 pm Reply with quote

Code:
      <form action="modules.php" method="GET">

         <div>
         <input type="text" name="searchterms" />
         <input type="hidden" name="name" value="Gallery" />
         <input type="hidden" name="level" value="search" />
         <input class="submit" type="submit" value="Search" />
         </div>
      </form>


Its something like that. Been a long time since I done it.

_________________
Phpnuke Downloads, Clan Themes, Mack Hankins 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
bigcook







PostPosted: Sun Jul 26, 2009 6:08 pm Reply with quote

Works a treat thx very very much Floppy this has been doing my head in for ages.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©