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

MeDBejoHok
#1 14. Juli 2009, 00:24
Please give me subj and dont forget include in stable version (Search in 0.0.6)

Dieser Beitrag wurde von MeDBejoHok (am 14. Juli 2009, 02:16, vor 14 Jahre) bearbeitet
Trustmaster
#2 14. Juli 2009, 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!

Dieser Beitrag wurde von Trustmaster (am 14. Juli 2009, 03:37, vor 14 Jahre) bearbeitet
MeDBejoHok
#3 14. Juli 2009, 04:44
Don't work *WALL*
Trustmaster
#4 14. Juli 2009, 04:54
Sure, upgrade to 0.0.6 beta 3 ;-)
May the Source be with you!
MeDBejoHok
#5 21. Juli 2009, 23:17
Upgrated but still no work *WALL*
Trustmaster
#6 21. Juli 2009, 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 22. Juli 2009, 00:54
Thanks, now its work.
SunChase
#8 22. Juli 2009, 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 22. Juli 2009, 02:29
Нехороший PHP у тебя.
May the Source be with you!
SunChase
#10 22. Juli 2009, 02:54
тоись проблема решится при переводе на хост?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#11 22. Juli 2009, 03:47
I mean it is very host-dependent. Whereas I know your PHP/denver is outdated.
May the Source be with you!