Profile

Cover photo
Randy Cramer
Worked at Where the money guides me
Attended Google's School Of Hard Knocks
Lives in Ohio
25 followers|55,328 views
AboutPostsPhotosVideos+1'sReviews

Stream

Randy Cramer

General Discussion  - 
1
Add a comment...

Randy Cramer

Shared publicly  - 
1
Add a comment...

Randy Cramer

Discussion  - 
 #PC
 
Can anyone tell me if Webmatrix can be installed and work properly on a PC if WAMP is also installed on that same PC? 
1
Add a comment...

Randy Cramer

Ask the Experts  - 
 
I'm having some trouble with this registration script I'm writing from scratch. So far, everything works as expected except for one thing. I have a variable created name $message. I am trying to change the value of $message based off of events that happen in the script. At the end of the script, register.php is included, and on the registration page is a call to echo out the $message variable. It works to some degree in the case that it will print out the first value I've assigned to it. Once the other values are to be assigned, nothing gets echoed to the page however. Script is below, and any help is appreciated:

<?php
try{
$dbc = new PDO('mysql:host=localhost;dbname=logreg', 'root', '');
$dbc->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$dbc->exec('SET NAMES "utf8"');
} catch (Exception $ex)
{
    $error = 'Couldn\'t connect to the databse';
    include 'includes/error.html.php';
    exit();
}

$sql = 'SELECT name, email, password FROM users';
$result = $dbc->query($sql);

while ($row = $result->fetch(PDO::FETCH_ASSOC))
{
    $names[] = $row['name'];
    $email[] = $row['email'];
}

$message = 'Fill out to sign up.';

