Jump to content

High_-_Tek

Members
  • Posts

    72
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

High_-_Tek's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What? That 'C' that you see if a part of the indian's headdress. Not to mention that the indian has been our mascot since the 70's. Thanks all for the other comments though, very helpful!
  2. Hello all! My school district has, for the past few years, been having a student develop their website as part of a class at the high school. Last year in September, I took over the website from the previous (now, an alumni) student developer. Over the summer, he was paid to re-design and re-code the website. However, at the end of the summer, he accidentally wiped the webroot, so when I took the job, I had to do the coding more or less from scratch (minus the design, of which he had a backup of) I am looking for UI/usability/functionality criticisms, but please not that this website's development was very rushed as the administration was breathing down my throat to revitalize the destroyed website. http://www.grafton.k12.ma.us Also, I am aware of the menu issues (mis-alignment and the green boxes that appear when you mouse over the tabs disappear too quickly), if anyone has suggestions to fix those, I am all ears. Thank you for any and all comments.
  3. Well it looks like you have coded your script for if 'register_globals' is turned on, and its better for you to code your script using the superglobals $_POST or $_GET You could re-code your script as: if (empty($_POST['month']) || empty($_POST[['day']) || empty($_POST['year'])) (Of course replace the $_POST with $_GET if your form uses GET
  4. You need to replace the single quotes on the header() line with double quotes.
  5. You either need to change all the 's in your query itself (not counting the two ' that signal the beginning and end of a string) to "s or escape them
  6. That implies that the query you used is not valid, although it should show up in an mysql_error()
  7. Your error is indicitive that you have output before your call to session_start() You COULD use output buffering to fix this, or just put the call to session_start() at the top of your page.
  8. Hey All, Some Linux support forums have a feature where, apart from their usual RSS, they have a feed that contains 10-20 of the latest unanswered topics If PHP Freaks were to implement that, it would cut a lot of time for people who look around the PHP Help and other boards looking for topics with 0 replies, they can just look at the feed in their browser. Thanks, Rick
  9. [b]marky167[/b], no one is going to spend their time to do it for you without pay.  Either look at Nuke or phpBB for ideas and create your own or start researching.
  10. You need to extract the mysql results using mysql_fetch_array or any other of it's cousin functions. [code] <?php // Open database connection include 'dbdata.php'; // Check the number of tickets already sold $result = mysql_query("SELECT id FROM tickets WHERE id = '100'"); $row = mysql_fetch_array($result); // Determine which table to send the data to and include the script   if ($row['id'] == '100')   {   include('tickets_waiting.php');   }     else   {   include('tickets_success.php');   } ?> [/code]
  11. [code] $fp = fopen ('/user/index.html', 'ab') to $fp = fopen ('/user/index.html', 'ab'); [/code]
  12. Once you connect to the database in php: [code] <?php mysql_query("CREATE DATABASE `a`") OR DIE ('Could not execute query: ' . mysql_error()); ?> [/code] Or go into phpMyAdmin or the MYSQL Command Line and create it
  13. Look into the mod_rewrite if your server uses Apache
  14. "SELECT MAX(`message_id') as message_id FROM `TABLENAME`" The MySQL-driven functions are VERY powerful
  15. Just recently they have found 'collisions; in the md5 equation that opens up a new door for them to possibly be cracked (it is still no easy task). SHA-1 I do not know about, but consider doubling your encryption.
×
×
  • 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.