Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Greg Donald
if in the end you give up and cannot figure it out. Make them document the process as part of the deal. Thanks for your responses. Wish me luck. Good luck. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Frameworks

2004-12-22 Thread Greg Donald
time. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking Original URL

2004-12-22 Thread Greg Donald
variable that I can use? I haven't exhausted all of my searching, but figured a question here would save me some time! I'll keep searching in the meantime! You might try limiting access by host instead. There's lots of host and server info you can work with, look at print_r( $GLOBALS ); -- Greg

Re: [PHP] Calling php from cron

2004-12-22 Thread Greg Donald
; );' /dev/null 21 There's also wget, curl, etc.. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Manual

2004-12-22 Thread Greg Donald
http://www.php.net/manual/en/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] can I compile php source

2004-12-21 Thread Greg Donald
when someone has a God complex I always thought that was a basic requirement for being a programmer.. *shrug* -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] mysql sessions vs flat file?

2004-12-17 Thread Greg Donald
to session_set_save_handler(). And a good chunck of the code is already written in the example at http://www.php.net/session_set_save_handler. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Good and free encoder for PHP5

2004-12-16 Thread Greg Donald
. I never said anything of the sort. What I am trying to tell you is that you need to use your brain Yeah, I probably never use my brain, thanks for that. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] GD, problem adding text to GIF images

2004-12-16 Thread Greg Donald
are 8bit, 256 colors. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't install PHP 5.02 with Apache2

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 11:21:42 -0500, Don [EMAIL PROTECTED] wrote: and am getting a compile error: apxs was not found. There is no file: /usr/sbin/apxs Mine is /usr/sbin/apxs2 -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List

Re: [PHP] UPDATE

2004-12-15 Thread Greg Donald
it with backtics. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] finding out the age from a birthdate

2004-12-15 Thread Greg Donald
); $age = date( 'Y-m-d' ) - $b; return ( date( 'nd' ) $a[ 1 ].str_pad( $a[ 2 ], 2, '0', STR_PAD_LEFT ) ) ? $age -= 1 : $age; } echo getAge( $birthday ); -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

[PHP] PHP Security Advisory

2004-12-15 Thread Greg Donald
http://www.hardened-php.net/advisories/012004.txt -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] logic with arrays

2004-12-15 Thread Greg Donald
or is there a simpler way of doing it? Thanks Hierarchical menus made easy: http://www.sitepoint.com/article/hierarchical-data-database -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Good and free encoder for PHP5

2004-12-15 Thread Greg Donald
just to play Afterlife. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hostname

2004-12-15 Thread Greg Donald
of the super global variables. Is there one? How can you get the server/machine name? $_SERVER['HOSTNAME'] -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Parsing php in html with IIS

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 15:02:08 -0700, Eric Lindsey [EMAIL PROTECTED] wrote: How do I configure my IIS server to parse a specific .html file for php code? I know how to do this on apache, but windows scares me :-) http://www.php.net/manual/en/install.windows.iis.php -- Greg Donald

Re: [PHP] Re: Good and free encoder for PHP5

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 20:12:54 -0200, Manuel Lemos [EMAIL PROTECTED] wrote: Software it is not like people, it does not stop working with age. I have all kinds of old software that doesn't work anymore. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] bandwidth usage

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 15:07:00 -0500, Sebastian [EMAIL PROTECTED] wrote: was wondering if anyone knows of a php app that parses netstats on freebsd to display live bandwidth usage? cd /usr/ports/net-mgmt/mrtg make install clean It's not PHP, but there's no wheel reinventing required. -- Greg

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-15 Thread Greg Donald
with this, kindly enlighten me. In my experience, people aren't going to pay unless they have to. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and flash

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 18:40:17 -0800, Dustin Krysak [EMAIL PROTECTED] wrote: displaying info from a database in the flash movie If you mean like graphs.. http://www.infosoftglobal.com/FusionCharts/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] CGI vs Apache module

2004-12-14 Thread Greg Donald
the CGI version, which seems to run, but Apache (2.0) doesn't recognize it. phpinfo() still reports 4.3.2. Did you restart Apache? Any ideas accepted on making 4.3.9 the default version! What was your ./configure command? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] PHP cross platform IDE

2004-12-14 Thread Greg Donald
On Tue, 14 Dec 2004 22:17:57 +0100, Daniel Schierbeck [EMAIL PROTECTED] wrote: And hey, Eclipse is free! So is vim. PHP explodes right on the screen for me, an IDE is so not required. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] Re: getimagesize() for image resources

