Jump to content


Check out our Community Blogs

RavenStorm

Member Since 10 Jul 2012
Offline Last Active Jun 24 2013 06:51 AM
-----

#659700 Thank you CodeCall!

Posted by RavenStorm on 03 June 2013 - 11:18 AM

I just wanted to post a quick thank you to everyone here who helped me through school when I was having a rough time, particularly a handful of people (you know who you are) who stuck by me when I am sure they must have been banging their heads on their desks, lol. I got my diploma (Internet Applications and Web Development Fundamentals), AND made the Dean's List!!! I couldn't have done it without you, and I am so grateful this place exists.


  • 7


#655897 Free Koding.com Invites for Codecall Members!

Posted by RavenStorm on 02 April 2013 - 06:11 PM

If you mean my review, it is in general programming.

http://forum.codecal...gcom/#gsc.tab=0


  • 1


#655609 Are you getting Codecall emails?

Posted by RavenStorm on 28 March 2013 - 11:03 PM

Interesting - our server (sendgrid.com) shows that we've sent you plenty of emails until the 25th, then a few days with now emails. Prior to the gap, sendgrid got a "refused" notice from your server:

 

Reason: 551 5.6.0 REFUSED: Your message has been blocked on server c2mailmx.mailcentro.com by our SPAM filter pattern (s79271275). Please forward this message along with the original email to FilterSupport@MailCentro.com.

 

That might be why it stopped sending for a bit.

 

I am thinking the bounce/spam might be triggered when I launch a newsletter campaign. Maybe our sendgrid account is considered a spammer when we send the newsletter out, since the number is larger than normal traffic. Need to dig further into this!

 

MailCentro was bouncing emails from 2 of my professors a few months ago as well. I was never able to find out the reason for it. All other emails from the college and my professors came through fine. I will check my spam filter settings in the morning and PM them to you. Maybe you can see something that might indicate a reason for the codecall newsletter bouncing.


  • 1


#654739 How should online piracy be prevented?

Posted by RavenStorm on 15 March 2013 - 11:34 AM

I am sure I am into the tens of thousands (easily) for music, movie, software and game purchases for PC, Mac and consoles.  I understand why some people pirate, but I do not agree with it. There are ways to get what you are after, you just have to take the time to figure it out; whether it is to find a way to have the copy given to you for free or a good price, wait for a discount, or save up for it. Purchasing in bulk helps in some cases, and if there are a few people or so after the same thing, pool together. Students get insane discounts, I know, I saved a lot in the last 2.5 years.
I think what bothers me most about piracy are the hoarders. I know a few very well. They collect and collect and don't even know what they have, let alone use it.
I have noticed that several companies have begun to follow Steam in offering drastic discounts on a regular basis. Some (such as Daz) even give their stuff away. I got both Daz 3D and Poser Debut for free. When I got Daz and Poser I began looking through the stores for content and have been purchasing regularly for both programs. While they didn't get the large cost from me for the programs, they are getting a regular flow of money from me for content.
Programs, etc put out by people just starting out often get my attention when they are promoted properly. The ones that allow you to use the program without a tonne of restrictions or invasive ads are the ones I appreciate most. If it is something I can use, and I know the person didn't rip someone off by stealing their work, I always buy or donate.
 
Please don't start sending me links to your new programs. I am not rich, lol.

  • 1


#641458 How to make menu like this?

Posted by RavenStorm on 10 October 2012 - 06:10 PM

Not sure if this will help you or not.

http://www.noupe.com...-tutorials.html
  • 1


#641452 Need help debugging this file. (10/8/12)

Posted by RavenStorm on 10 October 2012 - 05:49 PM

I do use pen and paper. I find it makes much more sense when I do. :)
Your explanation is what I meant, only I wrote it in one line each rather than list it as you did. I guess my brain understood it but jumbled it in translation, lol. Thank you for the breakdown. I am sure I will need to refer to it when my brain is in a fog.
  • 1


#641447 My New Site

Posted by RavenStorm on 10 October 2012 - 05:12 PM

So, while waiting for help (not meant derogatorily), I was surfing around here and found your post. Being the procrastinator of homework that I can sometimes be, I debugged your About page.


The warning is coming from your home page,

warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Tag normal invalid in Entity, line: 1 in /home/content/38/8922138/html/home/sites/all/modules/linkintel/linkintel.module on line 363.
warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Tag normal invalid in Entity, line: 5 in /home/content/38/8922138/html/home/sites/all/modules/linkintel/linkintel.module on line 363.

Update: This is in relation to your homepage, but when the class is fixed on the about page on lines 251 and 255, this should go away.

however you have these errors on your about page:


Line 185 - required attribute "alt" not specified
Add alt tag to your image


Line 251 - element "normal" undefined
Change it to:
<p class="normal"><span class="red_text">The <a href="http://londonmobilephone.co.uk/?q=node/27">Services</a> We Offer</span></p>


Line 255 - element "normal" undefined
Change it to
<p class="normal"><span class="red_text">Why choose us?</span>


Line 290 there is no attribute "rel"
I am assuming you meant to use rel to display the alternate text for the images. Change rel to alt.
It will solve all of the missing alt errors as well as the rel error on line 290.


Line 290 - required attribute "alt" not specified
Change rel to alt


Line 294 - required attribute "alt" not specified
Change rel to alt


Line 308 - required attribute "id" not specified
Change map name to map id


Line 314 - character "&" is the first character of a delimiter but occurred as data
This one always frustrates me because it can be caused by a lot of different things, all of which are usually so simple that you over look them.
I noticed you have used an awful pile of div tags. That could be a reason for it. Enclosing it in <p> tags would help, but it throws off your div tags.
  • 1


#640306 Website Design Concern

Posted by RavenStorm on 30 September 2012 - 11:12 AM

