![]() |
|
![]() |
#1 |
Green Mole
Join Date: Apr 2004
Posts: 5
|
Not recognising get variable pages
I have a page that serves most of my website named content.php. It always has a link from my index page, but calls the information from a MySQL database.
I am not getting dig to spider all my pages like: content.php?block=es&id=2 content.php?block=es&id=2 content.php?block=hss&id=1 ect. instead it only sees: content.php which has no data in it. Not sure what the prob is. |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Using header redirects? If so, check this thread. Otherwise, what do you get on index when you uncommnet //print $answer."<br>\n"; in the robot_functions.php file?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Apr 2004
Posts: 5
|
Ok, so I got that figured out. And I even read around here enough to create my own customized page by making the output an array. Everything on it works great except for :
PHP Code:
Here is my search.php file.: PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#4 |
Green Mole
Join Date: Apr 2004
Posts: 5
|
And there are files in the text_content/ directory with information in the about each page
|
![]() |
![]() |
![]() |
#5 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Tried your code and it displays the content of the $output2['text']; variable. Is define('DISPLAY_SNIPPETS',true); set in the config file?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#6 |
Green Mole
Join Date: Apr 2004
Posts: 5
|
Yes, that is set, here is my config file:
PHP Code:
|
![]() |
![]() |
![]() |
#7 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. I don't see a reason it shouldn't be working. I copied your code and it worked fine. What do you see when you look at the HTML source of the search results page?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#8 |
Green Mole
Join Date: Apr 2004
Posts: 5
|
I figured it out. The .txt files in /text_content weren't CHMOD readable. It works great now, thank you for all your help!
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use variable in src tag | ravi | Coding & Tutorials | 1 | 06-15-2006 06:58 AM |
Undefined variable: user_agent | noel | Bug Tracker | 6 | 10-30-2005 04:32 PM |
Exclue url variable | djavet | How-to Forum | 1 | 03-15-2005 09:04 PM |
Undefined Variable: $reg | blackfeather | Bug Tracker | 2 | 05-01-2004 11:02 AM |
converted from html pages to php pages now no pages will index!!! help!! | bigals | Troubleshooting | 24 | 04-01-2004 09:34 AM |