2004-12-13 Thread Greg Donald
On Mon, 13 Dec 2004 23:17:22 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: imagesx() and imagesy() I knew there had to be a way. Thanks so much. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Greg Donald
. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session newbyness...

2004-12-13 Thread Greg Donald
[] variables is loaded... Everything right? Yup. There are ways to encrypt you PHP sessions if you need such functionality. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] getimagesize() for image resources

2004-12-13 Thread Greg Donald
the file to disk, then acquire the info.. that's the step I'm trying to avoid if possible. TIA.. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Data Access Object (DAO) with PHP

2004-12-11 Thread Greg Beaver
Adwin Wijaya wrote: Hi, Is there any mature DAO class for PHP (free) ? http://pear.php.net/DB_DataObject Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing a return character

2004-12-10 Thread Greg Donald
anyone know how I can remove such chracters? You can use one of the string replacement functions, eregi_replace() for example. If you're sure it's a return character then \r is what you want to replace, or it might possibly be \r\n. -- Greg Donald Zend Certified Engineer http://gdconsultants.com

Re: [PHP] Launch windows application and fle

2004-12-10 Thread Greg Donald
the application. I would detect and send over the correct file type header(), then pass the file with readfile(). -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Greg Donald
://www.geocities.com/tablizer/oopbad.htm [1] ma·lar·key also ma·lar·ky Audio pronunciation of malarkey ( P ) Pronunciation Key (m-lärk) n. Slang Exaggerated or foolish talk, usually intended to deceive: snookered by a lot of malarkey (New Republic). -- Greg Donald Zend Certified Engineer http

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Greg Donald
the project goes down the drain. If your boss switches databases at the end of the project then he's an idiot and it should be his problem, not yours. There are a number of database abstration layers out there btw :) We use ADOdb. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Greg Donald
it. No OO in the kernel was the verdict many times over: http://marc.theaimsgroup.com/?l=linux-kernel -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] allow_url_fopen ini directive not enough

2004-12-10 Thread Greg Donald
app cracker but I'm paranoid as they get when it comes to security. Find yourself some security conscious friends. Hang out. Learn. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] full http request

2004-12-10 Thread Greg Donald
On Fri, 10 Dec 2004 11:57:23 +0100, Mirek Novak [EMAIL PROTECTED] wrote: is it possible to see full http request as it has arrived on server? I mean including all headers and etc. I use Ethereal: http://www.ethereal.com/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Re: PHP Security

2004-12-10 Thread Greg Donald
is just a low level database. I make these sort of choices by benchmark whenever possible: http://www.zend.com/zend/trick/tricks-sept-2001.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Greg Beaver
Greg Donald wrote: with it, but I will go grab a PEAR module if it fits my needs. Code re-use may be the only redeeming quality of OO programming, and honestly I can re-use your code from a non-OO include file just as easily. yep, unless the function names happen to conflict with ones you've

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Greg Donald
On Fri, 10 Dec 2004 17:17:53 -0500, Greg Beaver [EMAIL PROTECTED] wrote: yep, unless the function names happen to conflict with ones you've already written. for file in *.php; do cp $file $file.tmp sed -e s/bad/good/g $file.tmp $file rm $file.tmp done -- Greg Donald Zend Certified Engineer

Re: Re: [PHP] Close all open tags in HTML text

2004-12-10 Thread Greg Donald
easily left the anchor tags in but removed everything else. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Security

2004-12-08 Thread Greg Donald
On Wed, 8 Dec 2004 08:42:50 -0500, Joshua Beall [EMAIL PROTECTED] wrote: Can you also provide a link to the relevant message in the mailing list archive? I would like to read this myself. http://seclists.org/lists/security-basics/2004/Dec/0080.html -- Greg Donald Zend Certified Engineer

Re: [PHP] Installing Apache and PHP from scratch

2004-12-08 Thread Greg Donald
. Is there a command similar to the phpinfo() command that can tell me how an already installed Apache in configured? For apache 1.x, I'd use: ./configure --with-layout=RedHat --enable-module=so -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing

Re: [PHP] session question

2004-12-07 Thread Greg Donald
sessions are pretty nice too. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Security

2004-12-07 Thread Greg Donald
winning move is to not play. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with do..while

2004-12-06 Thread Greg Donald
. http://pear.php.net/package-search.php?pkg_name=page -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with code

