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
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
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
;
);' /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
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
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
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
.
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
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
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
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
);
$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
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
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
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
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
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
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
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
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
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
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
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
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
.
--
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
[] 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
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
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
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
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
://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
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
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
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
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
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
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
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
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
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
. 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
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
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
.
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
://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
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
happen);
}
?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
.
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
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
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
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
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
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
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
:'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
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
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
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
:
$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
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
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
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
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
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
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
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
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
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
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
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
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
. 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
);
--
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
'$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
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
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
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
. 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
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
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
, 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
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
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
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
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
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
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
, 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
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
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
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
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
/function.get-included-files.php
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$a-getProperty('Data')-getValue(null);
?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
601 - 700 of 1436 matches
Mail list logo