RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread vizion


 -Original Message-
 From: Jay Blanchard [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 09, 2005 12:22 PM
 To: 'B.D.'
 Cc: PHP General (E-mail)
 Subject: RE: [PHP] Forwarding $_POST Values
 
 [snip]
 Wow...what a helpful answer!  Thankfully, other people responded to
 the guys question and didn't come off like smug pricks!
 [/snip]
 
 Been on mailing lists long? Who the fuck are you to critisize me buttwad?
 Probably some new, politically correct panty-waist who says Happy Holidays
 because he doesn't have the balls to say Merry Christmas. I saw that you
 had
 a better answer. Keep calling out people like this and you'll quickly earn
 a
 trip to /dev/null. Is that smug enough for you?
 
 Every four months or so some jerkwad joins the list and gets his
 sensibilities bruised when a terse reply is given to someone who a.)
 doesn't
 need defending and 2.) obviously did no research at all. There is a
 concept
 here called teaching a developer to fish. I wasn't rude and the links were
 quite helpful.

Well if you were not rude then you certainly are now - 
Too much correspondence with you in that vein could contaminate the
environment. chuckles
Also sounds like you have a few prejudices to grow out of .. who would you
like to be when you grow up?
BTW
I suggest you use a dictionary if you cannot use a spellchecker.


 
 --
 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: http://www.php.net/unsub.php



RE: [PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-26 Thread vizion


 -Original Message-
 From: Edwin Barrios [mailto:[EMAIL PROTECTED]
 Sent: Saturday, November 26, 2005 7:07 PM
 To: php-general@lists.php.net
 Subject: [PHP] Where can i find docs to create a php5 extensions with OOP
 as SimpleXML?
 
 Hi,
 
 I'm a PHP web programing, but i wanna learn how to develop php5
 extensions.
 I found php5 a good language to apply Objects programing, and it has very
 usefull examples of OO extensions as SimpleXML, DOM, Sqlite; for this
 reason
 i wanna develope my extension following those styles of API's .
 
 I've read some docs about creating a php extension that appears as new
 functions on PHP, but i can't find info to develop extensions that appear
 as
 classes on PHP .
 
 Thanks for your help. I'm really interested on this topic, especially to
 collaborate in PHP extension projects as wxPHP.


I suggest you take a lookn at

http://www.zend.com/php5/articles/php5-xmlphp.php

david

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] No forums?

2005-11-08 Thread Vizion
On Tuesday 08 November 2005 17:32,  the author Richard Lynch contributed to 
the dialogue on-
 Re: [PHP] No forums?: 

On Fri, November 4, 2005 10:22 pm, John Nichel wrote:
 Larry E. Ullman wrote:
 snip

 All that being said, I think everyone should send me $5. I've
 monitored
 this list long enough to predict the most probable replies...

 Bah, I've got 10 times the posts you do since 2002, just from this
 email
 address.  75% of that $5 goes to me.  ;)

Here's my address:
1248 N Noble
Chicago, IL
60622-3327

In this mythical MLM of most-posts, I think I get a cut.  I'll let you
guys work out how big the cut should be.

PS Anybody actually wants to donate $5 to my get out of debt fund,
that's actually the address to send it to...
If anyone sends you $5 you wll be adding $5 to your debts chuckles
david

--
Like Music?
http://l-i-e.com/artists.htm

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] form question??

2005-11-07 Thread Vizion
On Monday 07 November 2005 10:24,  the author bruce contributed to the 
dialogue on-
 [PHP] form question??: 

hi...

a while ago, i saw an app that allowed the user to create a form, based on
various fields, and to setup/create the database schema to create the form.
the app provided the user with predefined fields, as well as allowed the
user to define their own fields in order to create the form.

unfortunately, i can't seem to find this app, or any other app that would
allow me to do this. can anybody point me towards an app that could/would do
this?

If you want something comprehensive and you happen to use Dreamweaver you can 
do what you need and you might also  take a look at some of the extensions 
such as MX Kollection http://www.interaktonline.com or Web Assist 
www.webassist.com  or many other extensions which would five you all you are 
likely to need.

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PGP 5 start up issue

2005-11-06 Thread Vizion
On Sunday 06 November 2005 12:14,  the author Unknown Unknown contributed to 
the dialogue on-
 Re: [PHP] PGP 5 start up issue: 

I don't mean the php.ini file, I mean the extension directive setting in
php.ini
Yep I thought that was what you meant -- it is not the cause.. I should have 
posted that I found a solution which was to use the pear functions dor those 
extensions. It seems, for some reason, that the extensions do not work on 
php5 but the pear equivalents do.. at least for me.
david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Mysql php Load Data Infiles

2005-11-06 Thread Vizion
While I think this is primarily a mysql  syntax problem I have asked on the 
mysql forum but not got a reply. I am trying using php to set up a system for 
loading a new data base using the Load Data Infile statement. I could not get 
it to work properly with php so I thought I would try some command line test.

Does anyone know the loaction of a suitable php script that would handle a 
list of files and tables for loading into a database (preferably doing an 
initial dummy run using temporary tables with an error report). If not when I 
get this wretched syntax issue solved I guess I might have one available 
fairly soon.

Here are my notes:

This exercise was a test in preparation for a plan to use Load Data Infile for  
initallising a new database comprising over 80 tables. The database currently 
has no data. The first field is auto-increment. 

What am I doing wrong here? 

If I cannot do it using Load Data Infile what alternatives would you suggest? 

___ 
Here is mysql command line dialogue on a win XP development machine: 
 
Welcome to the MySQL monitor. Commands end with ; or \g. 
Your MySQL connection id is 85 to server version: 5.0.13-rc-nt-log 

Type 'help;' or '\h' for help. Type '\c' to clear the buffer. 

mysql use NewBuddies; 
Database changed 

mysql load data local infile 
'E:/Development/LBuddies/Documemntation/lbcm_diet_ 
types.txt' REPLACE into table lbcm_diet_types fields terminated by ',' 
ENCLOSED 
by ''; 
ERROR 1265 (01000): Data truncated for column 'Help' at row 1 
mysql describe lbcm_diet_types; 
+-+-+--+-+-++ 
| Field | Type | Null | Key | Default | Extra | 
+-+-+--+-+-++ 
| Diet_Type_ID | int(11) | NO | PRI | NULL | auto_increment | 
| Diet_Type_Title | varchar(30) | NO | UNI | Enter Title | | 
| Diet_Type_Descr | text | NO | | | | 
| Help | int(11) | NO | | 1 | | 
+-+-+--+-+-++ 
4 rows in set (0.01 sec) 

