 |
| << | September 2010 | >> |
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
|
|
|
|
|
 |
 |
|
| Goto page Previous 1, 2, 3, 4 |
codyheit Post subject: Re: PHP4.4 compatibility - petition Senior Member
|
Mon Jul 02, 2007 7:49 am Posts: 320
|
|
|
|
|
|
 |
rrhode Post subject: Re: PHP4.4 compatibility - petition
|
Mon Jul 02, 2007 3:41 pm Posts: 1
|
| |
|
| aissa wrote: | Like said, php4 support is really easy to obtain !
This is the tips.
Replace all
setObjectValuesFromRequest($focus);
By
setObjectValuesFromRequest(&$focus);
You have your php4 support. |
I discovered that you can keep it compatible with both by doing something like this:
| Code: | $ver = explode( '.', PHP_VERSION );
$ver_num = $ver[0] . $ver[1] . $ver[2];
if ($ver_num < 500) {
setObjectValuesFromRequest(&$focus);
} else {
setObjectValuesFromRequest($focus);
}
|
|
|
|
|
stormlifter Post subject: Re: PHP4.4 compatibility - petition
|
Wed Jul 04, 2007 5:10 pm Posts: 13
|
| |
|
| tweakerxp wrote: | | Signed! My host gives me 4.4.x and 5.2.x and that's all so vTiger is not useless to me. |
That's my case as well. I'd love to see this work with either one.
|
|
|
|
| |