if (isset($_POST['name'],$_POST['email'], $_POST['password']) and $_POST['name'] and $_POST['email'] and $_POST['password'] !== '')
{
   if (in_array($_POST['name'], $names)){
       $message = 'That user already exists';
       exit();
   }
       if (in_array($_POST['email'], $email)) {
            $message = 'That email already has an account registered';
            exit();
        }
        
    $sql = $dbc->prepare('INSERT INTO users SET
        name = ?,
        email = ?,
        password = ?');
    $name = strtolower($_POST['name']);
    $email = strtolower($_POST['email']);
    $password = $_POST['password'];
    $result = $sql->execute(array(
            $name,
            $email,
            md5($password . 'saltnpepper')
                )
            );
            exit();

include 'register.php'; 
3
Dirk X's profile photoIrish Ado's profile photoRandy Cramer's profile photo
17 comments
 
That's a good point, and it's frustrating when trying to create an account on a site when your username is already taken and you are forced to search for variations.
Add a comment...

Randy Cramer

commented on a video on YouTube.
Shared publicly  - 
 
What kinda oil?
1
Add a comment...

Randy Cramer

commented on a video on YouTube.
Shared publicly  - 
 
I'll definitely be buying this album in the near future. I listened to the previews on Itunes, and really enjoy what I hear. The sound puts me in mind of Bjork, Natalie Merchant, The Cranberries.... all of which I love. After watching your tutorials for years, I can finally give back a little lol.  Thanks Justin
1
Add a comment...
Have him in circles
25 people
jaydeep akbari's profile photo
Valdi mai's profile photo
francis chinjekure's profile photo
Bang Fani's profile photo
kamal singh's profile photo
subrata malakar's profile photo
David Furman's profile photo
Hayden Johnson-Sipes's profile photo
Jonathan Baudanza's profile photo

Communities

6 communities

Randy Cramer

General Discussion  - 
14
1
Daniel Lieberwirth (BrainInBlack)'s profile photoSanjay Sarviaya's profile photo
Add a comment...
 
I am new to Asp.net, and have previously only programmed with Php using a WAMP install to do my work locally. I want to keep WAMP on my pc because it's what I'm used to.

I am also wanting to learn Asp.net, and I found Webmatrix. I haven't installed it yet, because I don't know if it will cause complications or problems because I have WAMP installed. 

Is it okay to have both installed on the same PC, or will it cause issues?
1
Ross Neufeld's profile photoAlex Martinez's profile photoRandy Cramer's profile photo
5 comments
 
This wound up giving me all sorts of problems once I dug in and started using it. The only thing that would work for me was the Asp.net functionality. Both php and Js.node apps would configure and and start up well, but there was always an error at the beginning that popped up in an alert and said "Item not found". I'd continue on anyways as it would allow, just to find out that Php and Js.node apps would run code, but would never be connected to any database. That was the error I spoke of with windows 8.1 that I found doing research before I chose to install it. I should have figured it would happen I guess.

I got frustrated with it, and finally uninstalled it. Come to find out even though it was uninstalled it wrote over my Wamp settings so bad that I couldn't get it working at all, and had to re-install it too. Not a good experience at all. Probably all user error, but Wow, what a headache lol
Add a comment...

Randy Cramer

Ask the Experts  - 
 
A Question For Freelancers:

What would be a fair price to create a simple contact us page using twitter bootstrap as the template structure, and the form would have 3 form fields: Name Email Message?. Also, it will have Google's Recaptcha incorporated into it.
1
Luke Storer's profile photoRandy Cramer's profile photoClinton Gallagher's profile photoNick Germaine's profile photo
20 comments
 
I guess what matters is how kickass you make it.  I'd never charge less than $100 for any page.  There are a lot of factors, and yes, to build a contact form and drop it into a page, $100 sounds good.  But for styling, php script writing to actually send the mail, pretty email html layouts, header of the site + footer, any ajax?  (Yeah, page refreshes suck, ajax should be everywhere).  It's going to be over $100 if it's done right.  Unless the dev is from India.
Add a comment...

Randy Cramer

commented on a video on YouTube.
Shared publicly  - 
 
I'm not used to using classes, and usually use the database connect file as an include. Along with creating the database connection, I also set a few things up along with it. I set the error mode attribute, and well as NAMES to utf8. How an I do that within this class?

For example, this is what my connect file usually looks like:

$pdo = new PDO('mysql:host=localhost; dbname=mydbname', 'root', 'mypassword');
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$pdo->exec('SET NAMES "utf8"');

I prefer to have this set up. Any way how I can incorporate it within the connection class?
1
Add a comment...

Randy Cramer

commented on a video on YouTube.
Shared publicly  - 
 
Thanks for the video. I found it odd how the car was taken out on the road, and you "got on it" by flooring the gas, and that wasn't a point where you heard the sound or felt an abnormal shudder or jerk from the motor mount being broken. Good job finding the problem though no less.
1
Add a comment...

Randy Cramer

General Discussion  - 
 
I am in search of a mentor/friend who would be up to helping me with Php, possibly by putting a project together even. Preferably, I'd like their location to be in the USA. I am most familiar with doing things the PDO way, so someone in that nature would be great. If not no worries, and perhaps I can share my little knowledge on the subject with someone who isn't familiar with it.

Any takers? Serious replies only please.
1
Ole Aass's profile photoKuba Turek's profile photoRoger Thomas's profile photoRandy Cramer's profile photo
5 comments
 
+Roger Thomas Awesome!
Add a comment...
People
Have him in circles
25 people
jaydeep akbari's profile photo
Valdi mai's profile photo
francis chinjekure's profile photo
Bang Fani's profile photo
kamal singh's profile photo
subrata malakar's profile photo
David Furman's profile photo
Hayden Johnson-Sipes's profile photo
Jonathan Baudanza's profile photo
Communities
6 communities
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Ohio
Links
Work
Employment
  • Where the money guides me
    Sniff Sniff
Education
  • Google's School Of Hard Knocks
    2012
Basic Information
Gender
Male
Randy Cramer's +1's are the things they like, agree with, or want to recommend.
I've been going here for years, and couldn't be happier with the service received. Pricing is affordable, the employees are super friendly, and the classic barber shop feel that I love is there.
Public - a month ago
reviewed a month ago
If you are a budget minded individual, then this is the place to get your muffler work done at. I priced an exhaust for my vehicle, and found that prices varied so drastically with the compeftition that some were over 300 dollars higher in cost in their quotes. When I asked the competitors why this was the case, they all said it was because they don't do custom bending, and get their pipes pre-bent. I told them, While that may be the case, Who Cares, and took my vehicle to Big Als.
• • •
Public - 4 months ago
reviewed 4 months ago
I had a very positive experience with this business. My son was screened at school by an optometrist who diagnosed him for needing some glasses. I went to the Woody Willimams Vision Center and was very pleased with their timely service, and ability to diagnose the prescription for my son's glasses on the first try with no problems. The frames and lenses were made on the spot, and I was out the door within an hour with one very happy son who could see the world in a whole new way. I couldn't imagine anyone having a better experience anywhere.
• • •
Public - a year ago
reviewed a year ago
I'm going to add to what's already been said, but I'm afraid I can't be unique about it. Namely because I've had the exact same issues. The Customer Service is Terrible! It takes forever and a day to get anything done, and regardless of what you do or say, you are getting some sort of sales pitch about something you didn't ask to hear about, no matter what way you choose to contact them. Hold time when calling in is no less than 10 to 20 minutes every time I've called. My service kept stopping on my internet, and I had the misfortune of having to call in for about a month straight to figure out what was going on. FINALLY, they sent a service man out to my house to see what was going on. Turns out the line had a bad connection at the pole. The guy they sent out was really nice, but he looked to be about 60 - 70 years old, God bless his pea-pickin little heart! He showed up in a van that wasn't a Time Warner man, so it was likely a sub-contractor that they were paying peanuts to do the work cheaply for them. He climbed up the pole, and his little knees were just a knocking away, and he was scared to death. I left him to go about his business, thinking he would be okay. I got a knock on the door about 30 mins later from him asking me to come help him out, and hold the ladder. I kinda felt it coming and obliged because I felt bad for him, and feared for his safety. He never should have been sent out alone anyways. Rule of thumb when working with heights is to always have a buddy. Poor guy! I called in recently, seeking information (1 simple question) about adding a bundle to my service since I only have internet through them. I simply wanted to know whether or not if I ordered cable, would I be able to use it on more than one Tv for the quoted price, or if there were additional charges for each room. I inquired about this using their chat tool on the website. Well wouldn't you know it, it takes about 2 or three minutes in between each response you get from the agent, and rather than answer my one simple question, he proceeded to ask me a dozen questions about my account. What's you telephone number.., so I give it and 2 minutes go by, what's your address... I give it and 2 mins go by, what's your Name on account... and 2 mins go by, and then... what's your SS#'s last four digits... Finally at this point I'd had it, and gave him an ear full, stating that I wanted one question answered, and my account info was irrelevant to it. Instead of just answering my simple sales question, he continued to demand my info. Well... I now have my phone and cable through someone else do to this guy thinking I owed him half a nights worth of my precious time, just to get a simple question answered. I fell behind on a payment once, and they stalked my phone for days, always during regular work hours. When I got a moment, I was understanding and gave them a call to let them know the money was coming, and that I just didn't get a draw off the job I was doing yet. I made payment arrangements with them that we both agreed on, and all was "well", according to them. Well, wouldn't you know it, I continued to receive calls from them, at least 4 times a day, for the next week, asking me to call in and make a payment arrangement, though I had already done it. I called in and complained about it, demanding they take note of the payment arrangement I'd made, and to quit calling already. The lady stated that there was nothing she could do about it, and though I'd already made a payment arrangement, they were still going to call and ask me to set up "a payment arrangement".... What the...! Overall, I'd have to say it's some of the worst service I've ever gotten out of a company in general. Unfortunately where I live, there isn't a better alternative. When working, the actual internet connection itself, is pretty good. It's the only thing they have going for them, and if it weren't for that, I doubt they would exist as a business in general. Trumped the market, so they do whatever type of thing, if you get my drift. Nothing new I suppose.
• • •
Public - 2 years ago
reviewed 2 years ago
6 reviews
Map
Map
Map
It's an awesome park, and a lot of fun. Most of the negative reviews here you can account for being based mainly on people's own stupidity. Complaints their are no bins for the firehawk to store their items like phones? There are lockers located at that ride, with a huge sign that says, "no storage bins on these rides". Huge lines on the weekends?? You don't say lol... Your friend bought a ticket from a private seller and Kings Island wouldn't honor it when you got their? That's illegal, and it's called scalping. Those tickets are given to employees for their personal use, and are not intended to be sold. The list goes on and on. The only truly valid and repetitive complaint I've seen in any of these reviews is the cost of food. It is marked up in many cases by 400% of what you'd pay outside of the park, and when you know people will stay all day, that's ludicrous and frankly just rude. Other than that, it's an amazing park with amazing rides and staff.
• • •
Public - 7 months ago
reviewed 7 months ago
Terrible customer service, half cooked crust, and ridiculous wait time for the food, and they are not honest about their deals or specials. I called in, asked about the specials, and they quoted buy any pizza get one for free. I said okay, I'd like the taco then. I show up, and they only had one pizza. I call and ask where my other one was, and they say, Oh sorry, you have to "ask" for the special. I say I did, but regardless, if you say you have a buy one get one free, and "I buy one", did I not indeed buy the special? The dude on the phone tells me sorry and to have a good night and hangs up. I would some this up in one word with "thieves". They aren't honorable, and are not worthy of a dollar.
• • •
Public - a year ago
reviewed a year ago