mysql select * from lbcm_diet_types; 
Empty set (0.00 sec) 

mysql 
___ 
Here is the content of the first file created as a text file using editor 
macromedia: 
___ 

1,Unlimited,Anything goes,1 
2,Lacto-Vegetarian,Vegetarian consuming milk products, no meat, no 
fish,1 
3,Fish_Lacto-Vegetarian,Lacto Vegetarian plus fish,1 
I then realized my obvious mistake two 's in the third field on line two. I 
removed REPLACE from the command and ran it again: 

mysql load data local infile 
'E:/Development/LBuddies/Documemntation/lbcm_diet_ 
types.txt' into table lbcm_diet_types fields terminated by ',' ENCLOSED by 
''; 

Query OK, 2 rows affected, 3 warnings (0.00 sec) 
Records: 2 Deleted: 0 Skipped: 0 Warnings: 3 

mysql select * from lbcm_diet_types; 
+--+---++--+ 
| Diet_Type_ID | Diet_Type_Title | Diet_Type_Descr | Help | 
+--+---++--+ 
| 1 | Unlimited | Anything goes | 1 | 
| 3 | Fish_Lacto-Vegetarian | Lacto Vegetarian plus fish | 0 | 
+--+---++--+ 
2 rows in set (0.00 sec) 

/* OK we have progress BUT */ 
/*What happened to line 2? */ 
/* Why 0 for the help ID on line 3? */ 


/* So I amended the file to read: */ 

4,Diabetic,See Diet Sheet,1 
5,Glutenfree,No wheat products or other glutenous grains,1 
6,Nut allergic,Avoid all nut products,1 

/* and with the command:*/ 

mysql load data local infile 
'E:/Development/LBuddies/Documemntation/lbcm_diet_ 
types.txt' into table lbcm_diet_types fields terminated by ',' ENCLOSED by 
''; 

Query OK, 2 rows affected, 3 warnings (0.00 sec) 
Records: 2 Deleted: 0 Skipped: 0 Warnings: 3 

/* I got:*/ 
mysql select * from lbcm_diet_types; 
+--+---++--+ 
| Diet_Type_ID | Diet_Type_Title | Diet_Type_Descr | Help | 
+--+---++--+ 
| 1 | Unlimited | Anything goes | 1 | 
| 3 | Fish_Lacto-Vegetarian | Lacto Vegetarian plus fish | 0 | 
| 4 | Diabetic | See Diet Sheet | 1 | 
| 6 | Nut allergic | Avoid all nut products | 0 | 
+--+---++--+ 
4 rows in set (0.00 sec) 

mysql 
/* showing that the second line from this file is again being dropped and the 
last line gets 0 for help! - I must be missing something obvious but I am 
damned if I can see it groans 

/* So I realize it might be due to the windows CR/LF oddity therefore I try: 
*/ 

mysql load data local infile 
'E:/Development/LBuddies/Documemntation/lbcm_diet_ 

Re: [PHP] PGP 5 start up issue

2005-11-05 Thread Vizion
On Saturday 05 November 2005 08:58,  the author Unknown Unknown contributed to 
the dialogue on-
 Re: [PHP] PGP 5 start up issue: 

On 11/5/05, Unknown Unknown [EMAIL PROTECTED] wrote:
 On 11/4/05, Vizion [EMAIL PROTECTED] wrote:
  php 5 on windows xp with apache 2 and mysql 5.
 
  Php start up unable to load dynamic library:
  E:\php\ext\php_bz2.dll with error 'The specified module could not be
  found'
  same for and php_yaz.dll
  I have php5ts.dll in both E:\php\ and E:\php\ext
 
  I had a similar problem for php_mcrypt which was solved by installing
  libmcrypt.dll in E:\windows\system32 but I just cannot seem to solve the
 
  problems with these two.
 
  I tried copying versions of yaz.dll and php_yaz.dll from
  http://www.indexdata.dk/phpyaz but to no avail. That only screwed up php
  5
  because those versions seemed to be looking for php4ts.dll rather than
  php5ts.dll so I seemed to have got stumped.
 
  Can anyone help out?
 
  Thanks in advance
 
  david
 
 
 
  --
  40 yrs navigating and computing in blue waters.
  English Owner  Captain of British Registered 60' bluewater Ketch S/V
  Taurus.
  Currently in San Diego, CA. Sailing bound for Europe via Panama Canal
  after
  completing engineroom refit.
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
   i recommend you change php.ini and make the extensions folder e:\php\

 or whatever you use, it would probably fix the problem

  oh and also check spelling and if windows has read/write/execute
permissions make sure there is proper persmissions
I have tried placing the php.ini file in \windows and \windows\system32 and 
tried it in both places to no avail.

All the other extensions load fine - the problem seems to be peculiar to these 
two.
The spelling is fine...

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PGP 5 start up issue

2005-11-04 Thread Vizion
php 5 on windows xp with apache 2 and mysql 5.

Php start up unable to load dynamic library:
E:\php\ext\php_bz2.dll with error 'The specified module could not be found'
same for  and php_yaz.dll
I have php5ts.dll in both E:\php\ and E:\php\ext

I had a similar problem for php_mcrypt which was solved by installing 
libmcrypt.dll in E:\windows\system32 but I just cannot seem to solve the 
problems with these two.

I tried copying versions of yaz.dll and php_yaz.dll from 
http://www.indexdata.dk/phpyaz  but to no avail. That only screwed up php 5 
because those versions seemed to be looking for php4ts.dll rather than 
php5ts.dll so I seemed to have got stumped.

Can anyone help out?

Thanks in advance

david



-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Fabforce 4.0.5.6 Beta

2005-10-30 Thread Vizion
I am trying to run Fabforce DBDesigner 4.0.5.6 Beta on:
win xp pro Version 2002 Service Pack 2
PHP 5.0.5
Mysql server 5.0.13 installed from 5.0.13-rc-win32.zip

and as Fabforce have closed their forum due to hacker problems I am hoping 
someopne here might have some idea how to solve a problem.

