News:

The Codes Banner is available! Check the announcements.

Main Menu

Recent posts

#1
Music chat / Re: the arctic monkeys new alb...
Last post by BlindRose - September 01, 2009, 10:44:46 PM
We apperceive it but warner thats the aberration amid me and u!!!! I accept to appropriate tunes like artics, attenuate lizzy and leddy z whilst u accept to adamant maiden! say no added toaster boy.



_________________
Toaster
#2
News / Re: *****2008*****
Last post by monkey56657 - February 20, 2008, 09:33:54 AM
I think the single release is actually going to be early April.
#3
News / *****2008*****
Last post by Cem - February 18, 2008, 03:45:31 PM
OK we have lots of news, new material, gigs and a couple new band members.. 2008 is set to be a good un so make sure you all get involved! For more information visit  www.myspace.com/thecodesmusic  and try and get down to a gig soon! We are releasing a single in March and we need all your support. On March 14th we are having a single release party at the Charlotte. Cheers guys x
#4
Ask The Codes / Re: Download Mirror
Last post by monkey56657 - December 03, 2007, 07:20:54 AM
QuoteOoh calling a function from within itself, classy!

'Recursive Function' is its title.

QuoteWhere'd you find the time to make your own board?

If it was for just me then I wouldn't have bothered but it's actually for someone else. Still not getting paid for it though  :'(

QuoteI just run everything through an old sqlprep function, it could do with some tidying up...

I convert the < and > to html entities but leave the rest...It can just make it messy when you develop a form for editing the data.

Quotesometimes I think writing a new board would be faster than deciphering SMFs templates...

I can provide a copy of the code for my board...buts its still in development and maybe buggy. Will also require some editing to get it working on a different host but nothing major. Most of my board can be edited in CSS...as you saw with the PINK DAY. The only changes there were images and css with 2 lines in one of the main files to replace any instances of #006699 and others with pink versions. Luckily though the WS site used to be SMF as well so there are some basic scripts to transfer the data.

QuoteSure there's a style sheet, but half the stuff's unaffected by it.

Research output buffering. You can use it to change inline styles easily.

#5
Ask The Codes / Re: Download Mirror
Last post by Fergal - December 01, 2007, 10:38:09 AM
Why ever not! It's not like we'll be interrupted!

Ooh calling a function from within itself, classy! With most stuff I've written lately I've found I've turned most of the dangerous characters into html entities before I start escaping them. I just run everything through an old sqlprep function, it could do with some tidying up...

Oh looking at your site, very smart. Where'd you find the time to make your own board? Mind you, sometimes I think writing a new board would be faster than deciphering SMFs templates...

I've wanted to change this whole overpowering black and grey thing for ages, but can't be arsed to figure it all out again. Sure there's a style sheet, but half the stuff's unaffected by it.
#6
Ask The Codes / Re: Download Mirror
Last post by monkey56657 - December 01, 2007, 10:21:36 AM
Okay Thanks...

I created this function for the job...works with arrays as well.

function mres($i){
if (!get_magic_quotes_gpc()){
if (is_array($i)){
foreach($i as $k => $v){
$i[$k] = mres($i[$k]);
}
return($i);
}else{
return(mysql_escape_string($i));
}
}else{
return($i);
}
}


Then you can just do

$_GET = mres($_GET);
$_POST = mres($_POST);


lol...shouldnt be turning this into a PHP topic should I  ::)
#7
News / Re: New EP!
Last post by Fergal - December 01, 2007, 09:23:56 AM
Well, you'll see Will or Cem before I will for sure, so it could be worth asking one of them for a CD.
#8
News / Re: New EP!
Last post by monkey56657 - December 01, 2007, 09:08:17 AM
The ones on myspace are low quality lol...Ill just wait.
#9
News / Re: New EP!
Last post by Fergal - December 01, 2007, 08:44:19 AM
Quote from: monkey56657 on November 29, 2007, 12:41:51 PM
When can we expect to see the new tracks ?
Well they should be up there now. They're on MySpace but nobody has given me a CD so I can't put it them up here. So if you don't mind MySpace mp3s you can use them. Or the best thing to do would be to harass Will or Cem on my behalf and post an original CD to me yourself!
#10
Ask The Codes / Re: Download Mirror
Last post by Fergal - November 30, 2007, 04:07:47 PM
Sure you can mirror it, thanks for checking. I figured since the guys put the songs on MySpace before I got a chance to figure out a legal thing there would be zero point trying to do it after that, apart from the weak little content © thing at the bottom of the site.
I don't think any amount of linking can save this site. Everybody is sold on MySpace and I'm the only one who tries to keep it up to date and nobody tells me what's happening any more.

Yeah I know mysql_real_escape_string() , I just forgot all about updating that ye olde site nobody looks at. I wrote that comment thing as my first PHP project ages ago, thanks for reminding me about it.