Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
Join the friendly bunch on IRC...
(
#TalkPHP on Freenode
)
...Also available via a
web interface
.
See
this thread
for information on the TalkPHP Free Hugs Initiative™.
Subject to availability.
Associates
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Search Forums
»
Search Results
Page 1 of 6
1
2
3
>
Last
»
Page 1 of 6
1
2
3
>
Last
»
Showing results 1 to 25 of 127
Search took
0.05
seconds.
Search:
Posts Made By:
bdm
Forum:
Show Off
02-25-2008, 05:52 PM
Replies:
3
Gaming Site Redux
Views:
1,153
Posted By
bdm
Can we get a demo? The image looks too good to be...
Can we get a demo? The image looks too good to be true. ;)
Forum:
General
12-29-2007, 04:45 PM
Replies:
4
More help with mod_rewrite
Views:
545
Posted By
bdm
You will need something along the lines of in...
You will need something along the lines of in your .htaccess:
RewriteEngine On
RewriteRule ^([0-9a-Z]+)/([0-9]+)/$ /index.php?page=$1&id=$2
Forum:
The Lounge
12-25-2007, 03:56 PM
Replies:
10
Have a Good Christmas!
Views:
917
Posted By
bdm
Woot! iPod and books. :)
Woot!
iPod and books. :)
Forum:
Absolute Beginners
12-23-2007, 08:31 PM
Replies:
12
Some questions of importance...
Views:
884
Posted By
bdm
++ for PHP 5 Objects, Patterns and Practice by...
++ for PHP 5 Objects, Patterns and Practice by Matt Zandstra. I'm reading it now and it's very interesting.
Forum:
MySQL & Databases
12-23-2007, 12:47 AM
Replies:
12
Review my database design
Views:
1,313
Posted By
bdm
Your users table needs some...
Your users table needs some lovin'.
users
user_rank => tinyint(1)
username seems to be way too long, same with password and name
and i think the hashes password will always be the same length. so...
Forum:
Advanced PHP Programming
12-23-2007, 12:40 AM
Replies:
19
Having an issue with the forum..
Views:
1,457
Posted By
bdm
Like dschreck said, we'd need to see all of the...
Like dschreck said, we'd need to see all of the code that's being used to insert a new post.
Forum:
General
12-22-2007, 11:52 PM
Replies:
4
mysqli OOP interface introduction
Views:
4,470
Posted By
bdm
It's also worth mentioning that mysqli will only...
It's also worth mentioning that mysqli will only protect against SQL injection if you use prepared statements.
I was going to write a tutorial about the basics of using the mysqli extension. But why...
Forum:
Absolute Beginners
12-19-2007, 03:03 PM
Replies:
10
how to $_POST this?
Views:
1,088
Posted By
bdm
You mean a for loop wrapping his if statement. :-)
You mean a for loop wrapping his if statement. :-)
Forum:
Advanced PHP Programming
12-19-2007, 03:01 PM
Replies:
19
Having an issue with the forum..
Views:
1,457
Posted By
bdm
Taken from Karl: However, by making that specific...
Taken from Karl: However, by making that specific field unsigned, we change that range to 0-255, thus giving us another 128 possible IDs. The same applies for most (if not all?) numeric data...
Forum:
Absolute Beginners
12-19-2007, 02:51 PM
Replies:
10
how to $_POST this?
Views:
1,088
Posted By
bdm
I do believe that you would need a second loop...
I do believe that you would need a second loop which would wrap your if statement.
And I'm not positive about $i's scope, but I don't think you can call $i outside of your for loop.
Forum:
Advanced PHP Programming
12-19-2007, 02:12 PM
Replies:
19
Having an issue with the forum..
Views:
1,457
Posted By
bdm
So in your case, I'd say it's safe to use...
So in your case, I'd say it's safe to use unsigned tinyint.
Now that I think about, I have yet to see a forums have anywhere close to 255 forums+categories.
Just another decision you must make....
Forum:
Advanced PHP Programming
12-19-2007, 01:05 PM
Replies:
19
Having an issue with the forum..
Views:
1,457
Posted By
bdm
I'm confused! You have tinyint(10) but the...
I'm confused!
You have tinyint(10) but the highest tinyint you can get is an unsigned tinyint which is 225 digits max. :\
Forum:
The Lounge
12-19-2007, 01:02 PM
Replies:
16
What you getting for Christmas?
Views:
991
Posted By
bdm
Nice, which one?
Nice, which one?
Forum:
General
12-18-2007, 07:24 PM
Replies:
3
Unlimited Sub categories
Views:
777
Posted By
bdm
You have a variety of options....
You have a variety of options. :-)
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
http://www.sitepoint.com/article/hierarchical-data-database/2
I also posted some code at...
Forum:
General
12-18-2007, 01:35 PM
Replies:
11
Help me find this tutorialsite?
Views:
745
Posted By
bdm
Wouldn't it be in your history?
Wouldn't it be in your history?
Forum:
Show Off
12-17-2007, 11:10 PM
Replies:
4
My Pagination Class
Views:
1,289
Posted By
bdm
Andrew: You should probably use getter and setter...
Andrew: You should probably use getter and setter functions if you plan on accessing member variables outside of the class scope.
Forum:
The Lounge
12-17-2007, 07:45 PM
Replies:
1
Anyone read Code Complete?
Views:
779
Posted By
bdm
Anyone read Code Complete?
If you have, could you please give me your thoughts.
http://www.amazon.ca/Code-Complete-Steve-McConnell/dp/0735619670/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1197905277&sr=8-1
Thank you!
Forum:
The Lounge
12-17-2007, 06:21 PM
Replies:
16
What you getting for Christmas?
Views:
991
Posted By
bdm
Most likely a copy of Code Complete and a book on...
Most likely a copy of Code Complete and a book on Java.
Then maybe an nVidia 8800 or 22 inch wide screen.
Forum:
Tips & Tricks
12-17-2007, 01:27 PM
Replies:
45
Tips to Improve Your Coding and Projects
Views:
5,705
Posted By
bdm
I once worked with someone who commented EVERY...
I once worked with someone who commented EVERY line of Javascript he wrote.
<!-- assign the value of 1 to a -->
var a = 1;
<!-- assign the value of 2 to b -->
var b = 2;
Forum:
Show Off
12-17-2007, 01:18 PM
Replies:
4
My Pagination Class
Views:
1,289
Posted By
bdm
I do agree with everything Tanax has...
I do agree with everything Tanax has mentioned.
I would like to add that you should stick to a consistent coding style. You use camel case for functions and some variables than some variable names...
Forum:
The Lounge
12-16-2007, 06:53 PM
Replies:
8
Favorite serie(s)?
Views:
712
Posted By
bdm
King of Queens
King of Queens
Forum:
MySQL & Databases
12-14-2007, 08:35 PM
Replies:
12
Review my database design
Views:
1,313
Posted By
bdm
I'm not sure if I'm the only one, but I'm having...
I'm not sure if I'm the only one, but I'm having a hard time distinguishing the relationships. Seems like all the lines cross eachother.
Any way we could get a clearer model please?
Forum:
MySQL & Databases
12-14-2007, 03:28 PM
Replies:
12
Review my database design
Views:
1,313
Posted By
bdm
In your case: signed tinyint => -128 to...
In your case:
signed tinyint => -128 to 127
unsigned tinyint => 0 to 255
Check out MySQL AB :: MySQL 5.0 Reference Manual :: 9 Data Types (http://dev.mysql.com/doc/refman/5.0/en/data-types.html) for...
Forum:
Absolute Beginners
12-14-2007, 01:36 PM
Replies:
6
Most efficient way of playing with dates?
Views:
794
Posted By
bdm
Thanks for everyones input. Now that I think...
Thanks for everyones input.
Now that I think about it, playing with the timestamp itself seems better.
:-)
Forum:
MySQL & Databases
12-14-2007, 01:29 PM
Replies:
12
Review my database design
Views:
1,313
Posted By
bdm
Good thinking bmicallef. Quick things off the...
Good thinking bmicallef.
Quick things off the top of my head:
- There is no status table.
- Since you're using tinyint as your datatype for user_rank in your users table, you should do the same the...
Showing results 1 to 25 of 127
Page 1 of 6
1
2
3
>
Last
»
All times are GMT. The time now is
04:22 PM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.1.0
Inactive Reminders By
Icora
Web Design