Forums / Cotonti / General / Search form for header.tpl

MeDBejoHok
#1 2009-07-14 00:24
Please give me subj and dont forget include in stable version (Search in 0.0.6)
This post was edited by MeDBejoHok (2009-07-14 02:16, 14 years ago)
Trustmaster
#2 2009-07-14 03:24
It will work like this:
<form action="plug.php?e=search&amp;a=search" method="post">
<input type="text" name="sq" />
<input type="submit" value="Go" />
</form>
May the Source be with you!
This post was edited by Trustmaster (2009-07-14 03:37, 14 years ago)
MeDBejoHok
#3 2009-07-14 04:44
Don't work *WALL*
Trustmaster
#4 2009-07-14 04:54
Sure, upgrade to 0.0.6 beta 3 ;-)
May the Source be with you!
MeDBejoHok
#5 2009-07-21 23:17
Upgrated but still no work *WALL*
Trustmaster
#6 2009-07-21 23:37
You are right. Try this:
<form action="plug.php?e=search" method="post">
<input type="hidden" name="a" value="search" />
<input type="text" name="sq" />
<input type="submit" value="Go" />
</form>
Or use GET method:
<form action="plug.php?e=search" method="get">
<input type="text" name="pre" />
<input type="submit" value="Go" />
</form>
May the Source be with you!
MeDBejoHok
#7 2009-07-22 00:54
Thanks, now its work.
SunChase
#8 2009-07-22 02:04
Перепробовав всё это,всёравно пишет :

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#9 2009-07-22 02:29
Нехороший PHP у тебя.
May the Source be with you!
SunChase
#10 2009-07-22 02:54
тоись проблема решится при переводе на хост?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#11 2009-07-22 03:47
I mean it is very host-dependent. Whereas I know your PHP/denver is outdated.
May the Source be with you!