[PHP] Change in PHP 4.2.3 for mysql rollback

2002-10-07 Thread Samantha Savvakis
Hi, I noticed one of the fixes/changes to PHP 4.2.3 is the following: - Made MySQL rollback open transactions when the request ends. The reason why I looked into the changes is because I noticed the SQL Command "ROLLBACK" being submitted to my database server after the database handles were clo

[PHP] Re: Comparing Alphanumeric values in a range

2002-09-22 Thread Samantha Savvakis
Er..no, isn't working on OpenUnix. 90DZZZ - this should be 90E000 after the increment. This isn't working on any platform using PHP 4.2.1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Comparing Alphanumeric values in a range

2002-09-22 Thread Samantha Savvakis
Just quickly, forgot to mention: I've tested this on 2 platforms: Windows PHP 4.2.1 SCO Openserver 4.2.1 These two both don't work. I just tested on SCO OpenUnix 4.2.1 - this one works!! Problem is, I need this to work on SCO Openserver. Thanks, Sam "Samantha Savvakis&quo

[PHP] Comparing Alphanumeric values in a range

2002-09-22 Thread Samantha Savvakis
Hi, I have a task to generate a new document number for a given range. This document number is alphanumeric. Here is the problem: $lowrange1 = "90"; $highrange1 = "HZ"; $currentno = "90CZZZ"; I expect that the next number in the series is: $nextnum = "90D000"; Before using this next

[PHP] Re: cURL and POST

2002-08-20 Thread Samantha Savvakis
Thanks for that. I'll look into it. Sam "Lallous" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try to post it via other than CURL, > > http://Sloppycode.net and search for clsHtmlSource.php > > Good luck, >

[PHP] cURL and POST

2002-08-19 Thread Samantha Savvakis
HI, I'm using the cURL binary to perform a HTTP POST to a web page. I am sending XML data to this web page. The issue I've come up against if the size of the data that I'm trying to post and it looks like cURL is crapping out. This is the command line that I'm currently using: /usr/local/bin/c

[PHP] Apache 1.3.24 + PHP 4.2.1 Install Problem - Undefined Symbol

2002-05-30 Thread Samantha Savvakis
HI, Server Details: OpenUnix 8 Apache 1.3.24 PHP 4.2.1 LIBXML 2.4.16 gcc 2.95.3pl1 I am trying to compile Apache and PHP on OpenUnix 8. Managed to get PHP to successfully compile and build a module for Apache. Trying to compile apache, and I'm getting undefined symbol errors with PHP: gcc -

[PHP] Re: PHP 4.1.2 and Segmentation Fault

2002-03-03 Thread Samantha Savvakis
#2 0x80e86d3 in zend_execute_scripts (type=1986356271, retval=0x7366632f, file_count=1818585135) at zend.c:810 #3 0x752ffd9e in ?? () #4 0x805da80 in main (argc=2, argv=0x80471ac) at cgi_main.c:738 #5 0x805c9fb in _start () (gdb) Samantha Savvakis <[EMAIL PROTECTED]> wrote in messag

[PHP] Re: Displaying Number values

2002-03-03 Thread Samantha Savvakis
Hi, You can achieve this by using the printf or sprintf statements. This will print "01" If numberval = 20 - it will only print "20". The %02d is the key. %02 means - print 2 characters with leading zero's if there aren't 2 characters. %03 - 3 characters with leading zero's etc etc Hope I'

[PHP] PHP 4.1.2 and Segmentation Fault

2002-03-03 Thread Samantha Savvakis
Hi, I recently upgraded my development web server from PHP 4.0.6 to PHP 4.1.2 in the wake of the security alert. Details: SCO Openserver 5.0.6 Apache 1.3.20 with SSL PHP 4.1.2 Libxml 2.4.16 Mysql 3.23.48 PHP configure: ./configure \ --with-apache=/u/apps/apache_1.3.20_wssl \ --with-mysql=/usr

Re: [PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread Samantha Savvakis
Hi, I tried the HTTP_RAW_POST_DATA array, but it doesn't appear to exist. Then I just tried to access it like a variable and it's empty. Have I not got something setup correctly for PHP? Thanks, Sam "Steve Meyers" wrote in message <9cn71i$d03$[EMAIL PROTECTED]>... >Try using the $HTTP_RAW_POST

RE: [PHP] Please Help!

2001-04-02 Thread Samantha Savvakis
I'd check where "class.FastTemplate.php" is located in relation to the current file you are running. Fully qualify the path for the "include" statement. Also, what are the permissions on this file? Are they readable by the apache user? > -Original Message- > From: E K L [mailto:[EMAIL P

RE: [PHP] as stupid as I normally am..... ( Nope!)

2001-01-23 Thread Samantha Savvakis
*** > Please enlighten me what I have done wrong because I nearly went crazy now > :-) > Jack > [EMAIL PROTECTED] > "There is nothing more rewarding than reaching the goal you set for > yourself" > - Original Message - > From: Samantha Savvakis <

RE: [PHP] as stupid as I normally am.....

2001-01-23 Thread Samantha Savvakis
you are forgetting to do a reload. ./mysqladmin reload > -Original Message- > From: Jacky@lilst [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 January 2001 04:36 > To: [EMAIL PROTECTED] > Subject: [PHP] as stupid as I normally am. > > > Hi people, > Off the topic here again but ho

RE: [PHP] what is wrong about this sniplet?

2001-01-23 Thread Samantha Savvakis
HI Jack, What is the variable $HotelID ? mysql_insert_id - has an optional parameter: link_identifier (the database handle) So in this case, is $HotelID your database handle? If not, then just call mysql_insert_id() without any parameters. Otherwise, it is always best to pass around the databa

[PHP] Session File not being deleted

2001-01-11 Thread Samantha Savvakis
Hi, I'm using: SCO Openserver 5.0.5 PHP 4.0.4 I had this problem a little while ago, and didn't find a resolution to it. I'm using sessions for a current application. The sessions are being created and used as I want them to be. I have no problems with the way they are working. The files in my