Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CTRL+V

Featured Replies

OK, simple enough, just paste whatever was the last thing you copied to your clipboard.

 

15415514614115704016415014116404716304014517014114316415417104016715014116404011

1040167141163040164141154153151156147040141142157165164041

  • Author
/* END NAVIGATION */

 

 

 

quite boring really....

 

lmao it's that sort of thing that usually shows up when I hit paste lol.

 

The only reason it's that code above, is cos I was midway through a multi window convo

Although it's most about design it can be a bit silly,
To let your tables run willy nilly,
Would be very,very silly....
But when I should be doing work I write a thread about IE,
I would get to work if I just had more coffee...
Coffee is one of those things that keep you working hard
With WDF own spellcheck Wizely about, be on guard!

We mainly agree, the best browser is a sexy fox
Guezala disagrees - she thinks Opera ROCKS
And IE has been stricken with the pox
But Helen say's "no no it's Chrome"

Our hours may be silly, least most work from home

 

Hah! Would you look at that! Clipboard Poetry!

 

 

What were you copying Scott? The US National debt figure?! :lol:

  • Author
What were you copying Scott? The US National debt figure?! :lol:

 

ROFL nah, it actually says "lmfao that's exactly what I was talking about!�"

 

It's written in "Octal" :)

It's written in "Octal" :)

Isn't that what the wizards in Discworld speak in? You guys and your technomagery - it's hard enough to understand you all at the best of times let alone when you make up languages! :lol:

Center

 

Quite worrying that I wasn't bothered to type in 6 letters... it probably took more effort to copy and paste it rather than type it out lol, there's efficiency for ya!

  • Author
Isn't that what the wizards in Discworld speak in? You guys and your technomagery - it's hard enough to understand you all at the best of times let alone when you make up languages! :lol:

 

ROFL, you're just annoyed cos it's not beautiful, flowing prose lol

  • Author
There was nothing inside my clipboard....

 

ROFL lots on your clipboard then!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

<meta name="author" content="helen guttridge" />

<meta name="keywords" content="fork lift truck training, manual handling training, on site training, off site training, counterbalance, counter balance truck, reach truck, electric pallet truck, rough terrain telescopic, narrow aisle fork lift, flexi bendi fork lift" />

<meta name="description" content="a nationwide forklift and manual handling training provider offering courses either on site or off site" />

<title>M.S Training Services - One of the UK's leading providers of forklift truck and manual handling training.</title>

<link rel="shortcut icon" href="msfavicon.ico" />

<link href="ms_newstyle.css" rel="stylesheet" type="text/css" />

</head>

<body id="home">

<div id="wrapper">

<div id="header"></div>

<div id="midgrey">

<div id="midgrey_content">

<h1>M.S Training Services is one of the UK's leading providers of forklift truck and manual handling training. All of our instructors are accredited with RTITB, the governing body behind forklift training. Our courses are usually provided on site, as this is the most cost effective and the operators are being trained in the environment in which they work. However, if needed, we are able to provide off-site training at our Training Centre based in Widnes, Cheshire .</h1>

</div>

</div>

<div id="content">

<div id="col_left">

<div id="menu">

<ul>

<li><a href="index.htm" id="homenav">Home</a></li>

<li><a href="forkliftcourses.htm" id="forkliftnav">Forklift courses</a></li>

<li><a href="manualcourses.htm" id="manualnav">Manual handling courses</a></li>

<li><a href="faqs.htm" id="faqnav">Frequently asked questions</a></li>

<li><a href="contact.htm" id="contactnav">Contact us</a></li>

</ul>

</div>

</div>

<div id="col_right"><h2>Welcome to M.S Training Services</h2><p>We deliver courses on most types of lifting machinery, such as counterbalance, reach, electronic pallet, rough terrain telescopic and flexi/bendi trucks. As well as providing training material and aids, we also provide excellent, expert trainers. If you have any questions, please visit our <a href="faqs.htm">Frequently asked questions page.</a> Alternatively, you can contact us <a href="contact.htm">here,</a> or simply telephone us on 07745 777321.</p></div>

