Re: [PHP] Unwanted e-mails
On Mon, 19 Apr 2004 20:14:22 -0400 "Andy B" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Raquel Rice" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Monday, April 19, 2004 7:28 PM > Subject: Re: [PHP] Unwanted e-mails > > > > On Fri, 16 Apr 2004 20:45:37 +0100 > > Lester Caine <[EMAIL PROTECTED]> wrote: > > > > > John W. Holmes wrote: > > > > > > > From: "Lester Caine" <[EMAIL PROTECTED]> > > > > > > > >>I am hitting reply, and EVERY php list sends a message back > > > >bouncing the>unsubscribe message ( along with every post I > > > >have tried to make since>XMAS - which is why I am having to > > > >use the newsgroup interface )>This only happens on > > > >list.php.net, I have no problem with any other>developer list > > > >I am moderator of or involved with ! > > > > > > > > > > > > I think you're just getting an autoresponder, but not from > > > > the list. Same as every time anyone posts we get those > > > > messages from"Information Desk","Advance Credit Suisse > > > > Bank", pair-something, etc... > > > > > > I have just posted a couple of replies via eMail, and tried > > > another unsubscribe cycle. I will post the auto-responder > > > message. SINCE lists.php.net is the only place I have a > > > problem, and everything was fine last year .. > > > > > > -- > > > Lester Caine > > > > Read directions instead of thinking that you have all the > > answers. The unsubscribe address is different from the address > > you send"replies" to. > > > > Read the headers of the emails which come to you! > > > > List Address: [EMAIL PROTECTED] > > Unsubscribe Address: [EMAIL PROTECTED] > > > > -- > > Raquel > > they arent just coming from the people who want to unsubscribe?? > they are going to people who just want to send a message to the > list too... got rid of the info desk the advanced whatever and the > pandasoft stuff but having problems with mysql mailing list myself > too... same sort of problems... > If you look at the first post above, it appears he is hitting "Reply" to list messages, trying to unsubscribe by sending a post to the list. If you look at the text of the return that he passed on to the list, it also indicates he was sending his unsubscribe posts to the list address. -- Raquel You may have to fight a battle more than once to win it. --Margaret Thatcher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Unwanted e-mails
On Fri, 16 Apr 2004 20:45:37 +0100 Lester Caine <[EMAIL PROTECTED]> wrote: > John W. Holmes wrote: > > > From: "Lester Caine" <[EMAIL PROTECTED]> > > > >>I am hitting reply, and EVERY php list sends a message back > >bouncing the>unsubscribe message ( along with every post I have > >tried to make since>XMAS - which is why I am having to use the > >newsgroup interface )>This only happens on list.php.net, I have > >no problem with any other>developer list I am moderator of or > >involved with ! > > > > > > I think you're just getting an autoresponder, but not from the > > list. Same as every time anyone posts we get those messages from > > "Information Desk","Advance Credit Suisse Bank", pair-something, > > etc... > > I have just posted a couple of replies via eMail, and tried > another unsubscribe cycle. I will post the auto-responder message. > SINCE lists.php.net is the only place I have a problem, and > everything was fine last year .. > > -- > Lester Caine Read directions instead of thinking that you have all the answers. The unsubscribe address is different from the address you send "replies" to. Read the headers of the emails which come to you! List Address: [EMAIL PROTECTED] Unsubscribe Address: [EMAIL PROTECTED] -- Raquel You may have to fight a battle more than once to win it. --Margaret Thatcher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] alternating row color--newbie help
On Fri, 16 Apr 2004 11:26:37 -0700 "David A. Stevens" <[EMAIL PROTECTED]> wrote: > Please remove my address from any future correspondence about PHP. Mr. Stevens, I assume you had some reason for sending this to me privately. As I'm only a member of an email list, "[EMAIL PROTECTED]". I'd suggest that you rethink that decision and never do it again. My next step will be to contact the administrator at "leland.stanford.edu", where you hold your email account "[EMAIL PROTECTED]". Thank you for your kind consideration. -- Raquel In all affairs it's a healthy thing now and then to hang a question mark on the things you have long taken for granted. --Bertrand Russell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] alternating row color--newbie help
On Thu, 15 Apr 2004 16:02:14 -0400 "Montagna, Dan" <[EMAIL PROTECTED]> wrote: > > I'd appreciate any hints on this... > > Thanks > > Dan I created a function (so I don't have to rewrite it all the time) for doing this very thing. function everyOtherRow($i, $oddColor = '#e0', $evenColor = 'white') { if ($i % 2 == 0) { # even numbered row color $color = $evenColor; } else { # odd numbered row color $color = $oddColor; } return $color; } -- Raquel A life isn't significant except for its impact on other lives. --Jackie Robinson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] there has to be a better way...
On Thu, 23 Oct 2003 01:04:55 -0500 "Walter Torres" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Colin Kettenacker [mailto:[EMAIL PROTECTED] > > > > Hi Walter, > > > > You may want to look into PEAR's config package. It does pretty > > much all you > > have listed here and a lot more. I just started looking into it > > today. > > Thanks Colin. > > I saw that it, read it, played with it. > > It was just way to big a clunky for what I was looking to do. > > I have what "need" to make this work. > > I was just hoping to have a better method of reading the file and > ignoring the blank lines and the commented lines. > > I just have this thing about double level IF statements. > > Thanks. > > Walter > Is there a problem with using your text editor to change all the "#" to ";" and then using parse_ini_file()? -- Raquel ==== I never did give anybody hell. I just told the truth, and they thought it was hell. --Harry S Truman -- Raquel I never did give anybody hell. I just told the truth, and they thought it was hell. --Harry S Truman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is this possible?
On Thu, 16 Oct 2003 10:36:38 -0500 "Joseph Bannon" <[EMAIL PROTECTED]> wrote: > Is it possible to set two variables at once like this... > > $test = $variable = 5; > Yes. -- Raquel To sin by silence when they should protest makes cowards out of men. --Abraham Lincoln -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] Re: PHP & CSS
On Thu, 9 Oct 2003 02:00:20 +1000 Tom Rogers <[EMAIL PROTECTED]> wrote: > Hi, > > Thursday, October 9, 2003, 1:37:57 AM, you wrote: > >> > >> Well, yes ... in a way. The plan is to have a main site, where > >> users can have a subsite off the main site. I want to give the > >> users the ability to customize, to an extent, their own subsite > >if> they wish, while the main site retains the look I give it. > >> > >> -- > >> Raquel > > RR> I might just add that I can accomplish this very easily using > RR> inline"style" elements within HTML tags but, I'm wanting to > RR> separate out the CSS. > > RR> -- > RR> Raquel > > You don't need to call your style sheets .css they can be just as > easily called.php and even have a querystring attached like > subsite.php?user=fred > > That way just use php as normal and return a style sheet just as > you would a html page. Thank you! I think that is exactly what I needed! -- Raquel To behave with dignity is nothing less than to allow others freely to be themselves. --Sol Chaneles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP & CSS
On Wed, 08 Oct 2003 20:34:51 +0600 Raditha Dissanayake <[EMAIL PROTECTED]> wrote: > Raquel Rice wrote: > > >On Tue, 7 Oct 2003 17:06:13 -0500 > >"erythros" <[EMAIL PROTECTED]> wrote: > > > >>you probably just want what everyone wants... a seperation of > >>design from content. > >> > >>i may have it wrong but what it sounds like is that you want to > >>have a default css file then allow the user to make changes via > >>the ini file. is this what youre after? > > > >Well, yes ... in a way. The plan is to have a main site, where > >users can have a subsite off the main site. I want to give the > >users the ability to customize, to an extent, their own subsite > >if they wish, while the main site retains the look I give it. > > > >-- > >Raquel > > Couple of days of ago we had a nice thread on the use of XSLT. > This is a situation where XSLT would be an ideal solution. > > > Raditha Dissanayake. Where would you suggest I begin my education? -- Raquel To behave with dignity is nothing less than to allow others freely to be themselves. --Sol Chaneles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP & CSS
On Tue, 7 Oct 2003 23:22:02 -0700 Raquel Rice <[EMAIL PROTECTED]> wrote: > On Tue, 7 Oct 2003 17:06:13 -0500 > "erythros" <[EMAIL PROTECTED]> wrote: > > > you probably just want what everyone wants... a seperation of > > design from content. > > > > as for applying the variables to the style sheet it depends on > > what youre trying to do. what are the variables for? to request > > a specific css file? or are they to supplement the ccs file (ie: > > use value x for width of div), or are they to override the css > > file? > > > > i may have it wrong but what it sounds like is that you want to > > have a default css file then allow the user to make changes via > > the ini file. is this what youre after? > > > > Well, yes ... in a way. The plan is to have a main site, where > users can have a subsite off the main site. I want to give the > users the ability to customize, to an extent, their own subsite if > they wish, while the main site retains the look I give it. > > -- > Raquel > > I am only one; but still I am one. I cannot do everything, but > still I can do something; I will not refuse to do the something I > can do. > --Helen Keller > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I might just add that I can accomplish this very easily using inline "style" elements within HTML tags but, I'm wanting to separate out the CSS. -- Raquel To behave with dignity is nothing less than to allow others freely to be themselves. --Sol Chaneles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP & CSS
On Tue, 7 Oct 2003 17:06:13 -0500 "erythros" <[EMAIL PROTECTED]> wrote: > you probably just want what everyone wants... a seperation of > design from content. > > as for applying the variables to the style sheet it depends on > what youre trying to do. what are the variables for? to request a > specific css file? or are they to supplement the ccs file (ie: use > value x for width of div), or are they to override the css file? > > i may have it wrong but what it sounds like is that you want to > have a default css file then allow the user to make changes via > the ini file. is this what youre after? > Well, yes ... in a way. The plan is to have a main site, where users can have a subsite off the main site. I want to give the users the ability to customize, to an extent, their own subsite if they wish, while the main site retains the look I give it. -- Raquel I am only one; but still I am one. I cannot do everything, but still I can do something; I will not refuse to do the something I can do. --Helen Keller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP OOP
On Tue, 30 Sep 2003 19:00:18 -0400 "Geoff Hellstrand" <[EMAIL PROTECTED]> wrote: > I'm working for the first time with object orientated programming > in php and I can't figure out how to access elements or methods > when you place objects inside objects inside other objects. > > my origonal idea was to use the following syntax: > $a->b->c > but this just returns: > $a->b . "->c" > > Please, need advice on the finer points of OOP in PHP > $a->$b->$c->method(); -- Raquel We must learn to live together as brothers or perish together as fools. --Martin Luther King, Jr. -- Raquel We must learn to live together as brothers or perish together as fools. --Martin Luther King, Jr. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] register_globals won't turn off!
On Sat, 27 Sep 2003 20:05:10 -0400 "Damon Kohler" <[EMAIL PROTECTED]> wrote: > Well, it does turn off. At least phpinfo() says that it's off. > However, PHP is acting as though it's still turned on. The source > code for the page I'm using to test this odd result is: > > > I'm running PHP 4.3.3 on RH7. When the form is submited, the value > is printed despite the fact it's printing $test and not > $_POST['test']. This is copy pasted from the results: > > register_argc_argv Off Off > register_globals Off Off > > > I'm completely stumped. > > Thanks in advance, > Damon Did you reload your http server? -- Raquel If our words are not consistent with our actions, they will never be heard above the thunder of our deeds. --H. Burke Peterson -- Raquel If our words are not consistent with our actions, they will never be heard above the thunder of our deeds. --H. Burke Peterson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Am stuck
On Thu, 25 Sep 2003 15:09:31 +0200 "Chris Grigor" <[EMAIL PROTECTED]> wrote: > Good day all > > I have a txt file that has values from various strings written to > it. > > What Im looking for is the following > > $name = "Chris'; > > I need to do a count on $name so that it returns 5 letters. Then > before writing it to the output file I know that it has to be 40 > charecters long before it gets written. > > So I know its 5 now I need automatically add another 35 empty > spaces to it to make it 40 so that it makes the $name like this > > $name = "Chris"; < > if I do a count on this it should be 40 charecters long > > > Can anyone help out here??? > > Chris > I don't think you need to determine the length of $name. You just need to use str_pad(). -- Raquel People demand freedom of speech as a compensation for the freedom of thought which they seldom use. --Kierkegaard -- Raquel People demand freedom of speech as a compensation for the freedom of thought which they seldom use. --Kierkegaard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IP to Postal Code CSV? anyone messed around with this and PHP
On Wed, 24 Sep 2003 07:35:15 +0100 Duncan Hill <[EMAIL PROTECTED]> wrote: > On Tuesday 23 Sep 2003 19:59, Joe Harman wrote: > > Is there a CSV file out there for this > > > > Does anyone know where I can aquire a file that has IP address > > with the corresponding Postal Code? > > How do you handle dynamic IP pools that cover entire states (or > countries) ? :> (Some of AOL's IPs come to mind.) > Or, getting an address from a provider halfway around the world. Or, Hotmail/Yahoo/etc. -- Raquel We are all travelers in the wilderness of this world, and the best that we find in our travels is an honest friend. --Robert Louis Stevenson -- Raquel We are all travelers in the wilderness of this world, and the best that we find in our travels is an honest friend. --Robert Louis Stevenson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Accepting data from URL Parameters
On Wed, 24 Sep 2003 10:40:42 -0400 (EDT) Jared Steckel <[EMAIL PROTECTED]> wrote: > I appologize for what may be a newbie-like request, but I have not > been able to find this information in the PHP documentation. > > If I were to have a link on an HTML page such as the following: > > http://www.foo.com/myscripts/myscript.php?Value1=value&Value2=value > > How can I retrieve those values in the script? Should I construct > the link differently? Is there a completely different method I'm > missing altogether? > > Thanks so much in advance for any help you could provide! > > Jared > Check out the $_GET array. -- Raquel What lies behind us and what lies between us are tiny matters compared to what lies within us. --Oliver Wendell Holmes -- Raquel What lies behind us and what lies between us are tiny matters compared to what lies within us. --Oliver Wendell Holmes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Lifetime with cookie-less sessions
On Wed, 24 Sep 2003 11:42:12 +0200 Cranky <[EMAIL PROTECTED]> wrote: > Hello, > Is it possible to determine a lifetime for the session in the case > of a cookie-less sessions ? > > Thanks for your help. > In my sessions I set an "expire time", which is the current time (unix timestamp) plus the number of seconds I want a session to last. Each new page examines the current timestamp against the expire time. If the current time is less than the expire time, then the expire time is advanced again. Otherwise, the session is wiped out and the user sent to an error page. $defExpireTime = 3600; if ($_SESSION['expire'] <= (time() + $this->defExpireTime) { $_SESSION['expire'] = time() + $this->defExpireTime; # go ahead with session } else { $_SESSION = array(); # send the user to an error page } -- Raquel What lies behind us and what lies between us are tiny matters compared to what lies within us. --Oliver Wendell Holmes -- Raquel What lies behind us and what lies between us are tiny matters compared to what lies within us. --Oliver Wendell Holmes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SQL statement
On Tue, 23 Sep 2003 19:10:29 -0500 "Dan J. Rychlik" <[EMAIL PROTECTED]> wrote: > Ive used this > $query = ("SELECT username, password, DATE_FORMAT(timestamp, > '%d%m%y') FROM custlogon"); > > But I recieve unknown index timestamp. *shrug* > Is "timestamp" an actual columnname in your table? -- Raquel It is easy to take liberty for granted when you have never had it taken from you. --M. Grundler -- Raquel It is easy to take liberty for granted when you have never had it taken from you. --M. Grundler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] um...
On Fri, 19 Sep 2003 15:15:21 -0700 "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Ryan A <mailto:[EMAIL PROTECTED]> > on Friday, September 19, 2003 2:36 PM said: > > > Hey comon nowwith a cute name like Raquel let the lady do > > whatever she wants > > Raquel eh? Reminds me of Raquel Welch, and as I recall Seinfeld > made it pretty clear that Raquel Welch is very mean. I'd be > cautious of anyone named Raquel. > > > > ;) > This one is mean only when she needs to be. *^) -- Raquel Being deeply loved by someone gives you strength, while loving someone deeply gives you courage. --Lao Tzu -- Raquel Being deeply loved by someone gives you strength, while loving someone deeply gives you courage. --Lao Tzu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] um...
On Fri, 19 Sep 2003 21:07:50 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Raquel Rice ([EMAIL PROTECTED]): > > On Thu, 18 Sep 2003 15:37:38 -0400 > > > > > > > its because of the new PHP virus (PHP.virdrus) and opussoft's > > > anti virus > > >program decided not to accept any mails that contains the > > >word php. > > > aparently some one from that company subscribed to php lists > > > but is not aware of their mail server settings now. I tried to > > > mail the tech contact for opussoft.com ( > > > [EMAIL PROTECTED] as listed in whois) but seems his > > > a/c is over quota. > > > > > > so unless the person from opussoft is unsubscribed from the > > > list, we r going to get this mail each time we post to the > > > list. > > > > > > R'twick > > > > > > > I just fixed my mail server to bounce their post back to them > > with a 550 error message telling them to fix their problem. > > I'm not so sure that is the proper way to solve the issue. > > Curt > -- That's a rather cryptic response. Why is it not proper and what is your "more proper" solution? -- Raquel Being deeply loved by someone gives you strength, while loving someone deeply gives you courage. --Lao Tzu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] um...
On Thu, 18 Sep 2003 15:37:38 -0400 "R'twick Niceorgaw" <[EMAIL PROTECTED]> wrote: > Comex said the following on 9/19/2003 3:33 PM>> > > > <[EMAIL PROTECTED]> > > [EMAIL PROTECTED]: > > > >>Please contact your system administrator. > >> > >> > >>The scanned document was deleted. > >> > >> > >>Violation Information: > >>The subject violated the content filtering rule PHP as subject > >is a> > >>>malacious code - Not Allowed. No attempt was made to repair. > > > > umm... since it doesn't come from [EMAIL PROTECTED], spells > > things wrong, and raises issues over the subject "Re: [PHP-WIN] > > generate img with fonts...", I think it's fake... let me know if > > I'm wrong. > > > its because of the new PHP virus (PHP.virdrus) and opussoft's anti > virus >program decided not to accept any mails that contains the word >php. > aparently some one from that company subscribed to php lists but > is not aware of their mail server settings now. I tried to mail > the tech contact for opussoft.com ( [EMAIL PROTECTED] as > listed in whois) but seems his a/c is over quota. > > so unless the person from opussoft is unsubscribed from the list, > we r going to get this mail each time we post to the list. > > R'twick > I just fixed my mail server to bounce their post back to them with a 550 error message telling them to fix their problem. -- Raquel Being deeply loved by someone gives you strength, while loving someone deeply gives you courage. --Lao Tzu -- Raquel Being deeply loved by someone gives you strength, while loving someone deeply gives you courage. --Lao Tzu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Attention: List Administrator
On Fri, 19 Sep 2003 15:39:12 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Chris Sherwood ([EMAIL PROTECTED]): > > To Whom it may concern the following users > > > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > has been flooding me with viruses. fortunately I have the > > appropriate safeguards in place. > > > > Yes, I was just about to contact the list admins about this. > Although I have gotten virus attatchments from other people as > well. > > And now I'm getting an autoresponder from someone's server saying > that I sent them a virus... egads... this is crazy :) > > > Curt > I got one of those too! Someone's server is going crazy. FIX IT! == Quoted: From: [EMAIL PROTECTED] Please contact your system administrator. The scanned document was deleted. Violation Information: The subject violated the content filtering rule PHP as subject is a malacious code - Not Allowed. No attempt was made to repair. -- Raquel If God lived on earth, people would break his windows. --Jewish Proverb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Returns..
On Fri, 19 Sep 2003 07:53:12 -0400 "Chris Mach" <[EMAIL PROTECTED]> wrote: > Why does it put a space in there? > > It's screwing up my other script which displays just the first 50 > words of the news article by exploding each word into an array. So > /> is showing up after each break. > The reason for the space is to comply with XHTML standards. The XHTML declares that all tags "must be properly nested, an end tag closes, back to the matching start tag, all unclosed intervening start tags with omitted end tags". All empty elements must use the XML "empty tag" syntax with a trailing forward slash ("/") before the end bracket (eg. becomes ). Note the space after the element text and the />. This is for compatibility with current browsers. -- Raquel If God lived on earth, people would break his windows. --Jewish Proverb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser detector (php side)
On Mon, 15 Sep 2003 13:54:19 +0800 "Louie Miranda" <[EMAIL PROTECTED]> wrote: > Im looking for a browser detector and can redirect to a certain > page if its match something. So far phpsniff is the only thing i > found. > > But i didnt got it to work d redirection part. > > any ideas? > > > - > Louie > Did you try: $_SERVER['HTTP_USER_AGENT']; -- Raquel Far away in the sunshine are my highest aspirations. I may not reach them, but I can look up and see the beauty, believe in them and try to follow where they lead. --Louisa May Alcott -- Raquel Far away in the sunshine are my highest aspirations. I may not reach them, but I can look up and see the beauty, believe in them and try to follow where they lead. --Louisa May Alcott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Q on Class and EXTEND
On Wed, 3 Sep 2003 10:05:46 -0700 "Chris Sherwood" <[EMAIL PROTECTED]> wrote: > > <-- snip --> > > > I dont know much about classes, but dont you want > > > > > > $a = new THECHILD('walter'); //so you can access $a->abc > > > > > > instead of > > > > > > $a = new THEPARENT ('walter'); > > > > No, I'm wanting to EXTEND the orginal class. > > > > meaning, my THECHILD class efines new methods/properties, and I > > want it > used > > as if it was part of the orginal THEPARENT Class. > > > > Me just being picky. > > > > Walter > <-- snip --> > > walter you want to do a declaration in the class that you want to > use the base class in ie > > > when you declare your child class > > class Web_child extends WEB_parent > { > -- your new and extended code here > } > and then ... to access the class methods and variables of the parent, you do it through the child. class THEPARENT var $originalthis; function THEPARENT(){ } } class THECHILD extends THEPARENT var $this; function THECHILD($that) { $this->this = $that; } } // outside the class $clss = new THECHILD($thatvar); $clss->originalthis = 'how about that'; -- Raquel Let no man imagine that he has no influence. Whoever he may be, and wherever he may be placed, the man who thinks becomes a light and a power. --Henry George -- Raquel Let no man imagine that he has no influence. Whoever he may be, and wherever he may be placed, the man who thinks becomes a light and a power. --Henry George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] You owe it to yourself to read this...
Dear Fellow Entrepreneur, Are you achieving the results that you are trying to achieve with your online business? If your current business is offering a product that is a quick and simple solution to a problem that concerns most people, most of the time, then you would be very happy, and wealthy. WELL DONE. If it is not, than unfortunately you are probably not making much money, and presumably won't. Unfortunately if your product is not a quick and simple solution to a problem that concerns most people, most of the time, then you won't be able to market to the majority of the Internet population out their will you. Anyone who is making any real money out there would have to have a quick and simple solution to a problem that concerns most people, most of the time wouldn't they. Sorry for repeating it so often, but if you truly want to make any money through the Internet, then you will need to know this sentence (a quick and simple solution to a problem that concerns most people, most of the time) off by heart. If you really want to make money using the Internet, than I may be able to help you. I say maybe because this business is not for anyone who is not going to be committed to making $40,000 in 6 weeks, (Quicksmart, which is shown below) and then working towards making $1,000,000 in 180 days using a very effective program called Infoshare. Both these programs WILL make you money as long as you are committed to making them successful. Others just like you and myself ARE making this kind of money as you read this. If you are committed enough to do exactly as I say, then you WILL succeed. It is very VERY simple, and I will help you with everything you need to know to become successful. I am not successful unless you are, so I will not leave you in the dark like others often do. I will do everything I can to help you. Discover how to make true wealth using the same secrets that the millionaires are using to achieve results and success on the Web. Remember the old saying "If you can't beat them, join them." Well this is the same thing. You are about to Learn how the big guns are making all that easy money, and how YOU TOO can live a life of good health, love, and have all the time in the world to give to yourself and your family. Once if I receive your $5, I will send you the URL address of the "Lazyman's Guide to Success" in Phase 2. Once there you will be able to learn all the secrets to success on the Web. You will also have access to 3 sensational programs for free, which you will use to send out hundreds of E-mail every day. This is what makes this program so different to the ones that are very hard to make successful. Advertising at various classified sites really does not work, does it? So we need to find another way to advertise our business, and sending out bulk E-mail every day to a targeted population does work. This program is probably the easiest to set up and run, and also the quickest to make great money. In Phase 2 you will send out bulk E-mail using 3 very effective programs. The first you will use to extract E-mail addresses from various free classified web sites. The second will sort out your E-mail list that you have just extracted so that you will have a clean list of E-mail addresses to send your offer to. Finally your third program will send out your Bulk E-mail. Do you agree that this is a much more effective way of advertising then placing ads all over different classified web sites, and just receiving counter offers in your inbox? From now on you will still have plenty of E-mail, but it will be people wanting to sign up. Now that is what I call results. The last thing, and the most important to be successful, is to DREAM. Dream and make goals of what you want to buy for yourself, your family and friends. Dream about where you want to live, go on a holiday, and what kind of car you have always wanted, and of course, what life will be like when you ARE a MILLIONAIRE. This is the most important ingredient to success. Every successful person does it. Why? Success WILL NOT come unless you dream and set goals. The reason that we set goals and dream is for the simple fact that if you come across a problem, then you should think about your goal or dream. This will make you determined enough to seek help and move on. I will be here to help you, so that you can get passed any problem that you may come across. No business is perfect, but you can not find a much easier one than this one. Once you have fixed the problem, you will move forward and be $1,000,000 richer, and your goals and dreams all come true.And of course you will set higher goals and dreams for yourself. LET'S GET STARTED SHALL WE!!! Yes right now, not tomorrow. Because I know you are keen to be successful. Save this E-mail to your hard drive and read it OFFLINE so that you are not wasting valuable money on the Internet, and do exactly as it says. Onc
[PHP] php/apache/cgi
Can't get apache to run php under the /cgi-bin directory, getting: Exec format error: exec of /var/www/cgi-bin/test.php failed. Does it mean that I should install PHP as a CGI module? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re-directing
Todd Cary wrote: > > In my Index.html, what do I write so that the Surfer goes to my > Start.Php? > > Todd I use a little bit of javascript ... location = "newURL.php"; inside the tags. -- Raquel If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music which he hears, however measured or far away. --Henry David Thoreau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]