Search results

  1. S

    User Submission Video Embed Parse HTML tags

    I have a user submission site and I want to allow them to embed videos, currently I just let them paste the embed code but I have no way of getting rid of HTML tags that would mess up the CSS (I.E. adding a div without closing it). Is there a good way to fix this?
  2. S

    Login not working - Information not kept across pages?

    <?php /***** this section should be broken up into other scripts. *****/ // file to log errors $logfile='...'; define('ERRLOG_SYS', 0); define('ERRLOG_EMAIL', 1); define('ERRLOG_FILE', 3); define('ERRLOG_SAPI', 4); define('ASCII_UPPERCASE', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')...
  3. S

    Login not working - Information not kept across pages?

    Thanks for the interesting trick to auto-update security, however my problem still stands. Here are the errors in the source: Username field is empty Password field is empty Here is the [updated] validation script: <?php /***** this section should be broken up into other scripts...
  4. S

    Login not working - Information not kept across pages?

    That was my bad, I thought I copied everything. I included the session_start() and the header(). However, it still doesn't work, I looked in the DOM inspector and there's nothing there either.
  5. S

    Login not working - Information not kept across pages?

    On my login page when a user tries to login it takes them to the next page but nothing shows up and on the source code it shows I have some errors that shouldn't be there. It seems it loses the information when it goes to validate the information. login page <form...
  6. S

    MySQL Database will not load

    I've been trying to get to my PHPMyAdmin through cPanel and it takes like 10 minutes to get past the redirect, then 10 minutes before it stops loading and it's unfinished, meaning I can't access it at all. Can anyone help me with this?
  7. S

    phpBB database settings

    I'm trying to set up a phpBB forum on my website but I can't get past the database settings. There is an option called "Database Server Port" an I left that blank (default) I was wondering if it was on a different port than standard which would not let it connect and connect to my db info...
  8. S

    Image load order

    You could go with the jQuery lightbox plugin. It lets you set up as many thumbnails as you want and it creates a new image on a larger scale of the clicked thumbnail. That is a good solution. jQuery lightbox: Here
  9. S

    jQuery td onclick location change - Destination continues to be 'undefined'

    I took a few tutorials and it never mentioned that. Thanks, it works now.
  10. S

    jQuery td onclick location change - Destination continues to be 'undefined'

    That would explain a lot... but how would I get each the next a tag in the sequence?
  11. S

    jQuery td onclick location change - Destination continues to be 'undefined'

    Sorry, that was a copy error. It still doesn't work after I changed that. I used next because the td tag (which I referenced with the $()) doesn't have an href attribute and if the user doesn't have javascript enabled I want them to still be able to use the links.
  12. S

    jQuery td onclick location change - Destination continues to be 'undefined'

    On my site I am working on a jQuery script that when you click anywhere in a td (not just on the link) it will take you to the link's destination, but whenever I click it always say it is undefined which always returns a false page. jQuery: $(document).ready(function() {...
  13. S

    Help needed Configuring php mysql script

    You need to include your login name (for cPanel) with an underscore and then your username cPanelName_dbusername (or in your case, yes, ohreally_dbusername) Localhost is the easiest way to connect to the server. You should create a table in your database, call it 'users' or something. A good...
  14. S

    Need to design a 'post comment page'

    Wouldn't you only have to wrap a try/catch statement around the PDO::EXECUTE()? Because nothing does anything (assuming its a PREPARE) until the execute() is called.
  15. S

    Javascript and radio buttons help

    I have been having some trouble with my javascript that involves radio buttons. I have no idea how to check if either radio A or radio B have been selected. My guess: JS <script type="text/javascript"> function validate(radios) { var confirm = document.getElementsByName(radios).value; var...
Top