</div>

<div id="footer">

<p>© 2008 MS Training Services </p><p>Site created by:<a href="http://www.helenguttridge.com">Helen Guttridge</a> </p>

</div>

</div>

</body>

</html>

 

I'm copying pages......

  • Author
I'm copying pages......

 

Nah, you're not, are you? Never would have guessed... :pp

ROFL lots on your clipboard then!

 

lol Yeah!

157150040171157165054040163143157164164

 

What a coincidence, I had octal in there too!

 

Just kidding, I made that up, but only because I had nothing in my clipboard :( How rare is that!

09023d

 

 

^ I have no idea WHAT that is or where I copied it from :/ I obviously have a CTRL+V twitch

  • Author
My credit card details lol

 

Well paste em then.... :pp

run outa Mafia Wars Invites, invite me please.

 

damn it, im a mafia wars facebook geek

Shaun, you really ARE lazy aren't you rofl

 

:D

  • Author
run outa Mafia Wars Invites, invite me please.

 

damn it, im a mafia wars facebook geek

 

lmao

 

Mafia wars, gang wars, special forces, prison wars, mob wars, vampire wars... etc etc etc

 

You're not alone lmao

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

<meta name="author" content="helen guttridge" />

<meta name="keywords" content="fork lift truck training, manual handling training, on site training, off site training, counterbalance, counter balance truck, reach truck, electric pallet truck, rough terrain telescopic, narrow aisle fork lift, flexi bendi fork lift" />

<meta name="description" content="a nationwide forklift and manual handling training provider offering courses either on site or off site" />

<title>M.S Training Services - One of the UK's leading providers of forklift truck and manual handling training.</title>

<link rel="shortcut icon" href="msfavicon.ico" />

<link href="ms_newstyle.css" rel="stylesheet" type="text/css" />

</head>

<body id="home">

<div id="wrapper">

<div id="header"></div>

<div id="midgrey">

<div id="midgrey_content">

<h1>M.S Training Services is one of the UK's leading providers of forklift truck and manual handling training. All of our instructors are accredited with RTITB, the governing body behind forklift training. Our courses are usually provided on site, as this is the most cost effective and the operators are being trained in the environment in which they work. However, if needed, we are able to provide off-site training at our Training Centre based in Widnes, Cheshire .</h1>

</div>

</div>

<div id="content">

<div id="col_left">

<div id="menu">

<ul>

<li><a href="index.htm" id="homenav">Home</a></li>

<li><a href="forkliftcourses.htm" id="forkliftnav">Forklift courses</a></li>

<li><a href="manualcourses.htm" id="manualnav">Manual handling courses</a></li>

<li><a href="faqs.htm" id="faqnav">Frequently asked questions</a></li>

<li><a href="contact.htm" id="contactnav">Contact us</a></li>

</ul>

</div>

</div>

<div id="col_right"><h2>Welcome to M.S Training Services</h2><p>We deliver courses on most types of lifting machinery, such as counterbalance, reach, electronic pallet, rough terrain telescopic and flexi/bendi trucks. As well as providing training material and aids, we also provide excellent, expert trainers. If you have any questions, please visit our <a href="faqs.htm">Frequently asked questions page.</a> Alternatively, you can contact us <a href="contact.htm">here,</a> or simply telephone us on 07745 777321.</p></div>

</div>

<div id="footer">

<p>© 2008 MS Training Services </p><p>Site created by:<a href="http://www.helenguttridge.com">Helen Guttridge</a> </p>

</div>

</div>

</body>

</html>

 

I'm copying pages......

 

Too many keywords ;).

"EnCase".

 

Was just researching what it is, you can tell my laziness :pp.

Too many keywords ;).

 

Yeah, I know lol! This was my first ever live site (It was to complete the course) It was very scary!!!!

It's getting a well needed re-vamp!

Yeah, I know lol! This was my first ever live site (It was to complete the course) It was very scary!!!!

It's getting a well needed re-vamp!

 

Pretty good for a first live website!

 

Should probably put this one in code tags...

 

