On 23 March 2010 16:39, Robert P. J. Day wrote:
> On Tue, 23 Mar 2010, Richard Quadling wrote:
>
>> However you want to identify the location, the autoloading techniques
>> will allow you to only need to identify the location once. As compared
>> to every file meticulously maintaining relative lin
On Tue, 23 Mar 2010, Richard Quadling wrote:
> However you want to identify the location, the autoloading techniques
> will allow you to only need to identify the location once. As compared
> to every file meticulously maintaining relative links to files.
>
> So, for testing, would this not work?
On 23 March 2010 13:11, Robert P. J. Day wrote:
> On Mon, 22 Mar 2010, Nilesh Govindarajan wrote:
>
>> What I do is, set the include path in the top-level bootstrapper.
>>
>> /bootstrap.php:
>>
>> set_include_path(dirname(__FILE__) . '/lib' . PATH_SEPARATOR .
>> get_include_path());
>>
>> Then I l
On Mon, 22 Mar 2010, Nilesh Govindarajan wrote:
> What I do is, set the include path in the top-level bootstrapper.
>
> /bootstrap.php:
>
> set_include_path(dirname(__FILE__) . '/lib' . PATH_SEPARATOR .
> get_include_path());
>
> Then I load the autoloader from /lib/autoload.php at the time of boo
oops, mailed the OP direct rather than the list. sorry.
Originele bericht
Onderwerp: Re: [PHP] another question on setting include paths for a project
Datum: Mon, 22 Mar 2010 15:58:28 +
Van: Jochem Maas
Aan: Robert P. J. Day
Op 3/22/10 2:18 PM, Robert P. J. Day schreef
On 22 March 2010 14:51, Robert P. J. Day wrote:
> On Mon, 22 Mar 2010, Richard Quadling wrote:
>
>> Depending upon what is being included, an autoloader could help
>> here.
>>
>> The main payoffs for autoloading are reduced memory footprint (class
>> are loaded JIT) and no need for each class to k
On 22 March 2010 15:28, la...@garfieldtech.com wrote:
> On 3/22/10 10:25 AM, Paul M Foster wrote:
>
>> That's the key. You can do anything you want inside __autoload(). If you
>> must consult something in the environment, there are a couple of ways to
>> do it. First, set a variable in the $_SESSI
On 3/22/10 10:25 AM, Paul M Foster wrote:
That's the key. You can do anything you want inside __autoload(). If you
must consult something in the environment, there are a couple of ways to
do it. First, set a variable in the $_SESSION array, and consult it in
__autoload(). Second, use a configura
On Mon, Mar 22, 2010 at 10:51:38AM -0400, Robert P. J. Day wrote:
> On Mon, 22 Mar 2010, Richard Quadling wrote:
>
> > Depending upon what is being included, an autoloader could help
> > here.
> >
> > The main payoffs for autoloading are reduced memory footprint (class
> > are loaded JIT) and no
On 03/22/2010 07:48 PM, Robert P. J. Day wrote:
to recap regarding an earlier question i asked regarding extending
include paths, i have an existing project (call it "proj" currently
all under a top-level directory also named "proj") which can be SVN
checked out anywhere under a user's home d
On Mon, 22 Mar 2010, Richard Quadling wrote:
> Depending upon what is being included, an autoloader could help
> here.
>
> The main payoffs for autoloading are reduced memory footprint (class
> are loaded JIT) and no need for each class to know exactly where the
> other classes are.
>
> So, your m
On 22 March 2010 14:18, Robert P. J. Day wrote:
>
> to recap regarding an earlier question i asked regarding extending
> include paths, i have an existing project (call it "proj" currently
> all under a top-level directory also named "proj") which can be SVN
> checked out anywhere under a user's
to recap regarding an earlier question i asked regarding extending
include paths, i have an existing project (call it "proj" currently
all under a top-level directory also named "proj") which can be SVN
checked out anywhere under a user's home directory. so in my case, i
might have my svn worki
At 8:37 AM -0600 11/17/08, Boyd, Todd M. wrote:
tedd, I think it might be displaying your extra divs (if there are any..
just skimmed the source momentarily) for a split second before they are
hidden with Javascript. Maybe try setting the CSS for your 3 map divs
(mapsearch, idlediv, searchdiv or
> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 15, 2008 2:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] Another question about Google maps
>
> Hi gang:
>
> I posted this question on the Google Map Discussion gr
At 1:29 AM +1030 11/17/08, Michael Kubler wrote:
Well, it shows up for FFox v2 and v3 on Windows XP as well.
I managed to replicate it by shift+refreshing the page.
I also managed to stop it mid load by setting Firefox to 'Work
Offline' just as it displayed the flash of both boxes.
Using the
Well, it shows up for FFox v2 and v3 on Windows XP as well.
I managed to replicate it by shift+refreshing the page.
I also managed to stop it mid load by setting Firefox to 'Work Offline'
just as it displayed the flash of both boxes.
Using the Web Developer plugin for FFox I can tell you that
Hi gang:
I posted this question on the Google Map Discussion group/list
thingie, but got zip in replies. Maybe someone here might have an
idea.
Here's the url:
http://masoncollision.com/contact.php
In both Safari and FireFox for the Mac (I have not tested it with
other browsers) as the pag
On Jan 31, 2008, at 8:19 AM, Zoltán Németh wrote:
I can try :) when I downloaded in clicking on the link, and tried to
open it OS X popped on a message saying that I had downloaded an
applicaiton and it was the first time I had tried to open it, was I
sure that I wanted to, and I could view th
2008. 01. 31, csütörtök keltezéssel 08.12-kor Jason Pruim ezt írta:
> On Jan 30, 2008, at 7:53 PM, Richard Lynch wrote:
>
> > On Tue, January 29, 2008 1:39 pm, Jason Pruim wrote:
> >> Okay, so I checked everything I can think of, and it's still
> >> downloading it as an application which means it'
On Jan 30, 2008, at 7:53 PM, Richard Lynch wrote:
On Tue, January 29, 2008 1:39 pm, Jason Pruim wrote:
Okay, so I checked everything I can think of, and it's still
downloading it as an application which means it's downloading the
entire website instead of just the data from the database... Any
On Tue, January 29, 2008 1:39 pm, Jason Pruim wrote:
> Okay, so I checked everything I can think of, and it's still
> downloading it as an application which means it's downloading the
> entire website instead of just the data from the database... Anyone
> have any idea what to check?
Can you expla
On Jan 29, 2008, at 4:29 PM, Nathan Nobbe wrote:
On Jan 29, 2008 3:53 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
I did as you suggested, and I think I found the reason... I included
info for the doctype, and some files that are on all my pages...
Once I comment out those lines it works just
What's happening is, I have the code set and it downloads the file into
excel, but it doesn't have the database fields in it, rather a copy of
the entire webpage which it trys to put into excel. Below is the code
that I am using in my function to export the records:
echo $select . "\n";
On Jan 29, 2008 3:53 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> I did as you suggested, and I think I found the reason... I included info
> for the doctype, and some files that are on all my pages... Once I comment
> out those lines it works just fine...
> I'm assuming that that is expected beha
On Jan 29, 2008, at 2:46 PM, Nathan Nobbe wrote:
On Jan 29, 2008 2:39 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
Okay, so I checked everything I can think of, and it's still
downloading it as an application which means it's downloading the
entire website instead of just the data from the databa
On Jan 29, 2008 2:39 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Okay, so I checked everything I can think of, and it's still
> downloading it as an application which means it's downloading the
> entire website instead of just the data from the database... Anyone
> have any idea what to check?
On Jan 29, 2008, at 11:58 AM, Jason Pruim wrote:
On Jan 29, 2008, at 11:48 AM, Nathan Nobbe wrote:
On Jan 29, 2008 11:07 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
What's happening is, I have the code set and it downloads the file
into excel, but it doesn't have the database fields in it, ra
On Jan 29, 2008, at 11:48 AM, Nathan Nobbe wrote:
On Jan 29, 2008 11:07 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
What's happening is, I have the code set and it downloads the file
into excel, but it doesn't have the database fields in it, rather a
copy of the entire webpage which it trys to p
On Jan 29, 2008 11:07 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> What's happening is, I have the code set and it downloads the file
> into excel, but it doesn't have the database fields in it, rather a
> copy of the entire webpage which it trys to put into excel.
this sounds to me like you may
HI everyone,
I think I'm getting closer to understanding functions, but I'm
blanking on how to fix a problem that I have... I am attempting to
export a database to excel, which was working before converting the
code into a function.
What's happening is, I have the code set and it download
If I have a page with frames, how can I get the title of the frameset to be
the title of the main frame? I want this title to change every time the
visitor change the page.
Any help?
--
Trasca Ion-Catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
$where_conditions = array();
if( !empty( $lastname ) ){
$where_conditions[] = "lastname like '%${lastname}%'";
}
if( !empty( $firstname ) ){
$where_conditions[] = "firstname like '%${firstname}%'";
}
if( !empty( $age ) ){
$where_conditions[] = "age = ${age}";
}
if( !empty(
;t
add the "AND ".
Hope that helps.
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 3:53 PM
Subject: [PHP] Another question - not ex
how 'bout something like
$query = 'select * from table_name where ';
$and = '';
if ($lastname != '') {
$query .= "lastname = $lastname";
$and = ' and ';
}
if ($firstname != '') {
$query .= $comma."firstname = $firstname;
$and = ' and ';
}
and so on
on 1/15/02 1:53 PM, Phil Schwarzmann at [E
Yo, thanks for all your help. But it isn't exactly what im looking for.
Let's say you had a database with the following four columns...
-LastName
-FirstName
-Age
-Weight
...and you wanted a page that would allow a user to search for one or
more of these fields within the database.
It would be
Okay I have stripped all header and bogus crap out of this file.
Now I am left with formatting and breaking the data up.
How can I do that?
Here is the script that gets me a clean file and print out.
These a piece thats missing up that is a command line script that parses the file for
this
infor
Hello Eduardo,
Friday, July 27, 2001, 1:48:01 PM, you wrote:
EK> Does anybody knows how to redirect a page to new window with all the vars from the
old one? Can I leave a message in the old window?
EK> Thanks in advance.
Use a javascript window.open() function with link with all values.
--
Does anybody knows how to redirect a page to new window with all the vars from the old
one? Can I leave a message in the old window?
Thanks in advance.
On Wednesday 28 February 2001 00:15, you wrote:
> > Does it provide a faster performance, if I use these rather than
> > store things in mysql DB, I know this might be stupid, but I have to
> > make sure this.
>
> I belive shared memory is *much* faster than MySQL.
Well, I'd say it depends. For o
> I read about the php manual, I find that, shmop function can let me use
> to store information directly on a shared segment memory.
>
> However, I have some question about these!
>
> Does it provide a faster performance, if I use these rather than store
> things in mysql DB, I know this might be
I read about the php manual, I find that, shmop function can let me use
to store information directly on a shared segment memory.
However, I have some question about these!
Does it provide a faster performance, if I use these rather than store
things in mysql DB, I know this might be stupid, but
42 matches
Mail list logo