Reply to Re: javascript content in $_POST

Your name:

Reply:


Posted by Erwin Moller on 12/04/07 10:21

Gökhan Altınsoy wrote:
> On Dec 3, 1:55 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>> On 3 Dec, 11:40, Erwin Moller<Since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
>>> I am unsure I understand what you mean.
>>> You cannot post a JavaScript variable by means of posting a form.
>>> You can of course put the value of a javascriptvariable INTO a form
>>> before posting it.
>> Erwin, he was quite clear in his post (on this point at least). He is
>> not trying to post a javacript variable.
>>
>> He said that he is putting:
>> <script type="text/javascript"
>> src="http://test.com">
>> </script>
>>
>> in a textarea.
>>
>
> That is right.
>
>> What is not clear to me is precisely in what way "the posted page
>> comes unaccesible"?

Hi,

A wild guess: Maybe your receiving script doesn't escape "?

Try posting this and see what happens:
test with " in it

Does that also produce an error?

And what is more: Be sure you see the error instead of 'Page cannot be
displayed'.

Make sure errorreporting is on.

Good luck.

Regards,
Erwin Moller


>
> It is very intersting problem.
> When i click to post, browser shows "Page can not be displayed" error.
> If i put normal text to text are , there is no problem.
>
> It seems, post content with js corrupts posting header or something
> like that.
>
> I published a test page for this problem.You can test it.
>
> <script type="text/javascript"
> src="http://test.com">
> </script>
>
> copy paste js content and save on
>
> http://www.taginternet.com/tagger/testpost.php
>
> address
>
>
> Thanks everybody for comments

[Back to original 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

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