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

Flash not recognising PHP file? Please help i'm going mad!

  • 28-03-2007 2:18pm
    #1
    Registered Users, Registered Users 2 Posts: 907 ✭✭✭


    I've created a simple point and click game using Flash 8 Pro, it uses PHP and MYSQL. The user registers and then logs in on the main screen. They can also save, I'm pretty sure the php code is fine.

    The problem is - when i click my 'register' button on the main page i keep getting a 'Error opening URL' error. I get this immediatley, theres no pauses, it doesnt even get to thestage where it tries the mysql query I'd say, its just a basic thing going wrong, but i dont know what!

    The error given is : 'Error opening URL "file:///C|/Program%20Files/Apache%20Group/Apache2/htdocs/Register.php?RegName=fghf&165" '

    I'm pretty sure PHP is installed ok, the test.php page show up fine. it's Flash that doesn't find or recognise the php file for some reason...

    The code linking to register.php is behind that button, I've put all my files in the same folder as localhost is. This is probably a very basic obvious error (I hope), can someone please help me?

    I followed the tutorial here http://www.phpbuilder.com/columns/hill20011214.php3?page=1 when making it


Comments

  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    Den_M wrote:
    I've created a simple point and click game using Flash 8 Pro, it uses PHP and MYSQL. The user registers and then logs in on the main screen. They can also save, I'm pretty sure the php code is fine.

    The problem is - when i click my 'register' button on the main page i keep getting a 'Error opening URL' error. I get this immediatley, theres no pauses, it doesnt even get to thestage where it tries the mysql query I'd say, its just a basic thing going wrong, but i dont know what!

    The error given is : 'Error opening URL "file:///C|/Program%20Files/Apache%20Group/Apache2/htdocs/Register.php?RegName=fghf&165" '

    I'm pretty sure PHP is installed ok, the test.php page show up fine. it's Flash that doesn't find or recognise the php file for some reason...

    The code linking to register.php is behind that button, I've put all my files in the same folder as localhost is. This is probably a very basic obvious error (I hope), can someone please help me?

    I followed the tutorial here http://www.phpbuilder.com/columns/hill20011214.php3?page=1 when making it

    didn't check out the tutorial you linked to .. but with flash you are linking to a file in your home pc ... you should probably be linking to http://localhost/register...

    as I can't remember if flash can play nicely with the filesystem (depending on security restrictions) ? and if it can ... your php file would just return its code anyways


Advertisement