[PHP-WIN] problems with exec function

2002-09-12 Thread Christian Pichler
Hey there, My problem is following. I want to execute a PHP program (here: test2.php) by another PHP program (here: test1.php) and get the return code of the second executed PHP Program. But I always get the return code 0. Even if I write 'return 50' in test1.php. But the rest of test1.php is wor

[PHP-WIN] Re: Variable error

2002-09-12 Thread George Nicolae
-- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Peter Silbermann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have an file application that works for some data but not other??

[PHP-WIN] Re: apache 2 error

2002-09-12 Thread Michael Baron
I had to use the php4apache2.dll instead from the latest CVS version of PHP to get mine to work. Same set up: winXP Apache2 Christian Calloway wrote: > I just downloaded and installed apache 2 on my winxp box (a dev and test > box). When I insert the following line into the config file, the apac

[PHP-WIN] apache 2 error

2002-09-12 Thread Christian Calloway
I just downloaded and installed apache 2 on my winxp box (a dev and test box). When I insert the following line into the config file, the apache service refuses to start. LoadModule php4_module c:/ApacheGroup/PHP/sapi/php4apache.dll Obviously Im trying to get php4 mod to run, but its just puking

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Michael Baron
I was able to simply add the newsgroup and the first time I went to post a message, because I was not a subsriber, all they did was hold from posting my message until I received and responded to an email. Now I can post and view, but do not receive everything via email. Dash Php wrote: > I see

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread dash php
I see what you're saying - it is hard to post just via the newsgroup. Would it work if you set up some rules in Outlook Express to filter out the messages? Or, you could subscribe to the digest version of the list and only have one email to deal with... then post via the newsgroup. -Dash -O

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Constantin Baciu
All I want to do is connect to the lists with Outlook Express... I want to be able to read the posts and to post my own messages on the server, but I DO NOT want to receive the messages in my mailbox. I hope that you understand now.. "David Hollister" <[EMAIL PROTECTED]> wrote in message

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread David Hollister
That depends if you would rather subscribe to posts, post to subscribes, or just post-subscribe. Ok, ok Newsgroups and mailing lists are not the same thing. If might be easier for you to simply access the php.windows postings from: http://groups.google.com/groups?group=php.windows . That

php-windows Digest 12 Sep 2002 20:21:41 -0000 Issue 1336