I get a 'dbexpress' username/password failure on any attempt by DBDesigner to 
connect to a database. PHPinfo reports presence of mysqli.

Does anyone have any ideas about  this problem?

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] MySql connection error on win XP for script that works on Freebsd 5.3

2005-10-26 Thread Vizion
I have just installed MySql on Win XP and am attempting to run a php script to 
create some databases. The script works fine on FreeBSD 5.3 running 
mysql-client-5.0.11 and mysql-server-5.0.11.

MySQL has been installed on windows XP using a download of 
mysql-5.0.13-rc-win32.zip. Test.php reports php version 4.3.1.0 and is 
installed with ZendStudio which I am currently testing on win XP as I cannot 
yet  get any version of Zend later than 3.x to run on FreeBSD.

The username for mysql is 10 chars with a password of 8 chars and is able to 
login successfully from the command line.

However when attempting to login via the script I get the following error:

Error while connecting to MySQL: Client does not support authentication 
protocol requested by server; consider upgrading MySQL client.

I have searched the mysql website and located an article which shows reference 
to this error indicating that the client may need to be upgraded but as I am 
using the mysql-5.0.13-rc-win32.zip package I am cautious about assuming that 
that is the actual cause.

I am curious whether it is something to do with the php version.

Does anyone know how I can fix this?

Please ask for additional information you think might be helpful
Thanks in advance

david


-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Windows XP installation confusion.

2005-10-26 Thread Vizion


Hi

In Install.text for php 5.0.5 on Page 3:

Heading Manual Installation Steps
Previous editions of the manual suggest moving various ini and DLL files into 
your SYSTEM folder..we advise remove all these files (like php.ini and 
PHP related DLLs from the Windows System folder...

While some files in the Windows folder are clearly php related in that they 
are of the form
php*.*

other files are not so easily distinguished.

I wonder if someone has a list of the files that should be deleted bearing in 
mind I have just removed an installation of php 4.3.10 and php 5.0.5. I would 
like to make sure that the windows system32 folder is clean! It would be nice 
if such a list was added to install.txt

thanks

david





-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] MySql connection error on win XP for script that works on Freebsd 5.3

2005-10-26 Thread Vizion
On Wednesday 26 October 2005 08:35,  the author Jay Blanchard contributed to 
the dialogue on-
 RE: [PHP] MySql connection error on win XP for script that works  on Freebsd 
5.3: 

[snip]
I have searched the mysql website and located an article which shows
reference
to this error indicating that the client may need to be upgraded but as I am

using the mysql-5.0.13-rc-win32.zip package I am cautious about assuming
that
that is the actual cause.
[/snip]

http://us3.php.net/mysqli

The mysqli extension allows you to access the functionality provided by
MySQL 4.1 and above.
Thanks for that -- I have decided to upgrade to 5.0.5 -
I did see that file before posting but I think I must have got the wrong 
impression on first read

thanks again

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] has anyone a script for generating dates to a rule?

2005-10-18 Thread Vizion
Hi

OK I am being lazy but unnecessarily reinventing the wheel is not my idea of 
fun. 

I need a script to populate database fields for year, month, day of month, day 
of week to a rule

e.g start year, month, day  end year month day
exclude [days of week] [from year, month, day to year, month, day] [specific 
dates]

If no one has one you can point me to  then contact me in a week or two and 
ask for mine chuckles

thanks 
david



-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Wikimedia - php4

2005-09-20 Thread Vizion
Hi


I have just installed wikimedia on freebsd 5.3 with php4-4.4.0. 

After starting the program after a successful installation I get the error 
messages shown below. There are three eror from two lines of code. I have 
included the relevant code.

Having just started to learn php, I am not competent to know how 
to set about solving this.

Does anyone here have any idea what may be wrong or do you happen to know of a 
suitable forum or mailing list that could be helpful

Thanks in advance

david
--
Errors from php4.log 

***
FIRST Error - reppeated twice:
***
Notice: Only variable references should be returned by reference 
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on line 
369

Notice: Only variable references should be returned by reference 
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on line 
369

Line 369 indicated by  ^^^
-
function _unserialize( $serial ) {
if( function_exists( 'gzinflate' ) ) {
$decomp = @gzinflate( $serial );
if( false !== $decomp ) {
$serial = $decomp;
}
}
return unserialize( $serial );
^^

}
---
***
SECOND error -- Error line 136 indicated by ^
***
Notice: Only variable references should be returned by reference 
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/SkinTemplate.php on line 
136

function decr($key, $value=1) {
if ( !$this-lock($key) ) {
return false;
}
$value = intval($value);
if($value  0) $value = 0;

$m = false;
^^^
if( ($n = $this-get($key)) !== false ) {
$m = $n - $value;
if($m  0) $m = 0;
$this-set($key, $m); // exptime?
}
$this-unlock($key);
return $m;
}

__

Thanks in advance

david




-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 19:26,  the author Vizion contributed to the 
dialogue on-
 [PHP] Wikimedia - php4: 

Hi


I have just installed wikimedia on freebsd 5.3 with php4-4.4.0.

After starting the program after a successful installation I get the error
messages shown below. There are three eror from two lines of code. I have
included the relevant code.

Having just started to learn php, I am not competent to know how
to set about solving this.

Does anyone here have any idea what may be wrong or do you happen to know of
 a suitable forum or mailing list that could be helpful

Thanks in advance

david
--
Errors from php4.log

***
FIRST Error - reppeated twice:
***
Notice: Only variable references should be returned by reference
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on line
369

Notice: Only variable references should be returned by reference
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on line
369

Line 369 indicated by  ^^^
-
function _unserialize( $serial ) {
   if( function_exists( 'gzinflate' ) ) {
   $decomp = @gzinflate( $serial );
   if( false !== $decomp ) {
   $serial = $decomp;
   }
   }
   return unserialize( $serial );
^^

   }
---
***
SECOND error -- Error line 136 indicated by ^
***
Notice: Only variable references should be returned by reference
in /usr2/virtualwebs/forumkatrina.org/wiki/includes/SkinTemplate.php on line
136

Sorry I inserted the wrong source code - this is the correct code:
/**
 * Create the template engine object; we feed it a bunch of data
 * and eventually it spits out some HTML. Should have interface
 * roughly equivalent to PHPTAL 0.7.
 *
 * @param string $callback (or file)
 * @param string $repository subdirectory where we keep template files
 * @param string $cache_dir
 * @return object
 * @access private
 */
