On 23 March 2010 16:39, Robert P. J. Day rpj...@crashcourse.ca 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
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 bootstrap.
On 23 March 2010 13:11, Robert P. J. Day rpj...@crashcourse.ca 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
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?
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 working
On 22 March 2010 14:18, Robert P. J. Day rpj...@crashcourse.ca 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
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 main
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
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 need for
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
On 22 March 2010 15:28, la...@garfieldtech.com 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
On 22 March 2010 14:51, Robert P. J. Day rpj...@crashcourse.ca 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
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 joc...@iamjochem.com
Aan: Robert P. J. Day rpj...@crashcourse.ca
Op 3
-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 group/list
thingie, but got zip
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
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
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
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
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...
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's
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
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
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 explain
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
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 not
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
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 behavior?
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?
im
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,
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
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:
?PHP
function
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:
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
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
]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 15, 2002 3:53 PM
Subject: [PHP] Another question - not exactly what i was looking for
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
$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(
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
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.
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.
--
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 only a
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,
42 matches
Mail list logo