in the main folder mydomain.com, the folder foruma/fr3/messages contains some numbered.php files ( eg 1000.php, 1001.php so on )
i wanted to add a search function so that a word submitted for search can be found out from these files.
however for this files to get displayed in browser they need url like
The search function which I got from php cookbook will return results like
/foruma/fr3/messages/1001.php
/foruma/fr3/messages/1002.php
/foruma/fr3/messages/1003.php
but *what i need* is
results ( taking those numbers only )
/foruma/fr3/index.php?subject=view&msg=1001.php
/foruma/fr3/index.php?subject=view&msg=1002.php
/foruma/fr3/index.php?subject=view&msg=1003.php
i am failing miserably - what will be the actual tweaking in the code - i will be full of extreme gratitude if that help is possible.
foruma/fr3/messages = where the searching is done
search_item = the term submittable via a search form
%s = this thing needs to be modified so that only the number is taken and the urls are reconstructed as , for example,
/foruma/fr3/index.php?subject=view&msg=4194.php
[http://localhost//foruma/fr3/index.p...&msg=4194.php]