Re: [PHP] References challenge with PHP4

2007-03-20 Thread Lluis Pamies
En/na Jochem Maas ha escrit: Lluis Pamies wrote: I've the following code: 1 ?php 2 3 class B { 4 function B($a) { 5 $this-a = $a; 6 } 7 8 function run() { 9 print {$this-a-msg}\n; 10 } 11 } 12 13 class A { 14 function A() { 15 $this-b = new B($this); 16

Re: [PHP] Running PHP on a windows server-your views

2007-03-20 Thread Angelo Zanetti
thanks to everyone for the answers, much appreciated and if there are more I'd gladly like to hear those views/opinions -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: CONTENT-type for sending HTML attachments

2007-03-20 Thread Angelo Zanetti
Manuel Lemos wrote: Hello, on 03/16/2007 12:16 PM Angelo Zanetti said the following: Hi guys. Im using the HTML Mime Mail http://www.phpguru.org/static/mime.mail.html class from phpguru.org. Anyway I've written a few scripts that use the class to attach files to it. These files are HTML

[PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type; public function __construct() { } public function GetType() { return $this-type; } } class Child implements Parent {

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
OOPS!... typo Please replace implements with extends: class Child extends Parent Sorry about that Jeff Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class:

[PHP] Lot's of nonexistentfile.php requests

2007-03-20 Thread Patrick Ale
Morning all, I see a lot of /8398743dhdshjsd/nonexistentfile.php requests in my Apache log, returned with 404 since the file doesn't exist. What are people trying to do? Do they try to trigger a bug in php or are they looking for some misconfigured forum? Thanks :) Patrick -- PHP General

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
I forgot to mention that I have some __construct operations in the parent class, and I want to add to those (and overwrite sometimes) in the child class __construct i.e Parent class __construct $this-foo = 'Bar'; $this-foo2 = '10'; Child class __construct

Re: [PHP] Re: working with class inheritance

2007-03-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-03-20 19:14:17 +1030: Jeff Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type;

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot define a class by that

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jim Lucas wrote: Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot

Re: [PHP] Out source files

2007-03-20 Thread Manuel Vacelet
2007/3/20, Richard Lynch [EMAIL PROTECTED]: One common pattern in PHP is to not put the file in the web tree at all, and write a PHP script with 'readfile' (or fopen/fread/echo loop for larger files). You can then control access to the file, and log any kind of stats you need about accessing

[PHP] PHP mail() problem

2007-03-20 Thread Delta Storm
Hi, I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type: text/html; charset=iso-8859-1; $headers .= MIME-Version: 1.0 ; $headers .= Content-Transfer-Encoding: 8bit.$eol.$eol; $headers .=Content-Type:

Re: [PHP] Name Capitalization

2007-03-20 Thread Jochem Maas
Leonard Burton wrote: HI Chris, Here is one option. Make a long list (array) of search/replace pairs and loop through your text replacing as necessary. 'mcdonald' = 'McDonald' 'mcdowell' = 'McDowell' 'o\'reilly' = 'O\'Reilly' 'de la rosa' = 'De La Rosa' etc ad nauseum... I think the

Re: [PHP] Lot's of nonexistentfile.php requests

2007-03-20 Thread Jochem Maas
Patrick Ale wrote: Morning all, I see a lot of /8398743dhdshjsd/nonexistentfile.php requests in my Apache log, returned with 404 since the file doesn't exist. What are people trying to do? Do they try to trigger a bug in php or are they looking for some misconfigured forum? I believe

Re: [PHP] PHP mail() problem

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 10.54-kor Delta Storm ezt írta: Hi, I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type: text/html; charset=iso-8859-1; $headers .= MIME-Version: 1.0 ; $headers .=

[PHP] Reuse PHP functions in a third-party application

2007-03-20 Thread Robert Enyedi
I'm not very familiar with the internal architecture of the Zend PHP engine nor with the PHP module mechanism, but can you reuse compiled PHP modules in other applications? Is there a way of calling the functions of a compiled module from a third party C application? Thanks, Robert -- PHP

Re: [PHP] Name Capitalization

2007-03-20 Thread Satyam
- Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Leonard Burton [EMAIL PROTECTED] Cc: Chris W. Parker [EMAIL PROTECTED]; PHP php-general@lists.php.net Sent: Tuesday, March 20, 2007 11:09 AM Subject: Re: [PHP] Name Capitalization Leonard Burton wrote: HI Chris, Here is

Re: [PHP] References challenge with PHP4

2007-03-20 Thread Jochem Maas
ok, I tried it in a whole number of variations - no joy. you should use php5 if you want this kind of reference stuff - in php5 it just works, php 4 will give you big headaches. Lluis Pamies wrote: En/na Jochem Maas ha escrit: Lluis Pamies wrote: I've the following code: 1 ?php 2 3

Re: [PHP] Lot's of nonexistentfile.php requests

2007-03-20 Thread Patrick Ale
On 3/20/07, Jochem Maas [EMAIL PROTECTED] wrote: Patrick Ale wrote: Morning all, you're not the only one who has this in their logs - something google could have told you: http://www.google.nl/search?q=nonexistentfile.php Hoi Jochem :) I did try that on google actually, as you've

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Martin Marques
On Mon, 19 Mar 2007, Richard Lynch wrote: The MySQL developers spent a zillion hours making the LAST_INSERT_ID() function be tied to YOUR database connection. You get *your* LAST_INSERT_ID(), not some random one from some other database connection. That's why http://php.net/mysql_insert_id

Re: [PHP] References challenge with PHP4

2007-03-20 Thread Robert Cummings
On Tue, 2007-03-20 at 11:52 +0100, Jochem Maas wrote: ok, I tried it in a whole number of variations - no joy. you should use php5 if you want this kind of reference stuff - in php5 it just works, php 4 will give you big headaches. Now now, don't be calling PHP5 ALL THAT when it can't do it

Re: [PHP] time or date picker ?

2007-03-20 Thread tedd
At 8:11 PM +0100 3/19/07, Alain Roger wrote: Hi, I've already seen some webpages which include a time or date picker (like a calendar) written in PHP and on which user could type the year and after, select the month and date (using month). I'm looking for something like that. Where can i find

[PHP] Problem with MySQL

2007-03-20 Thread Pavel Kaznarskiy
Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that executes query */ if(@$_GET['form'] == yes) { mysql_connect($host,$user,$password); mysql_select_db($_POST['database']); $query =

Re: [PHP] Reuse PHP functions in a third-party application

2007-03-20 Thread Tijnema !
On 3/20/07, Robert Enyedi [EMAIL PROTECTED] wrote: I'm not very familiar with the internal architecture of the Zend PHP engine nor with the PHP module mechanism, but can you reuse compiled PHP modules in other applications? Is there a way of calling the functions of a compiled module from a

Re: [PHP] Problem with MySQL

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that executes query */ if(@$_GET['form'] == yes) what do you want

[PHP] Sockets problem

2007-03-20 Thread Adrian Gheorghe
Hello everyone, I've sent a bug report earlier and it got marked as bogus, so I decided to ask here about a possible solution. You can see the bug report at http://bugs.php.net/bug.php?id=40864 Thanks in advance, Adrian. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: CONTENT-type for sending HTML attachments

2007-03-20 Thread Jon Anderson
Angelo Zanetti wrote: So if the HTML files are attachments and the text is just plain text then will the content-type of the message be text/plain and then each attachment be multipart/alternative. Please note that the HTML files need to be sent as attachments and not part of the body. On my

Re: [PHP] Problem with MySQL

2007-03-20 Thread Tijnema !
On 3/20/07, Pavel Kaznarskiy [EMAIL PROTECTED] wrote: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that executes query */ if(@$_GET['form'] == yes) { mysql_connect($host,$user,$password);

Re: [PHP] Name Capitalization

2007-03-20 Thread Tijnema !
What's against just capitalizing the first letter? Of course there exists a lot of different combinations where a capital letter should be, but if names are coming in like MCDONALD or mcdonald, a user would be happy if he sees Mcdonald. If you gonna make such filter that tries to detect this,

Re: [PHP] Lot's of nonexistentfile.php requests

2007-03-20 Thread Jochem Maas
Patrick Ale wrote: On 3/20/07, Jochem Maas [EMAIL PROTECTED] wrote: Patrick Ale wrote: Morning all, you're not the only one who has this in their logs - something google could have told you: http://www.google.nl/search?q=nonexistentfile.php Hoi Jochem :) I did try that on

Re: [PHP] PHP mail() problem

2007-03-20 Thread Puskás Zsolt ( Errotan )
Hi. Recently I have this kind of issue. This is a possible solution: $text=message text; $subject=message subject; $header=From: [EMAIL PROTECTED]. MIME-Version: 1.0\r\n. Content-type: text/html; charset=utf-8\r\n. Content-Transfer-Encoding: 8bit\r\n;

Re: [PHP] Re: CONTENT-type for sending HTML attachments

2007-03-20 Thread Angelo Zanetti
Jon Anderson wrote: Angelo Zanetti wrote: So if the HTML files are attachments and the text is just plain text then will the content-type of the message be text/plain and then each attachment be multipart/alternative. Please note that the HTML files need to be sent as attachments and not

RE: [PHP] Problem with MySQL

2007-03-20 Thread Jim Moseby
Warning: mysql_select_db(): Access denied for user 'ODBC'@'localhost' (using password: NO) in z:\home\localhost\www\2.php on line 12 Warning: mysql_select_db(): A link to the server could not be established in z:\home\localhost\www\2.php on line 12 Warning: mysql_query(): Access

Re: [PHP] Amazon AWS + SimpleXML

2007-03-20 Thread Myron Turner
Brad Fuller wrote: Hey guys, I'm having trouble trying to parse XML results from an Alexa Web information service from amazon.com, using SimpleXML. I found a site which deals with handling namespaces in SimpleXML. That and the nested tags are probably what are giving you trouble,

Re: [PHP] Re: CONTENT-type for sending HTML attachments

2007-03-20 Thread Jim Lucas
Angelo Zanetti wrote: Jon Anderson wrote: Angelo Zanetti wrote: So if the HTML files are attachments and the text is just plain text then will the content-type of the message be text/plain and then each attachment be multipart/alternative. Please note that the HTML files need to be sent as

[PHP] Re: working with class inheritance

2007-03-20 Thread Gregory Beaver
Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type; public function __construct() { } public function GetType() { return $this-type; }

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread markw
markw@mohawksoft.com wrote: http://www.postgresql.org/docs/current/static/functions-sequence.html It is perfectly safe to use this. In theory that may be true, but can the application developer make any assumption about the underlying architecture? Might you be familiar with connection

[PHP] MYSQLyog

2007-03-20 Thread Jonathan Kahan
Hi all, As part of PHP, I have downloaded a windows program called SQLyog which is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is that I can not seem to connect to it. I am attempting to use a SQL account I created. I typed in the

Re: [PHP] MYSQLyog

2007-03-20 Thread Jim Lucas
Jonathan Kahan wrote: Hi all, As part of PHP, I have downloaded a windows program called SQLyog which is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is that I can not seem to connect to it. I am attempting to use a SQL account I

Re: [PHP] MYSQLyog

2007-03-20 Thread Stut
Jonathan Kahan wrote: As part of PHP, I have downloaded a windows program called SQLyog which ^^ - Yeah, but it's not really is it?!! is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is that I can not seem to connect

Re: [PHP] MYSQLyog

2007-03-20 Thread Jochem Maas
Jonathan Kahan wrote: Hi all, As part of PHP, yeah, nice try - there is no part of php that involves SQLyog. MYSQL is not a part of php, Windows is not a part of php, SSH is not a part of php, your firewall is not a part of php, whatever 3rd part WAMPish installer you used to get a working

Re: [PHP] MYSQLyog

2007-03-20 Thread Jochem Maas
Stut wrote: Jonathan Kahan wrote: As part of PHP, I have downloaded a windows program called SQLyog which ^^ - Yeah, but it's not really is it?!! is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is that I can not seem

Re: [PHP] MYSQLyog

2007-03-20 Thread Stut
Jochem Maas wrote: Stut wrote: Jonathan Kahan wrote: As part of PHP, I have downloaded a windows program called SQLyog which ^^ - Yeah, but it's not really is it?!! is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is

Re: [PHP] Problem with MySQL

2007-03-20 Thread Jochem Maas
Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! ... what do you want with that '@' here? that operator can be used to suppress error messages when calling functions but not when using a variable not true - although it's a lazy/bad* way

RE: [PHP] Problem with MySQL

2007-03-20 Thread Ford, Mike
On 20 March 2007 13:26, Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that

RE: [PHP] Problem with MySQL

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 16.08-kor Ford, Mike ezt írta: On 20 March 2007 13:26, Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query

Re: [PHP] MYSQLyog

2007-03-20 Thread Jonathan Kahan
I will look at Jim's suggestion. I tried the % and it still failed. FYI-I have seen posts here much less related to PHP than my own without such responses. And yes in my mind this is part of PHP in that PHP interacts with MYSQL and thus this has a bearing on my ability to write PHP programs

[PHP] image digit to check password

2007-03-20 Thread Alain Roger
Hi, There is a trend on internet that when you want to change your password, you need to type : 1. the former password. 2. the new one 3. a 2nd time the new one to confirm that no mistake has been done on step 2. however, several website also propose an additional security to avoid

RE: [PHP] image digit to check password

2007-03-20 Thread Jay Blanchard
[snip] however, several website also propose an additional security to avoid hacking/brute force, they display a 4 digit image with a random string including number and letters... something like A3P23. if user do not respect case and string, password is not changed. I would like to know how such

Re: [PHP] image digit to check password

2007-03-20 Thread Tijnema !
On 3/20/07, Alain Roger [EMAIL PROTECTED] wrote: Hi, There is a trend on internet that when you want to change your password, you need to type : 1. the former password. 2. the new one 3. a 2nd time the new one to confirm that no mistake has been done on step 2. however, several website also

Re: [PHP] image digit to check password

2007-03-20 Thread Satyam
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] [snip] however, several website also propose an additional security to avoid hacking/brute force, they display a 4 digit image with a random string including number and letters... something like A3P23. if user do not respect

Re: [PHP] image digit to check password

2007-03-20 Thread Dave Goodchild
Have a look at this: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question

2007-03-20 Thread Dan Shirah
Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to Enter another user for this account and they can do this for

Re: [PHP] Question

2007-03-20 Thread Tijnema !
On 3/20/07, Dan Shirah [EMAIL PROTECTED] wrote: Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to Enter

[PHP] Re: Question

2007-03-20 Thread Greg Beaver
Dan Shirah wrote: Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to Enter another user for this account

[PHP] Re: image digit to check password

2007-03-20 Thread Greg Beaver
Alain Roger wrote: Hi, There is a trend on internet that when you want to change your password, you need to type : 1. the former password. 2. the new one 3. a 2nd time the new one to confirm that no mistake has been done on step 2. however, several website also propose an additional

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
In my database I have two tables. One table stores all of the account information, the other table stores all of the user information. Table 1 account_id - is the primary key and is unique to each account Table 2 user_id - is the primary key and is unique to each user account_id - will be

Re: [PHP] image digit to check password

2007-03-20 Thread Tijnema !
On 3/20/07, Dave Goodchild [EMAIL PROTECTED] wrote: Have a look at this: Have a look at nothing :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Question

2007-03-20 Thread Greg Beaver
Dan Shirah wrote: In my database I have two tables. One table stores all of the account information, the other table stores all of the user information. Table 1 account_id - is the primary key and is unique to each account Table 2 user_id - is the primary key and is unique to each

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
I had thought about having the multiple submissions on a single form, but with the amount of user information that is collected and the variable amount of users that may need to be entered this method would not be ideal. (A single form that you have to scroll down a far way and the potential to

Re: [PHP] Re: Question

2007-03-20 Thread Jim Lucas
Dan Shirah wrote: I had thought about having the multiple submissions on a single form, but with the amount of user information that is collected and the variable amount of users that may need to be entered this method would not be ideal. (A single form that you have to scroll down a far way and

Re: [PHP] MYSQLyog

2007-03-20 Thread Jochem Maas
Jonathan Kahan wrote: I will look at Jim's suggestion. I tried the % and it still failed. FYI-I have seen posts here much less related to PHP than my own without such responses. so that make's your totally offtopic question okay then does? I suppose you condone murder also because, heck,

Re: [PHP] MYSQLyog

2007-03-20 Thread Jochem Maas
Stut wrote: Jochem Maas wrote: Stut wrote: Jonathan Kahan wrote: As part of PHP, I have downloaded a windows program called SQLyog which ^^ - Yeah, but it's not really is it?!! is supposed to a free web program I can use to run against MYSQL located in a remote Linux server.

Re: [PHP] image digit to check password

2007-03-20 Thread Jochem Maas
Tijnema ! wrote: On 3/20/07, Dave Goodchild [EMAIL PROTECTED] wrote: Have a look at this: Have a look at nothing :) I believe this Dave's way of pointing people to the Great Void :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Question

2007-03-20 Thread Dan Shirah
Because in my application it is VERY VERY VERY important that I track the specific details for any given user in any given account. The user data changes frequently and I need to be able to track user information changes, numbers of accounts they are assigned to etc. So rather than updating the

Re: [PHP] References challenge with PHP4

2007-03-20 Thread Jochem Maas
Robert Cummings wrote: On Tue, 2007-03-20 at 11:52 +0100, Jochem Maas wrote: ok, I tried it in a whole number of variations - no joy. you should use php5 if you want this kind of reference stuff - in php5 it just works, php 4 will give you big headaches. Now now, don't be calling PHP5 ALL

Re: [PHP] Re: Question

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 16.31-kor Dan Shirah ezt írta: Because in my application it is VERY VERY VERY important that I track the specific details for any given user in any given account. The user data changes frequently and I need to be able to track user information changes, numbers

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Chris
Martin Marques wrote: On Mon, 19 Mar 2007, Richard Lynch wrote: The MySQL developers spent a zillion hours making the LAST_INSERT_ID() function be tied to YOUR database connection. You get *your* LAST_INSERT_ID(), not some random one from some other database connection. That's why

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Chris
markw@mohawksoft.com wrote: markw@mohawksoft.com wrote: http://www.postgresql.org/docs/current/static/functions-sequence.html It is perfectly safe to use this. In theory that may be true, but can the application developer make any assumption about the underlying architecture? Might you be

[PHP] _Construct question

2007-03-20 Thread John Comerford
Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name = $pName; } } So I when I create a new class I can assign 'name' by

Re: [PHP] _Construct question

2007-03-20 Thread Chris
John Comerford wrote: Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name = $pName; } } So I when I create a new class I

