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

2008-06-25 Thread Sukhwinder Singh
My application is using all sorts of libraries, from pear db, quickform to smarty. So it was difficult for me to provide the sample code. Now I have just created a simple upload file (please copy and paste from below). Which does nothing but logs the access to find out about double post. I h

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: Dan Shirah To: Sukhwinder Singh Cc: php-windows@

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

2008-06-25 Thread Sukhwinder Singh
I just verified that the form is infact posted twice (by IE) by using session variable. When form is posted I set a session variable after doing the import and at start of the same import script I check if the form has been already posted from session variable and if the form has already been p

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

2008-06-25 Thread Sukhwinder Singh
If it was something in the code then then it would happen for ever browser / server combination. not just IE/IIS/PHP. This is what making me mad. I have been doing this php stuff for more than 5 years now. Still trying to figure if it is really something in code which makes IE unhappy. Suk

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

2008-06-25 Thread Dan Shirah
Are you sure it's not something in your code? I am also using IE/IIS/PHP and I have a form that on submission closes the page and opens up a new window displaying "Your data has been saved" and it does not create 2 rows in my MSSQL database. Dan

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" <[EMAIL PROTECTED]> To

[PHP-WIN] Re: php-config script is missing from the installer

2008-06-25 Thread Elizabeth M Smith
Zoltan Boszormenyi wrote: > Hi, > > I need to port a library that has several language bindings, PHP among them. > Of course the software was written on Linux, hence it uses autotools and > pgkconfig. > I can use MinGW/MSYS and GnuWin32 parts to compile most of the software > but the PHP binding l

[PHP-WIN] php-config script is missing from the installer

2008-06-25 Thread Zoltan Boszormenyi
Hi, I need to port a library that has several language bindings, PHP among them. Of course the software was written on Linux, hence it uses autotools and pgkconfig. I can use MinGW/MSYS and GnuWin32 parts to compile most of the software but the PHP binding looks for the configuration via the php-c

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

2008-06-25 Thread Sukhwinder Singh
Hello Dan, Thank you very much for your suggestion. There are workarounds but I am trying to find out why it is happening. I think not many use IIS and PHP for development or hosting and I was trying to find if anyone else too faced this problem and could find out why it was happening. Sukh

[PHP-WIN] Re: Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Elizabeth M Smith
Tim wrote: > Hi, > > My problem is very simple but i can't handle it. I'm LAMP developer by the > way. I have not much knowledge on IIS server with PHP, > > Anyway, i can't load php_oci8.dll and some other DLLs. Error message always > same; > > PHP Warning: PHP Startup: Unable to load dynamic li

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

2008-06-25 Thread Dan Shirah
> > Sukhwinder, I would suggest trying something simple like adding a variable to see if your page posted. Then, if it has run a simple Javascript function to redirect your page.

Re: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Sanjay Mantoor
Hello, Check your extension directory is proper in php.ini file and make sure the same php.ini file is used. If not make a extension dir entry like below extension_dir = "C:/php/ext" then uncomment ;extension=php_oci8.dll by removing ; -Sanjay M On Wed, Jun 25, 2008 at 2:37 PM, S. Buffn <[EMA

RE: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread S. Buffn
Hello, it is the same for all extension you would like to load? Or there is some dll which is loaded, i.e. no warning in log is presented. Where are placed the dlls and what says extension_dir directive in php.ini. Try also run command line php, i.e. php.ex with -m and it says what extension were

Re: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Eric Lee
Hi, Did you have followed the steps described in php manual for php_oc8i.dll ? It is only the interface that support orcale function call within php. So you must download and install orcale client and configure enviroment variables and all other things that orcale documentation stated. It just

[PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Tim
Hi, My problem is very simple but i can't handle it. I'm LAMP developer by the way. I have not much knowledge on IIS server with PHP, Anyway, i can't load php_oci8.dll and some other DLLs. Error message always same; PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\ext\php_oci8.d