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
Showing results 1 to 18 of 18
Search took
0.02
seconds.
Search:
Posts Made By:
drewbee
Forum:
General
07-22-2008, 03:20 PM
Replies:
1
Mod_rewrite, rules to be ignored.
Views:
513
Posted By
drewbee
You can't. However, the rules descend from top to...
You can't. However, the rules descend from top to bottom, and does not continue further once a condition is found.
IE If condition 2 is encountered, 3 and 4 no longer are applied.
...
Forum:
Absolute Beginners
07-18-2008, 06:19 PM
Replies:
7
query synatx
Views:
1,046
Posted By
drewbee
Try this: CREATE TABLE IF NOT EXISTS `users` (...
Try this:
CREATE TABLE IF NOT EXISTS `users` ( `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`username` VARCHAR( 255 ) NOT NULL ,
`password` VARCHAR( 255 ) NOT NULL ,
`email` TEXT NOT NULL ,
`ip`...
Forum:
Advanced PHP Programming
07-16-2008, 12:46 AM
Replies:
5
looking for a good PHP Regular Expressions tutorial
Views:
1,402
Posted By
drewbee
These are some of my favorite references for...
These are some of my favorite references for regular expressions. Also, printing out a cheat sheet is a good help too.
Regular Expressions PHP Tutorial...
Forum:
Absolute Beginners
07-15-2008, 02:52 PM
Replies:
7
a question can i input html in a preg_replace
Views:
1,110
Posted By
drewbee
I can honestly say I have no idea what just...
I can honestly say I have no idea what just happened in this thread. lol. You have officially confused me to no end and off the edge of the earth :D
Forum:
Absolute Beginners
07-15-2008, 03:32 AM
Replies:
7
a question can i input html in a preg_replace
Views:
1,110
Posted By
drewbee
Sure, if that is what your trying to match. Im...
Sure, if that is what your trying to match. Im not to sure where your headed with this, because that statement doesn't really make sense to me.
But you could match "<br><p>$item->description</p>);"...
Forum:
Advanced PHP Programming
07-14-2008, 03:38 PM
Replies:
19
My First Class - Any Good?
Views:
834
Posted By
drewbee
Well, since this is a math class, I would...
Well, since this is a math class, I would actually have a seperate class for the database as well
class Math
{
public mysqli;
public function __construct()
{
$this->mysqli =...
Forum:
Absolute Beginners
07-09-2008, 01:59 PM
Replies:
14
[Tutorial] Basic tutorial about class basics
Views:
1,752
Posted By
drewbee
lol. No worries. Good read anyways :)
lol. No worries. Good read anyways :)
Forum:
TalkPHP Developer Team
07-07-2008, 01:36 PM
Replies:
138
Planning Area - ideas,code,etc.. in here
Views:
5,090
Posted By
drewbee
Guys, using a permissions system can handle all...
Guys, using a permissions system can handle all of this.
Using a permissions system, this gallery can be flexible enough to keep it so strict to that only the main user of hte site (administrator)...
Forum:
General
07-03-2008, 04:36 PM
Replies:
0
Security Article / Tutorial on PHPFreaks.com
Views:
621
Posted By
drewbee
Security Article / Tutorial on PHPFreaks.com
All,
I ran across this very indepth and informative security article over on PHPFreaks.com
PHP Freaks - Tutorial: PHP Security (http://www.phpfreaks.com/tutorial/php-security)
It is a very good...
Forum:
Absolute Beginners
07-02-2008, 10:04 PM
Replies:
24
whats wrong in this code ? [i am learning]!
Views:
1,612
Posted By
drewbee
// A few things... see comments in...
// A few things... see comments in code
<?php
error_reporting(E_ALL & ~E_NOTICE);
class db_connect
{
private $dbn;
private $user;
private $pass;
Forum:
Absolute Beginners
07-02-2008, 09:56 PM
Replies:
24
whats wrong in this code ? [i am learning]!
Views:
1,612
Posted By
drewbee
Making it privage gives you the ability to access...
Making it privage gives you the ability to access the variables inside of the class, IE $this->. However, you would not be able to get it outside of the class lets say after it has been initialized....
Forum:
Absolute Beginners
07-02-2008, 07:44 PM
Replies:
24
whats wrong in this code ? [i am learning]!
Views:
1,612
Posted By
drewbee
to expand even further on this, your class...
to expand even further on this, your class variables are not being utilized.
These guys:
private $dbn;
private $user;
private $pass;
The variables inside of the function ($dbn, $user, and $pass)...
Forum:
Advanced PHP Programming
07-02-2008, 05:16 PM
Replies:
6
Another dbstructuring help..
Views:
628
Posted By
drewbee
Ah see, now were getting somewhere. You even made...
Ah see, now were getting somewhere. You even made a seperate table for the threads, nice!
One thing that I point out is that if you are going to make a ACL, you wouldn't have is_banned in the user...
Forum:
XHTML, HTML, CSS
07-01-2008, 07:22 PM
Replies:
3
<a href="index.php" V.S. <a href="./index.php"
Views:
3,242
Posted By
drewbee
As well, <a href="/index.php">file</a> means to...
As well,
<a href="/index.php">file</a> means to start from the root.
Forum:
TalkPHP Developer Team
07-01-2008, 12:18 AM
Replies:
293
TalkPHP Project
Views:
9,779
Posted By
drewbee
Hey guys, just to let you know, I am in talks...
Hey guys, just to let you know, I am in talks with WildHoney to get Vbulletins Project Manager installed on TalkPHP. We can use it to manage our project, and well as a bug tracker etc.
More to...
Forum:
General
06-30-2008, 03:13 PM
Replies:
4
Muting errors in PHP5
Views:
958
Posted By
drewbee
Personally... I turn error reporting completely...
Personally... I turn error reporting completely off for production systems. Error reporting should be used for development purposes, then if anything should go amiss properly capture the error and...
Forum:
Absolute Beginners
06-23-2008, 02:52 PM
Replies:
11
Clarification on INCLUDE()
Views:
960
Posted By
drewbee
Sorry, I missed the part about them being needed...
Sorry, I missed the part about them being needed to be used globally.
Object Oriented Programming FTW! :)
Once i started doing object oriented, I have sort-of lost sight of procedural.
class...
Forum:
Absolute Beginners
06-23-2008, 01:37 AM
Replies:
11
Clarification on INCLUDE()
Views:
960
Posted By
drewbee
Basically though, if you initialize your...
Basically though, if you initialize your variables properly your function calls of which get included would automatically set them to 0.
IE
function myFunc()
{
var1 = 0;
var2 = 0;
var3...
Showing results 1 to 18 of 18
All times are GMT. The time now is
01:13 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