Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
lse if ($csv_file['error'] == UPLOAD_ERR_FORM_SIZE || $csv_file['error'] == UPLOAD_ERR_INI_SIZE) { $error = "File size exceeds max allowed size of whatever"; } else { $error = "There was error in uploading your file."; } } ?> test $error"; }

Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
I think this must be some kind of PHP ISAPI or IE bug. If I replace this: header('Location:'. $url); exit; WIth echo "\n"; echo "location.replace('$url');\n"; echo ""; Then the double post does NOT HAPPEN. ----- Original Message - From

Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
posted just return to some other page which unsets that session variable. But still I want to find the cause of the problem. - Original Message - From: Dan Shirah To: Sukhwinder Singh Cc: php-windows@lists.php.net Sent: Thursday, June 26, 2008 1:31 AM Subject: Re: [PHP

Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
. Sukhwinder Singh - Original Message - From: Dan Shirah To: Sukhwinder Singh Cc: php-windows@lists.php.net Sent: Thursday, June 26, 2008 1:31 AM Subject: Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection Are you sure it's not something in your code? I am also

Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
Even this didn't work. It seems IE just posts twice the same form on its own and redirect is blank both times. Is there any utility to debug what database is being passed around like avaiable in firefox Sukhwinder Singh - Original Message - From: "Dan Shirah" &l

Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-25 Thread Sukhwinder Singh
. Sukhwinder Singh - Original Message - From: "Dan Shirah" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, June 25, 2008 6:11 PM Subject: Re: [PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection > S

Re: [PHP-WIN] Fwd: php-windows Digest 25 Jun 2008 00:22:47 -0000 Issue 3494

2008-06-24 Thread Sukhwinder Singh
Hello Sandeep, Yes I am using exit. The strange thing is if webserver is apache and the web browser is IE it still works. Problem is only IE / PHP/ IIS combination. Sukhwinder Singh - Original Message - From: "sandeep khokher" <[EMAIL PROTECTED]> To: Sent: We

[PHP-WIN] IE/ IIS / PHP - Form posted twice in case of redirection

2008-06-24 Thread Sukhwinder Singh
had earlier faced the same problem but I thought I should just switch to Apache rather than use IIS for development. But now the problem is that production server is Windows 2003 server with IIS. (The version of PHP IIS or windows shouldn't not matter though) Thanks, Sukhwinde

[PHP-WIN] Problem No of weeks returned by date function

2004-06-09 Thread Sukhwinder Singh
week using php and then hits for that week using mysql records. I am using PHP Version 4.3.6 on Windows 2000. Is this a php bug where it is assumed that there can be just 52 weeks in a year? If yes then how mysql displays week from 0 to 53? --Sukhwinder Singh -- PHP Windows Mailing

[PHP-WIN] Xslt extension unable to find files

2002-05-22 Thread Sukhwinder Singh
unknown encoding '' in E:\web\newsite\transxml.php on line 22 Some error occured Error is: unknown encoding '' Error number is: 66 But there is no encoding problem etc. because it created output file when files were copied to d:\ as mentioned above. Sukhwinder Singh -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Php on windows - Linux and Windows Editors

2002-04-30 Thread Sukhwinder Singh
Hello, I don't know why people don't reply to questions related to compiling php on windows. If we want that php should run on every (including windows) platform we must help people who try to achieve that. We cannot depend on windows binary download provided at php.net because many of the

[PHP-WIN] PHP Curl extension unresolved symbol imp_fwrite when linking using MSVC++ Win95

2002-04-29 Thread Sukhwinder Singh
Configuration: curl - Win32 Release_TS Linking... Creating library Release_TS/php_curl.lib and object Release_TS/php_curl.exp curl.obj : error LNK2001: unresolved external symbol __imp__fwrite curl.obj : error LNK2001: unresolved external symbol __imp__re

[PHP-WIN] Multiple Definiion erros when linking php 4.20 exts MSVC++ 6.0 (win95)

2002-04-29 Thread Sukhwinder Singh
Hello, I am trying to compile php 4.20 on Windows 95 using MSVC++ 6.0 because many of the extension libraries like mcrypt, imap and ldap are not available in the binary donwload. I followed instructions in php manual to compile php.exe. Php compiled and linked fine when using D:\php-4.2.0\

[PHP-WIN] Compiling Php on Windows

2002-04-29 Thread Sukhwinder Singh
Hello, I want to compile php on windows 95 using Microsoft Visual C++ 6.0 because many extensions like ldap and imap are not available in the download. I followed the instructions provided in the manual which are inadequate and doesn't provide detailed instructions. First of all it asks

[PHP-WIN] Multiple Definiion erros when linking php 4.20 exts MSVC++ 6.0 (win95)

2002-04-29 Thread Sukhwinder Singh
Hello, I am trying to compile php 4.20 on Windows 95 using MSVC++ 6.0 because many of the extension libraries like mcrypt, imap and ldap are not available in the binary donwload. I followed instructions in php manual to compile php.exe. Php compiled and linked fine when using D:\php-4.2.0\

[PHP-WIN] Compiling Php on Windows

2002-04-29 Thread Sukhwinder Singh
Hello, I want to compile php on windows 95 using Microsoft Visual C++ 6.0 because many extensions like ldap and imap are not available in the download. I followed the instructions provided in the manual which are inadequate and doesn't provide detailed instructions. First of all it asks