Re: [PHP] _Construct question

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 6:51 pm, John Comerford wrote: I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { It changed from PHP 4 to PHP 5

Re: [PHP] Question

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 12:46 pm, Dan Shirah wrote: Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to Enter

Re: [PHP] Re: Question

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 2:05 pm, Dan Shirah wrote: Each account is unique. It is possible that the same user could be on multiple accounts, therefore the account will be tied to the user each time. If each account can have multiple users, AND each user can have multiple accounts, then you have

Re: [PHP] Re: Question

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:31 pm, Dan Shirah wrote: Because in my application it is VERY VERY VERY important that I track the specific details for any given user in any given account. The user data changes frequently and I need to be able to track user information changes, numbers of

Re: [PHP] image digit to check password

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 11:52 am, Alain Roger wrote: There is a trend on internet that when you want to change your password, you need to type : 1. the former password. 2. the new one 3. a 2nd time the new one to confirm that no mistake has been done on step 2. however, several website

Re: [PHP] MYSQLyog

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 10:45 am, Jonathan Kahan wrote: As part of PHP, I have downloaded a windows program called SQLyog which is supposed to a free web program I can use to run against MYSQL located in a remote Linux server. My problem is that I can not seem to connect to it. I am

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Mark
Chris wrote: markw@mohawksoft.com wrote: markw@mohawksoft.com wrote: http://www.postgresql.org/docs/current/static/functions-sequence.html It is perfectly safe to use this. In theory that may be true, but can the application developer make any assumption about the underlying architecture?

Re: [PHP] Re: Question

2007-03-20 Thread Jim Lucas
Richard Lynch wrote: On Tue, March 20, 2007 3:31 pm, Dan Shirah wrote: Because in my application it is VERY VERY VERY important that I track the specific details for any given user in any given account. The user data changes frequently and I need to be able to track user information changes,

Re: [PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Thanks everyone, Gave me a much better understanding of it Jim Lucas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jim Lucas wrote: Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class:

[PHP] What API does PHP need?

2007-03-20 Thread Mark
I want to write another PHP extension, for no real reason, I've written a few and just want to keep up to date. What sort of API would you like to see? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What API does PHP need?

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 10:44 pm, Mark wrote: I want to write another PHP extension, for no real reason, I've written a few and just want to keep up to date. What sort of API would you like to see? #1 An integrated Google Maps Yahoo! Maps API that makes sense out of their divergent wonky APIs

Re: [PHP] MYSQLyog

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:24 pm, Jochem Maas wrote: Stut wrote: Jochem Maas wrote: Stut wrote: Jonathan Kahan wrote: ... The wildcard for the hostname is not * it's %. -Stut your being friendly today Stut, wassup with that ;-) New job. Too happy. anything we can do to remedy that? ;-)

RE: [PHP] Problem with MySQL

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 11:08 am, Ford, Mike wrote: what do you want with that '@' here? that operator can be used to suppress error messages when calling functions but not when using a variable This is most definitely way wrong. What complete tosh! @ is a unary operator, so can be applied

Re: [PHP] Sockets problem

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote: I've sent a bug report earlier and it got marked as bogus, so I decided to ask here about a possible solution. You can see the bug report at http://bugs.php.net/bug.php?id=40864 Looks like a pretty cogent bug report to me... Perhaps Tony

[PHP] Password Protecting

2007-03-20 Thread Kevin
Hello Everyone! I am new to PHP but I am hoping you guys can help me. I would like to have my users go to a page that looks like http://f4.zittle.com/admin, or even just a drop down window or something whre they can enter a username and password. Depending on the username, and of course

Re: [PHP] Reuse PHP functions in a third-party application

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 5:27 am, Robert Enyedi wrote: I'm not very familiar with the internal architecture of the Zend PHP engine nor with the PHP module mechanism, but can you reuse compiled PHP modules in other applications? Is there a way of calling the functions of a compiled module from

Re: [PHP] PHP mail() problem

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 4:54 am, Delta Storm wrote: Disclosure: What I understand of Unicode could fit in a matchbook... I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type: text/html; charset=iso-8859-1; $headers .= MIME-Version: 1.0

[PHP] Re: _Construct question

2007-03-20 Thread Gregory Beaver
John Comerford wrote: Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name = $pName; } } So I when I create a new

