Hello Tore,

There must be some changes been done e.g. for the session management. The
version step from php4 to php5 is like a new major release. Some commands
dissapeared what was available in php4 comming from php3. It is difficult to
say what must be changed and what not, but it is a longer trip. 
For further steps, there must be a change that this software is running
under php5. 

Example: 
If you have a php side and sending to an other page via POST or GET some
variables, the receiver page under PHP4 will have it with just naming a
variable with exactly the name of the variable of the sender page:

Sender page:
$foo="bar";
[...]
<input type="hidden" name="foo" value="<?php echo $foo;?>";
[...]

Php3 and php4: Receiver page:
---------------
echo $foo;

//You will get a "bar" on your page, the variable has the content "bar".
---------------

Under php5 and php4 but not(!) under php3 (reciever page):

---------------
echo $foo;
// there is no content given in $foo
$foo = $_POST['foo']; // if it was an post-variable...
echo $foo
//You will get a "bar" on your page, the variable has the content "bar".
---------------

I think, if there is an move to php5, care2x will be running under php4 as
well. 
For this example: The new commands $_GET and $_POST was introduced into
php4, but was obsolete. 

Robert
 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von tore
> Gesendet: Donnerstag, 29. Juni 2006 15:45
> An: care2002-developers@lists.sourceforge.net
> Betreff: [Care2002-developers] PHP 4 and 5
> 
> Hi...
> 
> Just woundering if c2x will be work with php 5 or if we're 
> goning to stay with php 4.
> 
> Tore
> 
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier Download IBM WebSphere Application Server 
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
> _______________________________________________
> Care2002-developers mailing list
> Care2002-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
> 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to