function setupTemplate( $classname, $repository=false, 
$cache_dir=false ) {
return new $classname();
^^
}

__

Thanks in advance

david




--
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
 Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama
 Canal after completing engineroom refit.

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 19:37,  the author Jasper Bryant-Greene 
contributed to the dialogue on-
 Re: [PHP] Wikimedia - php4: 

Vizion wrote:
 Hi

 I have just installed wikimedia on freebsd 5.3 with php4-4.4.0.

I think you mean MediaWiki (common mistake!)

 After starting the program after a successful installation I get the
 error messages shown below. There are three eror from two lines of code. I
 have included the relevant code.
 [snip]

 ***
 FIRST Error - reppeated twice:
 ***
 Notice: Only variable references should be returned by reference
 in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on
 line 369

 Notice: Only variable references should be returned by reference
 in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on
 line 369

These are coding errors in MediaWiki (but not really bad errors, just
enough for PHP to flag a notice); since it's not something you can fix
entirely unless you want to trawl through all of their code, the easiest
thing to do is change error_reporting in your php.ini file so it looks
like this:

error_reporting = E_ALL  ~E_NOTICE

which means show all errors except notices.
You are fast!!

Thanks very much for that -- OK 

-
You replied before you will have got my correction -- but I guess your 
solution will work in any case!!

Thanks again

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 22:14,  the author Robert Cummings contributed to 
the dialogue on-
 Re: [PHP] Wikimedia - php4: 

On Wed, 2005-09-21 at 01:08, Rasmus Lerdorf wrote:
 Robert Cummings wrote:
  On Wed, 2005-09-21 at 00:58, Rasmus Lerdorf wrote:
 And for PHP5 you can just drop all references related to objects and it
 will do the right thing.
 
  Eeeek, that's not entirely true. Sometimes you want a real reference to
  an object even in PHP5 :/

 $a = new foo();

 Will create a reference to the object.

 $b = $a;

 Now you have 2 references to the same object.

 For any sort of normal use, you never need to explicitly create
 references to objects in PHP 5.

I think you mean novice use. There are certainly times when assigning an
object to a variable I want all the values currently referring to that
object to see the update and not just the variable being assigned to. I
understand that objects in PHP5 are passed by reference under normal
assignment, but it's a copy of a reference and not a reference to a
reference.

Cheers,
Rob.
--

