You are here: Re: Is there a reverse $_GET? « PHP Programming Language « IT news, forums, messages
Re: Is there a reverse $_GET?

Posted by VHfc on 03/09/06 10:54

Juan José GutiérrezPérez schreef:

> echo "<input type=\"hidden\" id=\"txt_var\" value=\"$txt\"/>";
> but i suppose a textarea is more aproppiate for what you want.

Yes, I want it in a textarea. My problem was so "obvious" I didn't see
the woods by all the trees. Actually this must be the Murphy of posting
since I found a workable solution in the mean time by the
XMLHttpRequest object. It works great!

http://www.sitemasters.be/?pagina=tutorials/tutorials&cat=3&id=433#object
(in Dutch but the code is self-explaining)

Your solution is even simpler. But the advantage of the XMLHttpRequest
object is that I can reuse it for different types of request just by
the *.php?requesttype parameter.

> that's supposing I understand your problem, because I'm not too sure I
> understood it

It was! Thanks for your reply.

@Drakazz: yes I'm quite aware of the character problem. I had it with
my cookie mechanism. I escape/unescape the string:
JS: result_dds = unescape(unescape(readMyCookie('comm_result_dds')));
PHP: stripslashes and rawurl

Thanx for your reply too!

VHfc

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация