Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80D7DC9BD for ; Thu, 27 Jun 2013 15:35:26 +0000 (UTC) Received: (qmail 52626 invoked by uid 500); 27 Jun 2013 15:35:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 52202 invoked by uid 500); 27 Jun 2013 15:35:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 52096 invoked by uid 99); 27 Jun 2013 15:35:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 15:35:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pidizayn@gmail.com designates 209.85.128.47 as permitted sender) Received: from [209.85.128.47] (HELO mail-qe0-f47.google.com) (209.85.128.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 15:35:15 +0000 Received: by mail-qe0-f47.google.com with SMTP id 1so280026qec.6 for ; Thu, 27 Jun 2013 08:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=VBN92Caikxrd+P4381bh/i7HSB8V+8f1X4n+RWz60WE=; b=Fkqo4PKvNgCiHxsED9x98CGYjkiqPVdt4RNd+o2alnCKY9Yjm4m613g1hCIqJ6jPwX zrKNNPz5rmkfFGffSWHClUzfV5FYU5uw0SkCyT4bDmepRs5lMw3geKTqwjdQR3MVS7Ao jQ03xbuEo9Xo5LVKazYCMgY//qrm0Vt49YqLZWxp/hNcsV4z6UaD7M3TTkN8BSxht+Yg JQYgegppxMeOEyzLrbB/J29fCuKUGfrONKBUSSlsOe9okiOtCYYoU6DXpzQlaR0S+l3X PXG4jbmm1ZwepIKcMUYgvBFv8d6FzgyJwdFanjAzebJHGU2vBun+mexgVLHcsZZO1Gf2 PcxA== X-Received: by 10.224.33.141 with SMTP id h13mr12332279qad.21.1372347294371; Thu, 27 Jun 2013 08:34:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.74.73 with HTTP; Thu, 27 Jun 2013 08:34:14 -0700 (PDT) In-Reply-To: <51CB9C0D.9050403@netrition.com> References: <51CB021C.5070805@netrition.com> <51CB9C0D.9050403@netrition.com> From: Pi Dizayn Date: Thu, 27 Jun 2013 18:34:14 +0300 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=20cf3074d2e4fd5a5604e024803b X-Virus-Checked: Checked by ClamAV on apache.org Subject: =?ISO-8859-1?Q?Re=3A_=5Busers=40httpd=5D_Re=3A_Form_problem_with_non=2Dascii_ch?= =?ISO-8859-1?Q?aracters_=28=E6_or_=DF=29?= --20cf3074d2e4fd5a5604e024803b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Jun 27, 2013 at 4:57 AM, Jim Albert wrote: > On 6/26/2013 1:02 PM, Pi Dizayn wrote: > >> >> Here is a simple form from that server. >> >> Sorry I forgot to send the link of the form. >> http://medyab.com/formtest2.php >> > > Have you checked to see that the browser is submitting the request? Check > your apache access logs. > > The firefox httpfox addon might help so that you can see the communicatio= n > between browser and server: > https://addons.mozilla.org/en-us/firefox/addon/httpfox/ > > IE has similar feature with F12/Developer tools and the Network tab. > > Maybe viewing the returned headers will help. > > It sure seems related to the character set. Did you check the settings on > AddDefaultCharset between your old and new apache server (possibly in > httpd.conf since I assume any .htaccess files would be the same)? If that= 's > set, it should match the characters intend to display and should be in sy= nc > with what you are setting via meta tags. > > I'm assuming that: > > > is what you set in your code when it was working on your old server. > Maybe the AddDefaultCharset (assuming it is set) on your new server > conflicts with iso-8859-9. > http://httpd.apache.org/docs/current/mod/core.html#adddefaultcharset > > Jim Dear Jim, First of all thank you for recommending me HttpFox. I was checking headers from FireBug but HttpFox looks better. ---------------------------------------------------------------------------= ------------------------------- There is no log for error or access in httpd logs. ---------------------------------------------------------------------------= ----------------------------------------- AddDefaultCharset is disabled both of the server. I tried "AddDefaultCharset iso-8859-9". It doesn't solve. ---------------------------------------------------------------------------= ------------------------------- When I checked with HttpFox what I get is; - (Request-Line) POST /formtest2.php HTTP/1.1 - Host medyab.com - User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 - Accept text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D0.8 - Accept-Language en-us,tr;q=3D0.7,en;q=3D0.3 - Accept-Encoding gzip, deflate - Referer http://medyab.com/formtest2.php - Cookie __utma=3D256146967.1605253938.1371937614.1372254337.1372331162.12; __utmz=3D256146967.1371937614.1.1.utmcsr=3D(direct)|utmccn=3D(direct)|ut= mcmd=3D(none); __atuvc=3D7%7C26; PHPSESSID=3Dd2rr0kb8q0rn0hlvt801vt6na5; __utmc=3D25614= 6967 - Content-Type application/x-www-form-urlencoded - Content-Length 5 which are the same as the form that works normally on my server. It also says NS_ERROR_NET_RESET. When I googled NS_ERROR_NET_RESET I saw that somebody is mentioning about enctype. When I add enctype=3D"application/x-www-form-urlencoded" to the form, it started worki= ng for Turkish characters and also for =E6, =DF too. But I can't add enctype t= o all of my forms. I feel I'm close to the solution. :) ---------------------------------------------------------------------------= ----------------------------------------- --=20 Boray Eris www.pidizayn.com --20cf3074d2e4fd5a5604e024803b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Jun 27, 2013 at 4:57 AM, Jim Albert <jim@netritio= n.com> wrote:
On 6/26= /2013 1:02 PM, Pi Dizayn wrote:

=A0 =A0 Here is a simple form from that server.

Sorry I forgot to send the link of the form.
http://medyab= .com/formtest2.php

Have you checked to see that the browser is submitting the request? Check y= our apache access logs.

The firefox httpfox addon might help so that you can see the communication = between browser and server:
https://addons.mozilla.org/en-us/firefox/addon/httpfox/

IE has similar feature with F12/Developer tools and the Network tab.

Maybe viewing the returned headers will help.

It sure seems related to the character set. Did you check the settings on A= ddDefaultCharset between your old and new apache server (possibly in httpd.= conf since I assume any .htaccess files would be the same)? If that's s= et, it should match the characters intend to display and should be in sync = with what you are setting via meta tags.

I'm assuming that:

<meta http-equiv=3D'Content-Type' content=3D'text/html; char= set=3Diso-8859-9'>
is what you set in your code when it was working on your old server.
Maybe the AddDefaultCharset (assuming it is set) on your new server conflic= ts with iso-8859-9.
http://httpd.apache.org/docs/current/mod/core.html#= adddefaultcharset

Jim

Dear Jim,

First of= all thank you for recommending me HttpFox. I was checking headers from Fir= eBug but HttpFox looks better.
----------------------------------------= ------------------------------------------------------------------
There is no log for error or access in httpd logs.
----------= ---------------------------------------------------------------------------= -------------------------------
AddDefaultCharset is disabled both of th= e server.=A0 I tried "AddDefaultCharset iso-8859-9". It doesn'= ;t solve.
---------------------------------------------------------------------------= -------------------------------
When I checked with HttpFox w= hat I get is;

  • (Request-Line)=A0=A0=A0 POST /formtest2.php HT= TP/1.1
  • Host=A0=A0=A0 medyab.com
  • User= -Agent=A0=A0=A0 Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101= Firefox/21.0
  • Accept=A0=A0=A0 text/html,application/xhtml+xml,appli= cation/xml;q=3D0.9,*/*;q=3D0.8
  • Accept-Language=A0=A0=A0 en-us,tr;q=3D0.7,en;q=3D0.3
  • Accept-Enc= oding=A0=A0=A0 gzip, deflate
  • Referer=A0=A0=A0 http://medyab.com/formtest2.php
  • Cookie= =A0=A0=A0 __utma=3D256146967.1605253938.1371937614.1372254337.1372331162.12= ; __utmz=3D256146967.1371937614.1.1.utmcsr=3D(direct)|utmccn=3D(direct)|utm= cmd=3D(none); __atuvc=3D7%7C26; PHPSESSID=3Dd2rr0kb8q0rn0hlvt801vt6na5; __u= tmc=3D256146967
  • Content-Type=A0=A0=A0 application/x-www-form-urlencoded
  • Content= -Length=A0=A0=A0 5

which are the same as the form that works no= rmally on my server.

It also says NS_ERROR_NET_RESET. Wh= en I googled NS_ERROR_NET_RESET I saw that somebody is mentioning about enc= type. When I add enctype=3D"application/x-www-form-urlencoded" t= o the form, it started working for Turkish characters and also for =E6, =DF= too. But I can't add enctype to all of my forms. I feel I'm close = to the solution. :)
---------------------------------------------------------------------------= -----------------------------------------




--
Boray E= ris
www.pidizayn.c= om
--20cf3074d2e4fd5a5604e024803b--