2004-12-06 Thread Greg Donald
://pear.php.net/package-search.php?pkg_name=page -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Greg Donald
numbers, but the first character after the $ must not be one. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please save me from insanity - PHP4 / OO

2004-12-05 Thread Greg Beaver
happen); } ? Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please save me from insanity - PHP4 / OO

2004-12-05 Thread Greg Beaver
Ben wrote: Thanks a lot for your responses guys. Unfortunately it still isn't working for me. I've tried both : $ob-prop = $this and$ob-prop = $this (just in case) Neither produce a PHP is OK. I'm using version 4.2.2 btw. (If ONLY I was on 5) Thanks again, Ben Greg wrote: class Test

[PHP] Re: Please save me from insanity - PHP4 / OO

2004-12-05 Thread Greg Beaver
Ben wrote: class Ob { var $prop; } class Test { function setMe($ob) { $ob-prop = $this; } } $ob = new Ob(); $test = new Test(); $test-setMe($ob); if ($ob-prop) error_log(PHP is OK); You should use if (is_a($ob-prop, 'test')) Greg -- PHP General Mailing List (http://www.php.net

Re: [PHP] Stupid question

2004-12-04 Thread Greg Donald
connections, you should restart mysqld with a larger value for this variable. You can increase this value in the MySQL server config file (mine is in /etc/mysql/my.cnf) using this syntax: [mysqld] set-variable = max_connections=200 -- Greg Donald Zend Certified Engineer http://gdconsultants.com

Re: [PHP] Remember me function

2004-12-03 Thread Greg Donald
for it later. If it exists, bypass the login and grant a session or whatever you're doing now for logged-in users. You might also want to set a session variable that the cookie has been 'looked for' so it doesn't relog them in on each page request. php.net/setcookie -- Greg Donald Zend Certified

Re: [PHP] SQL sums

2004-12-03 Thread Greg Donald
. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any one have idea about plankton/

2004-12-03 Thread Greg Donald
or not? I've never tried that particular framework, but I have used Mojavi for several months now and can say it's very useful: mojavi.org I tried Binarycloud for a couple weeks but didn't like it much, I didn't really need a 'build system'. -- Greg Donald Zend Certified Engineer http

Re: [PHP] database query problem

2004-12-03 Thread Greg Donald
On Fri, 3 Dec 2004 19:47:27 +0200, Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote: when there is no records in the dataabse i get mysql error. So wrap your while( mysql_fetch_array() ) with if( mysql_num_rows() ). -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Remember me function

2004-12-03 Thread Greg Donald
can use encrypted and compressed PHP sessions, and store them in the database instead of on the filesystem. I use ADOdb which provides all of that. adodb.sf.net -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Custom Open Tags

2004-12-03 Thread Greg Donald
T_OPEN_TAG; } My vanilla ./configure ends with no errors, but when I compile it it dies with: sapi/cgi/cgi_main.o(.text+0x1499): In function `main': /home/greg/php-5.0.2/sapi/cgi/cgi_main.c:1580: undefined reference to `open_file_for_scanning' sapi/cgi/cgi_main.o(.text+0x150b):/home/greg/php-5.0.2/sapi

Re: [PHP] PHP upgrade

2004-12-03 Thread Greg Donald
On Fri, 3 Dec 2004 15:56:26 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: How to upgrade PHP 4.3.2 to new version? OS is Linux(Fedora Core 2). http://www.php.net/manual/en/install.unix.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] Plz help me

2004-12-03 Thread Greg Donald
should I approach to achieve this one. I'd use HTML. http://w3c.org/MarkUp/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exec() command on UNIX

2004-12-01 Thread Greg Donald
:'password' but when I tried running exec() command on PHP, I couldn't do that exec(su root); I can't sent a password thru the exec() command, any way to do that? You might want to look at sudo, you can provide temporary root access with no password. -- Greg Donald Zend Certified Engineer

Re: [PHP] Referencing Multi Dimensional Arrays

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 17:14:56 -, Robinson, Matthew [EMAIL PROTECTED] wrote: I've kind of solved this question already using recursion but I recon (in the grand tradition) that someone has a better solution! Recursion and is_array() is the way I'd parse through it. -- Greg Donald

Re: [PHP] Errors

2004-12-01 Thread Greg Donald
I have searched on the php site and have had no luck. WHAT IN THE HECK IS A T_ error. I get T_Else, T_Variable, T_what ever. What does it mean Very frustrated old man. Where's the code? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] Errors

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 11:51:33 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: That's Geek for you typed something so wrong, I don't even know what you're trying to do Man.. they let just about anyone post to php-general lately. :) How you doing Richard? -- Greg Donald Zend Certified

