Re: [PHP] PLEASE help, this is driving me crazy - is saveHTML() etc not UTF-8 capable?

2009-02-18 Thread Addmissins Development
mike wrote: On Tue, Feb 17, 2009 at 4:26 PM, mike mike...@gmail.com wrote: i tried that kind of stuff - it did not seem to work. i will try again... if anyone has any ideas i.e. use iconv to convert to A, then use DOM stuff, then use iconv to move it back to UTF8... etc. i am all ears.

[PHP] Re: Unique User Hashes

2009-02-18 Thread Colin Guthrie
'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble: We dont have registration - its a once off vote anonymously using the hash in the original email. We dont want registration otherwise it would be much easier - but this was the best way I could think of without user registration :/

Fwd: [PHP] Re: Unique User Hashes

2009-02-18 Thread Ian
Forgot to send to list. -- Forwarded message -- From: Ian barnrac...@gmail.com Date: Wed, Feb 18, 2009 at 11:12 AM Subject: Re: [PHP] Re: Unique User Hashes To: Colin Guthrie gm...@colin.guthr.ie 'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble: We dont have

[PHP] Free XML and WDL classes/scripts

2009-02-18 Thread Anton Heuschen
What are some good php classes/scripts to work with: Parsing XML data/files. Building SOAP/WDML (Im not too familiar with this so still trying to work it out) So far, I have a class from : PHP WSDL Generator - Version 1.1.0 b http://www.protung.ro Basically what I need to do is connect

Re: [PHP] PHP strategy -- pass complex parameters by value or by reference?

2009-02-18 Thread Jochem Maas
Clancy schreef: I have a function to process a data file. This process opens the file, and then calls another function to process each entry. This function in turn calls another function to process each line of the entry. A set of fairly complex arrays specifies how all the possible

Re: [PHP] Free XML and WDL classes/scripts

