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 3
1
2
3
>
Page 1 of 3
1
2
3
>
Showing results 1 to 25 of 64
Search took
0.00
seconds.
Search:
Posts Made By:
Killswitch
Forum:
General
07-16-2010, 05:32 PM
Replies:
1
Difference between timestamps
Views:
533
Posted By
Killswitch
Difference between timestamps
I know, this should be an incredibly easy task but for some reason I just cannot get it to work properly.
I have a comment form that needs to check a users last post time to the current, and see if...
Forum:
Advanced PHP Programming
06-03-2010, 06:46 PM
Replies:
9
Iterating over directories only
Views:
1,712
Posted By
Killswitch
Thanks, I've been using directory iterator and...
Thanks, I've been using directory iterator and iterator iterator, but the problem I believe is with Windows ( I just installed Windows two days ago, darn it).
If I use getType to print what each...
Forum:
Advanced PHP Programming
06-03-2010, 05:07 AM
Replies:
9
Iterating over directories only
Views:
1,712
Posted By
Killswitch
Iterating over directories only
I have seen many scripts that recurse over directories listing files, but what I am trying to do, with no success, is list the directories only.
It doesn't help that the directory I am trying to...
Forum:
Advanced PHP Programming
02-24-2010, 01:38 AM
Replies:
2
ZF: Models multiple joins
Views:
953
Posted By
Killswitch
Does Zend not have an ORM feature? I haven't...
Does Zend not have an ORM feature? I haven't used Zend at all, but love Kohana for the ORM (I just glanced at Doctrine, seems to do quite the same thing).
Forum:
General
02-09-2010, 07:58 PM
Replies:
3
Regex help?
Views:
563
Posted By
Killswitch
Thanks, I will give that a try. I have put regex...
Thanks, I will give that a try. I have put regex off for so long, really need to work with it more.
This is the pattern I had, but it currently is half working...
"/{gallery=(.*)}/i"
It worked on...
Forum:
General
02-09-2010, 04:22 AM
Replies:
3
Regex help?
Views:
563
Posted By
Killswitch
Regex help?
I am working on an app and currently looking to create a plugin to quickly display images from a folder using a quick tag.
I figured in order to do so I would replace...
Forum:
General
01-26-2010, 09:53 PM
Replies:
1
How much memory use is too much?
Views:
770
Posted By
Killswitch
How much memory use is too much?
I was just curious as to how much memory use per page load is too much? I know this may vary depending on the resources of the server, so for general purposes let's just compare this to a virtual...
Forum:
Javascript, AJAX, E4X
01-11-2010, 05:50 PM
Replies:
0
Jquery ajax forms in PHP MVC app
Views:
2,300
Posted By
Killswitch
Jquery ajax forms in PHP MVC app
I was wondering about this since I am very new to javascript and Jquery in general.
My app uses the MVC approach. Using the ajax. method for submitting a form in Jquery means I need to make the...
Forum:
General
01-03-2010, 02:54 AM
Replies:
2
Having trouble with PDO
Views:
717
Posted By
Killswitch
Alright, this is the portion that is Updating,...
Alright, this is the portion that is Updating, with a little bit of cleaning ( its for an admin area that honestly I will be the only one messing with ). Also note the $form_data is an array of the...
Forum:
General
01-03-2010, 01:34 AM
Replies:
2
Having trouble with PDO
Views:
717
Posted By
Killswitch
Having trouble with PDO
I am having a bit of trouble with an SQL statement and really don't know why.
Basically I am updating a forums information in the database. Everything is fine until I use certain characters.
For...
Forum:
Show Off
12-31-2009, 07:31 AM
Replies:
8
New Application Framework
Views:
990
Posted By
Killswitch
Yea, I would use PDO as is, I hate seeing wrapper...
Yea, I would use PDO as is, I hate seeing wrapper classes used with PDO.
Also, even consider autoloading? I haven't looked through much yet, but in logikit.php I see a ton of includes. In the...
Forum:
Advanced PHP Programming
12-31-2009, 07:24 AM
Replies:
27
How to use the Singleton design pattern
Views:
123,249
Posted By
Killswitch
I have been using the Singleton for awhile now...
I have been using the Singleton for awhile now and ran into unexpected results with an app recently.
I most often used the singleton to get an instance of a class throughout several parts of a...
Forum:
General
12-31-2009, 07:20 AM
Replies:
3
vB style url's/navbar, how ?
Views:
617
Posted By
Killswitch
I have done this using numerous methods. The...
I have done this using numerous methods. The most simple for me was to simply define or in the case of a forum, create a friendly url value out of the title. In my CMS' I do the same only the...
Forum:
Advanced PHP Programming
12-25-2009, 06:38 AM
Replies:
22
PHP5 Method Chaining
Views:
52,255
Posted By
Killswitch
Kohana is a framework, see kohanaphp.com.
Kohana is a framework, see kohanaphp.com.
Forum:
General
12-24-2009, 10:54 PM
Replies:
5
Remember me login w/ cookies
Views:
775
Posted By
Killswitch
Thanks guys, this should get me finishing this up.
Thanks guys, this should get me finishing this up.
Forum:
General
12-24-2009, 07:58 AM
Replies:
5
Remember me login w/ cookies
Views:
775
Posted By
Killswitch
Ok I will look into it. I do also hash the user...
Ok I will look into it. I do also hash the user agent, I really didn't want anything in the cookie viewable but some information would be obvious. A user can easily find any users username and most...
Forum:
General
12-24-2009, 07:11 AM
Replies:
5
Remember me login w/ cookies
Views:
775
Posted By
Killswitch
Remember me login w/ cookies
Had a quick question. I have never messed with cookies before, but I know how they work. I am working on a user login and want to be able to use a remember me option, using cookies to do so.
I...
Forum:
Advanced PHP Programming
12-24-2009, 06:54 AM
Replies:
22
PHP5 Method Chaining
Views:
52,255
Posted By
Killswitch
Awesome. I recently learned of method chaining...
Awesome. I recently learned of method chaining by playing with Kohana and thought you needed to do this with factory. Continuing to learn... it's nice :D
Forum:
Advanced PHP Programming
12-24-2009, 06:52 AM
Replies:
1
Making code more DRY
Views:
707
Posted By
Killswitch
There will be a little repitition, it's kinda...
There will be a little repitition, it's kinda hard to cut down on without getting extremely complex in your code. I have found however, that by switching to Kohana I have been able to cut back on a...
Forum:
Advanced PHP Programming
11-24-2009, 03:24 AM
Replies:
15
Poll:
MVC approach in PHP Development
Views:
1,456
Posted By
Killswitch
About a month ago I had never touched anything...
About a month ago I had never touched anything MVC. My first time looking at it it just seemed like it over complicated everything. I decided to take a closer look and write my own basic little...
Forum:
General
11-24-2009, 03:22 AM
Replies:
5
Edit post with CodeIgniter
Views:
2,574
Posted By
Killswitch
I'm not very familiar with Code Igniter, but if...
I'm not very familiar with Code Igniter, but if it's just one result I wouldn't think you would need a loop. Atleast, I have never seen a loop used to print just one single result. I am not too...
Forum:
General
11-22-2009, 06:11 PM
Replies:
2
Escaping in PDO
Views:
752
Posted By
Killswitch
Ah sweet, thanks, that seems like a great site. ...
Ah sweet, thanks, that seems like a great site. So I am gathering that using prepared statements escapes on the fly? Why didn't I find PDO earlier?
Forum:
General
11-22-2009, 06:58 AM
Replies:
2
Escaping in PDO
Views:
752
Posted By
Killswitch
Escaping in PDO
I have a quick question about using PDO and escaping vars. I am new to PDO, so excuse me if this is kinda noobish of me...
I need to run an insert and I checked the manuals PDO->quote for escaping...
Forum:
Advanced PHP Programming
11-08-2009, 02:11 AM
Replies:
3
URL in MVC
Views:
1,060
Posted By
Killswitch
I don't think I understand. I know how to do it...
I don't think I understand. I know how to do it with mod_rewrite, but not sure if this would totally kill the functionality of MVC ( removing things such as view/id/5 making it 5.html or whatever ).
Forum:
Advanced PHP Programming
11-07-2009, 04:16 AM
Replies:
3
URL in MVC
Views:
1,060
Posted By
Killswitch
URL in MVC
I have recently found and began playing around with MVC. I have a basic framework setup, the controller class, model class, an sql class, and so on. A basic app works ( well, I am just printing...
Showing results 1 to 25 of 64
Page 1 of 3
1
2
3
>
All times are GMT. The time now is
03:30 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