TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble 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
Associates
CSS Tutorials
Showing results 1 to 25 of 394
Search took 0.07 seconds.
Search: Posts Made By: Karl
Forum: Absolute Beginners 12-03-2008, 02:08 PM
Replies: 1
Views: 1,000
Posted By Karl
I don't need this often, which is just as well...

I don't need this often, which is just as well really. But when I need them, I'm often not sure which $_SERVER part I need, which reduces me to doing this every time to find the correct...
Forum: Javascript, AJAX, E4X 12-03-2008, 02:06 PM
Replies: 1
Views: 41,179
Posted By Karl
That's the correct behaviour because thumbs is an...

That's the correct behaviour because thumbs is an object. As JavaScript is very OOP. So you will need to access its methods. Such as like to get the actual SRC of the image, use the following:


var...
Forum: Absolute Beginners 09-14-2008, 10:18 PM
Replies: 5
Views: 1,118
Posted By Karl
$iToday = time(); $iNext = strtotime('+3 weeks',...

$iToday = time();
$iNext = strtotime('+3 weeks', $iToday);
Forum: Absolute Beginners 09-05-2008, 12:22 PM
Replies: 5
Views: 1,172
Posted By Karl
2, I don't know. 3, Increase the POST length in...

2, I don't know.
3, Increase the POST length in php.ini
4, the only difference between htmlspecialchars() and htmlentities() in PHP - SitePoint Forums...
Forum: Member Introductions 08-14-2008, 01:04 PM
Replies: 7
Views: 799
Posted By Karl
Welcome to the community!

Welcome to the community!
Forum: Absolute Beginners 08-13-2008, 04:35 PM
Replies: 3
Views: 942
Posted By Karl
Yes, post the actual code.

Yes, post the actual code.
Forum: Feedback 08-01-2008, 01:38 AM
Replies: 13
Views: 1,140
Posted By Karl
Post such things in the general discussion area,...

Post such things in the general discussion area, by all means, but as the others have said, it is a programming forum. Sorry! Nonetheless, thanks for the thought.
Forum: General 07-31-2008, 05:50 PM
Replies: 7
Views: 587
Posted By Karl
You could use MySQL to work out their age....

You could use MySQL to work out their age. However, the MySQL for that is rather intensive, and would require the HAVING clause. How about simply returning them all by the year, and then in the loop...
Forum: General 07-15-2008, 02:31 PM
Replies: 5
Views: 1,166
Posted By Karl
It is called when you destroy the object. So, for...

It is called when you destroy the object. So, for example:


class Destruct_Example
{
public function __construct()
{
echo "Called Construct()";
}
Forum: Script Giveaway 04-02-2008, 11:36 AM
Replies: 35
Views: 11,703
Posted By Karl
Hi Adam, No I currently don't have any product...

Hi Adam,

No I currently don't have any product name in mind, I was gunna keep it simple with something like GPChart, but I guess we could have the cheekier variant, GPhart :)

Karl
Forum: Script Giveaway 03-28-2008, 04:17 PM
Replies: 35
Views: 11,703
Posted By Karl
Hi Adam, Thanks for the post, it's always nice...

Hi Adam,

Thanks for the post, it's always nice to see some positive comments. I havn't really done much with the project, so, to answer your questions:

1) Nope
2) Nope (Edit: I see Witt has...
Forum: Script Giveaway 02-24-2008, 02:39 PM
Replies: 35
Views: 11,703
Posted By Karl
No I don't think I added support for that. So...

No I don't think I added support for that. So yeh, unfortunately you may have to add it yourself :(
Forum: The Lounge 02-21-2008, 12:54 PM
Replies: 20
Views: 1,430
Posted By Karl
I needed a kick up the arse tbh. I've been so...

I needed a kick up the arse tbh. I've been so busy with work I've just neglected visiting the place :(

Luckily Wildhoney give me that kick yesterday, I'm gunna try and be more active again now.
Forum: Advanced PHP Programming 02-21-2008, 02:46 AM
Replies: 4
Views: 707
Posted By Karl
I would pass the instance via the constructor...

I would pass the instance via the constructor rather than create new instances within each object that requires db access.

My preferred solution is to use a registry object...
Forum: Script Giveaway 02-01-2008, 01:22 PM
Replies: 35
Views: 11,703
Posted By Karl
I've just released v0.2. I would have liked to...

I've just released v0.2. I would have liked to have spent more time on it but I', unfortunately extremely busy at the moment. Maybe some of our fellow coders can contribute? Failing that, you'll...
Forum: Script Giveaway 02-01-2008, 12:15 PM
Replies: 35
Views: 11,703
Posted By Karl
Thanks for reporting that. I really should do...

Thanks for reporting that. I really should do some more work on this script, I promised jugusto I would release an update weeks ago.
Forum: The Lounge 01-30-2008, 03:11 PM
Replies: 11
Views: 924
Posted By Karl
Happy birthday RespawN, have a good one :)

Happy birthday RespawN, have a good one :)
Forum: Member Introductions 01-18-2008, 03:50 PM
Replies: 8
Views: 776
Posted By Karl
Hi Mike, welcome to TalkPHP :-)

Hi Mike, welcome to TalkPHP :-)
Forum: Tips & Tricks 01-17-2008, 05:47 PM
Replies: 8
Views: 1,276
Posted By Karl
Nice article I couldn't agree more with what...

Nice article I couldn't agree more with what you're saying. I also strive for simple easy to understand code, mainly due to the exact same reasons as yourself. A word of warning though, when you...
Forum: MySQL & Databases 01-16-2008, 02:45 AM
Replies: 7
Views: 2,297
Posted By Karl
You could use an AS to rename the columns so that...

You could use an AS to rename the columns so that the union treats them as the same column. Such as:


SELECT
student_id AS id,
FROM
students
WHERE
student_id = '8563' AND password=...
Forum: Absolute Beginners 01-11-2008, 01:28 PM
Replies: 16
Views: 832
Posted By Karl
That's a very vague question webtuto, can you...

That's a very vague question webtuto, can you elaborate on what part of the script you actually need help on?
Forum: Member Introductions 01-11-2008, 01:26 PM
Replies: 5
Views: 750
Posted By Karl
Hi Wills mate :p Welcome to TalkPHP :-)

Hi Wills mate :p

Welcome to TalkPHP :-)
Forum: Member Introductions 01-11-2008, 01:25 PM
Replies: 11
Views: 763
Posted By Karl
Welcome to TalkPHP Sid. Hope you enjoy it here!

Welcome to TalkPHP Sid. Hope you enjoy it here!
Forum: Member Introductions 01-11-2008, 01:24 PM
Replies: 20
Views: 1,249
Posted By Karl
Hi Robort, welcome to TalkPHP. I realise I'm a...

Hi Robort, welcome to TalkPHP. I realise I'm a bit late with that, but better late than never :-)
Forum: Member Introductions 01-11-2008, 01:20 PM
Replies: 9
Views: 733
Posted By Karl
Hello buggabill, welcome to TalkPHP :-)

Hello buggabill, welcome to TalkPHP :-)
Showing results 1 to 25 of 394

 

All times are GMT. The time now is 09:23 AM.

 
     

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