RE: [PHP] Passing Credentials

2006-02-01 Thread Albert
News1 wrote: > Thanks for all of the input! I have tried a new tactic, using CURL. I've > had some success with grabbing a web page, but when I try to pass > credentials, I get an error. I tried following examples from various > sites (which all had different implementations), but I was unsucce

[PHP] Re: Class: Babelfish Translator

2006-02-01 Thread Vedanta Barooah
On 2/2/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: > > as far my knowledge goes, there arent any limits on that. > thanks, > vedanta > > On 2/1/06, Muhammad Wasif <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have found your babelFish translation at > > http://www.phpclasses.org/browse/packa

[PHP] Re: Class: Babelfish Translator

2006-02-01 Thread Vedanta Barooah
as far my knowledge goes, there any limits on that. thanks, vedanta On 2/1/06, Muhammad Wasif <[EMAIL PROTECTED]> wrote: > > Hi, > > I have found your babelFish translation at > http://www.phpclasses.org/browse/package/2383.html. I want to know, how > many requests i can send using this class? I m

Re: [PHP] Validating Radio Buttons in two directions

2006-02-01 Thread HiFi Tubes
Here's the solution I came up with for checking the columns to varify only one in a column is selected (without using JavaScript) in a matrix of radio buttons consisting of 4 columns and 4 rows. Doing this was complicated by the fact that some rows did not have to be answered. The radio buttons th

Re: [PHP] Performance question

2006-02-01 Thread Chris
Hi, Any time you fetch results from a database it take up memory, you can't do much about that (you can limit the effect by using 'limit' in conjunction with paging and only getting the columns you need etc but that's about it). If you're using a standard id/parentid type approach you're st

Re: [PHP] PHP5 Build - test.php not working

2006-02-01 Thread Tod Thomas
Richard Correia wrote: can you try httpd -v, which all dynamic modules are listed? Sorry I took so long. -v just displays the version. This provides what you asked for I think: /httpd -e debug [Tue Jan 31 18:11:38 2006] [debug] mod_so.c(248): loaded module access_module [Tue Jan 31 18

RE: [PHP] Passing Credentials

2006-02-01 Thread News1
Thanks for all of the input! I have tried a new tactic, using CURL. I've had some success with grabbing a web page, but when I try to pass credentials, I get an error. I tried following examples from various sites (which all had different implementations), but I was unsuccessful. Here is the fi

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
David Dorward wrote: Robert Cummings wrote: Slop? Yes, slop, ie sloppy. authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46),

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread tedd
tedd wrote: There are only two ways for a spambot to get your email address from a web site: A) to read it via a screen reader, which is exceedingly slow. I may be wrong, but I doubt that any serious harvester would consider this method; B) to read it via text contained within your web site

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread tedd
I used this procedure once on a web site - It is rather simple, but worked quite well at the time: Stop SpamBots from Harvesting email addresses Using Character Codes in Emil Addresses If you replace at least one alphabetic character on each side of the "@" symbol in all of the e-mail addr

RE: [PHP] Identifying and removing ?line-return characters from MySQL search returns

2006-02-01 Thread Dougal Watson
Thanks Richard, > Microsoft Word (and others) use non-ASCII characters for all kinds ... Most of the text passes from MS Entourage to FileMaker so that is, indeed, a possible source. I suspect the range of offending characters probably isn't that wide as they mostly coincide with locations where

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Robert Cummings
On Wed, 2006-02-01 at 18:34, David Dorward wrote: > Richard Lynch wrote: > > >>> There's no excuse for writing slop. > > > "We recommend using quotation marks even when it is possible to > > eliminate them." > > Presumably because its less hassle to do so then to try to remember the > exceptions

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
Richard Lynch wrote: >>> There's no excuse for writing slop. > "We recommend using quotation marks even when it is possible to > eliminate them." Presumably because its less hassle to do so then to try to remember the exceptions. It doesn't make code that ignores that suggestion "slop". -- Dav

Re: [PHP] Identifying and removing ?line-return characters from MySQL search returns

2006-02-01 Thread Richard Lynch
Those characters are non-ASCII. They could be any of the following: 1. Microsoft Word (and others) use non-ASCII characters for all kinds of fun things like "curly quotes" and "em-dash" and "ellipsis" and so on. http://php.net/htmlentities has several User Contributed notes to deal with this 2.