Like others have mentioned, a good place to start is by determining what you need and what you are willing to pay. This is a questionnaire I put together this year. It will give you a good idea of what designers will want to know.

Attached Files


  • 1


#640021 A simple application in C# to create a diamond using asterisks

Posted by RavenStorm on 27 September 2012 - 01:35 PM

Simplified so I can understand in a brain fog (I think).

large18x18Cdiamondsimplifiedintogrid.png
  • 3


#633876 Php And Mysql Student Registration Form Help Needed

Posted by RavenStorm on 14 July 2012 - 06:29 AM

Oh geez! I just noticed that there are 3 session starts in there. I told you I was tired. Wow, *facepalm*

Would this be better?

<?php
session_start();
include ('connect.php'); // connects the MySQL database

$query = "SELECT * FROM registered WHERE ‘studentId' = '$studentId';
AND ‘courseId’ = $courseId’;
AND ‘coursename’ = ‘$coursename’;"; //checks to see if the user has already registered for a course.
$res = mysql_query($query);
if (mysql_num_rows($res) > 0)
{
  die('You have already registered for this course');  //If they have, it tells them so.
} else {
$seatsremain = mysql_real_escape_string($seatsremain);
$query2 = "SELECT * FROM course WHERE ‘courseId’ = $courseId’;
AND ‘seatsremain' = '$seatsremain';"; //query to check to see if there are seats left in a course.
$res2 = mysql_query($query2);
if (mysql_num_rows($res2) == 0)
//checks if course is full here
die('Sorry, this course is full.');  
} else
  {
//if not... add student to registration table
$sql = "INSERT INTO `registration` (`studentId`, `courseId`, `coursename`) \n"
    . "VALUES \n"
    . "('studentId', 'courseId', \'coursename')"; //If they haven’t, it inserts their registration into the database.
//and decrease seatsremain by 1
$sql = "UPDATE course SET $seatsremain = $seatsremain-1 courseId=ScourseId;";

echo "<a href='registerform.php'>You have successfully registered for ('$coursename'). Click to choose another course</a>";
//they will be informed they are registered and provided with the option to register again.
}
?>

  • 1


#633873 Php And Mysql Student Registration Form Help Needed

Posted by RavenStorm on 14 July 2012 - 05:47 AM

Oh my, lol. See I told you I was really new to this. I was trying to learn by example, as well as by text, php manual and notes from class. I will make the changes you mentioned. Thank you so much.
Question... would I use session destroy on the logout page then?


at first, this is really wierd:

session_start();session_destroy();
session_start();session_start();
Only do ONE session_start() there, nothing else. the session_destroy() is only used if a user is logged out.
$registered = mysql_real_escape_string($registered);
Um, where did the variable $registered come from?
$query = "SELECT * FROM registered WHERE ‘studentId' = '$studentId';
‘courseId’ = $courseId’;
‘coursename’ = ‘$coursename’;";
This is a wierd one too. I guess you want this as ONE string and the last two strings would be as a WHERE to the query with and AND between them?
$query2 = "SELECT * FROM course WHERE ‘courseId’ = $courseId’;
‘seatsremain' = '$seatsremain';";
Same thing here

If you fix these things, it should be a lot better...


  • 1


#633851 Php And Mysql Student Registration Form Help Needed

Posted by RavenStorm on 13 July 2012 - 10:43 PM

I am designing a course registration system for an assignment in AMP using PHP and MySQL. I have been working no-stop for days and my eyes are getting buggy. Could someone please look at my code and tell me if I am on the right track? I am not able to test it. My server is acting weird.

It needs to verify a course exists and that a student is not already enrolled in the course. If they are not enrolled, it adds them to the database and decreases the seats remaining by 1. Then they are given the option to go back to the registration page and register for another course.

I am really new to this, so please be nice. What you might see as a simple mistake, might be something I have never even learned yet, and I am really tired. I am fortunate enough to have a professor who is nice enough to extend my deadline, but it is approaching fast (Sunday). I am not asking anyone to do it for me, but if you could point me in the right direction it would be a huge help and be greatly appreciated.
Thank you in advance.

database- courseregsys
registration table (studentId, course ID, coursename)
course table (courseId, coursename, maxcapacity, seatsremain)
students table (studentId, studentname)

<?php
session_start();session_destroy();
session_start();session_start();
include ('connect.php'); // connects the MySQL database
$registered = mysql_real_escape_string($registered);
$query = "SELECT * FROM registered WHERE ‘studentId' = '$studentId';
‘courseId’ = $courseId’;
‘coursename’ = ‘$coursename’;"; //checks to see if the user has already registered for a course.
$res = mysql_query($query);
if (mysql_num_rows($res) > 0)
{
die('You have already registered for this course'); //If they have, it tells them so.
} else {
$seatsremain = mysql_real_escape_string($seatsremain);
$query2 = "SELECT * FROM course WHERE ‘courseId’ = $courseId’;
‘seatsremain' = '$seatsremain';"; //query to check to see if there are seats left in a course.
$res2 = mysql_query($query2);
if (mysql_num_rows($res2) == 0)
//checks if course is full here
die('Sorry, this course is full.');
} else
{
//if not... add student to registration table
$sql = "INSERT INTO `registration` (`studentId`, `courseId`, `coursename`) \n"
. "VALUES \n"
. "('studentId', 'courseId', \'coursename')"; //If they haven’t, it inserts their registration into the database.
//and decrease seatsremain by 1
$sql = "UPDATE course SET $seatsremain = $seatsremain-1 WHERE courseId=ScourseId;";

echo "<a href='registerform.php'>You have successfully registered for ('$coursename'). Click to choose another course</a>";
//they will be informed they are registered and provided with the option to register again.
}
?>

  • 1


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download