RE: [PHP-WIN] Fatal Error : Allowed Memory Size Exhausted

2002-01-15 Thread Ertan Tike
check your string formatting routines. probaly you have little bug.. for example this code giving same error while(true) { $a = $a . "blabla"; } -Original Message- From: Lee Denny [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 7:49 PM To: [EMAIL PROTECTED] Subject: [PHP-W

[PHP-WIN] Re: mail() gives Unknown error from command line...

2002-01-15 Thread Jeff D. Hamann
I mean... "Jeff D. Hamann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why does this one line script execute when run from the web browser and not > from the command line? That is to say, when I run this one line script in a > web browser, the code exec

[PHP-WIN] mail() gives Unknown error from command line...

2002-01-15 Thread Jeff D. Hamann
Why does this one line script execute when run from the web browser and not from the command line? That is to say, when I run this one line script in a web browser, the code executes, mail is sent, and I'm happy. When I attempt to execute the script from the command line "php < mailtest.php", it d

Re: [PHP-WIN] A problem under php4+pws+mysql

2002-01-15 Thread Ignatius Teo
Check your php.ini for the "Error Handling and Logging" section and see what the error_reporting is set to. Then read the bits about what the settings all mean Specifically, the E_NOTICE one Ignatius - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: We

[PHP-WIN] A problem under php4+pws+mysql

2002-01-15 Thread sleetdrop
When I use php4+pws to run some php programes, an error like this often happens,"undefined variable xxx..", while the php progares run correctly on the web server, can you tell me why, is there anything wrong with my php.ini file? I know little about php programming,and I am a Chinese, pleas

RE: [PHP-WIN] calling an ASP program or object from within php

2002-01-15 Thread alain samoun
Though, it's not very difficult to update Access with PHP too ;) A+ Alain -Original Message- From: ST Ooi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 4:13 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] calling an ASP program or object from within php Do you need to call

php-windows Digest 16 Jan 2002 00:37:32 -0000 Issue 954

2002-01-15 Thread php-windows-digest-help
php-windows Digest 16 Jan 2002 00:37:32 - Issue 954 Topics (messages 11450 through 11462): APACHE2 Module 11450 by: Bharath Fatal Error : Allowed Memory Size Exhausted 11451 by: Lee Denny 11459 by: Nicole Amashta Re: Please help a newbie -- have pity! 11452

Re: [PHP-WIN] calling an ASP program or object from within php

2002-01-15 Thread ST Ooi
Do you need to call the ASP at the end of the PHP execution? Or at the middle of the PHP execution? I have been using both PHP for major HTML generation and ASP to update Access database, but that's after PHP has been executed. Thanks. ST Ooi Malaysia - Original Message - From: "Nicol

[PHP-WIN] Re: sending an array through post

2002-01-15 Thread Nicole Amashta
Do you want to set the field with the values from a PHP array? Or do you want to retrieve back as an array values from a form? If the first, you must walk through the array and print the values out; If the latter, you can use a list box and assign it some name and include brackets to make it an

[PHP-WIN] Re: Please help a newbie -- have pity!

2002-01-15 Thread Nicole Amashta
You actually have to make that run off the webserver. You can't just run the script as d:\somescript.php. Has to be http://yoursever/somescript.php. And make sure allow execution of scripts is checked off if you're using IIS (or PWS). Nicole Amashta www.aeontrek.com

[PHP-WIN] Re: Fatal Error : Allowed Memory Size Exhausted

2002-01-15 Thread Nicole Amashta
Check yoru php.ini for max memory allocated for your scripts. You can control this through that file. Check the following lines in your php.ini file: ;;; ; Resource Limits ; ;;; max_execution_time = 8000 ; Maximum execution time of each script, in seconds me

[PHP-WIN] Re: Unique id Number

2002-01-15 Thread Nicole Amashta
OK, here is how I interpreted your question. When you insert data into a table, you want to get back it's newly created ID. All you need to do is, after inserting the field, select back the id of that field where id is the max(id) created (assuming you are using auto_incrementing ID field.) For

Re: [PHP-WIN] cant read php.ini

2002-01-15 Thread Adrian Kelland
There is no other php.ini on the machine. I have given full control permissions to the IUSR_machinename to access the file. I wonder if it is something about Terminal Server? The php.exe does not seem to read the php.ini even if it is in the same directory "Alain Samoun" <[EMAIL PROTECTED]> wrot

Re: Rif: Re: [PHP-WIN] Please help a newbie -- have pity!

2002-01-15 Thread Alain Samoun
Check: http://www.phpbuilder.com/columns/moon19990716.php3 A+ Alain On Tue, Jan 15, 2002 at 09:49:08AM +0100, [EMAIL PROTECTED] wrote: > Hi, > I was asked to teach some students PHP. > I want to know what they have to have and to do to run locally PHP. > Microsoft IIS can for instance be installe

Re: [PHP-WIN] sending an array through post

2002-01-15 Thread Alex Lis
also, failing all else, use implode to concatenate the array into a string, then pass it and explode it at the other end. "Pac Mon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If they don't need to be visible include this form element in the form to be >

[PHP-WIN] IMAP PHP Problem

2002-01-15 Thread Alex Lis
Not actually IMAP, but POP3... The following code : Mail Nmsgs; print("You have ".$msgnum." messages\n"); } else { echo "failed"; } if ($hdr = imap_headerinfo($mbox, 1)) { $thissubject = $hdr->Subject; print("$thissubject\n"); } else { echo "failed"; } imap_clos

[PHP-WIN] IMAP Mail problem

2002-01-15 Thread Alex Lis
Not actually IMPA, but POP3... The following code : Mail Nmsgs; print("You have ".$msgnum." messages\n"); } else { echo "failed"; } if ($hdr = imap_headerinfo($mbox, 1)) { $thissubject = $hdr->Subject; print("$thissubject\n"); } else { echo "failed"; } imap_clos