Re: [PHP] How to destroy HTTP authentication (from PHP)?

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 7:16 am, Olaf Greve wrote: > Alright: here's a bit of a "challenge" (so as to avoid the word > "issue") > ;) my colleagues have run into previously: how to kill HTTP > authentication... Simply change the "Realm" out from under the user, so that their credentials for the ol

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 7:23 am, Gerry Danen wrote: > A user of mine insists that her email address shows on a web page. I > need to protect that address from spam bots. There are lots of > solutions around that I have come acros. I am looking for a clean, > reusable, non-javascript solution. As

[PHP] RE: Hide email addresses from spam bots

2006-02-01 Thread Dougal Watson
> A user of mine insists that her email address shows on a web page. I need toprotect that address from spam bots. There are lots of solutions around thatI have come acros. I am looking for a clean, reusable, non-_javascript_solution. I don't know if it's what you're looking for but on some

Re: [PHP] PHP vars to JS?

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 9:09 am, William Stokes wrote: > How can I get my PHP variable values to a javascript? var x = ; -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP6 Roadmap

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 10:02 am, Yannick Warnier wrote: > Is a roadmap for PHP6 already available somewhere? > > I've been looking for it on php.net and zend.com but haven't found > anything yet, apart a few posts on the improvement of namespaces and > unicode. http://info.com/php6+roadmap (bett

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Michael Hulse
Well, this is Javascript, but interesting: http://www.albionresearch.com/misc/obfuscator.php Link description: "Sadly there are a number of 'spambots' which roam the web 'harvesting' email addresses to send spam to. Often you have no choice but to include an email address in a web page. Fortu

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 2:52 pm, David Dorward wrote: > Robert Cummings wrote: > >> > >> I also took the liberty of adding double quotes to your attributes. >> There's no excuse for writing slop. > > Slop? > > authors may specify the value of an attribute without any quotation > marks. The att

[PHP] Identifying and removing ?line-return characters from MySQL search returns

2006-02-01 Thread Dougal Watson
Hi Everyone, My problem is not related to PHP itself, but I hope my solution is. I run a website with much of the material being fed from several MySQL databases. Some of the material is fed into the databases through a PHP mailbot and some directly uploaded from a FileMaker database on a desktop

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Richard Lynch
Change it to: input name="xname[]" On Wed, February 1, 2006 10:07 am, Mauricio Pellegrini wrote: > Hi , > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > ..

Re: [PHP] Need some PHP file retrieval magic....

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 10:38 am, Jay Blanchard wrote: > I have searched and googled and experimented, but to no avail. > > I need to take a web site done in ASP, retrieve it, change the .asp to > .html, make sure that the links don't break, make sure that query > strings > get coverted, etc, etc,

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
Robert Cummings wrote: > > I also took the liberty of adding double quotes to your attributes. > There's no excuse for writing slop. Slop? authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9)

[PHP] Re: Help retrieving an HTML array

2006-02-01 Thread David Dorward
Mauricio Pellegrini wrote: > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > > input type=text name=xname value="n..." That isn't an array, it is just a series of inputs w

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread David Dorward
tedd wrote: > There are only two ways for a spambot to get your email address from > a web site: A) to read it via a screen reader, which is exceedingly > slow. I may be wrong, but I doubt that any serious harvester would > consider this method; B) to read it via text contained within your > web s

RE: [PHP] Need some PHP file retrieval magic....

