Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Is there a php test I can do to test server php compatibility?

  • 05-05-2009 8:33am
    #1
    Registered Users, Registered Users 2 Posts: 1,795 ✭✭✭


    I have done a website for someone using Flash, and in it is the contact form. However, I can't seem to get the input to be sent via the php script. However again, everythig seems to be fine. Is there a simple php script I can use to upload to the web host and test its php-ness?

    Thanks in advance,

    Seanie.


Comments

  • Registered Users, Registered Users 2 Posts: 35,522 ✭✭✭✭Gordon


    <?php
    phpinfo();
    ?>
    
    Save as a php file, upload, then navigate to.


  • Registered Users, Registered Users 2 Posts: 1,795 ✭✭✭Seanie M


    Gordon wrote: »
    <?php
    phpinfo();
    ?>
    
    Save as a php file, upload, then navigate to.

    Thanks Gordon, let me try that...


  • Registered Users, Registered Users 2 Posts: 1,795 ✭✭✭Seanie M


    Yep, it seems to be fine, running on version 4.4.7

    However, as it is the same script I am using on another flash website, on a different domain/host, I don't know why it won't work here...

    Any tips for me to look for?

    Seanie


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Check the log files

    Check the modules in the phpinfo output


  • Registered Users, Registered Users 2 Posts: 1,795 ✭✭✭Seanie M


    blacknight wrote: »
    Check the log files

    Check the modules in the phpinfo output

    You'll have to enlighten me a little more there!

    Seanie.


  • Advertisement
  • Closed Accounts Posts: 176 ✭✭elyod


    Is the other host which your script is working on php 4.4.7, or php 5?

    Maybe your trying to use a function which is only available in php 5


  • Closed Accounts Posts: 235 ✭✭Yerac


    I'm very out of practice with PHP but it would probably be best to test if any form variables are being passed and what exactly is/isn't working.

    You could try a dummy form whose output just echoes the variables to see if that basic stage is working.

    Also check out $_GET and $_POST and possibly superglobals which I have a nagging suspicion caused me problems before.


  • Registered Users, Registered Users 2 Posts: 1,795 ✭✭✭Seanie M


    Persistence is NOT futile, I managed to get it working.

    By the way, it was on www.waynebrennan.com

    ;)

    Seanie.


Advertisement