On Sat, Dec 27, 2008 at 12:08 AM, Robert Cummings wrote:
> On Fri, 2008-12-26 at 22:02 -0800, Kenton P. Kammer wrote:
> > I'm trying to make something to redirect people to my home page if they
> some how access my include pages. For example, I have a generic copyright
> .htm with links in it tha
Hi Larry,
You're absolutely right, I'm talking about constants rather than variables.
I guess in my very crude way, I'm trying to ask about the following:
UserA goes to the site via index.php, which defines several helpful
constants.
So do UserB through UserF.
UserG, however, first arrives at
On Fri, 2008-12-26 at 22:02 -0800, Kenton P. Kammer wrote:
> I'm trying to make something to redirect people to my home page if they some
> how access my include pages. For example, I have a generic copyright .htm
> with links in it that I add to all my pages with the include(). Problem is
> w
On Friday 26 December 2008 11:06:07 pm Nathan Nobbe wrote:
> to summarize, using your example above, i would most liely add doThings()
> to Baz, or create another decoration interface for doThings() if you plan
> on using the Bar implementation of doThings() in many places,
>
> interface G {
> f
On Friday 26 December 2008 11:54:30 pm Murray wrote:
> Hi All,
>
> In the index.php file of my application I define several variables,
> including such things as the base path of the app, and the theme path etc.
>
> Since I use 'define()' to do this, are these variables available to my app
> regard
Some people will be happy with just a corny 1 liner, other's you'll need
to invite to dinner, and promise a romantic evening, and show how
masculine/feminine you are.
But I doubt you'll be able to get that many dates, unless it's a single
site most will probably already be in a relationship, or
I'm trying to make something to redirect people to my home page if they some
how access my include pages. For example, I have a generic copyright .htm with
links in it that I add to all my pages with the include(). Problem is when I'm
trying to make it the uri is always where it is in the incl
Hi All,
In the index.php file of my application I define several variables,
including such things as the base path of the app, and the theme path etc.
Since I use 'define()' to do this, are these variables available to my app
regardless of where a particular user enters the app?
So, in starting
Thanks John and Mattias,
It looks like your advice has helped me achieve my goal.
Thanks again!
M is for Murray
On Sat, Dec 27, 2008 at 2:05 PM, Mattias Thorslund wrote:
> As far as I recall, having done this, all that is required for a basic MDB2
> is the PEAR base class and the driver class
On Fri, Dec 26, 2008 at 6:53 PM, Larry Garfield wrote:
> Excuse me a moment while I delve into complex OO. :-)
>
> I have an object to which I want to add behavior (methods). I cannot use
> inheritance here because the object is already of a type or subtype (vis, I
> am
> already using inheritanc
As far as I recall, having done this, all that is required for a basic
MDB2 is the PEAR base class and the driver classes for the platforms you
want to support.
Murray wrote:
Hi All,
I'm wondering if it's possible or practical to implement MDB2 in my web
application, but without requiring a
Hi John,
Well, this is the thing -- I suspect there are dependencies, particularly on
the core PEAR files themselves. I'm just wondering if someone else has done
this and if it's too difficult to make the effort worthwhile.
The Wordpress project, for example, I think rebuilt an abstraction layer
Hi All,
I'm wondering if it's possible or practical to implement MDB2 in my web
application, but without requiring a PEAR installation on the destination
server?
Essentially, I'd like to include MDB2 entirely within my web application, so
I can make use of db abstraction even on servers where PEA
Excuse me a moment while I delve into complex OO. :-)
I have an object to which I want to add behavior (methods). I cannot use
inheritance here because the object is already of a type or subtype (vis, I am
already using inheritance for something else), and because I want to be able
to add mult
Hi all,
What is the best way to pick up all the members online on a website?
Regards,
Stephen
--
View this message in context:
http://www.nabble.com/Online-Members-tp21180855p21180855.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://
Jeff Weinberger wrote:
I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP,
but I may be doing something wrong with mod_suexec), so I hope this is
the right place to ask. I certainly appreciate any help anyone can offer!
I am trying to get a PHP script to read a file that's
I don't know if this is an Apache (httpd) or a PHP issue (I suspect
PHP, but I may be doing something wrong with mod_suexec), so I hope
this is the right place to ask. I certainly appreciate any help anyone
can offer!
I am trying to get a PHP script to read a file that's outside the
Docum
> Anders Norrbring wrote:
> On Wed, 2008-12-24 at 20:38 +0100, Anders Norrbring wrote:
> > Rounding an integer to the closest divisor by ten is easy with
> round() and a
> > negative precision, but I turn out to be lost if I want to round
> >> to
> >>> a
> given
> > numbe
18 matches
Mail list logo