[PHP-WIN] Strange CGI Timeout

2005-01-24 Thread Eric Spies
Hello. I recently moved my web server to a new machine. The operating system has stayed the same (Windows 2000 server), the IIS version (IIS5) has stayed the same. I am using the same version of php (4.3.6) and copied over the same php.ini file. The directory structure I used is exactly the sam

Re: [PHP-WIN] CGI Error

2005-01-24 Thread Thomas Vanhal
I am actually using ODBC already to access our database. I actually think my problem is the the : header("Location: ../Issues/EditIssue.php?number=".$_GET['number']); exit(); Because if replace it with a : To: "Thomas Vanhal on php-windows" Sent: Monday, January 24, 2005 2:19 PM Subject: Re: [P

Re: [PHP-WIN] CGI Error

2005-01-24 Thread David Elliott
Hello php-windows, On 24 January 2005, at 14:06:21 -0800 (which was 22:06 where I live) Thomas Vanhal on php-windows wrote > I have a problem with my php script. Let's say for my login page, it > usually works but sometimes it doesn't and give me this error : > CGI Error > The specified CGI appli

[PHP-WIN] COM - setting an indexed property

2005-01-24 Thread Dale Schell
I have a COM object "com" with a property "prop". "prop" is an indexed array. I am using PHP 5.1.0-dev. None of the following work: $com->prop(0) = 'blue'; $com->prop(0, 'blue'); $com->prop = array ('blue'); Is there a way to write to an indexed property? Dale Schell -- PHP Windows Mailing L

[PHP-WIN] CGI Error

2005-01-24 Thread Thomas Vanhal
Hi, I have a problem with my php script. Let's say for my login page, it usually works but sometimes it doesn't and give me this error : CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. My server is windows 2003. This didn't happen when our webs

Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread trystano
I think this was one of the main problems that came about when PHP used to be shipped with register_globals set to OFF (as well as security measures). With PHP register_globals set to ON, you are not allowed, or are not supposed to, have local variables and $SESSION, $POST, $GET etc with the sam

Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread Jeremy Schreckhise
This did not work but I did find a solution. For some reason PHP's unset was failing, because my local variables were named the same as my super global SESSION variables. When I changed the naming convention of my SESSION variables everything worked flawlessly. I thought you could have a local v

Re: [PHP-WIN] PHP/Javascript question

2005-01-24 Thread phpWalter
> If I wanted to detect a users screen resolution, would I be better off > using PHP (if possible) or JavaScript? You have to use JS and have it report back to your server so your PHP can work with it. Simple! ;) Walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread trystano
try, session_unset('session_var_name'), Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] unset Not working as expected

2005-01-24 Thread Jeremy Schreckhise
Good afternoon group! I have a simple addition form with add/cancel buttons. When the add button is clicked the action of the browser is sent to a second processing page that verifies data and either adds the current record or sends the client back to the addition form prepopulating it the SESSIO

[PHP-WIN] Problems with getprotobyname, win, php 4.3.10

2005-01-24 Thread php_74562
Hi list, I am writing a standalone PHP program (not web based, but not GTK either, just a console app) and I want to re-distribute the PHP binaries with it. Then I noticed that on a particular WinXP machine - not a brand new install, but recent-ish - the getprotobyname('tcp') call fails (returning

[PHP-WIN] Re: :)

2005-01-24 Thread SargeTron
hmm, another 1 <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't bite, weah! > > password: (snip) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: ello! =))

2005-01-24 Thread SargeTron
Er... what? Anyway, it sounds like this shouldn't be here. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Looking forward for a response :P > > password for archive: (snip) > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] mysql connect problems

2005-01-24 Thread Patrick Roane
I am trying to est. a connection to mysql via PHP5 on my win XP and I keep getting the undefined function error. By the way I am running apache 1.3.23. I believe I've made the necessary adjustments to the php.ini. (uncommented the extension=php_mysql.dll) and copied this to my windows dir. There

RE: [PHP-WIN] Re: Random

2005-01-24 Thread Wagner, Aaron
> -Original Message- > From: Jason Barnett [mailto:[EMAIL PROTECTED] > Sent: January 24, 2005 09:41 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Re: Random > > > SargeTron wrote: > > "How can I create a random string" > > > > rand() only returns an int (number), but I would lik

[PHP-WIN] [Fwd: [php-gurus] PHP renders funny]

2005-01-24 Thread Louis Young
Just more on this. Check what happens to the HTML rendered by the PHP script: Original Message Subject:[php-gurus] PHP renders funny Date: Mon, 24 Jan 2005 17:18:16 +0200 From: Louis Young <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: php-windows@

[PHP-WIN] PHP renders funny

2005-01-24 Thread Louis Young
Hi guys I've got a website set up on my machine and it all works fine if I access it from the local machine, but when I access it from another machine the web page comes out all distorted and only comes right if I refresh the page a couple of times. Any ideas? Cheers Louis -- PHP Windows Mailin

[PHP-WIN] Re: Random

2005-01-24 Thread Jason Barnett
SargeTron wrote: "How can I create a random string" rand() only returns an int (number), but I would like something like dd75$6*, you know, containing any character. I would like it only to do a certain string ONCE, so there are no duplicates (in a for loop). Hopefully I won't need to do a huge arr

[PHP-WIN] PHP/Javascript question

2005-01-24 Thread Allen D. Tate
If I wanted to detect a users screen resolution, would I be better off using PHP (if possible) or JavaScript? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] why does my php5.03 do not load php_oci8.php ?

2005-01-24 Thread Edin Kadribasic
You need oracle client version 8.1 or newer installed on your system. Edin - Original Message - From: "yuegong" <[EMAIL PROTECTED]> To: Sent: Saturday, January 22, 2005 9:02 AM Subject: [PHP-WIN] why does my php5.03 do not load php_oci8.php ? > Hi; > > My system is win2000+php5.03

SV: [PHP-WIN] Random

2005-01-24 Thread Henrik Hornemann
Hi, First take a look at the notes to rand() in the manual, there are several examples on how to generate random strings. To awoid duplications you could just put the used ones in an array and check every new one with in_array(). Alternativly, if you dont want to use arrays you could write a non r