[PHP] Stack Overflow with: zend optimizer

2002-07-04 Thread colin mcdonald
Hi there, zend optimizer 1.3.1 / IIS 5 / PHP 4.2.1 / Windows 2000 I've been getting Stack Overflow errors frequently. Our software has hundreds of db queries and hundreds of includes per page execution. Just to give you some context, so I can't tell you exactly what I'm doing that's causing

[PHP] Re: Removing the #!/usr... from cgi output?

2002-07-05 Thread colin mcdonald
the script with #!.. and not get it printed out anyway. Ah, well... Thanks. David Brannlund Colin McDonald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Did you try it without that line at all? I'm pretty sure you can setup apache (you are using apache right?) to use /usr

[PHP] Re: textarea new line

2002-07-05 Thread colin mcdonald
use \n Adi wrote: i want to add in textarea a string with new line tag in it. how to do that? my try: $string=-line1n\ -line2 n\-line3; echo brtextarea name='aria' cols='50' rows='2'$string/textarea; but i see a single line instead of: -line1 -line2 -line3 tx in advance for any

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread colin mcdonald
I'll try to explain: If you have a form at a http URL and the action of the form is to a https URL, then the data from the form is submitted to the new URL in an encrypted format. hope that helps, colin Jason Caldwell wrote: I'm a little confused about how HTTPS actually works when you call

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread colin mcdonald
use addslashes update table1 set column1= '.addslashes($string).' where ID = '$IDcurent' Adi wrote: tx, it's working now but i still have a problem: i want to insert into mysql database value $string: $result2 = db_query(update table1 set column1= '$string' where ID = '$IDcurent') or

[PHP] Re: php form with textarea

2002-07-05 Thread colin mcdonald
looks like it should work. try echoing $action and make sure that it's the value you want. you may want to try $_POST['action'] Adi wrote: I have a php file with two textarea and one button; i want when i press button, value from textarea2 is filled in textarea1. can u help me? my try

[PHP] Re: Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread colin mcdonald
I set it to: session.save_path = c:\temp\ And it works great for me Kondwani Spike Mkandawire wrote: Does anyone know how to configure the session function in the php.ini File under WinNT... The Session Function appears to be generic to UNIX... What do I change the save_path variable

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
Richard Lynch wrote: You *MIGHT* try installing the Optimizer on a Dev box and turning on *ONE* opitmization group/feature at a time and then pounding on that Dev server with 'ab' until you narrow down which optimizations are the trouble-makers. Tried that. Each optimization value/setting

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
Oh yeah, this is what I did to stabilize the server: -take out zend_optimizer from php.ini -put process isolation level to HIGH (as Michael suggested) -put IIS in the ISAPI filter list -disable chaching of isapi applications colin Colin McDonald wrote: Richard Lynch wrote: You *MIGHT* try

[PHP] Re: snmpwalk

2002-07-08 Thread colin mcdonald
it's the space between ? and php colin Maas wrote: Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\alarm.php on line 7 This Is my code: HTML HEAD TITLEALARM ???/TITLE ? php $a = snmpwalk(192.168.10.8,

[PHP] Re: hide a select tag

2002-07-08 Thread colin mcdonald
why not use a hidden field instead of a select? Anil Garg wrote: Hi, sorry for going a lil out of way of php. can i hide a drop down menu.(as i always want to pass the default value selected in the drop down. thanx and regards anil -- PHP General Mailing List

[PHP] Re: sessions

2002-07-10 Thread colin mcdonald
try this (I think you have register_globals turned off) Page 2: ? print $_SESSION['test_var'].!; ? Alexander Ross wrote: I'm trying to understand sessions so I can set session variables. I set up 2 very simple pages: Page 1: ? session_start(); $test_var = froggy;