Iím having big problem which I cannot figure out what the problem is
My delema is is this: I have this script that work fine on my web serve, however when I try to use it with microweb server, itís doesnít work the way it should, does anyone have any suggestions what might cause this. ? Could it be php version ?

P.S IF SOMEONE IS WILLING TO HELP, I COULD SEND THE CODE

Fumigator

10-22-2009, 06:46 PM

How bout you tell us what the problem is first, and maybe even post some code snippets that may be relevant to the problem.

Phil Jackson

10-22-2009, 06:46 PM

Should really send the code first my man so we know what we are dealing with ;-)

jdimino

10-22-2009, 06:59 PM

ok you guys a right!
Here is the problem I'm having, hope It's not so confusing.
On the following code on
/* No 3 Hybridiser */ /* No 4 Origin */ and /* No 5 Leaf */

I fear that your code is dependent on register_globals being on. You need to set $appr from the correct source (post/get/cookie/session) so that your code will work on all php configurations and versions (register_globals have been completely removed in php6.)

godofreality

10-22-2009, 07:16 PM

ok i have noticed more than one line in your script there that look like this line right here which i copied from above where u mentioned where the problem was occuring

echo '<img width="120" height="120" src="'.$imgpath3.'H/HNP.jpe">';

please note the file type ur trying to place onto the page it is .jpe which i have never heard of and i am quite sure that is ur problem right there try changing it to .jpg and see if it works now

It is better to fix your code because register globals were turned off by default in php4.2 over 7 years ago and they have been completely removed in php6. The sooner you correct your code the sooner you can stop wasting time every time you switch to a different server where register_globals are not turned on.