2006-02-01 Thread Jay Blanchard
[snip] This is not a PHP solution by any strech, but have you considered using something like the HTTrack Website Copier? (http://www.httrack.com/) I've used it to generate a copy of websites that were then burned to CDs for presentations. It works very well and is available for several platform

RE: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Weber Sites LTD
Check this out : Encoding email address http://www.weberdev.com/get_example-3624.html Protect your email links from being spidered by spam email robots http://www.weberdev.com/get_example-3272.html Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow.

RE: [PHP] SQL in XML [was PHP and DBase...]

2006-02-01 Thread David BERCOT
> > But, finally, I wonder if I shouldn't use XML files instead ? > > Is it possible, directly, to make a SQL request on a XML file ? > > How much data are you storing and how fast do you need it? > > If you're doing heavy "database" type queries, then just use mySQL. Yes, I use Oracle for my "r

RE: [PHP] image uploads

2006-02-01 Thread Weber Sites LTD
Don't mistake client side cache with FS / WebServer cache. Also, take into consideration that getting an image from FS is much More efficient than from MySQL so why go there? As for order, that's really not a problem as you can build a simple Directory hierarchy such as : /home/MySite/images/b/be

Re: [PHP] Time estimating for PM's/Clients

2006-02-01 Thread Paul Novitski
At 11:10 AM 2/1/2006, Mark Steudel wrote: I am interested in finding out what standards/formulas other PHP programmers/departments out there are using to accurately provide time estimates on modules to their PM's/Clients. Any suggested reading books or sites? Highly recommended: Web Redesign

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Dave Lambert
Gerry Danen wrote: A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots I used this procedure once on a web site - It is rather simple, but worked quite well at the time: Stop SpamBots from Harvesting email addresses Using Char

Re: [PHP] Performance question

2006-02-01 Thread Mathieu Dumoulin
Miles Thompson wrote: At 12:02 PM 2/1/2006, Mathieu Dumoulin wrote: This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row acts with large result sets. For example im thinking of building a node tree applicat

[PHP] Time estimating for PM's/Clients

2006-02-01 Thread Mark Steudel
I am interested in finding out what standards/formulas other PHP programmers/departments out there are using to accurately provide time estimates on modules to their PM's/Clients. Any suggested reading books or sites? Do time estimate theories in other langauges apply to web and php programming

Re: [PHP] Performance question

2006-02-01 Thread Miles Thompson
At 12:02 PM 2/1/2006, Mathieu Dumoulin wrote: This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row acts with large result sets. For example im thinking of building a node tree application that can have dual

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Greg Schnippel
> I doubt if this can be done, but it there a way to detect a spambot > as compared to a SE indexing your site? They are both basically the > same, right? Yes, if you can assume that a spambot will be doing sneaky things to hide its origin or identity. The "bad behavior" project has been trying to

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
Mauricio Pellegrini wrote: Thank you all for your valuable support. The problem is solved. Note: This kind of input definition (without the brackets) actually *DOES* create an array under HTML 4.x (and its subindexes are accesible thru javascript) If that's the case (I can't find a

RE: [PHP] Need some PHP file retrieval magic....

2006-02-01 Thread Brady Mitchell
> -Original Message- > I need to take a web site done in ASP, retrieve it, change > the .asp to .html, make sure that the links don't break, make > sure that query strings get coverted, etc, etc, etc so that I > can take a portion of the current > (*SHUDDER*) web site and place it on CD'

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Mauricio Pellegrini
Thank you all for your valuable support. The problem is solved. Note: This kind of input definition (without the brackets) actually *DOES* create an array under HTML 4.x (and its subindexes are accesible thru javascript) You forgot the array append operator: > > ..

Re: [PHP] Performance question

2006-02-01 Thread tedd
This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row acts with large result sets. For example im thinking of building a node tree application that can have dual direction links to nodes attached to different

RE: [PHP] PHP vars to JS?

2006-02-01 Thread Programmer
Oops! I meant mix the two languages. -Original Message- From: Programmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 10:50 AM To: php-general@lists.php.net; 'William Stokes' Subject: RE: [PHP] PHP vars to JS? You can also fixed the two languages as so: var myv

RE: [PHP] PHP vars to JS?

2006-02-01 Thread Programmer
You can also fixed the two languages as so: var myvar; myvar = ""; -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 10:38 AM To: php-general@lists.php.net; William Stokes Subject: Re: [PHP] PH

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
Please don't hijack threads. Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..."

Re: [PHP] PHP vars to JS?

2006-02-01 Thread tedd
William: I'm not sure if I can answer your question, but I know you can mix javascript with php just like you can with html. For example, I use (below code from a working example): alert("===" + document.form.f.what_db.value + "==="); where "what_db" (above) is a variable genera

[PHP] Need some PHP file retrieval magic....

I have searched and googled and experimented, but to no avail. I need to take a web site done in ASP, retrieve it, change the .asp to .html, make sure that the links don't break, make sure that query strings get coverted, etc, etc, etc so that I can take a portion of the current (*SHUDDER*) web si

Re: [PHP] Hide email addresses from spam bots

Indeed, the problem is that the HTTP-USER_AGENT is actually set by the software reading the page, a bot could actually say its IE6 and then bypass your protection. The best protection you can do is encoding your addresses in a two way encoding like Base64 wich is plenty enough and using a litt

Re: [PHP] Performance question

B trees or binary trees or hash tables or wathever sort algo or memory organisation could be just great if i'd put all my data in the page and tried or needed to sort it, but i can't do that and don't really need to. I'm actually searching for a way to load a ton of data from mysql but avoidin

Re: [PHP] Hide email addresses from spam bots

Regulars: I doubt if this can be done, but it there a way to detect a spambot as compared to a SE indexing your site? They are both basically the same, right? tedd -- http://sperling.com/ -- PHP General Mailing

[PHP] Re: Performance question

Thx, but that wouldn't work since i can have dual direction nodes and further something i didnt say is that a node may be used infinite number of times in the tree... so it isn't really valid to use joins in that case :( thx anyway Barry wrote: Mathieu Dumoulin wrote: This is more a "How w

[PHP] Re: How to destroy HTTP authentication (from PHP)?

"Olaf Greve" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > Alright: here's a bit of a "challenge" (so as to avoid the word "issue") > ;) my colleagues have run into previously: how to kill HTTP > authentication... The browser only remembers one authentication. So,

[PHP] Re: Help retrieving an HTML array

Mauricio Pellegrini wrote: > Hi , > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > > input type=text name=xname value="n..." > > > the name of t

Re: [PHP] Help retrieving an HTML array

On Wed, 2006-02-01 at 11:07, Mauricio Pellegrini wrote: > Hi , > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > > input type=text name=xname value="

Re: [PHP] Help retrieving an HTML array

The input name must include [] (brackets) to let php know it's an array. Ex: input type=text name=xname[] value="3303" On Feb 1, 2006, at 9:07 AM, Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname va

Re: [PHP] Help retrieving an HTML array

Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..." the name of the input is al

[PHP] Re: Help retrieving an HTML array

Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..." the name of the input is al

[PHP] Re: Performance question

Mathieu Dumoulin wrote: This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row acts with large result sets. For example im thinking of building a node tree application that can have dual direction links to nod

Re: [PHP] Performance question

I think this might interest you: http://www.bluerwhite.org/btree/ then again it may make your ears bleed (because of the Maths :-). Mathieu Dumoulin wrote: This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row

[PHP] Help retrieving an HTML array

Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..." the name of the input is always the same ( xname ) This

[PHP] PHP6 Roadmap

Hello, Is a roadmap for PHP6 already available somewhere? I've been looking for it on php.net and zend.com but haven't found anything yet, apart a few posts on the improvement of namespaces and unicode. Thank you, Yannick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Performance question

This is more a "How would you do it" than a "How can i do it" question. Didn't have time to try it, but i want to know how mysql_seek_row acts with large result sets. For example im thinking of building a node tree application that can have dual direction links to nodes attached to different

Re: [PHP] How to destroy HTTP authentication (from PHP)?

Hi Jochem (and others), save the 'authenticated' state in the session; only send out the http auth headers when: 1. the user is not authenticated 2. the page is should be protected logging out would then clear the 'authenticated' state from the SESSION now I probably didn't explain that very

[PHP] PHP vars to JS?

Hello, How can I get my PHP variable values to a javascript? Here's the code:

Re: [PHP] Hide email addresses from spam bots

found this a couple of days ago on Digg: http://www.csarven.ca/hiding-email-addresses "A comprehensive list of methods on how to hide email addresses in source code from spam bots. Includes; CSS, Javascript, Forms, Images, Obfuscation, Authentication, Flash, Unicode, Encryption and other methods.

Re: [PHP] Hide email addresses from spam bots

A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots. There are lots of solutions around that I have come acros. I am looking for a clean, reusable, non-javascript solution. Any help is appreciated. Gerry Gerry: There are several way

Re: [PHP] Wysiwyg editors?

William Stokes wrote: Hello, Once again no PHP question... Well, at least you warned me so that I could stop reading now. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] image uploads

Richard Lynch wrote: On Tue, January 31, 2006 4:43 pm, tedd wrote: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? ... in the archives. http://marc.theaimsgroup.com/?l=php-general Richard, are you feeling okay? I don't think I've ever see

Re: [PHP] Re: Hide email addresses from spam bots

Barry wrote: Gerry Danen wrote: A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots. There are lots of solutions around that I have come acros. I am looking for a clean, reusable, non-javascript solution. Any help is appreciated. Ge

Re: [PHP] How to destroy HTTP authentication (from PHP)?

Olaf Greve wrote: Hi all, Alright: here's a bit of a "challenge" (so as to avoid the word "issue") ;) my colleagues have run into previously: how to kill HTTP authentication... I remember that they never did figure that one out, and I too will now have to get my hands dirty with trying to f

Re: [PHP] image uploads

Hi gang: I don't mean to offend anyone, but I'm going to side with Keith Waterson about storing images in a dB rather than in a file system. My reasons are pretty simple. First, an image is nothing more than a large of string text -- sure it's voluminous, but there's no difference how it is

Re: [PHP] Print extended/parent classes

Jochem, Good point. I thought he meant object given his example. :P David Jochem Maas wrote: > David Grant wrote: >> Mathijs, >> >> Mathijs wrote: >> >>> I have the following situation : >>> >>> >> >>> class A { >>> public $var1; >>> } >>> >>> class B extends A { >>> public $var2; >>> } >>> >>>

Re: [PHP] Print extended/parent classes

David Grant wrote: Mathijs, Mathijs wrote: I have the following situation : Now I want to print this object ***object*** Does anybody know how I can print class A also ? ***class*** (class and object are not interchangable concepts - yet they are closely related :-)

Re: [PHP] Hide email addresses from spam bots

Gerry, If a human being can read it, so can a spambot. New techniques might be developed all the time, but you shouldn't bet against spammers bringing themselves up to date with those techniques too. If the user wishes to display their e-mail address on a web page, they should ensure they have g

[PHP] Re: Hide email addresses from spam bots

Gerry Danen wrote: A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots. There are lots of solutions around that I have come acros. I am looking for a clean, reusable, non-javascript solution. Any help is appreciated. Gerry Is it magi

Re: [PHP] How to destroy HTTP authentication (from PHP)?

Olaf, How about generating a hash-enhanced (TM) realm name, such as: Basic Realm Session Then store that timestamp-based hash in the session. When you want to user to bugger off, change the realm name. This is just a theory, and I've not tested it at all. David Olaf Greve wrote: > Hi all,

[PHP] Hide email addresses from spam bots

A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots. There are lots of solutions around that I have come acros. I am looking for a clean, reusable, non-javascript solution. Any help is appreciated. Gerry -- PHP General Mailing List (ht

[PHP] How to destroy HTTP authentication (from PHP)?

Hi all, Alright: here's a bit of a "challenge" (so as to avoid the word "issue") ;) my colleagues have run into previously: how to kill HTTP authentication... I remember that they never did figure that one out, and I too will now have to get my hands dirty with trying to find a proper way to

Re: [PHP] Wysiwyg editors?

On 1 Feb 2006, at 07:45, William Stokes wrote: I once tested htmlarea (http://www.htmlarea.com/) and I think thats I'd recommend fckeditor and tinymce over htmlarea. Both seem to have much more active development, not least that they're both trying to get it working in Safari. fckeditor is

Re: [PHP] Class constructor

On 31 Jan 2006, at 13:52, David Grant wrote: Drop __construct, PHP5 will call Test() anyway. From http://uk.php.net/manual/en/language.oop5.decon.php: "For backwards compatibility, if PHP 5 cannot find a __construct() function for a given class, it will search for the old-style constructor

Re: [PHP] image uploads

This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote: > On Tue, January 31, 2006 4:43 pm, tedd wrote: > >>Storing the image in the DB is probably not a Good Idea for a variety > >>of reasons. > > > > And they are? > > ... in the archives. > > http://marc.theaimsgroup.com/?l=php

Re: [PHP] Print extended/parent classes

Mathijs, Mathijs wrote: > I have the following situation : > > > class A { > public $var1; > } > > class B extends A { > public $var2; > } > > ?> > > Now I want to print this object > > $obj = new B; > print_r($obj); > > ?> > > Does anybody know how I can print class A also ? The above

[PHP] Print extended/parent classes

I have the following situation : Now I want to print this object Does anybody know how I can print class A also ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Question about C++ like macros on PHP

Thnx for the tip. I wanted debug features only for this function. So working with debug_backtrace() was what I needed. Thnx again, Andrei Richard Lynch wrote: On Tue, January 31, 2006 6:40 am, Andrei wrote: Well I know, I wanted to know if any1 did find a workaround... To be more clear, sin

Re: [PHP] image uploads

William Stokes wrote: "Do you really want people uploading 2.5MB a shot to your server?" No. Not really. It's just modern digicams... Most people don't know how to edit pics or doesn't have right tools for that. And they don't realize the difference between 2.5Mb or 0.5Mb just as long there ar

Re: [PHP] image uploads

"Do you really want people uploading 2.5MB a shot to your server?" No. Not really. It's just modern digicams... Most people don't know how to edit pics or doesn't have right tools for that. And they don't realize the difference between 2.5Mb or 0.5Mb just as long there are atleast 5Megapixels i

[PHP] Re: Wysiwyg editors?

William Stokes wrote: Hello, Once again no PHP question... Rare seen here >_> If I want to allow users to design and create their own static pages and store them to a server as a part of larger site what ways I have to do this? Probably try mambo, typo3 there are >>>!!!LOTSA!!!<<< CMS Sc