`'
Thank you all so much..

Now I do not get the notices and I almost understand what you guys are 
saying :-)
That makes it a good day!!
chuckles

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Payflow Pro compile error

2005-09-11 Thread Vizion
On Sunday 11 September 2005 16:46,  the author Dan Harrington contributed to 
the dialogue on-
 [PHP] Payflow Pro compile error: 

Greetings,

It seems that I've gone around and around on this issue starting with PHP3
every time I install a new server.

And here I am again.

OS:
Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386
GNU/Linux
php-5.0.4
library with pfpro listed in /etc/ld.so.conf and I ran ldconfig...

--
And when I type:

./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-curl --enable-mbstring=en
--with-pfpro

or

./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-curl --enable-mbstring=en
--with-pfpro=/usr/local/src/verisign/payflowpro/linux/lib

or

./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-curl --enable-mbstring=en
--with-pfpro=/usr/local/lib

or anything else I can think of, I get this error message:

[.]
checking for Verisign Payflow Pro support... yes
checking for pfproInit in -lpfpro... no
checking for PNInit in -lpfpro... no
configure: error: The pfpro extension requires version 2 or 3 of the SDK

And I'm dead.

Anyone have similar situation that knows what to do?  Is it the Enterprise
Linux v.3 Is it the PHP 5?

(I have an Enterprise Linux 2 with PHP4 that works just fine!)

Thanks
Dan
This might be useful:

from
http://us2.php.net/pfpro

After weeks of searching and trying to install Payflow Pro on Red Hat 
Enterprise Linux 3, I finally was able to make it work. Naturally I was very 
hesitant to recompile my php configuration, but with a little help from 
redhat, and about 3 hours, it was installed. I'll try to outline the steps as 
best I can.

I'm running RedHat EL 3.0, php-4.3.2, apache 2.0.46.

Anyone running EL 3 is a member of the redhat network, so use up2date to 
download the latest php source rpm.

up2date --get-source php (this will download the source rpm 
into /var/spool/up2date)

rpm -i /var/spool/up2date/php-4.3.2 (or whatever version of php it gives you, 
installing this source rpm will not affect your current php configuration)

cd /usr/src/redhat/SPECS

rpmbuild -bp php.spec (unpack the sources and apply patches)

I had a couple of dependency requirements (imap-devel, unixODBC-devel; yours 
may vary; up2date 'whatever you need'; if you had to install dependant rpms, 
run rpmbuild -bp php.spec again)

vi php.spec (edit the spec file and include the --with-pfpro)
on line 285 or 286, you'll see where the ./configure command is generated. 
Adjust any defaults as necessary, I didn't need to, and add 
--with-pfpro=[DIR]. Make sure to place this outside the if's, I placed mine 
before ifarch(%ix86).

If you followed the instructions above, and unpacked pfpro into /usr/local, 
you would add 
--with-pfpro=--with-pfpro=/usr/local/verisign/payflowpro/sunsparc, where my 
version was linuxrh9. I'm running modssl, my config was 
--with-pfpro=shared,/usr/local.

Make sure that you have followed php.net's instructions and copied pfpro.h and 
libpfpro.so to the appropriate directories.

Now that we've added our config line, build the rpm. You will get a compile 
error if you have the incorrect version of the SDK. RedHat EL users should 
have downloaded the SDK for RedHat 9.x.

rpmbuild -bb php.spec (this will take awhile)
**According to documentation on redhat, new versions of rpm added a feature 
which causes a build termination if it finds files not intended to be 
included in the package. Obviously, since we added pfpro, it wasn't intended 
to be there. To get around this do the follow:

Edit your php.spec file (same one from earlier), and include
%define _unpackaged_files_terminate_build  0

I added this as the second line under the comments, mine looks like this:
%{!?oracle:%define oracle 0}
%define _unpackaged_files_terminate_build  0

This will allow the build to continue with these unpackaged files.

5 minutes later, if no errors were returned, it should that it build a whole 
bunch of rpms, all related to php. Now lets install them.

Redhat recommeded uninstalling existing rpms and installing these new ones, as 
opposed to using rpm -Uvh. So, uninstall the cooresponding php rpms. If it 
complains about dependancies, use --nodeps. Now, install rpm -i your new 
ones. You can install them all on the same line if you'd like.

rpm -i php-4.x.x. php-imap-4.x. php-mysql-4.x.x

Done! Now to quote Sean from below:

5) Copy /usr/src/redhat/BUILD/php-X.X.X/build-apache/modules/pfpro.so 
to /usr/lib/php4.
6) Add extension=pfpro.so to /etc/php.d/pfpro.ini using the other .ini files 
as templates.

Restart apache, and you should now be able to invoke the Payflow Pro 
functions!
mark at tuscaloosadesigncompany dot com
25-Sep-2004 04:02
After upgrading my slackware system's glibc to 2.3.3 (which is the first 
version of glibc on slackware that does not include a __ctype compatibility 
patch) 

[PHP] PHP on FreeBSD - Compiler Bugs and Option selection

2005-09-10 Thread Vizion
Hi ale

I just wanted to check you had received OK the two compiler errors that I 
reported for /usr/ports/lang/php5-extensions.

The first error was apparently caused by make expecting  libmagic in an 
incorrect path for FreeBSD 5.3. Once a copy was placed in the correct path 
compilation resumed.

The second error seems also to be caused by an inability to find requisite 
files for wddx.
ext/xml/expat_compat.h
ext/xml/php

As a result of compiling php5 I began to wonder whether it  would be helpful 
to users if :
drwxr-xr-x  3 root  wheel 512 May  2 07:06 php5-cli
drwxr-xr-x  3 root  wheel 512 Sep  9 18:00 php5-extensions
drwxr-xr-x  3 root  wheel 512 May 28 10:06 php_doc
were more integrated as choices within make for php5.

I would personally find it helpful if all the build options for php could be 
in an editable file for sysadmins to define a repeatable unattended build 
from all available build options. A closer integration of the subsidiary php5 
ports into the php5 make would facilitate this process.

I do not not how welcome these proposals might be or how easy it would be to 
make the changes but would be interested to know what others think.

Norberto Meijome [EMAIL PROTECTED] made a very interesting suggestion that 
he uses on his servers to achieve the above goal. He 
uses /usr/local/etc/pkgtools.conf for that purpose but my preference would be 
to have a method that is particular to php and does not lead to an 
overloading of /usr/local/etc/pkgtools.conf.

I have copied Norbeto's example below: 
** Quote***
-if you want to avoid having to choose by hand what you really
-want( or have it preconfigured so all you have to do is press OK, then
-use something like /usr/local/etc/pkgtools.conf which will be read by
-portinstall (sysutils/port-maintenance-tools/)
-my relevant sections for my servers are:
-

-     'php4-*' =- [
-         'WITH_APACHE2=true',
-         'WITHOUT_DEBUG=true',
-         'WITH_BCMATH=true',
-         'WITH_BZ2=true',
-         'WITHOUT_CALENDAR=true',
-         'WITH_CRACK=true',
-         'WITH_CTYPE=true',
-         'WITHOUT_CURL=true',
-         'WITH_DBA=true',
-         'WITHOUT_DBASE=true',
-         'WITHOUT_DBX=true',
-         'WITHOUT_DIO=true',
-         'WITHOUT_DOMXML=true',
-         'WITHOUT_EXIF=true',
-         'WITHOUT_FILEINFO=true',
-         'WITHOUT_FILEPRO=true',
-         'WITHOUT_FRIBIDI=true',
-         'WITH_FTP=true',
-         'WITH_GD=true',
-         'WITHOUT_GETTEXT=true',
-         'WITHOUT_GMP=true',
-         'WITHOUT_ICONV=true',
-         'WITHOUT_IMAGICK=true',
-         'WITHOUT_IMAP=true',
-         'WITHOUT_INTERBASE=true',
-         'WITHOUT_LDAP=true',
-         'WITH_MBSTRING=true',
-         'WITHOUT_MCAL=true',
-         'WITH_MCRYPT=true',
-         'WITHOUT_MCVE=true',
-         'WITH_MHASH=true',
-         'WITHOUT_MING=true',
-         'WITHOUT_MNOGOSEARCH=true',
-         'WITHOUT_MSSQL=true',
-         'WITH_MYSQL=true',
-         'WITHOUT_NCURSES=true',
-         'WITHOUT_ODBC=true',
-         'WITHOUT_OPENSSL=true',
-         'WITHOUT_ORACLE=true',
-         'WITH_OVERLOAD=true',
-         'WITHOUT_PANDA=true',
-         'WITHOUT_PCNTL=true',
-         'WITH_PCRE=true',
-         'WITHOUT_PDF=true',
-         'WITHOUT_PGSQL=true',
-         'WITH_POSIX=true',
-         'WITHOUT_PSPELL=true',
-         'WITHOUT_READLINE=true',
-         'WITHOUT_RECODE=true',
-         'WITH_SESSION=true',
-         'WITH_SHMOP=true',
-         'WITHOUT_SNMP=true',
-         'WITHOUT_SOCKETS=true',
-         'WITHOUT_SYBASE_CT=true',
-         'WITH_SYSVMSG=true',
-         'WITH_SYSVSEM=true',
-         'WITH_SYSVSHM=true',
-         'WITH_TOKENIZER=true',
-         'WITHOUT_WDDX=true',
-         'WITH_XML=true',
-         'WITHOUT_XMLRPC=true',
-         'WITH_XSLT=true',
-         'WITHOUT_YAZ=true',
-         'WITHOUT_YP=true',
-         'WITH_ZIP=true',
-         'WITH_ZLIB=true',
-         ],
-     'php4-dba-*' =- [
-         'WITH_CDB=true',
-         'WITH_DB4=true',
-         'WITH_GDBM=true',
-         'WITH_INIFILE=true',
-         'WITH_FLATFILE=true',
-         ],
-     'php4-gd-*' =- [
-         'WITH_T1LIB=true',
-         'WITH_TRUETYPE=true',
-         'WITHOUT_JIS=true',
-         'WITH_LZW=true',
-         ],
-     'php4-mbstring-*' =- [
-         'WITH_REGEX=true',
-         ],
*End Quote***

I also wonder why the Makefile, by default, uses the --disable-all option in 
the Makefile with no option to remove it. 

I would be interested in what others have to say and would like to place on 
record my appreciation for all your work in maintaining the ports.

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

--
PHP General Mailing 

[PHP] Re: PHP on FreeBSD - Compiler Bugs and Option selection

2005-09-10 Thread Vizion
On Saturday 10 September 2005 12:49,  the author Vizion contributed to the 
dialogue on-
 PHP on FreeBSD - Compiler Bugs and Option selection: 

Hi ale

I just wanted to check you had received OK the two compiler errors that I
reported for /usr/ports/lang/php5-extensions.

The first error was apparently caused by make expecting  libmagic in an
incorrect path for FreeBSD 5.3. Once a copy was placed in the correct path
compilation resumed.

I meant to say that full credit should be given to 
Kris Kennaway [EMAIL PROTECTED] who made the suggestion to 
copy /usr/src/contrib/file/magic.h to
/usr/include/magic.h 
and see if it works. Which it did.

The second error seems also to be caused by an inability to find requisite
files for wddx.
ext/xml/expat_compat.h
ext/xml/php

As a result of compiling php5 I began to wonder whether it  would be helpful
to users if :
drwxr-xr-x  3 root  wheel 512 May  2 07:06 php5-cli
drwxr-xr-x  3 root  wheel 512 Sep  9 18:00 php5-extensions
drwxr-xr-x  3 root  wheel 512 May 28 10:06 php_doc
were more integrated as choices within make for php5.

I would personally find it helpful if all the build options for php could be
in an editable file for sysadmins to define a repeatable unattended build
from all available build options. A closer integration of the subsidiary
 php5 ports into the php5 make would facilitate this process.

I do not not how welcome these proposals might be or how easy it would be to
make the changes but would be interested to know what others think.

Norberto Meijome [EMAIL PROTECTED] made a very interesting suggestion
 that he uses on his servers to achieve the above goal. He
uses /usr/local/etc/pkgtools.conf for that purpose but my preference would
 be to have a method that is particular to php and does not lead to an
overloading of /usr/local/etc/pkgtools.conf.

I have copied Norbeto's example below:
** Quote***
-if you want to avoid having to choose by hand what you really
-want( or have it preconfigured so all you have to do is press OK, then
-use something like /usr/local/etc/pkgtools.conf which will be read by
-portinstall (sysutils/port-maintenance-tools/)
-my relevant sections for my servers are:
-

-     'php4-*' =- [
-         'WITH_APACHE2=true',
-         'WITHOUT_DEBUG=true',
-         'WITH_BCMATH=true',
-         'WITH_BZ2=true',
-         'WITHOUT_CALENDAR=true',
-         'WITH_CRACK=true',
-         'WITH_CTYPE=true',
-         'WITHOUT_CURL=true',
-         'WITH_DBA=true',
-         'WITHOUT_DBASE=true',
-         'WITHOUT_DBX=true',
-         'WITHOUT_DIO=true',
-         'WITHOUT_DOMXML=true',
-         'WITHOUT_EXIF=true',
-         'WITHOUT_FILEINFO=true',
-         'WITHOUT_FILEPRO=true',
-         'WITHOUT_FRIBIDI=true',
-         'WITH_FTP=true',
-         'WITH_GD=true',
-         'WITHOUT_GETTEXT=true',
-         'WITHOUT_GMP=true',
-         'WITHOUT_ICONV=true',
-         'WITHOUT_IMAGICK=true',
-         'WITHOUT_IMAP=true',
-         'WITHOUT_INTERBASE=true',
-         'WITHOUT_LDAP=true',
-         'WITH_MBSTRING=true',
-         'WITHOUT_MCAL=true',
-         'WITH_MCRYPT=true',
-         'WITHOUT_MCVE=true',
-         'WITH_MHASH=true',
-         'WITHOUT_MING=true',
-         'WITHOUT_MNOGOSEARCH=true',
-         'WITHOUT_MSSQL=true',
-         'WITH_MYSQL=true',
-         'WITHOUT_NCURSES=true',
-         'WITHOUT_ODBC=true',
-         'WITHOUT_OPENSSL=true',
-         'WITHOUT_ORACLE=true',
-         'WITH_OVERLOAD=true',
-         'WITHOUT_PANDA=true',
-         'WITHOUT_PCNTL=true',
-         'WITH_PCRE=true',
-         'WITHOUT_PDF=true',
-         'WITHOUT_PGSQL=true',
-         'WITH_POSIX=true',
-         'WITHOUT_PSPELL=true',
-         'WITHOUT_READLINE=true',
-         'WITHOUT_RECODE=true',
-         'WITH_SESSION=true',
-         'WITH_SHMOP=true',
-         'WITHOUT_SNMP=true',
-         'WITHOUT_SOCKETS=true',
-         'WITHOUT_SYBASE_CT=true',
-         'WITH_SYSVMSG=true',
-         'WITH_SYSVSEM=true',
-         'WITH_SYSVSHM=true',
-         'WITH_TOKENIZER=true',
-         'WITHOUT_WDDX=true',
-         'WITH_XML=true',
-         'WITHOUT_XMLRPC=true',
-         'WITH_XSLT=true',
-         'WITHOUT_YAZ=true',
-         'WITHOUT_YP=true',
-         'WITH_ZIP=true',
-         'WITH_ZLIB=true',
-         ],
-     'php4-dba-*' =- [
-         'WITH_CDB=true',
-         'WITH_DB4=true',
-         'WITH_GDBM=true',
-         'WITH_INIFILE=true',
-         'WITH_FLATFILE=true',
-         ],
-     'php4-gd-*' =- [
-         'WITH_T1LIB=true',
-         'WITH_TRUETYPE=true',
-         'WITHOUT_JIS=true',
-         'WITH_LZW=true',
-         ],
-     'php4-mbstring-*' =- [
-         'WITH_REGEX=true',
-         ],
*End Quote***

I also wonder why the Makefile, by default, uses the --disable-all option in
the Makefile with no option to remove it.

I would be interested in what others have to say and would like to place

[PHP] Re: PHP on FreeBSD - Compiler Bugs and Option selection

2005-09-10 Thread Vizion
On Saturday 10 September 2005 12:53,  the author Vizion contributed to the 
dialogue on-
 Re: PHP on FreeBSD - Compiler Bugs and Option selection: 

On Saturday 10 September 2005 12:49,  the author Vizion contributed to the
dialogue on-

 PHP on FreeBSD - Compiler Bugs and Option selection:
Hi ale

I just wanted to check you had received OK the two compiler errors that I
reported for /usr/ports/lang/php5-extensions.

The first error was apparently caused by make expecting  libmagic in an
incorrect path for FreeBSD 5.3. Once a copy was placed in the correct path
compilation resumed.

I meant to say that full credit should be given to
Kris Kennaway [EMAIL PROTECTED] who made the suggestion to
copy /usr/src/contrib/file/magic.h to
/usr/include/magic.h
and see if it works. Which it did.

The second error seems also to be caused by an inability to find requisite
files for wddx.
ext/xml/expat_compat.h
ext/xml/php

As a result of compiling php5 I began to wonder whether it  would be
 helpful to users if :
drwxr-xr-x  3 root  wheel 512 May  2 07:06 php5-cli
drwxr-xr-x  3 root  wheel 512 Sep  9 18:00 php5-extensions
drwxr-xr-x  3 root  wheel 512 May 28 10:06 php_doc
were more integrated as choices within make for php5.

I would personally find it helpful if all the build options for php could
 be in an editable file for sysadmins to define a repeatable unattended
 build from all available build options. A closer integration of the
 subsidiary php5 ports into the php5 make would facilitate this process.

I do not not how welcome these proposals might be or how easy it would be
 to make the changes but would be interested to know what others think.

Norberto Meijome [EMAIL PROTECTED] made a very interesting suggestion
 that he uses on his servers to achieve the above goal. He
uses /usr/local/etc/pkgtools.conf for that purpose but my preference would
 be to have a method that is particular to php and does not lead to an
overloading of /usr/local/etc/pkgtools.conf.

I have copied Norbeto's example below:
** Quote***
-if you want to avoid having to choose by hand what you really
-want( or have it preconfigured so all you have to do is press OK, then
-use something like /usr/local/etc/pkgtools.conf which will be read by
-portinstall (sysutils/port-maintenance-tools/)
-my relevant sections for my servers are:
-

-     'php4-*' =- [
-         'WITH_APACHE2=true',
-         'WITHOUT_DEBUG=true',
-         'WITH_BCMATH=true',
-         'WITH_BZ2=true',
-         'WITHOUT_CALENDAR=true',
-         'WITH_CRACK=true',
-         'WITH_CTYPE=true',
-         'WITHOUT_CURL=true',
-         'WITH_DBA=true',
-         'WITHOUT_DBASE=true',
-         'WITHOUT_DBX=true',
-         'WITHOUT_DIO=true',
-         'WITHOUT_DOMXML=true',
-         'WITHOUT_EXIF=true',
-         'WITHOUT_FILEINFO=true',
-         'WITHOUT_FILEPRO=true',
-         'WITHOUT_FRIBIDI=true',
-         'WITH_FTP=true',
-         'WITH_GD=true',
-         'WITHOUT_GETTEXT=true',
-         'WITHOUT_GMP=true',
-         'WITHOUT_ICONV=true',
-         'WITHOUT_IMAGICK=true',
-         'WITHOUT_IMAP=true',
-         'WITHOUT_INTERBASE=true',
-         'WITHOUT_LDAP=true',
-         'WITH_MBSTRING=true',
-         'WITHOUT_MCAL=true',
-         'WITH_MCRYPT=true',
-         'WITHOUT_MCVE=true',
-         'WITH_MHASH=true',
-         'WITHOUT_MING=true',
-         'WITHOUT_MNOGOSEARCH=true',
-         'WITHOUT_MSSQL=true',
-         'WITH_MYSQL=true',
-         'WITHOUT_NCURSES=true',
-         'WITHOUT_ODBC=true',
-         'WITHOUT_OPENSSL=true',
-         'WITHOUT_ORACLE=true',
-         'WITH_OVERLOAD=true',
-         'WITHOUT_PANDA=true',
-         'WITHOUT_PCNTL=true',
-         'WITH_PCRE=true',
-         'WITHOUT_PDF=true',
-         'WITHOUT_PGSQL=true',
-         'WITH_POSIX=true',
-         'WITHOUT_PSPELL=true',
-         'WITHOUT_READLINE=true',
-         'WITHOUT_RECODE=true',
-         'WITH_SESSION=true',
-         'WITH_SHMOP=true',
-         'WITHOUT_SNMP=true',
-         'WITHOUT_SOCKETS=true',
-         'WITHOUT_SYBASE_CT=true',
-         'WITH_SYSVMSG=true',
-         'WITH_SYSVSEM=true',
-         'WITH_SYSVSHM=true',
-         'WITH_TOKENIZER=true',
-         'WITHOUT_WDDX=true',
-         'WITH_XML=true',
-         'WITHOUT_XMLRPC=true',
-         'WITH_XSLT=true',
-         'WITHOUT_YAZ=true',
-         'WITHOUT_YP=true',
-         'WITH_ZIP=true',
-         'WITH_ZLIB=true',
-         ],
-     'php4-dba-*' =- [
-         'WITH_CDB=true',
-         'WITH_DB4=true',
-         'WITH_GDBM=true',
-         'WITH_INIFILE=true',
-         'WITH_FLATFILE=true',
-         ],
-     'php4-gd-*' =- [
-         'WITH_T1LIB=true',
-         'WITH_TRUETYPE=true',
-         'WITHOUT_JIS=true',
-         'WITH_LZW=true',
-         ],
-     'php4-mbstring-*' =- [
-         'WITH_REGEX=true',
-         ],
*End Quote***

I also wonder why the Makefile, by default

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-09 Thread Vizion
On Friday 09 September 2005 16:25,  the author Vinayakam Murugan contributed 
to the dialogue on-
 [PHP] Books / tutorials on Object Oriented Programming with PHP: 

Hi

I am learning about Object Oriented Programming with PHP. Can you suggest
any good books / tutorials?
PHP  MySQL web development by Luke Welling and Laura Thomson is good if you 
are web oriented in yr development objectives

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
Hi

Background:
I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my 
Freebsd 5.3. servers. I propose to  run a forum (currently investigating 
phpbb but would like to consider others) and am also looking  for suitable 
blog and wiki applications. I am more of a system administrator than a 
programmer although I do have considerable experience of some programming 
languages.

Questions:
1.
As I am new to php I would appreciated if someone could help me locate a 
tutorial which not only describes what is in the configuration files (which 
the distributed configuration files do quite well) but also, some 
explanations that might be understood by a php neophyte, plus guidance and 
detailed examples on one might choose on option over another in different 
circumstances. For those who are not familiar with php the configuration 
files can appear daunting. 

2.
Recomendations for forum, wiki and blog modules.

Thanks
david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
On Thursday 08 September 2005 08:34,  the author Vizion contributed to the 
dialogue on-
 [PHP] php.ini and php.config Tutorial?: 

Hi

Background:
I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my
Freebsd 5.3. servers. I propose to  run a forum (currently investigating
phpbb but would like to consider others) and am also looking  for suitable
blog and wiki applications. I am more of a system administrator than a
programmer although I do have considerable experience of some programming
languages.

Questions:
1.
As I am new to php I would appreciated if someone could help me locate a
tutorial which not only describes what is in the configuration files (which
the distributed configuration files do quite well) but also, some
explanations that might be understood by a php neophyte, plus guidance and
detailed examples on one might choose on option over another in different
circumstances. For those who are not familiar with php the configuration
files can appear daunting.

Added note of explanation -- my first build of php did not fare well -- I was 
not able to run php test scripts located in virtual host directories. Somehow 
I also finished up with a debug build rather than a production build - so I 
am going to start again from scratch!
2.
Recomendations for forum, wiki and blog modules.


Thanks
david
--
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
 Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama
 Canal after completing engineroom refit.

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
On Thursday 08 September 2005 09:49,  the author Rory Browne contributed to 
the dialogue on-
 Re: [PHP] php.ini and php.config Tutorial?: 

Hi David

I know that quite a lot of online docs can be daunting for new users,
but you should not underestimate the quality of the php documentation.


Sure -- I did look at those - my feeling is that they are high on providing 
the facts but low on providing meaning, context and interpretation.

Mathematically it is easy to understand x+y=z but if you do not know or cannot 
know the value attributable to x or y or z the formula is *** useless. In 
my view one needs to distinquish between documentation (which records what 
something does in technical terms) and the qualities of a manual which 
explains which might refer to the documentation as it seeks to explain how 
and why one should choose to apply the options defined in the documentation.

The php.net references  the general documentation stanfard is superb but I 
found it to be somewhat lacking in its ability to meet the expectations of a 
manual. However, unless I missed a salient link, I did not find the brief 
section on installation and configuration very useful.

Incidentally the book by Luke Welling  Laura Thomson, PHP and MySQL web 
Development seemed to promisong in fulfilling the manual role for programming 
PHP. I was however disappointed because but  the general standard throughout 
the book does not seem to have been carried through to the Appendix on 
installation and configuration. It does not go into detail in regard to 
configuration options.

I have written to the authors in the hope they might give consider devoting a 
full chapter to that topic in their next edition.

Do you happen to have any other suggestions?

Thanks

david

On 9/8/05, Vizion [EMAIL PROTECTED] wrote:
 Hi

 Background:
 I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my
 Freebsd 5.3. servers. I propose to  run a forum (currently investigating
 phpbb but would like to consider others) and am also looking  for suitable
 blog and wiki applications. I am more of a system administrator than a
 programmer although I do have considerable experience of some programming
 languages.

 Questions:
 1.
 As I am new to php I would appreciated if someone could help me locate a
 tutorial which not only describes what is in the configuration files
 (which the distributed configuration files do quite well) but also, some
 explanations that might be understood by a php neophyte, plus guidance and
 detailed examples on one might choose on option over another in different
 circumstances. For those who are not familiar with php the configuration
 files can appear daunting.

http://www.php.net/manual/en/configuration.php

 2.
 Recomendations for forum, wiki and blog modules.

www.hotscripts.com

 Thanks
 david
 --
 40 yrs navigating and computing in blue waters.
 English Owner  Captain of British Registered 60' bluewater Ketch S/V
 Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama
 Canal after completing engineroom refit.

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
On Thursday 08 September 2005 12:36,  the author Raj Shekhar contributed to 
the dialogue on-
 [PHP] Re: php.ini and php.config Tutorial?: 

in infinite wisdom Vizion spoke thus  On 09/08/2005 09:04 PM:
 Questions:
 1.
 As I am new to php I would appreciated if someone could help me locate a
 tutorial which not only describes what is in the configuration files
 (which the distributed configuration files do quite well) but also, some
 explanations that might be understood by a php neophyte, plus guidance and
 detailed examples on one might choose on option over another in different
 circumstances. For those who are not familiar with php the configuration
 files can appear daunting.

If you check the php.ini file that comes with the php source code, you
will find it to be heavily commented.   If you get stuck on some ini
setting, you can always double check it with the php manual

As I said in another postiing :
Sure -- I did look at those - my feeling is that they are high on providing 
the facts but low on providing meaning, context and interpretation.

Mathematically it is easy to understand x+y=z but if you do not know or cannot 
know the value attributable to x or y or z the formula is *** useless. In 
my view one needs to distinquish between documentation (which records what 
something does in technical terms) and the qualities of a manual which 
explains which might refer to the documentation as it seeks to explain how 
and why one should choose to apply the options defined in the documentation.

The php.net references  the general documentation stanfard is superb but I 
found it to be somewhat lacking in its ability to meet the expectations of a 
manual. However, unless I missed a salient link, I did not find the brief 
section on installation and configuration very useful.

Incidentally the book by Luke Welling  Laura Thomson, PHP and MySQL web 
Development seemed to promisong in fulfilling the manual role for programming 
PHP. I was however disappointed because but  the general standard throughout 
the book does not seem to have been carried through to the Appendix on 
installation and configuration. It does not go into detail in regard to 
configuration options.

I have written to the authors in the hope they might give consider devoting a 
full chapter to that topic in their next edition.

Do you happen to have any other suggestions?

 2.
 Recomendations for forum, wiki and blog modules.

Wiki - PmWiki http://rajshekhar.net/content/view/24/26/
Blog - s9y

--
Raj Shekhar
blog : http://rajshekhar.net/blog  home : http://rajshekhar.net

Thanks very much for yr help

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php