Jump to content

AyKay47

Members
  • Posts

    3,281
  • Joined

  • Last visited

  • Days Won

    1

AyKay47 last won the day on November 18 2012

AyKay47 had the most liked content!

About AyKay47

  • Birthday 09/04/1988

Profile Information

  • Gender
    Male
  • Location
    East Coast, U.S.
  • Age
    24

Contact Methods

  • Yahoo
    dfugi9488@yahoo.com

AyKay47's Achievements

Member

Member (2/5)

25

Reputation

  1. What debugging steps have you taken? Make sure error_reporting is set to E_ALL or -1 and display_errors is set to ON or 1 It may help to post the form
  2. If you are not sure what ChristianF is talking about, try googling "MVC Framework".
  3. 1. str_ireplace requires a string for the first parameter, not a string format. 2. Generate the URL inside of the while loop, $E_ID contains the last value from the database.
  4. Wasn't a core function, there are custom functions floating around that will do it.
  5. There is no core PHP function that will do the entire process for you.
  6. My guess would be the "@" symbol in the password is throwing it off. I don't know the specifics of what exactly causes this, but there has been bug report(s) on it. Try changing the password for that user to a simple string and see if that works.
  7. $_SERVER['PHP_SELF'] should never be used as a forms action, as it can rather easily be spoofed. Instead if you want the form to submit to itself, use action=''
  8. All that should need to be passed is the id, and I do not see why that would need to be hidden or encrypted.
  9. If you output: echo "<pre>"; print_r($cdata); echo "</pre>"; You will get a better idea of the array structure.
  10. What exactly do you mean? PHP code can only be interpreted in a php file. Mod_rewrite would allow you to change the PHP file to look like an HTML file in the URL, which addresses your initial question.
  11. How is the array being generated? Post the relevant code to this thread.
  12. change the query to: SELECT id FROM TABLENAME WHERE username='USER' AND password='PASSWORD' LIMIT 1 Again, single quotes can only be used a qualifiers is you configure the mysql server to accept them.
  13. Place the MySQL debugging code in the login.php page and display the error(s) received. The MD5 comment applies to the entire application.
  14. try foreach($_POST['calltotor'] as $toractions) { if(array_key_exists($toractions, $callstoaction)) echo $callstoaction[$toractions] . "<br>"; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.