[PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Hi, I am a newby having a configuration problem. I am using PHP 4.3.6 and postgres 7.4.3 The problem is when I try to execute my php scripts that connect to postgres from the command line I get error like this: Fatal error: Call to undefined function: pg_connect() in

RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] Fatal error: Call to undefined function: pg_connect() in /Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData .php on line 28 [/snip] http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Thanks On Aug 23, 2004, at 12:04 PM, Jay Blanchard wrote: [snip] Fatal error: Call to undefined function: pg_connect() in /Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData .php on line 28 [/snip] http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Michal Migurski
I am a newby having a configuration problem. I am using PHP 4.3.6 and postgres 7.4.3 The problem is when I try to execute my php scripts that connect to postgres from the command line I get error like this: Fatal error: Call to undefined function: pg_connect() in

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run the same version both on the command line and running on apache? On Aug 23, 2004, at 12:23 PM, Michal Migurski wrote: I am a newby having a configuration problem. I am using PHP 4.3.6

RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run the same version both on the command line and running on apache? [/snip] Yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Ok next stupid question At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. On Aug 23, 2004, at 2:39 PM, Jay Blanchard wrote: [snip] Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run

RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. [/snip] You need to install the proper CLI version as described http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jason Wong
On Tuesday 24 August 2004 02:42, Joshua Capy wrote: Ok next stupid question At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. What one usually does is compile different 'versions' of php using the same config options (if you want them

[PHP] problem with new mktime feature

2004-08-17 Thread Marcos Thiago M. Fabis
Hi everyone; I´m having a trouble with mktime. It is not generating negative values since the OS was updated to Linux version 2.6.7 (gcc version 3.2.3). I belive php uses mktime from glibc, and when this library was changed, mktime with this new stupid feature stoped generate

[PHP] Problem with submit form if type is image

2004-08-14 Thread fkeessen
Dear all, Can you please help me with the following? I have written the following script: If i have a input type image; the script doesn't go to the prospect2.php. If i have a input type=submit everything works super! Can someone help me? Frank

[PHP] Problem querying postgres

2004-08-13 Thread Joshua Capy
Hi, I am new to postgres using PHP. I have gotten PHP POSTGRES and PHPADMIN installed and have a database setup using PHPADMIN. The problem that I am having is that when I connect to postgres outside of PHPADMIN and try use pg_query() to do a select such as SELECT PersonID FROM person the

RE: [PHP] Problem querying postgres

2004-08-13 Thread Michael Sims
Joshua Capy wrote: of PHPADMIN and try use pg_query() to do a select such as SELECT PersonID FROM person the string that is sent is select personid from person. Now this is a problem because in the data base the field PersonID is not the same case as in the select that is sent and I get the

RE: [PHP] Problem querying postgres

2004-08-13 Thread Jay Blanchard
[snip] I am new to postgres using PHP. I have gotten PHP POSTGRES and PHPADMIN installed and have a database setup using PHPADMIN. The problem that I am having is that when I connect to postgres outside of PHPADMIN and try use pg_query() to do a select such as SELECT PersonID FROM person the

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Deepak Dhake
$query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2; while($row2 = mysql_fetch_array($query4)) { //print array } this will print whole array. i just want to print a row at a time and it should be in the loop because i am printing other things as well. can you tell me how to

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Jason Wong
On Thursday 12 August 2004 21:20, Deepak Dhake wrote: $query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2; while($row2 = mysql_fetch_array($query4)) { //print array } this will print whole array. i just want to print a row at a time and it should be in the loop because i

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 09:20:44 -0400, Deepak Dhake [EMAIL PROTECTED] wrote: $query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2; while($row2 = mysql_fetch_array($query4)) { //print array } this will print whole array. i just want to print a row at a time and it should be

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Hannes Magnusson
On Thu, 12 Aug 2004 10:04:00 -0700 [EMAIL PROTECTED] (Justin Patrin) wrote: On Thu, 12 Aug 2004 09:20:44 -0400, Deepak Dhake [EMAIL PROTECTED] wrote: $query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2; while($row2 = mysql_fetch_array($query4)) { //print array }

[PHP] problem with mysql_fetch_array

2004-08-11 Thread Deepak Dhake
i am trying to print some values from a table with using mysql_fetch_array in a loop but not able to get correct values. it works fine for the loop i=0, prints all desired values but when it bocomes i=1 and starts the loop again the result values gets reset and prints the same old values. for

Re: [PHP] problem with mysql_fetch_array

2004-08-11 Thread Justin Patrin
On Wed, 11 Aug 2004 17:13:49 -0400, Deepak Dhake [EMAIL PROTECTED] wrote: i am trying to print some values from a table with using mysql_fetch_array in a loop but not able to get correct values. it works fine for the loop i=0, prints all desired values but when it bocomes i=1 and starts the

[PHP] Problem with class and tree-like struct

2004-08-07 Thread Martin Schneider
Hello! I made a class which should represent a tree-like structure (PHP 4.3.8). I made a root-nore and added 2 childs. The problem is that the childs are not added to the parent. Why? Martin class TreeItem { var $m_pParent; var $m_sName; var $m_arrChilds = array();

Re: [PHP] Strange PHP problem with mod_perl and MySQL

2004-08-06 Thread Justin Hannus
Make sure that your php and DBD::MySQL were compiled against the *same exact* library. Apache loads in mod_php and mod_perl on startup and if they in turn both load two separate libmysqlclient libs then you will get multiple defined symbols--which Apache cannot resolve. -Justin Hannus Phil

[PHP] SOLVED Re: [PHP] Strange PHP problem with mod_perl and MySQL

2004-08-06 Thread Phil Stracchino
PHP and DBD::mysql. Thanks for the pointer. -Justin - Original Message - From: Phil Stracchino [EMAIL PROTECTED] To: Justin Hannus [EMAIL PROTECTED] Sent: Friday, August 06, 2004 2:23 PM Subject: Re: [PHP] Strange PHP problem with mod_perl and MySQL On Fri, Aug 06, 2004

[PHP] Problem installing PHP 4.3.8

2004-08-06 Thread Don
Hi, I'm trying to install PHP on a SCO OS 5.0.5 UNIX server. Here are the results when I run the configure command: loading cache ./config.cache checking host system type... i386-pc-sco3.2v5.0.5 checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error:

[PHP] problem solved (?)

2004-08-05 Thread Mark
Thanks very much, Curt. I assumed (stupid me) that I needed to configure PHP 5 for mysqli but this was nonsense since I am using version 4.0 of MySQL. Now I use php_mysql.dll in C:\PHP and only remove the ; from ;extension=php_mysql.dll in php.ini. Sorry to have bothered you all with this. !

RE: [PHP] problem solved (?)

2004-08-05 Thread Jay Blanchard
[snip] ! Still the problem remains that there is no mysqli equivalent for mysql_field_name [/snip] As I had suggested earlier you could do a DESCRIBE `table` query and loop through the column names returned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Strange PHP problem with mod_perl and MySQL

2004-08-05 Thread Phil Stracchino
I have a strange PHP problem. I'm running Apache-1.3.28, with mod_perl-1.29, mod_ssl-2.8.15, and PHP4, on a Slackware-based custom Linux installation. Up until today, I was running php-4.3.3, configured as follows: ./configure --with-mysql=/opt/mysql --with-db4=/usr/local/BerkeleyDB.4.1

Re: [PHP] Strange PHP problem with mod_perl and MySQL

2004-08-05 Thread Phil Stracchino
On Fri, Aug 06, 2004 at 12:32:19AM -0400, Phil Stracchino wrote: Note that the only change is the addition of --with-gd. After installing php-4.3.8 and restarting Apache, all of the mod_perl registry CGIs are dying at various points with SEGVs. Each one dies in a consistent way at a

[PHP] Problem Removing Text Updater Password

2004-08-04 Thread Chad Daniel
am new to PHP and I am having a problem removing a password restriction from a simple Text Updater script (below). I have a bunch of files that need to be protected and I am planning to use .htaccess, but this script calls for the password to be input before allowing the update (redundant for my

[PHP] problem with php script

2004-08-03 Thread asolomon15
Hello everyone I have a problem with this php script that gives this error *Fatal error*: Unsupported operand types in */usr/local/www/data-dist/brisk/php/classes/PageContent.php* on line *64 here is the part of the code that gives the error $this-currentWebPageCount += 1; $this-previousPage -=

Re: [PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-29 Thread Mark Collin
Thanks for pointing me in the right direction. I managed to kill my existing authorisation credentials by throwing a 401 unauthorised header at IE. Just in case anybody else is interested here is the basic layout of the code I used(I did format it but that might have got lost, apologies if it

[PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-28 Thread Mark Collin
Does anybody have any ideas on how I can prevent caching of $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], or clear them? I currently have a restricted area on the site I'm currently designing and all works well until I log out. When I log out I successfully destroy the session and the

Re: [PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-28 Thread holmes072000
From: Mark Collin [EMAIL PROTECTED] Does anybody have any ideas on how I can prevent caching of $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], or clear them? You can't clear them; they're sent by the browser. It'll keep resending the same values and you're script will authenticate.

[PHP] Problem with circular include statement

2004-07-27 Thread C.F. Scheidecker Antunes
Hello all, I have 3 scripts script1.php and script2.php where both include the same general.inc file of functions. Then I have script3.php that calls functions from both scritp1.php and script2.php. As both script1 and script2 include general.inc when I try to use diferent function on script3

[PHP] Problem with PEAR DB MySQLi

2004-07-26 Thread Rodolfo Gonzalez Gonzalez
Hi, I'm trying to use PEAR's DB class with the new PHP 5 MySQLi support on MySQL 4.1.3, using this example from the PEAR's docs (with my parameters of course). I'm getting DB unknown error messages after the query. The same query from the mysql client works fine, there are no connection

Re: [PHP] Problem with PEAR DB MySQLi

2004-07-26 Thread Justin Patrin
On Mon, 26 Jul 2004 12:18:37 -0500 (CDT), Rodolfo Gonzalez Gonzalez [EMAIL PROTECTED] wrote: Hi, I'm trying to use PEAR's DB class with the new PHP 5 MySQLi support on MySQL 4.1.3, using this example from the PEAR's docs (with my parameters of course). I'm getting DB unknown error messages

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Henri Marc
Hello, Thank you very much for all the people who replied me so fast. Unfortunately I still have a problem with that part. Matt M. [EMAIL PROTECTED] wrote: Now, I want to know which numbers have been checked by the player. I have a : input name=Grid1 type=checkbox for the first grid. Grid2

RE: [PHP] Problem of a beginner with Array[Scanned]

2004-07-21 Thread Michael Egan
To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem of a beginner with Array[Scanned] Hello, Thank you very much for all the people who replied me so fast. Unfortunately I still have a problem with that part. Matt M. [EMAIL PROTECTED] wrote: Now, I want to know which numbers have been

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Torsten Roehr
Henri marc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Thank you very much for all the people who replied me so fast. Unfortunately I still have a problem with that part. Matt M. [EMAIL PROTECTED] wrote: Now, I want to know which numbers have been checked by the

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Henri Marc
Hello Torsten, try this: input name=Grid1[1] typecheckbox file://1st grid, 1st checkbox input name=Grid1[2] typecheckbox file://1st grid, 2nd checkbox... Seems I can't do another way than this. Not possible to do just Grid1[]. After submit you will receive $_POST['Grid1'] as an ARRAY

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Torsten Roehr
Henri marc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Torsten, try this: input name=Grid1[1] typecheckbox file://1st grid, 1st checkbox input name=Grid1[2] typecheckbox file://1st grid, 2nd checkbox... Seems I can't do another way than this. Not possible to do

RE: [PHP] Problem of a beginner with Array[Scanned]

2004-07-21 Thread Michael Egan
earlier together with that sent by Torsten will containg the answer. HTH, Michael Egan -Original Message- From: Henri Marc [mailto:[EMAIL PROTECTED] Sent: 21 July 2004 13:51 To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem of a beginner with Array[Scanned] Hello Torsten, try

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Matt M.
I would prefer to have if possible: input name=Grid1[] typecheckbox //1st grid, 1st checkbox input name=Grid1[] typecheckbox //1st grid, 2nd checkbox... That's what Matt M proposed. If I do: echo $_POST['Grid1']; I have on as a result and not a value. I also tried with echo

[PHP] Problem with file_exists() and clearstatcache()...

2004-07-21 Thread Scott Fletcher
I noticed the problem with the php functions, file_exists() and clearstatcache(). When I load a webpage, the php do the file_exists() and attempt to create one if the file does not exist. Then when I go to the next webpage, that file is removed. It is working pretty well. When I press refresh,

[PHP] Problem of a beginner with Array

2004-07-20 Thread Henri Marc
Hello, I'm just starting with PHP and I have a problem. This is certainly very easy for you but for me, it's tough. I want to make a lottery site (just as an exercise), so I made a page with 6 grids of 50 numbers each (check boxes). Now, I want to know which numbers have been checked by

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread Matt M.
Now, I want to know which numbers have been checked by the player. I have a : input name=Grid1 type=checkbox for the first grid. Grid2 for the grid #2... input name=Grid1[] type=checkbox value=whatever / input name=Grid2[] type=checkbox value=whatever / if the user checks any Grid1[] boxes

RE: [PHP] Problem of a beginner with Array

2004-07-20 Thread Will Collins
on the number of boxes you can check, try a little Javascript. Hope it helps, Will -Original Message- From: Henri Marc [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 1:10 PM To: [EMAIL PROTECTED] Subject: [PHP] Problem of a beginner with Array Hello, I'm just starting with PHP and I have

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread Jonathan Haddad
You don't have to declare an array size in PHP.First you can do this: $arr = array(); then $arr[1] = 50; $arr[2] = true; $arr[3] = some value; or you can loop through foreach( $i = 0; $i 50 ; $i++ ) $arr[$i] = false; I believe you can assign the checkbox names in HTML as grid[] and in php

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread John W. Holmes
Henri Marc wrote: I want to make a lottery site (just as an exercise), so I made a page with 6 grids of 50 numbers each (check boxes). Now, I want to know which numbers have been checked by the player. I have a : input name=Grid1 type=checkbox for the first grid. Grid2 for the grid #2... I was

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread Justin Patrin
On Tue, 20 Jul 2004 20:09:33 +0200 (CEST), Henri Marc [EMAIL PROTECTED] wrote: Hello, I'm just starting with PHP and I have a problem. This is certainly very easy for you but for me, it's tough. I want to make a lottery site (just as an exercise), so I made a page with 6 grids of 50

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread Jason Barnett
Hey John, maybe you should ask him how his script picks the winning lottery numbers :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem Stuffing Variable Value into an E-mail

2004-07-17 Thread Harlequin
I've generated a page where the user selects and completes a form. One of these is a free text area with the name TXT_Question. this is used later as $Question = $_Post['TXT_Question']; but for some reason when I send this in an e-mail like so: \nUser has selected eventID:\t$EventID \nAnd

Re: [PHP] problem including images in safe_mode

2004-07-16 Thread Frank Holtschke
Jason Wong wrote: On Thursday 15 July 2004 23:30, Frank Holtschke wrote: Even if you could prevent an included file from being parsed, I can't see how it would help you as you can't assign the contents to a variable. But you say that you sometimes have problems which implies that sometimes it

[PHP] Problem with calculate

2004-07-16 Thread Rosen
Hi, I have following problem: I use some numbers from mysql table and other local vars to calculate one number. But on one calc I receive thath $value=4.5474735088646E-013; This must be zero (0) - I see all vars and calc then with calculator. I use function number_format($value, 2, ., ) and it

Re: [PHP] Problem with calculate

2004-07-16 Thread John W. Holmes
Rosen wrote: I use some numbers from mysql table and other local vars to calculate one number. But on one calc I receive thath $value=4.5474735088646E-013; This must be zero (0) - I see all vars and calc then with calculator. I use function number_format($value, 2, ., ) and it return me -0.00

Re: [PHP] Problem with calculate

2004-07-16 Thread Rosen
Thanks ! abs() will not work for me, because I may have na negative numbers, but with round() it worked ! 10x John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rosen wrote: I use some numbers from mysql table and other local vars to calculate one number. But on

[PHP] problem including images in safe_mode

2004-07-15 Thread Frank Holtschke
Hall all, i have sometimes problems to include images. the reason are substrings like ? in the image. in that case the php-parser tries to parse the string and returns the error: parse error, unexpected ',' in unforunatly there in no other way to include the image, cause the server runs in

Re: [PHP] problem including images in safe_mode

2004-07-15 Thread Jason Wong
On Thursday 15 July 2004 19:52, Frank Holtschke wrote: i have sometimes problems to include images. the reason are substrings like ? in the image. in that case the php-parser tries to parse the string and returns the error: parse error, unexpected ',' in unforunatly there in no other way

Re: [PHP] problem including images in safe_mode

2004-07-15 Thread Frank Holtschke
Jason Wong wrote: On Thursday 15 July 2004 19:52, Frank Holtschke wrote: i have sometimes problems to include images. the reason are substrings like ? in the image. in that case the php-parser tries to parse the string and returns the error: parse error, unexpected ',' in unforunatly there in no

[PHP] Problem with ImageJPEG and quality 75

2004-07-15 Thread Ewout
I have a problem with my image resize function When i resize/save an image with 'ImageJPEG($DEST_IMAGE,$OUTPUT_FILE)' everything works fine, but with 'ImageJPEG($DEST_IMAGE,$OUTPUT_FILE,100)' it displays only the first half of the image, the bottom is blank any suggestions on how to fix this ?

[PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
I have a function in a class that unsets the superglobal $_REQUEST; Well, it's supposed to, it doesn't do it. I'm on version 4.2.3 of PHP. This page: http://us2.php.net/manual/en/language.variables.predefined.php#language.variables.superglobals says that $_REQUEST is a super global as of

Re: [PHP] problem including images in safe_mode

2004-07-15 Thread Jason Wong
On Thursday 15 July 2004 23:30, Frank Holtschke wrote: Even if you could prevent an included file from being parsed, I can't see how it would help you as you can't assign the contents to a variable. But you say that you sometimes have problems which implies that sometimes it works. Could

Re: [PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Justin Patrin
You can't unset $_REQUEST. All it does is unset the reference to it in the current context. It still exists elsewhere. If you *really* want to get rid of $_REQUEST, you should do it this way: unset($GLOBALS['_REQUEST']); But I would advise against that. Why exactly are you unsetting a

Re: [PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
I found the answer, as my second post on this told. Why unset the globals? I plan on implementing filters on all User input to ALL scripts in the prepend file. And if someone wants to get a variable that was supplied by a user, they have to specifiy if it's going to be INT, STR(with options to

Re: [PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Justin Patrin
Ok Why not just set the values in $_REQUEST then? AbstractEnvironment::stripTagsArr($_REQUEST); Or something like this: foreach($_REQUEST as $key = $val) { $_REQUEST[$key] = stripTagsNStuff($key, $val); } On Thu, 15 Jul 2004 15:45:45 -0700, Dennis Gearon [EMAIL PROTECTED] wrote: I found

Re: [PHP] problem with super global '$_REQUEST'

2004-07-15 Thread John W. Holmes
Dennis Gearon wrote: Why unset the globals? I plan on implementing filters on all User input to ALL scripts in the prepend file. And if someone wants to get a variable that was supplied by a user, they have to specifiy if it's going to be INT, STR(with options to remove run on spaces, validate

[PHP] problem with forms

2004-07-14 Thread Luk Moravec - PTV Servis
Hi to all, I have problem with forms in IIS on WIN2K and PHP 5.0 (locally). When Im trying to send some data from HTML form to a PHP script I received an error, that variables are not defined. thank You

[PHP] problem with downloading some pdf's

2004-07-09 Thread Scott Taylor
I've gotten this one report of having a problem downloading a PDF: I have tried twice, both times its starts to download but stops about half way or three-quarters the way complete. I get a error message that the download was not completed. When I go to look at the message there is just

Re: [PHP] problem with downloading some pdf's

2004-07-09 Thread Justin Patrin
I've had a similar problem. The issue was that Norton Personal Firewall was corrupting the download...I have no idea why. To make it work, I had to use mod_rewrite to make the URL look like a normal file URL, then I found out that it would only work over HTTPS.again, no idea why. If the user

[PHP] problem with crypt

2004-07-05 Thread Nitin
Hi all, I'm using PHP function crypt() to encrypt the password while updating the password for user's email accounts. It was running fine on PHP 4.0.6, but since I updated to PHP 4.1.2, it's giving me problems. No errors, nothing, password is updated but to unknown value. Is this some kind of

Re: [PHP] problem with crypt

2004-07-05 Thread zareef ahmed
--- Nitin [EMAIL PROTECTED] wrote: Hi all, I'm using PHP function crypt() to encrypt the password while updating the password for user's email accounts. It was running fine on PHP 4.0.6, but since I updated to PHP 4.1.2, it's giving me problems. No errors, nothing, password is updated but

Re: [PHP] problem with crypt

2004-07-05 Thread Nitin
: [PHP] problem with crypt --- Nitin [EMAIL PROTECTED] wrote: Hi all, I'm using PHP function crypt() to encrypt the password while updating the password for user's email accounts. It was running fine on PHP 4.0.6, but since I updated to PHP 4.1.2, it's giving me problems

[PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
Hi, I have the following problem with strcasecmp() function. It should be compare strings case insensitive. When I use it on my local computer, - it works correctly. But when I upload file on some internet server - the function doesn't work . I use the function with cyrillic charset. Can someone

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
On Sat, 2004-07-03 at 16:57, Rosen wrote: Hi, I have the following problem with strcasecmp() function. It should be compare strings case insensitive. When I use it on my local computer, - it works correctly. But when I upload file on some internet server - the function doesn't work . I use

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
Both versions are Version 4.3.7 of PHP. Scot L. Harris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 2004-07-03 at 16:57, Rosen wrote: Hi, I have the following problem with strcasecmp() function. It should be compare strings case insensitive. When I use it on my

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
On Sat, 2004-07-03 at 17:08, Rosen wrote: Both versions are Version 4.3.7 of PHP. Then more information is needed to figure out the problem. Sample code plus any error messages or results would help. -- Scot L. Harris [EMAIL PROTECTED] Plaese porrf raed. -- Prof. Michael

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
The code: echo strcasecmp(Òåñò , òåñò); // This are Test and test in cyrillic echo br; echo strcasecmp(Test, test);// This no problem - it works Results: -32 0 Scot L. Harris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 2004-07-03 at 17:08, Rosen wrote: Both

[PHP] Problem with session on first page loaded

2004-07-02 Thread Jordi Canals
Hi all, I have an extrange problem with the session cookie: In all my pages there I have this two lines to start the session: session_name('jcwse'); session_start(); When I access my website, at any page, everytyhink works OK, and the session cookie is set with no problem except for links. In

Re: [PHP] Problem with session on first page loaded

2004-07-02 Thread Angelo binc2
shouldn't session_start() come first? also remember that your devel computer might have different settings in the PHP.ini file to that of your ISP, probably register_globals is set to off. I would check it. HTH Angelo Jordi Canals [EMAIL PROTECTED] 7/2/2004 11:14:28 AM Hi all, I have an

Re: [PHP] Problem with session on first page loaded

2004-07-02 Thread Jordi Canals
Jordi Canals wrote: This problem only arises on my ISP hosting (Linux+Apache 1.3) and does not show on my devel computer (Windows+Apache 2.0). I've been searching the manual, but found no explanation about that. Sorry forgot it: The two platforms run PHP 4.3.7 Thanks again, Jordi. -- PHP General

Re: [PHP] Problem with session on first page loaded

2004-07-02 Thread Jordi Canals
Angelo, thanks for your comments. session_name must go before session_start. I think register_globals has nothing to do with session cookies. I always work with register_globals = off as recommended. About the cookie params (In PHP.INI) I checked them on the two platforms with phpinfo() and

Re: [PHP] Problem with session on first page loaded

2004-07-02 Thread Lars Torben Wilson
Jordi Canals wrote: Angelo, thanks for your comments. session_name must go before session_start. I think register_globals has nothing to do with session cookies. I always work with register_globals = off as recommended. About the cookie params (In PHP.INI) I checked them on the two platforms

Re: [PHP] Problem with session on first page loaded

2004-07-02 Thread Jordi Canals
Lars Torben Wilson wrote: About the cookie params (In PHP.INI) I checked them on the two platforms with phpinfo() and are exactly the same. Was your binary compiled with --enable-trans-sid? If so, I imagine the explanation would be something along the lines that because the session manager

RE: [PHP] Problem with session on first page loaded

2004-07-02 Thread Michael Sims
Jordi Canals wrote: the ISP changed a param in the PHP.INI, and they changed session.use_trans_sid setting it to 1. [...] Now I should talk to the provider to not set this parameter to ON by default, because the security risk on it (As stated on the manuals). If they allow you to use

[PHP] problem with embeded objects and reference

2004-06-30 Thread Vincent DUPONT
Hi, could anyone help on this 'by reference' problem. I have 2 classes. The main class as a child class. The child class has properties (array) I would like to be able to manipulate the child's properties even after the child has been inserted into the main class. Does this make sense? I can

RE: [PHP] problem with embeded objects and reference

2004-06-30 Thread Chris W. Parker
Vincent DUPONT mailto:[EMAIL PROTECTED] on Wednesday, June 30, 2004 1:05 PM said: Hi, hi. could anyone help on this 'by reference' problem. when starting a new thread please do not just reply to an ongoing thread and change the subject. please start a new email. your fellow list

Re: [PHP] problem with embeded objects and reference

2004-06-30 Thread Red Wingate
so, why don't you reply correctly? :p Chris W. Parker wrote: Vincent DUPONT mailto:[EMAIL PROTECTED] on Wednesday, June 30, 2004 1:05 PM said: Hi, hi. could anyone help on this 'by reference' problem. when starting a new thread please do not just reply to an ongoing thread and change the

Re: [PHP] problem with embeded objects and reference

2004-06-30 Thread Red Wingate
better don't blame the other pal :-) http://screens.erisx.de/reply.gif -- red Red Wingate wrote: so, why don't you reply correctly? :p Chris W. Parker wrote: Vincent DUPONT mailto:[EMAIL PROTECTED] on Wednesday, June 30, 2004 1:05 PM said: Hi, hi. could anyone help on this 'by reference'

[PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Hi all, I filed a PHP bug related to others I found online, but thought I would throw it by the list also... You can find the bug at: http://bugs.php.net/bug.php?id=28967 [30 Jun 5:40am CEST] shannon at swerb dot com Description: Hi there, sorry, but I am running out of ideas

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: Hi all, I filed a PHP bug related to others I found online, but thought I would throw it by the list also... You can find the bug at: http://bugs.php.net/bug.php?id=28967 You're going to need to get some sort of backtrace, either from the core dump or ran

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Curt, how do I do this? I have the httpd.core that apache produced, how should I send it in? Regards, Shannon -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 8:10 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with pspell module

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
: Re: [PHP] Problem with pspell module * Thus wrote Shannon Werb: Hi all, I filed a PHP bug related to others I found online, but thought I would throw it by the list also... You can find the bug at: http://bugs.php.net/bug.php?id=28967 You're going to need to get some sort

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: Following is my backtrace, I found how to do it at: http://bugs.php.net/bugs-generating-backtrace.php BACKTRACE: (gdb) bt #0 0x0 in ?? () #1 0x28519319 in _init () from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so #2 0x28524595 in _fini () from

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
PROTECTED] Sent: Wednesday, June 30, 2004 9:31 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with pspell module * Thus wrote Shannon Werb: Following is my backtrace, I found how to do it at: http://bugs.php.net/bugs-generating-backtrace.php BACKTRACE: (gdb) bt #0 0x0

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
(gdb) Disable php accelerator and see if it happens. You'll most likely need to reinstall php accelerator. SHIT, that did it... I didn't disable it in php.ini like I had thought, but once I did everything is fine... So why is this causing it? To re-install it maybe I just need to

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
-Original Message- From: Shannon Werb [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 9:27 PM To: 'Curt Zirzow'; [EMAIL PROTECTED] Subject: RE: [PHP] Problem with pspell module (gdb) Disable php accelerator and see if it happens. You'll most likely need

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: -Original Message- From: Shannon Werb [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 9:27 PM To: 'Curt Zirzow'; [EMAIL PROTECTED] Subject: RE: [PHP] Problem with pspell module (gdb) Disable php accelerator and see if it happens

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
-Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 10:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with pspell module * Thus wrote Shannon Werb: -Original Message- From: Shannon Werb [mailto:[EMAIL PROTECTED

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
: Wednesday, June 30, 2004 10:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with pspell module * Thus wrote Shannon Werb: -Original Message- From: Shannon Werb [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 9:27 PM To: 'Curt Zirzow'; [EMAIL PROTECTED

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
-Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 10:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with pspell module * Thus wrote Shannon Werb: -Original Message- From: Shannon Werb [mailto:[EMAIL PROTECTED

<    9   10   11   12   13   14   15   16   17   18   >