2009-02-18 Thread Per Jessen
Anton Heuschen wrote: What are some good php classes/scripts to work with: Parsing XML data/files. xpath() or xslt. /Per -- Per Jessen, Zürich (-4.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Stuart
2009/2/17 PJ af.gour...@videotron.ca: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Dotan Cohen wrote: So put it all in one place: ?php include path.inc; printa href=\$path/dir/file.php\; ? Full URLs don't break when users save the pages to disk. That would be fine if the

Re: [PHP] PHP AS an FTP server

2009-02-18 Thread Thodoris
On Tue, 2009-02-17 at 18:54 +0200, Thodoris wrote: Hi, This is probably a bit stupid, but I've been having issues getting any of the good FTP servers running on my Ubuntu 6.06 (LTS) box. I've tried Pro-FTP, Pure-FTP, and briefly installed some others, but the versions available for my

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Stuart
2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Dotan Cohen wrote: So put it all in one place: ?php include path.inc; printa href=\$path/dir/file.php\; ? Full URLs don't break when

Re: [PHP] Full versus relative URLs

2009-02-18 Thread PJ
Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Dotan Cohen wrote: So put it all in one place: ?php include path.inc; printa href=\$path/dir/file.php\; ? Full URLs don't break when users save the

[PHP] escape your variables

2009-02-18 Thread PJ
To focus on mysql_real_escape_string, I am recapping... questions below QUOTE:== Instead of doing this (for an imaginary table): $sql = insert into table1(field1, field2) values ('$value1', '$value2'); do $sql = insert into table1(field1, field2) values (' .

Re: [PHP] Full versus relative URLs

2009-02-18 Thread PJ
Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? This generates a Fatal error: Cal to undefined function dirname() I must be really dense... What I don't understand in the above is this - dirname refers to what directory? -- the directory of the file that is including?

Re: [PHP] PHP AS an FTP server

2009-02-18 Thread Michael Kubler
Yeah, I don't want local user access (SSH, their own entries in passwd, etc..). Too much work to ensure they all have the correct file permissions, etc.. I think I'll just skip the PHP bit and use a proper FTP server. I've configured them a few times, but all the examples I found only had

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Stuart
2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? This generates a Fatal error: Cal to undefined function dirname() The dirname function is present in both PHP 4 and 5 and does not rely on any external libraries. Are you sure you're

Re: [PHP] Full versus relative URLs

2009-02-18 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] escape your variables

2009-02-18 Thread Bastien Koert
On Wed, Feb 18, 2009 at 8:34 AM, PJ af.gour...@videotron.ca wrote: To focus on mysql_real_escape_string, I am recapping... questions below QUOTE:== Instead of doing this (for an imaginary table): $sql = insert into table1(field1, field2) values ('$value1', '$value2'); do $sql =

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-18 Thread Jochem Maas
Robert Cummings schreef: On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote: Robert Cummings wrote: I think what you all are missing is that physics is just a framework for reality. I think you are missing that reality is just a construct of strawberry fields forever. Carl Sagan

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Johnny
Thodoris a écrit : Here's a question related to my last post. When specifying a link in a HTML file (like to the css or an image file), there are two ways of doing it. One is to simply include the relative path to the file (relative to the doc root), like: /graphics/my_portrait.gif Or you

Re: [PHP] Re: Unique User Hashes

2009-02-18 Thread Andrew Ballard
On Wed, Feb 18, 2009 at 4:12 AM, Ian barnrac...@gmail.com wrote: Forgot to send to list. -- Forwarded message -- From: Ian barnrac...@gmail.com Date: Wed, Feb 18, 2009 at 11:12 AM Subject: Re: [PHP] Re: Unique User Hashes To: Colin Guthrie gm...@colin.guthr.ie 'Twas

Re: [PHP] function array problem

2009-02-18 Thread Thodoris
I've had a bit of a problem with a function I'm using for a form. Essentially, the function looks like this: function addEvent($values = Array('name' = '', 'venue' = '', 'description' = '', 'errors' = Array())) { // code here displays the form } The function is used to both display an

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-18 Thread Robert Cummings
On Wed, 2009-02-18 at 15:55 +0100, Jochem Maas wrote: Robert Cummings schreef: On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote: Robert Cummings wrote: I think what you all are missing is that physics is just a framework for reality. I think you are missing that reality is

Re: [PHP] escape your variables

2009-02-18 Thread Eric Butera
On Wed, Feb 18, 2009 at 8:34 AM, PJ af.gour...@videotron.ca wrote: To focus on mysql_real_escape_string, I am recapping... questions below QUOTE:== Instead of doing this (for an imaginary table): $sql = insert into table1(field1, field2) values ('$value1', '$value2'); do $sql =

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-18 Thread Shawn McKenzie
Jochem Maas wrote: Robert Cummings schreef: On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote: Robert Cummings wrote: I think what you all are missing is that physics is just a framework for reality. I think you are missing that reality is just a

Re: [PHP] function array problem

2009-02-18 Thread Shawn McKenzie
Thodoris wrote: I've had a bit of a problem with a function I'm using for a form. Essentially, the function looks like this: function addEvent($values = Array('name' = '', 'venue' = '', 'description' = '', 'errors' = Array())) { // code here displays the form } The function is used

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Shawn McKenzie
PJ wrote: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Stuart wrote: 2009/2/17 PJ af.gour...@videotron.ca: Dotan Cohen wrote: So put it all in one place: ?php include path.inc; printa href=\$path/dir/file.php\; ? Full URLs don't break when users

Re: [PHP] Full versus relative URLs

2009-02-18 Thread PJ
Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? This generates a Fatal error: Cal to undefined function dirname() The dirname function is present in both PHP 4 and 5 and does not rely on

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Bastien Koert
On Wed, Feb 18, 2009 at 12:05 PM, PJ af.gour...@videotron.ca wrote: Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? This generates a Fatal error: Cal to undefined function dirname() The dirname

Re: [PHP] Full versus relative URLs

2009-02-18 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Paul M Foster
On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote: Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? snip What confused me here is that often, in examples, there are all sorts of references to files and there

Re: [PHP] Full versus relative URLs

2009-02-18 Thread PJ
Bastien Koert wrote: On Wed, Feb 18, 2009 at 12:05 PM, PJ af.gour...@videotron.ca wrote: Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? This generates a Fatal error: Cal to undefined function dirname() The

Re: [PHP] Full versus relative URLs

2009-02-18 Thread PJ
Paul M Foster wrote: On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote: Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? snip What confused me here is that often, in examples, there are all sorts of references to

[PHP] Which file Included me?

2009-02-18 Thread Ed Curtis
Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also needs to include some javascript only if it's called from a certain URL.

Re: [PHP] Which file Included me?

2009-02-18 Thread APseudoUtopia
On Wed, Feb 18, 2009 at 1:16 PM, Ed Curtis e_cur...@homes2see.com wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also

Re: [PHP] Execute EXE with variables

2009-02-18 Thread Yannick Mortier
2009/2/13 Dan Shirah mrsqua...@gmail.com: Use the system() command, and enclose both your command and its parameters in a pair of single quotes, as: system('mycmd -a alfa -b bravo'); Paul -- Paul M. Foster Using both exec() and system() I am getting the error: Unable to fork This

Re: [PHP] Which file Included me?

2009-02-18 Thread Sudheer
Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also needs to include some javascript only if it's called from

Re: [PHP] Which file Included me?

2009-02-18 Thread Robert Cummings
On Wed, 2009-02-18 at 23:57 +0530, Sudheer wrote: Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Michael A. Peters
Johnny wrote: Hi Thodoris, In my opinion, the best use is to include your file with relative urls, like : img src=/path/to/img.jpg / I believe that it best. Including the hostname use to cause a dns lookup in some browsers which made it slower but I don't believe that is the case

Re: [PHP] Which file Included me?

2009-02-18 Thread Michael A. Peters
Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also needs to include some javascript only if it's called from

Re: [PHP] Which file Included me?

2009-02-18 Thread Michael A. Peters
Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also needs to include some javascript only if it's called from

Re: [PHP] Unique User Hashes

2009-02-18 Thread tedd
At 5:47 AM +0200 2/18/09, Ian wrote: Anyone had to deal with this in the past and does anyone have any suggestions/ideas as to how I could better this setup? Many thanks in advance, Ian Ian: As other people have said, using IP's are not really a good solution. If it was me, I would ask the

Re: [PHP] Execute EXE with variables

2009-02-18 Thread Michael A. Peters
Yannick Mortier wrote: 2009/2/13 Dan Shirah mrsqua...@gmail.com: Using both exec() and system() I am getting the error: Unable to fork This sounds to me like it is an restriction on the server that doesn't allow php to fork so it could start another process. Maybe you should ask your

Re: [PHP] Which file Included me?

2009-02-18 Thread Shawn McKenzie
Michael A. Peters wrote: Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every page of a site but also needs to include some javascript

Re: [PHP] Unique User Hashes

2009-02-18 Thread Andrew Ballard
On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote: At 5:47 AM +0200 2/18/09, Ian wrote: Anyone had to deal with this in the past and does anyone have any suggestions/ideas as to how I could better this setup? Many thanks in advance, Ian Ian: As other people have said,

Re: [PHP] Which file Included me?

2009-02-18 Thread Sudheer
Robert Cummings wrote: On Wed, 2009-02-18 at 23:57 +0530, Sudheer wrote: Ed Curtis wrote: Is there a function or variable that will tell me if a file has asked another file to include something much the same as $_SERVER['HTTP_REFERER'] works. I have a script that is included on every

[PHP] Memcache and session management

2009-02-18 Thread Gautier Di Folco
Hello every body, I am a french student, I am using memcache to manage sessions by the handler, but sometimes I want to manage their from PHP; for example, for incrementing one or two variables of an other session, I want to know how I can update an other session, if I know its name ?

Re: [PHP] Which file Included me?

2009-02-18 Thread Dotan Cohen
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean) I do not understand the exploit. How is he spoofing any $_SERVER variables? The attack description doesn't make sense. -- Dotan Cohen

Re: [PHP] Unique User Hashes

2009-02-18 Thread tedd
At 1:54 PM -0500 2/18/09, Andrew Ballard wrote: On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote: Granted this is an involved method, but email addresses are unique and thus ensures one vote per email address. E-mail addresses are (somewhat unique -- not getting into

Re: [PHP] Unique User Hashes

2009-02-18 Thread Andrew Ballard
On Wed, Feb 18, 2009 at 3:43 PM, tedd tedd.sperl...@gmail.com wrote: At 1:54 PM -0500 2/18/09, Andrew Ballard wrote: On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote: Granted this is an involved method, but email addresses are unique and thus ensures one vote per

Re: [PHP] Unique User Hashes

2009-02-18 Thread Ashley Sheridan
On Wed, 2009-02-18 at 15:54 -0500, Andrew Ballard wrote: On Wed, Feb 18, 2009 at 3:43 PM, tedd tedd.sperl...@gmail.com wrote: At 1:54 PM -0500 2/18/09, Andrew Ballard wrote: On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote: Granted this is an involved method, but

Re: [PHP] Unique User Hashes

2009-02-18 Thread tedd
At 3:54 PM -0500 2/18/09, Andrew Ballard wrote: You're missing my point. Yes, e-mail addresses are unique delivery points. They can not, however, uniquely identify one and only one person -- which is what one would need in the OP's situation. Andrew Andrew: No -- I did not miss you point,

Re: [PHP] function array problem

2009-02-18 Thread Ashley Sheridan
On Wed, 2009-02-18 at 10:21 -0600, Shawn McKenzie wrote: Thodoris wrote: I've had a bit of a problem with a function I'm using for a form. Essentially, the function looks like this: function addEvent($values = Array('name' = '', 'venue' = '', 'description' = '', 'errors' = Array()))

[PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread German Geek
Hi all, A while ago, i had a problem with shell_exec: I was writing some code to execute imagemagick to convert a bunch of images. This could take ages to execute and the page therefore ages to load. The solution was to get a linux box and append a at the end to do it in the background or make

Re: [PHP] Which file Included me?

2009-02-18 Thread Michael A. Peters
Dotan Cohen wrote: http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean) I do not understand the exploit. How is he spoofing any $_SERVER variables? The attack description doesn't make sense.

Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread Ashley Sheridan
On Thu, 2009-02-19 at 10:30 +1300, German Geek wrote: Hi all, A while ago, i had a problem with shell_exec: I was writing some code to execute imagemagick to convert a bunch of images. This could take ages to execute and the page therefore ages to load. The solution was to get a linux box

Re: [PHP] Which file Included me?

2009-02-18 Thread Shawn McKenzie
Dotan Cohen wrote: http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean) I do not understand the exploit. How is he spoofing any $_SERVER variables? The attack description doesn't make

Re: [PHP] Which file Included me?

2009-02-18 Thread Shawn McKenzie
Michael A. Peters wrote: Dotan Cohen wrote: http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean) I do not understand the exploit. How is he spoofing any $_SERVER variables? The attack

Re: [PHP] Which file Included me?

2009-02-18 Thread Dotan Cohen
Did you actually try his example? No, I could not understand it. Now I see why: 1) Where would the experienced hacker enter the attack? Now I see that it is the URL of the attacked site. That was not clear, I though that it was being entered into some form element that I did not see in the code.

