PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 12-30-2004, 02:43 PM   #1
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
Arrow Url and Search

Hello people,
Excuse me my english but i am french....
I would like know if it's possible of changing URL after a search.
Now when i valid a search my URL is :
search.php

I want when i search a "word"
This Url is
search?word

Thank you
christophe is offline   Reply With Quote
Old 12-30-2004, 03:36 PM   #2
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
why you want that

function_phpdig_form

from

PHP Code:
$result['form_head'] = "<form action='$result_page' method='post'> 
to

PHP Code:
$result['form_head'] = "<form action='$result_page?$query_string2' method='post'> 
3 spots - use ?$query_string2
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 12-30-2004, 04:15 PM   #3
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
I want this function so that the googlebot can find URL type
search?q=windows
and that that drive directly on the corresponding page

Your function is good for the URL but obviously not when I type the URL directly

Thank you
christophe is offline   Reply With Quote
Old 12-30-2004, 04:19 PM   #4
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
still excuse me,
makes some for each word I would wish to have this
-http://www.***.com/?q=word
and to post on my index all the words typed on the engine.
Have an idea?
christophe is offline   Reply With Quote
Old 12-30-2004, 04:28 PM   #5
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
function_phpdig_form

PHP Code:
$result['form_head'] = "<form action='$result_page?query_string=$query_string2' method='post'> 
3 spots - use ?query_string=$query_string2

else you try method='get' but see all query string - watch encoding with method='get' - see

http://www.php.net/manual/fr/faq.htm....html.encoding
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 12-30-2004, 04:45 PM   #6
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
Yes thank you very much, it is really cool to help me.
Now, I would like to post on a page, all the words already requested
it is possible according to you?
christophe is offline   Reply With Quote
Old 12-30-2004, 05:25 PM   #7
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
look statistics lastqueries for code
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 12-31-2004, 03:37 PM   #8
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
hi,
I looked at the code and I succeeded in showing the statistics without authenticating itself.
But makes some, I would wish that all the words typed in the form be posted on a page (bestsearch.php) and that each word can be clicked.
In this way, Google will Know more pages, because it does not index the Web invisble (BDD).
A example :
http://perso.wanadoo.fr/laklouche/dig2.gif

Perhaps, they are a Mod or a Option ???
christophe is offline   Reply With Quote
Old 01-01-2005, 02:02 PM   #9
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
not all word - what for word return no result
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 01-01-2005, 02:10 PM   #10
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
Why you say word return no result ?
My result URL is :
search.php?query_string=word
thus if the word is cliquable it is gained
christophe is offline   Reply With Quote
Old 01-01-2005, 02:27 PM   #11
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
i know not your code - what for query_string=asdfgasdfgasdfg
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 01-01-2005, 05:05 PM   #12
christophe
Green Mole
 
Join Date: Dec 2004
Posts: 25
The big problem of my URL
PHP Code:
 $result['form_head'] = "<form action='$result_page?$query_string2' method='post'> 
is that the URL reacts with a time lag on strike

I allows itself to give you an example of site in France with what I wish.
http://www.ledepart.com/

Thanks
christophe is offline   Reply With Quote
Reply


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Length LepNinja Troubleshooting 0 10-20-2006 07:18 AM
Restricting search results by URL at the search form level innerfire How-to Forum 3 08-01-2005 09:36 AM
How to unlock an URL philbihr How-to Forum 2 11-08-2004 05:11 AM
Search URL on new server digitalje5u5 Troubleshooting 6 08-30-2004 01:44 PM
Per URL Catalogs? fredh How-to Forum 3 11-17-2003 12:21 AM


All times are GMT -8. The time now is 08:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.