Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 2
1
2
>
Showing results 1 to 25 of 27
Search took
0.05
seconds.
Search:
Posts Made By:
MetalMichael
Forum:
Python
01-09-2011, 04:33 PM
Replies:
2
Open url to perform operations
Views:
1,900
Posted By
MetalMichael
Ah, thanks, still thinking in a non python...
Ah, thanks, still thinking in a non python mind-set...
However, when I try this, I get the error:
TypeError: can't use a string pattern on a bytes-like object
edit: thanks, works when I...
Forum:
Python
01-09-2011, 12:51 AM
Replies:
2
Open url to perform operations
Views:
1,900
Posted By
MetalMichael
Open url to perform operations
Okay, well I'm pretty new to python. I can open a url, but when it comes to doing anything with it, I keep getting errors. Pretty sure I'm doing it wrong.
So I've imported urllib.request, and do:...
Forum:
Flash & ActionScript
11-09-2010, 09:38 PM
Replies:
1
Is this possible?
Views:
1,838
Posted By
MetalMichael
Is this possible?
Okay, I have more of an "is it possible?" question. - I've not really worked in flash much before, but have always wanted to. I said I'd create a flash website for a friend - and his band. I know...
Forum:
PHP
10-01-2010, 11:11 PM
Replies:
4
I want to make a template-like thing...
Views:
614
Posted By
MetalMichael
You could always include the title tags in the...
You could always include the title tags in the php file that you're including? Even if it's before you enter the <?php
Forum:
PHP
10-01-2010, 04:59 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
I already have several other arrays. I think the...
I already have several other arrays. I think the way I'm doing it might be a little messy, and could do with a whole rethink. I was going to write out my scructure in my electronics lesson today, but...
Forum:
PHP
10-01-2010, 10:36 AM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
Okay. Well I've just realised that they all...
Okay. Well I've just realised that they all shouldn't be 6 and 7, although are. That needs fixing. But I guess I could remove the blank error by having my null value as 0, false or null? This will...
Forum:
PHP
09-30-2010, 11:42 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
Sorry, I'm not sure I completely understand. The...
Sorry, I'm not sure I completely understand. The serialised data is practically nothing at the minute. I'm going to store values in it - simple numbers or a word within a multidimensional array.
...
Forum:
PHP
09-30-2010, 11:33 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
Oh, sorry, I thought you meant from the first...
Oh, sorry, I thought you meant from the first step.
array ( 0 => 97, 1 => 58, 2 => 50, 3 => 58, 4 => 123, 5 => 105, 6 => 58, 7 => 54, 8 => 59, 9 => 97, 10 => 58, 11 => 49, 12 => 58, 13 => 123,...
Forum:
PHP
09-30-2010, 11:27 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
Same as normal output... ...
Same as normal output...
'a:2:{i:6;a:1:{i:7;s:0:"";}i:7;a:1:{i:6;s:0:"";}}'
Forum:
PHP
09-30-2010, 11:00 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
http://prntscr.com/10ekk (It's in a table, but...
http://prntscr.com/10ekk (It's in a table, but output is the same)
Here's a screenshot of the actual source (mysql db)
http://img413.imageshack.us/img413/936/datag.png
Array ( [0] => 97 [1] =>...
Forum:
PHP
09-30-2010, 10:55 PM
Replies:
7
preg bounds
Views:
685
Posted By
MetalMichael
A good place I've found to test regular...
A good place I've found to test regular expressions is http://gskinner.com/RegExr/
Nice interactive interface, full definitions, and shows you what the output will be. Very user friendly. Also...
Forum:
PHP
09-30-2010, 10:46 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
string(68)...
string(68) "a:2:{i:6;a:1:{i:7;s:0:"";}i:7;a:1:{i:6;s:0:"";}}"
Forum:
PHP
09-30-2010, 10:28 PM
Replies:
14
unserialize error
Views:
1,359
Posted By
MetalMichael
unserialize error
Hello again. Another quite simple error here, and I have no idea what I'm doing wrong...
I have a serialized array in my database. I extract it, and can print it fine. e.g
echo...
Forum:
HTML & CSS
09-25-2010, 08:56 PM
Replies:
2
Table cells not resize HTML & CSS
Views:
5,635
Posted By
MetalMichael
Table cells not resize HTML & CSS
Okay, this is probably a pretty simple problem for anyone that works with HTML and CSS often. I however, I don't. I like working more inside the engine of a website, and outputting into someone...
Forum:
PHP
09-25-2010, 02:29 PM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
Sorry, got distracted (TV) and then got some much...
Sorry, got distracted (TV) and then got some much needed sleep.
function check($Datetime) {
if (strtotime($Datetime) < time()) {
return true;
} else {
return false;
...
Forum:
PHP
09-25-2010, 02:08 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
lol. Well I couldn't get the unix one to work :( ...
lol. Well I couldn't get the unix one to work :(
and yes, I did realise that it should be < time() . Still didn't work
Forum:
PHP
09-25-2010, 01:53 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
I realised I was using my function wrong...
I realised I was using my function wrong (original one).
Was doing if(!empty($return)) instead of if($return) (changed it for working with unix or some crap). Works now. And if it aint broken,...
Forum:
PHP
09-25-2010, 01:34 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
Hmm, I guess :P. erm, I'm thinking ...
Hmm, I guess :P.
erm, I'm thinking if(strtotime($DateTime) > strtotime("now"))
Forum:
PHP
09-25-2010, 01:22 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
Compare using what function? and it's...
Compare using what function?
and it's already in YYYY-MM-DD HH:MM format (using MySQL database "DATETIME", so is parsed from form and then stored)
Forum:
PHP
09-25-2010, 01:14 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
I don't get on well with unix time. I got fed up,...
I don't get on well with unix time. I got fed up, and had already written this when I realised, tried unix for two hours, gave up, and went back to this.
The original one was going to compare...
Forum:
PHP
09-25-2010, 12:51 AM
Replies:
5
need help elimiating empty values
Views:
1,005
Posted By
MetalMichael
just before each echo, say ...
just before each echo, say
if(!empty($value)) {
echo "stuff" . $value . "etc.";
}
?
Forum:
PHP
09-25-2010, 12:41 AM
Replies:
13
PHP checkdate function not working correctly
Views:
2,422
Posted By
MetalMichael
PHP checkdate function not working correctly
I recently wrote a function in one of my projects, and it's not quite working correctly.
//Returns true if a date has been, otherwise returns false //// YYYY-MM-DD HH:MM(:SS - ignored)
function...
Forum:
PHP
08-14-2010, 02:23 PM
Replies:
6
PHP preg_match_all error
Views:
1,103
Posted By
MetalMichael
Thanks for your reply Tfburges. I've just...
Thanks for your reply Tfburges.
I've just copied an example of what I would want as an input into notepad, and it's come up as 97.4 KB. I guess that could be the problem then. I'll try saving it...
Forum:
PHP
08-13-2010, 03:23 PM
Replies:
5
Need help with something!
Views:
693
Posted By
MetalMichael
I guess I might have made this a little long, but...
I guess I might have made this a little long, but it covers a few incorrect options. - Although not all. (e.g if text was entered)
<html>
<div id="entryform">
<form method="GET" action="">...
Forum:
PHP
08-13-2010, 03:02 PM
Replies:
6
PHP preg_match_all error
Views:
1,103
Posted By
MetalMichael
Sorry to bump/double post, but I really need help...
Sorry to bump/double post, but I really need help with this.
Any help is greatly appreciated
Showing results 1 to 25 of 27
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
02:04 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.