Hi sports fans!
I have a quick "references" related question.
Ok, I'm passing a Page object by reference to another object:
myClass->myFunction($objPage);
What I want to do is store that Page object as part of the myClass
object (see definition code below).
My question is this: When assigni
Norbert Wenzel wrote:
I don't know if this works in PHP4, but I would suggest to clear this in
your constructur. But I don't know if this is always called in PHP4.
class myClass {
var $object;
myClass() {
$this->object = new OtherObject();
}
}
This isn't really for
Hi all,
Just a quickie today: I was wondering if I can declare a Class variable
as a certain type of object. I'm using PHP 4 by the way.
For example, if my class looks like this:
class myClass {
var $object;
function someFunction() {
// code, code, code
Hello,
I'd like to join a newsgroup that discusses object oriented design
techniques. I'm getting to grips with OO stuff but could do with some
specific guidance at times, especially while I'm a novice at it.
I can't see an OO newsgroup here in news.php.net.
Thanks for any suggestions.
Ale
Dotan Cohen wrote:
It looks like you got hit with the same thing that I did. Are you
recording IP addresses?
Yep - The bunch of emails all came from the same IP address: 62.245.167.6
There was no browser/user agent given so it's clearly some sort of
spyder/net trawling software.
--
PHP Gene
Cilliè wrote:
- Original Message - From: "Alex Gemmell" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 18, 2005 12:11 PM
Subject: Re: [PHP] Be careful! Look at what this spammer did.
Notice that their "hack" contains a BCC to "[EMAIL PROTECTED]"
My website form also appeared to get "hacked" (I'm using that term very
loosely), although I have no idea if anything actually got hacked. It
definitely seems like an automated script that crawls the net probing
every form.
It triggered a bunch of emails to me but nothing that I wouldn't have
es, I'll be sure to check
out those books.
Alex
On 17/08/05, Marco Tabini <[EMAIL PROTECTED]> wrote:
> Hello Alex
>
> On 8/17/05 9:33 AM, "Alex Gemmell" <[EMAIL PROTECTED]> wrote:
>
> > Can anyone recommend some books that describe:
> >
Hello all!
I am readjusting my brain from years of procedural programming and I'm
rapidly improving my ability to program object-oriented PHP. I'm no
expert but I am keen to get my hands on as much good teaching material
as I can.
I already have a good appreciation for OO concepts BUT I oft
On Mon, 14 Feb 2005 10:17:53 -0800, Chris W. Parker
<[EMAIL PROTECTED]> wrote:
> Alex Gemmell <mailto:[EMAIL PROTECTED]>
>on Monday, February 14, 2005 7:24 AM said:
>
> > Hello!
>
> Hi!
>
> >
> > # Code:
> >
&g
Wow - good job! That nailed it and in one neat line too!
Thanks very much Richard and thanks also to Mike for his help too.
I'm really liking these php lists!
On Mon, 14 Feb 2005 09:41:00 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> Alex Gemmell wrote:
> > I
Hello!
I'm checking user chosen passwords for validity and have created 7
tests. It's not 100% bulletproof but it will do for now. My problem
is with the last check "have 6 unique characters". I'm at a loss at
how to check for this in a neat one-liner.
My brain is starting to go off on some ho
On Mon, 07 Feb 2005 18:14:22 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Alex Gemmell wrote:
>
> ..
>
> > Well, I have a few lines like these two:
> >
> > session_register('email_address');
> > $_SESSION['email_address'
On Sun, 6 Feb 2005 19:36:23 -0500, Andre Dubuc <[EMAIL PROTECTED]> wrote:
> On Sunday 06 February 2005 07:18 pm, Alex Gemmell wrote:
> > Hello,
> >
> > I am building a login system for my website but I keep experiencing an
> > error on a specific PHP page that I
Hello,
I am building a login system for my website but I keep experiencing an
error on a specific PHP page that I have never encountered before and it
seems worryingly low-level! It says:
"The remote procedure call failed."
And that's it! Nothing else is on the page. Sometimes I get a slightl
15 matches
Mail list logo