Re: [PHP] uploading 'large' files (e.g. 6MB) - tmp_name is empty?..

2004-12-01 Thread Greg Donald
: $submitError = true; $uploadError = 'No file was uploadedbr /'; } -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Custom Open Tags

2004-12-01 Thread Greg Donald
source great? :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Custom Open Tags

2004-12-01 Thread Greg Donald
You could always patch zend_language_scanner.c and add your own custom tags. Isn't open source great? :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Sessions

2004-12-01 Thread Greg Donald
and I would like to be able to control it. ini_set( 'session.gc_maxlifetime', 3600 ); http://us2.php.net/manual/en/ref.session.php#ini.session.gc-maxlifetime -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Go Back Problem

2004-12-01 Thread Greg Donald
and correct it, I have used the javascript : OnClick='history.go(-1)' and OnClick='history.back()' in php , but it can not workspls help me. The only way I've ever found was to change the form method to GET instead of POST, but that's not always desirable. -- Greg Donald Zend Certified

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 17:57:28 -0700, news.php.net [EMAIL PROTECTED] wrote: Anyone else doing or done something like this? I use sudo when my web server needs temporary elevated permissions. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] Organisation of classes

2004-12-01 Thread Greg Donald
On Wed, 01 Dec 2004 21:59:25 -0500, Robert Cummings [EMAIL PROTECTED] wrote: PHP is plenty well developed, but PHP != Java and nor would most want it to be. Java *ACK PTHEEWY*. I see alot of Java influence in PHP5 myself. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Organisation of classes

2004-12-01 Thread Greg Donald
miss Java, check out Mojavi.org. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Organisation of classes

2004-12-01 Thread Greg Donald
On Wed, 01 Dec 2004 22:41:14 -0500, Robert Cummings [EMAIL PROTECTED] wrote: I thought it was Smalltalk. But then I prefer PHP for it's similarities to C even if I do write 99% of my code into classes. Could be.. I never wrote any Smalltalk so I wouldn't know. -- Greg Donald Zend Certified

Re: [PHP] Question: Search from , text fields

2004-11-30 Thread Greg Donald
AND ( $OR ) ; All untested of course. Alright I await the wisdom of PHP-General :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagesx(): supplied argument is not a valid Image resource (CODE)

2004-11-30 Thread Greg Donald
On Tue, 30 Nov 2004 14:43:51 -0500, Robert Sossomon [EMAIL PROTECTED] wrote: Fatal error: Call to undefined function: imagesx() in c:\fourh\spotlight3.php on line 31 Do print_r( gd_info() ); to see if your PHP has support for working with images. -- Greg Donald Zend Certified Engineer http

Re: [PHP] My session.c doesnt work!

2004-11-30 Thread Greg Donald
for database driven PHP sessions. You may want to see how they do it in PHP. adodb.sf.net -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using PHP to change Linux IP address

2004-11-30 Thread Greg Donald
On Tue, 30 Nov 2004 16:50:27 -0500, John Nichel [EMAIL PROTECTED] wrote: PHP (the webserver) would have to have permission to edit the ifcfg-eth0 (eth1, eth2, etc) file, and have permission to restart the network. sudo would probably help with the permissions requirements. -- Greg Donald

Re: [PHP] Spawning new pages

2004-11-30 Thread Greg Donald
. PHP's execution begins and ends server side. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regex issue

2004-11-30 Thread Greg Donald
); -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SELECT problem..Need urgent help !!!!

2004-11-29 Thread Greg Donald
'$ex_array' ; $sql = SELECT product_id FROM products WHERE product_id NOT IN ( . implode( ', ', $ex_array ) . ) ; This question would be more appropriate for the php-db list. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] Is this a bug in PHP 4.3.4?

2004-11-29 Thread Greg Donald
works fine with PHP 5 (fortunately) under Windows, but it doesn't work with PHP 4.3.4 under Linux. I think I need to upgrade php under Linux also... I would defiantly upgrade. Hundreds of bugs have been fixed from 4.3.4 - 4.3.9. http://www.php.net/ChangeLog-4.php -- Greg Donald Zend