[PHP] Secure File Paths, File System

2009-02-18 Thread Daniel Kolbo
Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in the file system? As I see it, a php programmer could change the include_path, with ini_set(), use ../

Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread German Geek
Yes, believe it or not, when i was writing this, i thought about a db soln as well. Just hadnt done it that way back then. I guess with Linux one could do something like: shell_exec('{longexecutingprogram -with -params; mysql -uuser -ppass database query; } '); Surely it should be possible in

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Stuart
2009/2/18 PJ af.gour...@videotron.ca: Paul M Foster wrote: On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote: Stuart wrote: 2009/2/18 PJ af.gour...@videotron.ca: Stuart wrote: ?php include dirname(__FILE__)./../header.php; ? snip What confused me here is that often, in examples,

Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread Ashley Sheridan
On Thu, 2009-02-19 at 11:15 +1300, German Geek wrote: Yes, believe it or not, when i was writing this, i thought about a db soln as well. Just hadnt done it that way back then. I guess with Linux one could do something like: shell_exec('{longexecutingprogram -with -params; mysql -uuser

Re: [PHP] Unique User Hashes

2009-02-18 Thread Andrew Ballard
On Wed, Feb 18, 2009 at 4:07 PM, tedd tedd.sperl...@gmail.com wrote: At 3:54 PM -0500 2/18/09, Andrew Ballard wrote: You're missing my point. Yes, e-mail addresses are unique delivery points. They can not, however, uniquely identify one and only one person -- which is what one would need in

[PHP] Re: shell_exec - asynchronous would be cool!

2009-02-18 Thread Martin Zvarík
German Geek napsal(a): Hi all, A while ago, i had a problem with shell_exec: I was writing some code to execute imagemagick to convert a bunch of images. This could take ages to execute and the page therefore ages to load. The solution was to get a linux box and append a at the end to do it

Re: [PHP] How should I ....--its a date/timestamp issue

2009-02-18 Thread Terion Miller
What are your suggestions folks on how to go about setting a date on a form so that a user can not set a start date prior to the current days date? I've been looking around php.net but is it a javascript thing in the validation I should be dealing with, basically as it is I have a

[PHP] Re: Secure File Paths, File System

2009-02-18 Thread Shawn McKenzie
Daniel Kolbo wrote: Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in the file system? As I see it, a php programmer could change the include_path,

Re: [PHP] Unique User Hashes

2009-02-18 Thread Martin Zvarík
Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it's a waste of my time... if you want me to vote you do everything you can to make it as pleasant as possible -- certainly that isn't requirement of an email validation.

Re: [PHP] How should I ....--its a date/timestamp issue

2009-02-18 Thread Paul M Foster
On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote: snip What about just accepting any date in to the system, and defaulting to the current date if any numptys/users try to set one before? Do something maybe like this (untested) $userDate =

Re: [PHP] Free XML and WDL classes/scripts

2009-02-18 Thread Nathan Rixham
Per Jessen wrote: Anton Heuschen wrote: What are some good php classes/scripts to work with: Parsing XML data/files. xpath() or xslt. /Per you'll do no finer than wso2 wsf/php for anything webservice related http://wso2.org/projects/wsf/php -- PHP General Mailing List

[PHP] Having trouble with a multidimensional array menu

2009-02-18 Thread Daevid Vincent
I'm trying to build a multi-array menu (but open to using classes or something if that makes this easier). Does anyone have a solution already working? I'm very close, but I can't seem to get my directories to work and I end up with extraneous ul blocks. here's what I need to re-create: div

[PHP] PHP - user profile page with pic

2009-02-18 Thread jeffery harris
Any ideas or tutorials on how to build a user profile page sort of like facebook? -Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP - user profile page with pic

2009-02-18 Thread 9el
The question can be equally rephrased as How an Atom bom/Spaceship be created? Answer depends on the level of knowledge you have on coding / developing sites. Woud you be using any framework? or would you use any readymade CMS? Or write everything from scratch? Question can also be generalized

Re: [PHP] Having trouble with a multidimensional array menu

2009-02-18 Thread Jim Lucas
Daevid Vincent wrote: I'm trying to build a multi-array menu (but open to using classes or something if that makes this easier). Does anyone have a solution already working? I'm very close, but I can't seem to get my directories to work and I end up with extraneous ul blocks. here's what I

Re: [PHP] Having trouble with a multidimensional array menu

2009-02-18 Thread Jim Lucas
Daevid Vincent wrote: I'm trying to build a multi-array menu (but open to using classes or something if that makes this easier). Does anyone have a solution already working? I'm very close, but I can't seem to get my directories to work and I end up with extraneous ul blocks. here's what I

[PHP] Accessors

2009-02-18 Thread Philip Thompson
Hi all. Maybe I'm wanting more Java-like functionality out of PHP, but I don't really like getting and setting members directly (even for public members) - I'd rather use accessors. This way you can control what is getting set and what is returning. However, I also don't really want to