Hey,
Does anyone know what is going wrong here:
phpize
autoconf: Undefined macros:
configure.in:43:AC_PROG_LIBTOOL
/usr/local/bin/phpize: libtoolize: command not found
There does not seem to be a libtoolize on my system? I also followed the INSTALL docs,
and read the online FAQ, unfortunatly I
On Thu, 8 Feb 2001 01:39:24 +0100
Christian wrote:
CR>
CR> You'll have to install some packages: libtool, autoconf and automake I'd
CR> say.
CR>
Hmm, libtool wasn't installed strange, thanks!
Also I got a few warnings during the compile is this normal?
-snip-
In file included from /usr/local
hey all,
Was just wondering how to do the following:
So how does one correctly assign a variable to a variable inside a class withot doing
something like:
var $bar = '';
$this->bar = $foo;
Any insight would be much appreciated.
Regards
Joseph
--
PHP General Mailing List (http://www.php.
On Mon, 12 Feb 2001 20:11:14 -0800
Joe wrote:
JC>
JC> I was curious too, so I looked it up. Seems you can't. From
JC> http://www.php.net/manual/en/language.oop.php
JC>
JC> "Note: In PHP 4, only constant initializers for var variables are
JC> allowed. Use constructors for non-constant initia
On Mon, 12 Feb 2001 23:44:08 -0500 (EST)
Sean wrote:
SC>
SC> That's how you have to do it.
SC>
SC>
SC> class MyClass {
SC> var $bar;
SC>
SC> // This is the class's constructor
SC> sub MyClass () {
SC> $this->bar = $foo;
SC> }
SC> }
I didn't think php had sub routi
On Mon, 12 Feb 2001 21:04:30 -0800
Joe wrote:
JC> Is this closer to what you were looking for?
JC> - Joe
JC>
JC>
JC> class Foo {
JC>
JC> var $bar;
JC>
JC> function mymethod(){
JC>
JC> global $foo;
JC> $this->bar = $foo;
JC>
JC> }
JC>
JC> }
JC>
JC> $foo = "hello world";
JC>
JC> e
Hey all,
I got a rather strange probelm with fast template, I won't go into great detail unless
someone has had a simular experience while using define_dynamic. Basically I have
written a site which totally uses Fast Templates and some sections use define_dynamic
which work perfectly, my probl
hey all,
I was wondering how one would suggest removing items from a cart system once the
session lifetime has expired. I have it set to the default 0, which expires the
session on browser close, what I want to be able to do is "delete * from Cart where
session='$PHPSESSID'" when the user clos
Thanks all,
This gives me a good start, I think I will just get cron to do it at a certain time of
day, the only problem is trying to tell which sessions have expired as the database is
not going to know this.
Regards
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
hey,
I have a strange problem, when a user inputs the quantity into a text input field in a
cart, I want to be able to test to see if the value is a integer if it isn't then
default it to 1
if ( !is_int($Qty) ) {
$Qty = 1;
}
Looks ok, should work in theory, but it doesn't if I use this test,
Hey all,
I am about to update one of our servers (i386) running RedHat-6.0 smp to:
Apache-1.3.17
MySQL-3.23.33
ModSSL-2.8.0-1.3.17
PHP-4.0.4pl1
ZendOptimizer-1.0.0-4.0.4
Does anyone know of any problems/incompatabilities between the above packages on the
above platform.
I am mainly doing this
On Fri, 16 Feb 2001 10:59:52 -0500
Michael wrote:
MK> 2 things...
MK>
MK> 1. I've had nothing but problems with mysql3.23. :( I had 3.22 up for months at
a stretch - I'm lucky to go more than a few weeks without a lockup on 3.23. BUT...
I've committed projects to
MK> the fulltext search fe
Hello,
Sorry if this is a little off topic but has anyone successfully used mod_dav with
dreamweaver 4.0, I have mod_dav setup but am having trouble connecting to it via
dreamweaver.
If anyone has successfully used this could they email me privately, as I don't want to
waste any more bandwidt
Hey all,
I am developming a site using FastTemplates, but I have run into a problem which it
looks like I will not be able to resolve, I have posted to this list and the makers of
FastTemplate but have recieved no clues on what is going on.
I have decided to try and find another template syste
On Thu, 1 Mar 2001 07:58:23 +0100
Alexander wrote:
AW> If you want something faster, try Smarty.
Thanks, Smarty looks like it will do the trick and has some really neat features, like
being able to nest dynamic blocks, I think this was my problem with FastTemplate.
Regards,
Joseph
--
PHP Ge
G'day PHP'ers
I am trying highlight the results from a search, so far I have this working but only
if the string is an exact match ie: case sensitive, for example:
" . $val . "";
$replaced = ereg_replace($val, $hilite, $data);
}
echo $replaced;
?>
Now as metioned this seems to work only for "
16 matches
Mail list logo