Re: [PHP] Is this a bug in PHP 4.3.4?

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 10:28:57 -0600, Greg Donald [EMAIL PROTECTED] wrote: I would defiantly upgrade. Definitely too. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 17:11:47 -, Ross Hulford [EMAIL PROTECTED] wrote: I have a porblem with undefined variables on loacalhost. Any ideas why? I have turned registed variables on. Where's the code? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Line breaks in form

2004-11-29 Thread Greg Donald
. Is there a way to do this easily? Any advice would be greatly appreciated. explode() the text by the \n character, this will give you an array. Iterate over the array and add your p tags there. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] [Off] - A way for PHP sites to get extreme Google rankings

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 11:20:21 -0800, Brian Dunning [EMAIL PROTECTED] wrote: It's all about backlinks generated from this free ad network: In other news, scientists discovered wheels are indeed round. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] [SPAM] RE: [PHP] [Off] - A way for PHP sites to get extreme Google rankings

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 12:57:43 -0800, Brian Dunning [EMAIL PROTECTED] wrote: Well, you're entitled to your opinion, of course; but (a) I clearly put [Off] in the subject Next time try the standard [OT] label instead. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] PHP log 2 Apache log

2004-11-29 Thread Greg Donald
, but a such setup doesn't fit to virtual host scenario... Thanks for your advice and excuse me, If i missed something trivial. You can override much of the php.ini with ini_set(). http://www.php.net/manual/en/ref.errorfunc.php#ini.error-log -- Greg Donald Zend Certified Engineer http://gdconsultants.com

Re: [PHP] apache2 php stability

2004-11-29 Thread Greg Donald
curious is all. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache2 php stability

2004-11-29 Thread Greg Donald
but peeps were having lots of glibc issues at the time. :( I'm using 2.6 in a couple places, desktops and dev servers, but have not tried NPTL yet. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] identifying the country of the people who connect to web site / portal

2004-11-28 Thread Greg Donald
doen anything like that using php? You can use geoip: http://sourceforge.net/projects/geoip/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird sessions problem

2004-11-28 Thread Greg Donald
think it is? print_r() before the return. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] buffer

2004-11-28 Thread Greg Donald
off the buffer basicly* You can control PHP's output buffering. http://us2.php.net/manual/en/ref.outcontrol.php#ini.output-buffering You cannot control the web client's display buffering with PHP. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] Getting static member for a class which name is stored

2004-11-28 Thread Greg Beaver
function to provide access to our static variables! :) How about: ?php class Myclass { public static $myvar = easy enough; } echo Myclass::$myvar; ? The only problem is if you want to be able to generically access a static variable from any class that has it, like $Myclass::$myvar. Greg

[PHP] Re: Overriding static members?

2004-11-28 Thread Greg Beaver
, you can override them. Override is misleading. Since they can only be access by Classname::$var, unless you use Reflection, code designed to work with the parent class can't access the child class's static variables. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: php 4 to 5

2004-11-28 Thread Greg Beaver
code, I would wait a year or two to upgrade. Otherwise, what are you waiting for? :) Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: [firebird-php] auto increment last insert

2004-11-25 Thread Greg Donald
On Thu, 25 Nov 2004 11:43:56 +0600, Raditha Dissanayake [EMAIL PROTECTED] wrote: hey greg, don't jump on me, i was trying to say the same thing you are saying perhaps i should have worded it better :-)) Sorry if I offended you. -- Greg Donald Zend Certified Engineer http://gdconsultants.com

Re: [PHP] Happy Thanksgiving

2004-11-25 Thread Greg Donald
On Thu, 25 Nov 2004 04:25:10 -0500, John Nichel [EMAIL PROTECTED] wrote: Happy Turkey Day ladies and gents. Same to you. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] What else can cause unexpected T_SL error other than heredoc?

2004-11-25 Thread Greg Donald
wrote. Are you using any sort of PHP cache by chance? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: intalling pear:db

2004-11-25 Thread Greg Beaver
/function.get-included-files.php Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Getting static member for a class which name is stored in a variable

2004-11-25 Thread Greg Beaver
$a-getProperty('Data')-getValue(null); ? Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text Parser

2004-11-24 Thread Greg Donald
be inserted after the first word, and before the last one. implode() php.net/implode -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: intalling pear:db

2004-11-24 Thread Greg Beaver
Merlin wrote: Hi there, I am trying to get a class running which requires pear:DB. I downloaded the package and executed: # pear install DB-1.6.8.tgz DB already installed pear upgrade DB-1.6.8.tgz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    2   3   4   5   6   7   8   9   10   11   >