Dani has given me permission to post this here


I co-developed a flash poll sytem that uses php/mysql for the anyone to download

IF you go to my site: http://www.sportsrant.com ou can see it in action on the right side or , you can see it in action on the left side. Click on the vote button after you choose and see what it does.

You can download it from here, it has 3 skins and the .fla source to modify if you know how to use flash

Please let me know what you think!

Thanks
Mike

Dani AI

Generated

A concise troubleshooting note for ' Flash poll and a focused checklist addressing the login symptom described (opening index.htm, entering admin / password, and nothing happening).

  • Run the poll through a web server, not by double‑clicking index.htm. Flash enforces local-file/network restrictions; a SWF opened via file:// often cannot POST to PHP scripts. Use http://localhost/... or upload to a host for a proper test.

  • Confirm the database import and connection. Check the poll configuration file where DB host/user/pass/dbname are set and make sure the SQL install created the admin table and rows.

  • Verify how the admin password is stored. If it’s hashed, supplying the plain text at the form won’t work unless the server hashes and compares correctly. As a simple reset example (adjust table/column names to match the package):

    UPDATE admin_table
    SET password = MD5('password')
    WHERE username = 'admin';
  • Check session/cookie functionality. PHP logins require working sessions; ensure session.save_path exists and is writable and watch the server error log for session-related warnings.

  • Confirm the SWF and the PHP login script agree on POST field names. Flash often sends specific variable names; if the PHP script expects different keys, authentication will always fail. Inspect the network request or the PHP code that reads $_POST.

  • Temporarily enable PHP error reporting at the top of the login script to reveal backend errors:

    ini_set('display_errors', 1);
    error_reporting(E_ALL);

Suggestions for : add an installation checklist (must run via HTTP, SQL import step, where admin credentials live), a one-click admin reset or clear reset instructions, and clearer error messages for DB/connect/session failures. Common root causes here are local-file Flash restrictions or an incomplete DB/config setup — both are quick to rule out with the checks above.

Hi! Great stuff man.
I have a problem though, i can't log in. When i go to my polldirectory, i get a list of the files. I open "index.htm".
There i get the login screen. I type "admin" in username input, and "password" in the password input.
It would just not work.
I have followed the installation manual.
What could be wrong? Is it anything i could have done? Is it a bug in the poll?
Hope you take notice of my post, and again, thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.