Php has stopped working

when I tested this site:

http://www.spree.us

on my own server, the guestbook worked perfectly. Now I have sent the files to the client and thats right! it doesn’t work, as you will see if you test the above link. He has sent everything I sent, the guestbook php and also the blank text file named guestbook.

I don’t know where to start now, and have no idea about the syntax of php. I am uploading the php file for you to look at and any advice would be greatly appreciated.

I have heard that some versions of php don’t work anymore but I do not have the technical knowledge to know how to change anything. Could you look please?

Would you need to see the FLA also? I can send that later if required.

Also, is there any further info you would need from me? I’ll try my best to supply anything.

Many thanks

There may be a number of things wrong…

  1. Change the $_POST vars immediately and use the old style… You never know man :slight_smile:

  2. Double check their file handling properties… Sounding weird… They may not have access permissions set correctly…

OTher than that… Check the registr values and the installation of php to make sure it was correctly installed.

send them the php info file (tutorials) and tell them to put that up to check out if they even have php running…or do you know they do?

it’ll also give you some version info… it can be really weird stuff depending on how they have php configured. even using <? ?> instead of <?php ?> can cause problems depending on how the server is set up.

thanks guys. a few questions

Marz,

you say: Change the $_POST vars immediately - what to? I don’t understand the syntax of php.

What are access permissions?

Check the registr values and the installation of php to make sure it was correctly installed. - what does this mean?

eyezberg,

No idea what you mean by this. Which tutorials do you speak of? and who do I send this info to? the server people?

I am sorry about not understanding but it all seems extremely complex.

I have been informed that they do support PHP, by the way.

Thanks once again.

http://www.kirupa.com/web/testphp.htm

eyezberg,

I followed the tutorial you sent me and look what I got, what does this tell me?

http://www.spree.us/info.php

Thank you.

eyezberg,

Just out of curiosity, I sent the info php file to my server which I knew for sure supported php and ah!!! I got a confirmation.

http://www.galaxymusic.co.uk/info.php

I presume that the server my client uses, doesn’t support it!!
CURSES, all that work.

One way I thought of doing it would be to have my swf for the guestbook, the guestbook php etc on MY server and an instruction on the guestbook button on the main page to get the file from there, what do you think?

Yeah… he doesn’t support it because it came up for me to try and download it… You will have to install it on his machine…

BTW… for future references…
$_POST[]

should be

$HTTP_POST_VARS[]

It actually tells you that in the code of the program…

:slight_smile:

marz, doesn’t $_POST[] work as well?

http://us4.php.net/reserved.variables

$_POST[] is in the newer versions of PHP and is handled differently than $H_P_V[]

i’m lost now!