Re: [PHP] working with class inheritance

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:42 am, Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type; Either you meant private $type; or I'd be shocked if this even got as far as

Re: [PHP] Lot's of nonexistentfile.php requests

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:40 am, Patrick Ale wrote: I see a lot of /8398743dhdshjsd/nonexistentfile.php requests in my Apache log, returned with 404 since the file doesn't exist. What are people trying to do? Do they try to trigger a bug in php or are they looking for some misconfigured forum?

Re: [PHP] Password Protecting

2007-03-20 Thread Richard Lynch
On Wed, March 21, 2007 12:11 am, Kevin wrote: I am new to PHP but I am hoping you guys can help me. I would like to have my users go to a page that looks like http://f4.zittle.com/admin, or even just a drop down window or something whre they can enter a username and password. Depending on

[PHP] Re: PHP mail() problem

2007-03-20 Thread Manuel Lemos
Hello, on 03/20/2007 06:54 AM Delta Storm said the following: Hi, I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type: text/html; charset=iso-8859-1; $headers .= MIME-Version: 1.0 ; $headers .= Content-Transfer-Encoding:

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Richard Lynch
On Mon, March 19, 2007 10:58 pm, markw@mohawksoft.com wrote: markw@mohawksoft.com wrote: markw@mohawksoft.com wrote: On Sat, 2007-03-17 at 12:19 -0400, Mark wrote: Check the documentation - currval returns the last one *for that session* - it does not return the last global change.

Re: [PHP] Re: Getting last record ID created from DB

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 8:00 pm, Mark wrote: I'd agree with you, except now you've pulled the rug out and inserted a 3rd party connection pool. Well, duh, if you're dumb enough to think you can just slap it in and everything will work by magic, you deserve what you get. One would hope the

Re: [PHP] Name Capitalization

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 5:41 am, Satyam wrote: JOSE DE LA ROSA = Jose De La Rosa FRANK DE BOER = Frank de Boer this actual example may not be valid Indeed, it is not. The correct capitalization is José de la Rosa. At least in Spanish the rules are quite simple, unless someone is actually