On 8/20/07, Augusto Morais <[EMAIL PROTECTED]> wrote:
> I dont know what is happening...
>
>
> Can somebody clarify the situation for me?
>
>
> here is the situation:
>
> i have 3 files:
>
> class.php
> foo.php
> bar.php
>
> // - class.php
> class globalactions {
>
> function include_file($m
On 8/20/07, aflavio <[EMAIL PROTECTED]> wrote:
>
> Strange..
>
> I'm return a include..
Not exactly... you're returning the return value of an include.
Take this:
var.php:
foo.php
> the file will be included in the scope of the class? Because this i cant use
> the variables declared in the fil
On Mon, 20 Aug 2007 02:24:49 -0300, Augusto Morais <[EMAIL PROTECTED]> wrote:
> I dont know what is happening...
>
>
> Can somebody clarify the situation for me?
>
>
> here is the situation:
>
>i have 3 files:
>
> class.php
> foo.php
> bar.php
>
> // - class.php
> class globalactions {
>
On 20/08/07, tedd <[EMAIL PROTECTED]> wrote:
>
> At 10:40 PM +0200 8/19/07, Wouter van Vliet / Interpotential wrote:
> >What you're proposing, is to actually display some content on another
> page
> >then were the content is originally intended? I'm sorry, but I would
> >consider that 'bad practice
[snip]
However, the LEFT and RIGHT will take me a while to figure out.
[/snip]
FROM table a LEFT OUTER JOIN table b
ON(a.column = b.column)
Just follow the order tedd, a is on the left and b is on the right
LEFT OUTER -> a -> b (what may be in a might not be in b)
a <- b <- RIGHT OUTER (what ma
At 12:42 PM +0200 8/20/07, Wouter van Vliet / Interpotential wrote:
Only thing I was trying to do was chip in my two cents. Again, I
wasn't the one who originally asked the question and I certainly am
not "friggen clueless".
Maybe not, but you made some pretty clueless remarks -- like if you
[snip]
Question -- is it redundant to say:
FROM table a LEFT OUTER JOIN table b
ON(a.column = b.column)
when "table a" appears first? Wouldn't that be the same as:
FROM table a OUTER JOIN table b
ON(a.column = b.column)
[/snip]
An OUTER JOIN is essentially a FULL OUTER JOIN which will include
m
Hello.
I trying something without results.
I have a zend optimized php script. This script only request you a
password, and then you go to admin page.
If a do in a browser:
http://www.example.com/administration.php
Then i go to this web where the password is request. I put the password
and g
On Mon, 20 Aug 2007 14:15:47 +0200, N0K <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I trying something without results.
>
> I have a zend optimized php script. This script only request you a
> password, and then you go to admin page.
> If a do in a browser:
> http://www.example.com/administration.php
N0K wrote:
> So, im trying to the the same in php command line
>
> i have test with many things, but i dont know how to specify this
> variable to the php cli,
> some tested example:
>
> php administration.php --varpass=112233 --checkpass=Submit
> php administration.php --"varpass=112233&checkpa
Hello.
I trying something without results.
I have a zend optimized php script. This script only request you a
password, and then you go to admin page.
If a do in a browser:
http://www.example.com/administration.php
Then i go to this web where the password is request. I put the password
and go t
On Mon, 20 Aug 2007 14:41:03 +0200, Per Jessen <[EMAIL PROTECTED]> wrote:
> N0K wrote:
>
>> So, im trying to the the same in php command line
>>=20
>> i have test with many things, but i dont know how to specify this
>> variable to the php cli,
>> some tested example:
>>=20
>> php administration.p
Thijs Lensselink wrote:
> I don't see where N0K asks for mapping of $_GET to commandline
> parameters.
He did't specifically ask, but his attempts seem to suggest that's what
he was hoping for.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
On Monday 20 August 2007, tedd wrote:
> Question -- is it redundant to say:
>
> FROM table a LEFT OUTER JOIN table b
> ON(a.column = b.column)
>
> when "table a" appears first? Wouldn't that be the same as:
>
> FROM table a OUTER JOIN table b
> ON(a.column = b.column)
>
> ???
>
> I'm trying to und
Here's the thing: I'm trying to do some dynamic code compilation within
PHP using eval(). The code I'm trying to compile raises an E_ERROR (Fatal).
Here's a simple example:
Now, I'd like to catch the error made by eval:
// ...
try {
eval($code);
} catch (Exception $ex) {
var_dump($ex);
}
Maarten Balliauw wrote:
Here's the thing: I'm trying to do some dynamic code compilation within
PHP using eval(). The code I'm trying to compile raises an E_ERROR (Fatal).
Here's a simple example:
Now, I'd like to catch the error made by eval:
// ...
try {
eval($code);
} catch (Exception
Maarten Balliauw wrote:
Here's the thing: I'm trying to do some dynamic code compilation within
PHP using eval(). The code I'm trying to compile raises an E_ERROR (Fatal).
Here's a simple example:
Now, I'd like to catch the error made by eval:
// ...
try {
eval($code);
} catch (Exception
On 8/20/07, Augusto Morais <[EMAIL PROTECTED]> wrote:
[snip!]
> // - foo.php
> include "lib/clients.class.php";
> $clients = new clients(); //instatiating the clients class
>
[snip again!]
>
> var_dump($clients); //i dont get the object here. I got NULL!!! why?!?!!?
>
> problem:
> When the method(i
On 8/20/07, N0K <[EMAIL PROTECTED]> wrote:
[snip!]
> But if i do in a browser:
> http://www.example.com/administration.php?varpass=112233&checkpass=Submit
>
> Then i go directly to the administration web, without request pass.
>
> So, im trying to the the same in php command line
[snippity-snip!]
Hi people,
could somebody please explain me, what loop construct is
faster? The for, while or foreach.
I at the moment don't know if there are more.
And thanks to the person who is missusing the list here
for sending trojan horses everywhere.
Since I write to the PHP General list I am receiving
> On 8/20/07, N0K <[EMAIL PROTECTED]> wrote:
> [snip!]
>> But if i do in a browser:
>> http://www.example.com/administration.php?varpass=112233&checkpass=Submit
>>
>> Then i go directly to the administration web, without request pass.
>>
>> So, im trying to the the same in php command line
> [snip
On Mon, 2007-08-20 at 18:50 +0200, Sascha Braun, CEO @ fit-o-matic
wrote:
> Hi people,
>
> could somebody please explain me, what loop construct is
> faster? The for, while or foreach.
I haven't bothered testing but I'd wager $5 that the following is the
fastest loop:
Depending on bytecode cre
Thank you very much. When we might have time for testing we can
wager :))
Am Montag, den 20.08.2007, 13:21 -0400 schrieb Robert Cummings:
> On Mon, 2007-08-20 at 18:50 +0200, Sascha Braun, CEO @ fit-o-matic
> wrote:
> > Hi people,
> >
> > could somebody please explain me, what loop construct is
>
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll just have
to go with what we have and limp along until we ca
> ... but the
> second comment seems helpful.
>
> [1] http://www.php.net/manual/en/function.mssql-connect.php
For SQL Server 2005, getting the right version of that ntwdblib.dll is
crucial. However, Microsoft has apparently abandoned the NTWDBLIB
library, so I have begun working with PDO ODBC inst
I'm looking for a way to monitor the system resources (CPU, memory, Disk
I/O, etc) used by the PHP engine on a linux machine. I can't monitor it by
the usual
means (top, etc), since it runs as part of the apache process(es).
Does anyone know if a tool exists from Zend, or a module for Apache, to
m
What is the best practice for correctly targeting 'include' paths
when using Initialization/Setup classes that extend Parent classes?
In my extend_parent_class.php file, I have to provide an incorrect
relative path. Apparently, the path (that does work) is relative to
php file that calls t
[snip]
What is the best practice for correctly targeting 'include' paths
when using Initialization/Setup classes that extend Parent classes?
In my extend_parent_class.php file, I have to provide an incorrect
relative path. Apparently, the path (that does work) is relative to
php file that c
I need to put together a car classifieds site and before I re-invent the
wheel was curious if anyone new of any good php driven OS packages
available. Does anyone have any recommendations?
Thanks!
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll just have
to go with what we have a
Chris,
> >I sent this to the php-install list.
>
> Try the -internals list.
Thanks!
JohnM
--
john mendenhall
[EMAIL PROTECTED]
surf utopia
internet services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll just have
to go with
M. Sokolewicz wrote:
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll
I want to declare these variables Game_id and Member_id in advance. Following
the suggestionfrom one of my books can I do something like this:
$expected = array('Game_id', 'Member_id');foreach($expected AS $key) {if (
!empty($_POST[$key])) { ${$key} = $_POST[$key];}else {
34 matches
Mail list logo