RE: Re: [PHP-WIN] Please help a newbie -- have pity!

2002-01-15 Thread brother
Yes if you are using windows 2k/nt then IIS would be the easiest solution for your needs, they can develop and se the chnages take place almost imediatly. /me > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: den 15 januari 2002 10:49 > To: Frank M. Kroma

[PHP-WIN] Fatal Error : Allowed Memory Size Exhausted

2002-01-15 Thread Lee Denny
I'm getting the error Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 12288 bytes) in ../includes/resultheader.inc on line 16 The exact line of code does change - so its not syntax or semantics. Can anyone enlighten me on what this means and what I'm doing wrong.

[PHP-WIN] APACHE2 Module

2002-01-15 Thread Bharath
On WIN32 php4apache.dll does not run as a apache2 module... there is supposed to be a php4apache2.dll from www.php4win.com LoadModule php4_module d:/Apache!/php/sapi/php4apache2.dll on Apache/2.0.28 and Received an error =ERROR apache: module "C:\php4-build\php4\SAPI\APACHE2FILTER\

php-windows Digest 15 Jan 2002 10:00:28 -0000 Issue 953

2002-01-15 Thread php-windows-digest-help
php-windows Digest 15 Jan 2002 10:00:28 - Issue 953 Topics (messages 11441 through 11449): Re: cant read php.ini 11441 by: Alain Samoun calling an ASP program or object from within php 11442 by: Nicole Lallande 11443 by: Andrew Stopford 11444 by: Nicole Lall

[PHP-WIN] How to run sockets under Win32

2002-01-15 Thread Logan
I tried to use the socket function under PHP 4.0.6 in IIS 5 on a server with windows XP. It give me the error -> Socket function not found in line 3 It's the socket implementation a package that i have to install??? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Rif: Re: [PHP-WIN] Please help a newbie -- have pity!

2002-01-15 Thread tonibern
Hi, I was asked to teach some students PHP. I want to know what they have to have and to do to run locally PHP. Microsoft IIS can for instance be installed on a machine that works at the same time as server or client? Can they have a single isolated machine and test and see their work? Thank you