Re: [PHP] Back to security

2007-03-10 Thread Steve Edberg
At 6:47 PM +0100 3/10/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/10/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, I'm continuing to work on securing my administration part of the website. based on previous posts and reading materials, I was thinking to use the following process : 1. user

Re: [PHP] Separating HTML code from PHP code

2007-03-10 Thread Martin Marques
Don Don escribió: Hi all, i am building a system using php and am trying to separate the html codes from the php codes (i.e. placing them in separate files), I am from the java struts/spring background and seem to be finding it difficult doing that at the moment with php. I've got a regi

Re: [PHP] Separating HTML code from PHP code

2007-03-10 Thread Robert Cummings
On Sat, 2007-03-10 at 11:47 -0800, Don Don wrote: > Hi all, i am building a system using php and am trying to separate > the html codes from the php codes (i.e. placing them in separate > files), I am from the java struts/spring background and seem to be > finding it difficult doing that at the mom

[PHP] Separating HTML code from PHP code

2007-03-10 Thread Don Don
Hi all, i am building a system using php and am trying to separate the html codes from the php codes (i.e. placing them in separate files), I am from the java struts/spring background and seem to be finding it difficult doing that at the moment with php. I've got a registration form in htm

Re: [PHP] php, oci8 and oracle

2007-03-10 Thread buFka
must Oracle Instant Client be installed anyway? do you know hot to set the variables for www-data? -- View this message in context: http://www.nabble.com/php%2C-oci8-and-oracle-tf3374589.html#a9413831 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List

Re: [PHP] Back to security

2007-03-10 Thread Tijnema !
On 3/10/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, I'm continuing to work on securing my administration part of the website. based on previous posts and reading materials, I was thinking to use the following process : 1. user has to logon through a standard "http://"; web page 2. login and

[PHP] Back to security

2007-03-10 Thread Alain Roger
Hi, I'm continuing to work on securing my administration part of the website. based on previous posts and reading materials, I was thinking to use the following process : 1. user has to logon through a standard "http://"; web page 2. login and encrypted password are compared with what is stored

Re: [PHP] Variable variables and references

2007-03-10 Thread M.Sokolewicz
I'd agree with Tijnema! here, variable variables aren't really of any use here. However, a classic snippet of code is where one emulates register_globals functionality in a non-register_globals environment (not a good idea to do this btw, unless you know what you're doing and don't have any oth

Re: [PHP] Joke of the day problem

2007-03-10 Thread tedd
At 2:30 PM +0100 3/8/07, Delta Storm wrote: Hi, again me with the silly questions... I need a script that will take data from MySQL database and display one row each day. I have googled, but with no luck. The database retrieving mechanism is of course clear but I really dont know how to do

Re: [PHP] Variable variables and references

2007-03-10 Thread Tijnema !
On 3/10/07, Matt Carlson <[EMAIL PROTECTED]> wrote: I've used variable variables probably 5 times in 2 years. They are great when you need them, but don't usually have a day-to-day use for them. Here is some sample code of the last time I used it. if(isset($$key)) {

Re: [PHP] Variable variables and references

2007-03-10 Thread Matt Carlson
I've used variable variables probably 5 times in 2 years. They are great when you need them, but don't usually have a day-to-day use for them. Here is some sample code of the last time I used it. if(isset($$key)) { print($$key); continue;

Re: [PHP] $35 to the first person who can do this XML-parsing PHP script

2007-03-10 Thread tedd
At 10:16 PM -0500 3/8/07, Rob Gould wrote: I have to say this is the most helpful listserve I've ever joined! Such friendly people and such good information. What?!? That's the first time I've heard that -- we're slipping guys. We've got to stamp out that image before it gets rooted. tedd -

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Myron Turner
Tijnema ! wrote: On 3/10/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: 2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt írta: > Actually if right click on any file or folder on a machine you will see that > there are two values (Size on disk & Size). Files and folders are st

Re: [PHP] Variable variables and references

2007-03-10 Thread Tijnema !
I must say, in all the years i am programming with PHP (about 5-6 years) i NEVER used references. So i don't find it useful, but well, if you want to give your variable content more than one name, you can :) I think you just need to start programming now, keeping in mind they are available, but d

[PHP] Variable variables and references

2007-03-10 Thread Dave Goodchild
Hi guys, I have just read 'Programming PHP' (O'Reilly) and although I think it's a great book, I am confused about variable variables and references - not the mechanics, just where you would use them. The subject of variable variables is explained but no examples are given as to why and where you

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Tijnema !
On 3/10/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: 2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt írta: > Actually if right click on any file or folder on a machine you will see that > there are two values (Size on disk & Size). Files and folders are stored on > the disk in

Re: [PHP] DB_DataContainer

2007-03-10 Thread Tijnema !
In PHP 5 some things changed, and that's why they first check if PHP version is 5 or greater, if so, it constructs this class and function in PHP5 style, else it uses older syntax. You might want to take a look at this manual page: http://www.php.net/manual/en/migration5.php Tijnema On 3/10/07,

RE: [PHP] FW: looking for two remote functions

2007-03-10 Thread Németh Zoltán
2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt írta: > Actually if right click on any file or folder on a machine you will see that > there are two values (Size on disk & Size). Files and folders are stored on > the disk in what is called clusters (a group of disk sectors). Size

[PHP] RE: looking for two remote functions

2007-03-10 Thread Riyadh S. Alshaeiq
Thank you Mickey, but I have already looked in there and the function posted in the notes is working just fine for getting the size on disk which I am not interested in, I need the actual size that when you download a file to a machine you will get.. Riyadh -Original Message- From: Mikey

RE: [PHP] FW: looking for two remote functions

2007-03-10 Thread Riyadh S. Alshaeiq
Actually if right click on any file or folder on a machine you will see that there are two values (Size on disk & Size). Files and folders are stored on the disk in what is called clusters (a group of disk sectors). Size on disk refers to the amount of cluster allocation a file is taking up, compar

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Németh Zoltán
I'm afraid I don't understand what you want. The size of a file is its size in bytes, that is its size on the disk. So what else? greets Zoltán Németh 2007. 03. 10, szombat keltezéssel 06.07-kor Riyadh S. Alshaeiq ezt írta: > Thank you Mickey, but I have already looked in there and the function p

Re: [PHP] Troubles from the newb again

2007-03-10 Thread M.Sokolewicz
Jeff Taylor wrote: Yeah I have, but what I dont understand is that the value of $name is an object, and was accepted in the original array as the index: the original array was: $me = new Toon(,xxx,xxx,,xxx,etc,etc,etc) $him = new Toon(xxx,xx,x,etc,etc,etc,etc) $array=array