<?php
/* CLASS INFORMATION
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Class: 	Register
- Extends:	Database
- Version:  0.1
- Author:   Benjamin Anderton (http://benanderton.co.uk)
--------------------------------------------------------
- Information:
  This class is for registering new users to the system
  and also for editing information on existing members.
  This class contains the following methods

	  • addUser (Adds a user to the database)
	  • dropUser (Drops a user from the database)
	  • editUser (Updates information on a user)
	  • banUser (Freezes account and IP bans the user)

	  • _explodeName (Splits a string into first, middle and last names)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/

require_once("Database.php");

class Register extends Database
{
public function addUser($username, $email, $password)
/* METHOD INFORMATION
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Method: 		addUser
- Arguments:	$username - String passed from a the name field of a registration form
				$email - String passed from the email address field of a registration form
				$password  - Password passed from the password field of the registration form
- Returns: 		N/A
- Requires: 	N/A
--------------------------------------------------------
- Information:
-	Creates a new user in the database, generated a join date and splits the username field into first, middle and last names.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/		
{		
	//Connect to the mySQL database
	$this->dbConnect();

	//Add slashes to any special characters
	$username = $this->dbEscapeString($username);
	$email = $this->dbEscapeString($email);
	$password = $this->dbEscapeString($password);

	//Hash the password with Secure Hash Algorithm (SHA)
	$password = sha1($password);

	//Generate the date, month and year the user registered
	$day = date("d");
	$month = date("m");
	$year = date("y");		

	//Sort the username field into first, middle and last names and put into an array
	$names = $this->_explodeName($username);		

	//Create the query, send it and close the SQL connection.
	$query = "INSERT INTO users (firstname, middlename, lastname, email, password, joinday, joinmonth, joinyear) 
	VALUES('$names[0]', '$names[1]', '$names[2]', '$email','$password','$day','$month','$year');";

	//Perform the query
	$this->dbQuery($query);

	//Close the SQL connection
	$this->dbDisconnect();
}
private function _explodeName($name)
{
	/* METHOD INFORMATION
	++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	- Method: 		_explodeName
	- Arguments:	$name - String containing what should be a full name (e.g. "John James Matthew Smith")
	- Returns: 		$sortedNames - An array containg the first, middle and last names
	- Requires: 	N/A
	--------------------------------------------------------
	- Information:
	-	Splits a string such as "John James Matthew Smith" into an array of first, middle and last names
	++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	*/			
	//Split the name string up by using space as the splitter
	$nameArray = explode(" ", $name);

	//Find the length of the array
	$length = count($nameArray);

	//If one name is entered, set the first name and leave the others blank
	if($length == 1) {
		$firstName = $nameArray[0];

		//Create an array of the first, middle and last names for return
		$sortedNames[0] = $firstName;
		$sortedNames[1] = "";
		$sortedNames[2] = ""; 
	}
	//Otherwise, if the name is 2 words set the first and last name to the first and second entries in the array and leave the middle name blank
	else if($length == 2) {			
		$firstName = $nameArray[0];
		$lastName = $nameArray[1];

		//Create an array of the first, middle and last names for return
		$sortedNames[0] = $firstName;
		$sortedNames[1] = "";
		$sortedNames[2] = $lastName; 
	}
	//Otherwise set the first and last name to the first and last entries in the array and use everything inbetween as a middle name
	else {
		$firstName = $nameArray[0] . " ";
		$lastName = $nameArray[($length - 1)];

		//Initialise the middleName variable
		$middleName;

		//Loop through from the 2nd value in the array to the second to last value in the array
		//and concatenate the values into one string, thus finding the middle name
		for($i = 1; $i < ($length - 1); $i++) {
			$middleName .= $nameArray[$i] . " ";
		}

		//Create an array of the first, middle and last names for return
		$sortedNames[0] = $firstName;
		$sortedNames[1] = $middleName;
		$sortedNames[2] = $lastName; 
	}

	//Return the array containing various names
	return $sortedNames;
}
}

 

One of the class files for a uni project :).

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.