2002-09-12 Thread php-windows-digest-help
php-windows Digest 12 Sep 2002 20:21:41 - Issue 1336 Topics (messages 15773 through 15787): Dynamic extension problem (php 4.1.2) 15773 by: Bård Tommy Nilsen 15776 by: Kit Kerbel Re: Error after a while??? 15774 by: Rich Gray 15775 by: Constantin Baciu mysq

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Constantin Baciu
But if I am not subscribed, I cannot post "David Hollister" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > unsubscribe from the mailing list @ php.net > > -Original Message- > From: Constantin Baciu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Sept

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread David Hollister
unsubscribe from the mailing list @ php.net -Original Message- From: Constantin Baciu [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 3:00 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Newbie to the news! Hello... Do I really have to get ALL the messages in the mailbox? Isn'

[PHP-WIN] Newbie to the news!

2002-09-12 Thread Constantin Baciu
Hello... Do I really have to get ALL the messages in the mailbox? Isn't it enough to subscribe to the NNTP server?.. THX! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Variable error

2002-09-12 Thread Silbermann, Peter
I have an file application that works for some data but not other?? The error I'm getting causes an error on line 64 for (reset($t1); $ti=current($tl) any thoughts?? System; $connID = connect_to_np_system($sysid); // get list of steps for the ENTIRE

Re: [PHP-WIN] Basic Question about closing a file

2002-09-12 Thread Scott Carr
Modifications inline to try. -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ $OpenCSV = fopen ($FileCSV, "w"); if ($OpenCSV === FALSE) { print ("The query could not be executed!\n"); } else { print ("The Sales CSV file was opened successfully\n"); }

Re: [PHP-WIN] Basic Question about closing a file

2002-09-12 Thread Scott Carr
Why are you opening it twice? -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ Quoting Arthur <[EMAIL PROTECTED]>: > The file in the code below is not closing successfully. Variable $FC = 1. > Can someone tell me what is going on? > Thanks > Arthur >

[PHP-WIN] Basic Question about closing a file

2002-09-12 Thread Arthur
The file in the code below is not closing successfully. Variable $FC = 1. Can someone tell me what is going on? Thanks Arthur $OpenCSV = fopen ($FileCSV, "w"); if ($OpenCSV = fopen ($FileCSV, "w")) { print ("The Sales CSV file was opened successfully\n"); } else { print ("The query could not

Re: [PHP-WIN] Weird Error

2002-09-12 Thread Alexandru Martin
Sorry for the dumb question , i'm a newbie. I fixed the the problem listed with the subject as "Weird Error" . - Original Message - From: "Alexandru Martin" <[EMAIL PROTECTED]> To: "php-windows" <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 10:51 PM Subject: [PHP-WIN] Weird Error

Re: [PHP-WIN] mysql_query() & mail() - something weird is going on !

2002-09-12 Thread R.S. Herhuth
I had a problem similar to this and it required that we update the mssql.textsize and mssql.textlimit in the php.ini file. Hope that helps, ROn dash php wrote: > > Just a thought: > > How long does that SQL query take? Have you tried setting the timeout period > to be longer than 30 seconds?

RE: [PHP-WIN] mysql_query() & mail() - something weird is going on !

2002-09-12 Thread dash php
Just a thought: How long does that SQL query take? Have you tried setting the timeout period to be longer than 30 seconds? Take a look at this: http://www.php.net/manual/en/function.set-time-limit.php Another thought: From my experience, sending mail from a Windows host takes longer than from a

[PHP-WIN] mysql_query() & mail() - something weird is going on !

2002-09-12 Thread Chris Knipe
Lo all, I get a timeout on line 523 of my code (posted and marked below). However, I fail to see where the timeout is occurring, and even debugging (mysql_error()) doesn't report anything wrong! I'm baffled as to what exactly is causing this timeout The code is currently on Apache (Win32)

Re: [PHP-WIN] Dynamic extension problem (php 4.1.2)

2002-09-12 Thread Kit Kerbel
I know I had problems with loading php_curl.dll and the solution was to copy certain dlls into my system32 folder. Hope that helps. Original Message Follows From: Bård Tommy Nilsen <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [PHP-WIN] Dynamic extension pr

Re: [PHP-WIN] Error after a while???

2002-09-12 Thread Constantin Baciu
If you do a select on that table, before retrieving the results ( while($result_data=mysql_fetch_array($query)) ) verify that the result has rows ie if(mysql_num_rows($query)>0) while($result_data=mysql_fetch_array($query)) { do something with the results } else NO RESULTS. "Rich Gray" <[E

RE: [PHP-WIN] Error after a while???

2002-09-12 Thread Rich Gray
Can you post some code to look at? -Original Message- From: M.B. [mailto:[EMAIL PROTECTED]] Sent: 11 September 2002 20:32 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Error after a while??? Hi, I have a database and a site which has members and so on.. but now I have service (also for a

[PHP-WIN] Dynamic extension problem (php 4.1.2)

2002-09-12 Thread Bård Tommy Nilsen
I want to use php_openssl.dll on an windows os with IIS. The system "halt" when uncommenting the ;extension=php_openssl.dll In my php.ini it says: extension_dir = c:\php And the exension is there : c:\php\php_openssl.dll Have anyone any idea what could be wrong ??

php-windows Digest 12 Sep 2002 08:13:39 -0000 Issue 1335

2002-09-12 Thread php-windows-digest-help
php-windows Digest 12 Sep 2002 08:13:39 - Issue 1335 Topics (messages 15769 through 15772): Weird Error 15769 by: Alexandru Martin php_oracle.dll causes server to hang for non-privledged user 15770 by: Brian Jones 15772 by: Matt Kynaston Re: using apache on a netwo

RE: [PHP-WIN] php_oracle.dll causes server to hang for non-privledged user

2002-09-12 Thread Matt Kynaston
Dumb question, but does the IIS user (IUSR_machinename) have read and execute rights to C:\php\extensions\? Matt > -Original Message- > From: Brian Jones [mailto:[EMAIL PROTECTED]] > Sent: 11 September 2002 21:47 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] php_oracle.dll causes server t