Re: [PHP] After upgrading PHP, Session Values not stored properly

2004-08-22 Thread Sheni R. Meledath
Hi Gerard, Many thanks. We are using cookies to store the session ID. The session on other sites are working perfectly. The same problem on this site is experienced by other users also. Also the same log-in module was working perfectly with the older PHP version. At 10:20 AM 8/23/2004, Gerard S

Re: [PHP] After upgrading PHP, Session Values not stored properly

2004-08-22 Thread Gerard Samuel
Sheni R. Meledath wrote: session.use_trans_sid On On Im currently running FBSC 4.10/php 4.3.6, and the only difference with our session setup is session.use_trans_sid. Mine is off. For sessions to get lost means that either a) You have cookies disabled in the browser b) Yo

[PHP] Output Compression issue (a bit long/rantish, but looking for ideas to fix)

2004-08-22 Thread Gerard Samuel
Ok, I know what it does, but Im currently trying to track some "oddity" down. My script works fine when output compression is turn off (its off in php.ini, and ob_start('gz_handler') is not being used. If I turn on compression via ob_start('gz_handler'), I get sporadic problems with page loading

[PHP] After upgrading PHP, Session Values not stored properly

2004-08-22 Thread Sheni R. Meledath
Hi, We recently upgraded PHP on our web server to version 4.3.8. After upgrading sessions are not working properly. Please help to configure the latest version. There is a log-in module on our web site. After successfully entering the log-in information, a session variable is created to track t

[PHP] Re: Instant message

2004-08-22 Thread Manuel Lemos
Hello, On 08/22/2004 09:07 PM, Phpu wrote: I have a site where people meet and talk. I want to be able to send instant messages to those who are online, but i do not know how to do it. I need java? Can i do it in php? You may find some classes here precisely for that purpose: http://www.phpclasses

Re: [PHP] Submitting "get" form

2004-08-22 Thread Gerard Samuel
Chris Shiflett wrote: Yes, when you use the GET method, the query string of the URL that your browser requests contains the form data. I think you want to have something like this in your form: Thanks John/Chris for the explanations... -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-22 Thread Grant
--- Markus Mayer <[EMAIL PROTECTED]> wrote: > On Monday 16 August 2004 17:03, Brian Dunning wrote: > > I think I may have solved it by an even simpler > method: I emailed the > > perpetrator to "thank him for all of his orders" > to see what he'd say. > > :-) Great idea! (me shows the thumbs u

[PHP] php4 classes, extending same class

2004-08-22 Thread MnP
I have the following classes being inherited: User extends School I have two classes: Profile extends User and Buddies extends User being used in the same .php file. I get a "Fatal error: Cannot redeclare class school in ..." I can see why this is happening but three questions, 1. Does php5 a

Re: [PHP] PHP4/5 MySQL nested query problem

2004-08-22 Thread Kevin Wormington
My "real" application has inserts and does other various forms of processing in the loops which cannot be done from pure sql via join, etc. The test program I attached was just the minimum required to see the performance issue. I agree that PHP is probably a little slower that perl in loops,

Re: [PHP] Submitting "get" form

2004-08-22 Thread Chris Shiflett
--- Gerard Samuel <[EMAIL PROTECTED]> wrote: > Say I have a form like -> > > ... > > > > If this form is submitted, the $_GET['id'] variable *is not* available. > If the method is changed to "post", the $_GET['id'] variable *is* > available. > > Is this how forms are supposed to work??? Y

Re: [PHP] Submitting "get" form

2004-08-22 Thread John Holmes
Gerard Samuel wrote: Say I have a form like -> ... If this form is submitted, the $_GET['id'] variable *is not* available. If the method is changed to "post", the $_GET['id'] variable *is* available. Is this how forms are supposed to work??? Yes. -- ---John Holmes... Amazon Wishlist: www.ama

[PHP] Submitting "get" form

2004-08-22 Thread Gerard Samuel
Say I have a form like -> ... If this form is submitted, the $_GET['id'] variable *is not* available. If the method is changed to "post", the $_GET['id'] variable *is* available. Is this how forms are supposed to work??? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Instant message

2004-08-22 Thread Phpu
Hi, I have a site where people meet and talk. I want to be able to send instant messages to those who are online, but i do not know how to do it. I need java? Can i do it in php? Please give me a link or something to grab Thanks

Re: [PHP] PHP4/5 MySQL nested query problem

2004-08-22 Thread John Holmes
Kevin Wormington wrote: I have ran into an interesting query performance problem that occurs with both 4.3.7 and 5.0.1 against a MySQL 4.1 database. The test program (attached below) works, but performance is extremely slw, a perl version of the test program completes in less than 5 seconds

Re: [PHP] PHP5 Gd Library error compiling

2004-08-22 Thread Curt Zirzow
* Thus wrote Martin Visser: > PHP5, with GD on Linux (Slackware 10.0) > > > ./configure goes just fine, but when I try 'make', there's an error. > > this is how I configured it: > ./configure --prefix=/usr/local/php5 --with-zlib > --with-pear=/usr/share/pear --with-mysql=/usr/local/mysql > --i

Re: [PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Curt Zirzow
* Thus wrote Justin Patrin: > On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck <[EMAIL PROTECTED]> wrote: > > > > ... > > > > Note: Parent constructors are not called implicitly. In order > > to run a parent constructor, a call to parent::__construct() is > > require

[PHP] PHP4/5 MySQL nested query problem

2004-08-22 Thread Kevin Wormington
I have ran into an interesting query performance problem that occurs with both 4.3.7 and 5.0.1 against a MySQL 4.1 database. The test program (attached below) works, but performance is extremely slw, a perl version of the test program completes in less than 5 seconds with 80k records in ta

Re: [PHP] OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Curt Zirzow
* Thus wrote Raffael Wannenmacher: > hello together > > look at the following code ... > > why is this .. > > -- code start >if ( is_object($this->getManagerObject()->getDataFieldManager()) ) >{ >for ( $j = 0; $j < > $this->getManagerObject()->getDataFieldManager()->

Re: [PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Justin Patrin
On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck <[EMAIL PROTECTED]> wrote: > Hello there. I was experimenting a bit with the constructors and > destructors, and found that this code: > > > class First > { > public function __construct () >

[PHP] Re: [OFF] Double charges on credit cards

2004-08-22 Thread Brian Dunning
Solved. As suggested, the tech guy at EFS was on paint. The first transaction should be an AUTH, and the second transaction should be PRIOR_AUTH_CAPTURE, not just CAPTURE. Thanks everyone for confirming there was no way what the guy said could be true... :) -- PHP General Mailing List (http:/

Re: [PHP] Linkpoint API question

2004-08-22 Thread Brian Dunning
Solved. The first transaction should be a PREAUTH, and the second transaction should be a POSTAUTH. Linkpoint's documentation is incorrect where it lists the possible transaction types. POSTAUTH shows up as TICKET in the transaction report, but it doesn't work if you try to send it as TICKET.

[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Daniel Schierbeck
L0t3k wrote: Raffael, object in PHP5 _are_ passed by reference. internally, objects are handles unique to a request, so all youre doing is passing a handle around. note, however, that simple variable access will _always_ be faster than method calls. this is true in C as well as PHP, except in P

[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread l0t3k
Raffael, object in PHP5 _are_ passed by reference. internally, objects are handles unique to a request, so all youre doing is passing a handle around. note, however, that simple variable access will _always_ be faster than method calls. this is true in C as well as PHP, except in PHP the effec

[PHP] PHP5 Gd Library error compiling

2004-08-22 Thread Martin Visser
PHP5, with GD on Linux (Slackware 10.0) ./configure goes just fine, but when I try 'make', there's an error. this is how I configured it: ./configure --prefix=/usr/local/php5 --with-zlib --with-pear=/usr/share/pear --with-mysql=/usr/local/mysql --includedir=/usr/include --without-sqlite --disable

[PHP] matching system - anyone seen any?

2004-08-22 Thread Kim Steinhaug
I wonder if anyone have come across a script/system that already has this feature, else I would need to do it all over again. The scenario is this : I want people to select the movies they have seen and rate them 1/10. Movies not available in the "polling" system they can add, and rate them. This

Re: [PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Raffael Wannenmacher
Daniel Schierbeck wrote: Raffael Wannenmacher wrote: hello together look at the following code ... why is this .. -- code start if ( is_object($this->getManagerObject()->getDataFieldManager()) ) { for ( $j = 0; $j < $this->getManagerObject()->getDataFieldManager()->getCount(); $j++ ) { if ( $this

Re: [PHP] Text from file into database

2004-08-22 Thread raditha dissanayake
Phpu wrote: Hi, I have a file, test.txt. The containig of this file is: line 1 line 2 line 3 -- and so on I want to create a script that will read each line of the file and insert it to database. I am new to php and maybe you could help me for just two columns of data this could be just a wa

[PHP] Re: Text from file into database

2004-08-22 Thread Daniel Schierbeck
Phpu wrote: Hi, I have a file, test.txt. The containig of this file is: line 1 line 2 line 3 -- and so on I want to create a script that will read each line of the file and insert it to database. I am new to php and maybe you could help me Thanks I depends on what kind of database you wish to

Re: [PHP] Text from file into database

2004-08-22 Thread John Holmes
Phpu wrote: Hi, I have a file, test.txt. The containig of this file is: line 1 line 2 line 3 -- and so on I want to create a script that will read each line of the file and insert it to database. I am new to php and maybe you could help me http://us2.php.net/fopen http://us2.php.net/fgets Then

[PHP] Text from file into database

2004-08-22 Thread Phpu
Hi, I have a file, test.txt. The containig of this file is: line 1 line 2 line 3 -- and so on I want to create a script that will read each line of the file and insert it to database. I am new to php and maybe you could help me Thanks

[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Daniel Schierbeck
Raffael Wannenmacher wrote: hello together look at the following code ... why is this .. -- code start if ( is_object($this->getManagerObject()->getDataFieldManager()) ) { for ( $j = 0; $j < $this->getManagerObject()->getDataFieldManager()->getCount(); $j++ ) {

Re: [PHP] managing cvs from php

2004-08-22 Thread robert mena
Michal, The directories have a 777 (ok unsecure but just a test) setting. Any tips of how can I get the stderr or a better way to do this cvs interface ? On Thu, 19 Aug 2004 11:45:26 -0400 (EDT), Michal Migurski <[EMAIL PROTECTED]> wrote: > > $cmd = "cd ".$pathToFile." ; /usr/bin/cvs ci -m '".$l

[PHP] Commercial Java Extention for php 5

2004-08-22 Thread Alawi albaity
Is there any commercial java extention for php 5 ?

[PHP] OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Raffael Wannenmacher
hello together look at the following code ... why is this .. -- code start if ( is_object($this->getManagerObject()->getDataFieldManager()) ) { for ( $j = 0; $j < $this->getManagerObject()->getDataFieldManager()->getCount(); $j++ ) { if ( $this->

Re: [PHP] Re: Sending email

2004-08-22 Thread Octavian Rasnita
Thank you all, but how can I send the message from the [EMAIL PROTECTED] email adress, but in the header of the message to put [EMAIL PROTECTED] Something like giving the following commands to an SMTP server: telnet mail.server.com 25 helo mail.server.com mail from:[EMAIL PROTECTED] rcpt to: [E

[PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Daniel Schierbeck
Hello there. I was experimenting a bit with the constructors and destructors, and found that this code: class First { public function __construct () { echo "Hello, World!\n"; }

Re: [PHP] Sending email

2004-08-22 Thread zareef ahmed
Hi Octavian Rasnita, Yes You can use mail() function for this purpose. Just separate each reciepent address by a comma (,) . $to="[EMAIL PROTECTED],[EMAIL PROTECTED]"; $header="from:Me <[EMAIL PROTECTED]> \r\n"; $subject="[EMAIL PROTECTED]"; $body="test"; mail($to, $subject, $body, $header);

[PHP] Re: Sending email

2004-08-22 Thread M. Sokolewicz
Octavian Rasnita wrote: Hi all, I want to send a test message with the following specifications: 1. The message is sent by [EMAIL PROTECTED] 2. The message is sent to the following recipients: [EMAIL PROTECTED], [EMAIL PROTECTED] 3. The message has the subject: [EMAIL PROTECTED] 4. The message has

[PHP] Sending email

2004-08-22 Thread Octavian Rasnita
Hi all, I want to send a test message with the following specifications: 1. The message is sent by [EMAIL PROTECTED] 2. The message is sent to the following recipients: [EMAIL PROTECTED], [EMAIL PROTECTED] 3. The message has the subject: [EMAIL PROTECTED] 4. The message has the following heade

Re: [PHP] Re: Reading the documentation

2004-08-22 Thread Octavian Rasnita
Ok, thank you. Well, it seems that PHP libraries don't have the documentation included... This is too bad, because it is much harder to search in the PHP manual, and some libraries that might be downloaded from different sites and made by different programmers won't have the documentation included

[PHP] Re: Reading the documentation

2004-08-22 Thread M. Sokolewicz
Octavian Rasnita wrote: Hi all, I have 2 questions: 1. Do PHP libraries have a documentation included inside of them like in case of Perl's modules? 2. If yes, how can I read that documentation? Thank you. Teddy that would depend on what you understand under the term "PHP libraries", if you mean t

Re: [PHP] avi to wmv convert

2004-08-22 Thread hitek
Try looking up ffmpeg. It can convert between many video formats, runs on linux or windows(compile under mingw) and can be called via backtick, system() or exec() functions. I use it from a php script to convert flash FLV files to MPG. At 04:03 AM 8/21/2004, Peter Clarke wrote: John Nichel wrot