[PHP-WIN] PHP sessions under Win2k AS

2001-08-22 Thread Mike Duin
Hi All, I am running PHP 4.0.4 on Win2k Advanced Server, but because of the huge amount of traffic the surfer stops working When I take a look @ the taskmanager I see an average of 70 php sessions.mmm.he doesnt like that. All the sessions are from one script that reads a file fro

[PHP-WIN] Performance issues php/apache

2001-08-22 Thread Andrew.Martin
I'm using PHP with Apache server but I have big performance issues. Not sure if its php or apache causing them. When I load/refresh a page you can see the images loading in the status bar before the page loads. I do use js preload functions for the images, which I used before (with apache) without

[PHP-WIN] issue with undefined variables with PHP 4.06

2001-08-22 Thread Philip Meier
Hi I have just reinstalled my win2k system and installed the latest version of PHP (4.06), now when I run a lot of my old scripts I get errors like the one below, when I access the page before posting any data to it. The example below is taken straight from a tutorial site. I'm not sure if this

[PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Lars Eirik Rønning
Hey there. I realize this is a forum for php-windows users,but knowing that most of you guys run a mysql db as backend i have a question for you.. I know there is a way to return the amount of records in the db by using the mysql_num_rows($resultid). My problem is that it only returns the total n

[PHP-WIN] Re: issue with undefined variables with PHP 4.06

2001-08-22 Thread Johannes Janson
hi, > I have just reinstalled my win2k system and installed the latest version of > PHP (4.06), now when I run a lot of my old scripts I get errors like the one > below, when I access the page before posting any data to it. The example > below is taken straight from a tutorial site. I'm not sur

php-windows Digest 22 Aug 2001 12:09:52 -0000 Issue 715

2001-08-22 Thread php-windows-digest-help
php-windows Digest 22 Aug 2001 12:09:52 - Issue 715 Topics (messages 8984 through 8993): Re: How do I get information from a URL? 8984 by: Hugh Bothwell 8985 by: CJD Re: Array 8986 by: CJD formatnot international 8987 by: sur-php permission pro

[PHP-WIN] Re: permission problem

2001-08-22 Thread lolodev news php
i find respons: problem is because i forgot to pass file name parameter to copy function. a copy function can't create a dir Lolodev News Php <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > i 've win 2ks, php4,iis5. > > i try to dev a upload program with a copy function. > > whe

RE: [PHP-WIN] Re: Array

2001-08-22 Thread Mike Flynn
You'll have to access the fields by element ID. document.theformname.elements[id].properties document.theformname.length is the number of elements in the form. The elements go in order starting at 0. -Mike At 09:07 AM 8/22/2001 +0200, you wrote: >This is easy. My problem is that I need to work w

Re: [PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Mike Flynn
To return the total amount of records in a table, just do: $query = 'SELECT COUNT(*) FROM tblName'; $result = mysql_query($query); $total_records = mysql_result($result, 0); Or, for short, $total_records = mysql_result(mysql_query($query), 0); To step through the records, just do a normal SELECT

Re: [PHP-WIN] issue with undefined variables with PHP 4.06

2001-08-22 Thread Mike Flynn
Set your error reporting to: E_ALL & ~E_NOTICE Having it just set to E_ALL is what's causing the problem in the first place. :) -Mike At 09:38 AM 8/22/2001 +0100, you wrote: >Hi > >I have just reinstalled my win2k system and installed the latest version of >PHP (4.06), now when I run a lot of

Re: [PHP-WIN] issue with undefined variables with PHP 4.06

2001-08-22 Thread Angie Tollerson
Actually, that's not quite right either. I had the same problem as you Phil, I had to do E_ALL & ~E_NOTICE & ~E_WARNING that last one will remove the warnings. Does anyone know the exact differnce between a warning and a notice? Angie >>> Mike Flynn <[EMAIL PROTECTED]> 08/22/01 08:22AM >>> Set

[PHP-WIN] PHP/VB/Byrefs

2001-08-22 Thread Ryan Marrs
Anybody know if PHP can handle VB ByRef's when calling a COM object? I've searched the documentation and the web and have found nothing on it, so I'm going to assume it doesn't, but I just thought I'd check through the list before I declared the topic dead. Thanks! Ryan -- PHP Windows Mailin

[PHP-WIN] Re: issue with undefined variables with PHP 4.06

2001-08-22 Thread Angie Tollerson
Phil, Besides just turning off Warnings, the warning is a tad valid. Here's what I learned when I spoke with some gurus at the php conference... They said that the proper way to test for the presence of a variable now is using the isset (or empty) functions. If you do the old way like I used

Re: [PHP-WIN] PHP sessions under Win2k AS

2001-08-22 Thread Angie Tollerson
hmmm, this is just a shot in the dark...but do your scripts have a die() statement on them? Somebody correct me if I'm wrong..but if I didn't have die's on all my possible errors or a die at the end of my scripts, sometimes they would open multiple instances. Especially when working with phpDO

Re: [PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Angie Tollerson
Lars, I'm not quite sure I understand why mysql_num_rows($result) would not work for you. You said that function would only tell you how many records that came from your query, but aren't the records that came from your query the only ones you want to count? So if you get 4 records from your q

[PHP-WIN] Installer and missing OCX

2001-08-22 Thread Carlo Borreo
Hi all, I installed PHP 4.0.6 using the Windows installer on two different machines: one is Win 2000 server with IIS 5, and the other is Win NT server with IIS 4. In both cases, the installer complained that, due to a missing OCX, I had to manually configure IIS. It didn't mention which OCX was mi

Re: [PHP-WIN] Installer and missing OCX

2001-08-22 Thread Phil Driscoll
On Wednesday 22 August 2001 4:50 pm, Carlo Borreo wrote: > Hi all, > I installed PHP 4.0.6 using the Windows installer on two different > machines: one is Win 2000 server with IIS 5, and the other is Win NT server > with IIS 4. In both cases, the installer complained that, due to a missing > OCX,

[PHP-WIN] mail on windows

2001-08-22 Thread P.Agenbag
Is there no one here who can help me with the mail problem experienced on Win2k server? I posted a question a couple of days ago, but no-one replied? Is there some other forum I can try maybe? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [PHP-WIN] mail on windows

2001-08-22 Thread Angie Tollerson
Would you mind posting your question again? I don't have an record of what it was. Thanks Angie >>> "P.Agenbag" <[EMAIL PROTECTED]> 08/22/01 03:23PM >>> Is there no one here who can help me with the mail problem experienced on Win2k server? I posted a question a couple of days ago, but no-one r

[PHP-WIN] mail problem on win2K

2001-08-22 Thread P.Agenbag
To Angie and Oliver Oliver, thanks for the reply, I will try your suggestion and see if it helps. Angie and all other interested parties (who might have the same problem as I do) I have PHP installed on win2k server running IIS5 php.ini is setup to use an SMTP server on the network ( the webser

[PHP-WIN] managing bounced mail

2001-08-22 Thread P.Agenbag
Hi, this problem isn't really Windows specific... I have a client on one of my webservers who is causing me great headaches. He wrote php mail function that reads approx 17 000 e-mail addresses out of a mysql table, and then mails them all a standard newsletter. Firstly, the page bombs out ( no

[PHP-WIN] Upload

2001-08-22 Thread Sichta Daniel
Hi there, cfg: w2k, Apache 1.3.20, php 4.04.pl1 I have his code: This works fine for files with jpg and gif extensions but gives me error on mp3 or wav. Should I set something different ? error: Warning: Unable to open 'none' for reading: No such file or directory in upload.php on line

php-windows Digest 23 Aug 2001 07:50:45 -0000 Issue 716

2001-08-22 Thread php-windows-digest-help
php-windows Digest 23 Aug 2001 07:50:45 - Issue 716 Topics (messages 8994 through 9009): Re: permission problem 8994 by: lolodev news php Re: Array 8995 by: Mike Flynn Re: Help with mysql rowpointer 8996 by: Mike Flynn 9002 by: Angie Tollerson Re: issue wi