Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

page.php search > = <

Quote Reply
page.php search > = <
Hi. I've just been playing with page.php. There is something that has had me stumped all day. Ok, if I use search.cgi and type;

search.cgi?MinSpacePackage=>10000

i get the right results, however, using page.php in the following manner;

page.php?do=search&MinSpacePackage=>10000

I get no results. Is this a bug, or am i just not formatting it correctly?

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] page.php search > = < In reply to
Hmm...

Its 2.15am and I am about to go to bed so I don't have time to setup the code and test something, but I think that the _build_cond function would need to be updated to support this. The staff member who made this will know better then me - the Search file has so many regex's that I got to scared to understand it :)

I would say at around line 334 or so a couple of lines would have to be added so that the >15000 or whatever condition you pass with that in it would work. I'll study up on regex's in the next couple of days and figure out a solution for you hopefully. I need to learn them anyway Tongue


Cheers,
Michael Bray

Last edited by:

Michael_Bray: Jan 4, 2002, 7:23 AM
Quote Reply
Re: [Michael_Bray] page.php search > = < In reply to
Thanks Michael. If you (or GT) could work some code out for it that would be great. I'm still a little new to PHP's regex syntax (roughly like Perls, but I'm not very good with Perls syntax either..lol). Well, I await your reply Tongue

BTW: Where does anyone know where Alex and Co. ? I havnt seen either of them in this forum for a god few days. I still got more questions posted that havnt been answered Wink

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] page.php search > = < In reply to
I'll have to get Adrian to fix this up. =)

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] page.php search > = < In reply to
Ah, thanks. Did you get round to setting a rough release of the next version?Just all of my pages and scripts are PHP, so I'm relying quite a lot on the PHPsearch thing, the rating isnt quite as important as it only has a problem withone of the errors being reported Tongue

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] page.php search > = < In reply to
Fixed Smile


Adrian
Quote Reply
Re: [brewt] page.php search > = < In reply to
Great, is this available in the now downloadable version, or do I need to wait for the next release?

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] page.php search > = < In reply to
You'll have to wait.


Adrian
Quote Reply
Re: [brewt] page.php search > = < In reply to
Darn. I dont suppose you would be able to email it to me (im assuming itsjust the .inc file that was edited). Its just that I'm quite desperate to get myproject of the ground, and the search feature is a major holdback at the momentFrown If you can please send it to webmaster@ace-installer.com.

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!