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 31
Search took 0.08 seconds.
Search: Posts Made By: Karl
Forum: Absolute Beginners 09-14-2008, 10:18 PM
Replies: 5
Views: 1,104
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,160
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: General 07-31-2008, 05:50 PM
Replies: 7
Views: 575
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,131
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 02-24-2008, 02:39 PM
Replies: 35
Views: 11,640
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: Member Introductions 01-18-2008, 03:50 PM
Replies: 8
Views: 764
Posted By Karl
Hi Mike, welcome to TalkPHP :-)

Hi Mike, welcome to TalkPHP :-)
Forum: Absolute Beginners 01-11-2008, 01:28 PM
Replies: 16
Views: 823
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:25 PM
Replies: 11
Views: 752
Posted By Karl
Welcome to TalkPHP Sid. Hope you enjoy it here!

Welcome to TalkPHP Sid. Hope you enjoy it here!
Forum: General 01-08-2008, 11:50 AM
Replies: 4
Views: 1,789
Posted By Karl
There's no technical reason to my choice, but for...

There's no technical reason to my choice, but for sheer simplicity I would say to use filters over regex. I don't see the point in writing regex when you can easily use a pre-made filter. I'd only...
Forum: Member Introductions 01-07-2008, 11:50 AM
Replies: 6
Views: 713
Posted By Karl
Hi Bullit, welcome to TalkPHP :-)

Hi Bullit, welcome to TalkPHP :-)
Forum: Absolute Beginners 01-05-2008, 01:34 PM
Replies: 9
Views: 953
Posted By Karl
You need to compare your details against the...

You need to compare your details against the details sent back from paypal. It's actually straight forward, although they make it seem difficult. You could add the following validation function and...
Forum: Member Introductions 01-02-2008, 04:57 PM
Replies: 5
Views: 644
Posted By Karl
Hi nullbyte, welcome to TalkPHP :-)

Hi nullbyte, welcome to TalkPHP :-)
Forum: Absolute Beginners 12-20-2007, 04:30 PM
Replies: 25
Views: 1,476
Posted By Karl
You've already got your solution, but I thought...

You've already got your solution, but I thought I'd mention the nice filter_* methods that you can use to achieve email validation, everyone always seems to overlook it:


if...
Forum: General 12-19-2007, 12:56 PM
Replies: 1
Views: 1,922
Posted By Karl
vB Hack - Making a Home Page

How to make your own vBulletin Hack.

Now I'm no vBulletin guru, in fact, I've probably been using vBulletin less than most of you, but here is the method that I used to create the new homepage here...
Forum: Script Giveaway 12-11-2007, 12:32 PM
Replies: 35
Views: 11,640
Posted By Karl
Yes it does use a lot of advanced theories and...

Yes it does use a lot of advanced theories and practices. Feel free to ask any questions and I'll do my best to answer them.
Forum: Script Giveaway 12-11-2007, 12:05 PM
Replies: 35
Views: 11,640
Posted By Karl
GoogleCharts

I've been playing with some Google Chart classes over the weekend and I've decided to give the code an early release to see what people think. It's all very basic still, I've mainly concentrated on...
Forum: Advanced PHP Programming 12-07-2007, 09:30 PM
Replies: 2
Views: 4,371
Posted By Karl
That's perfectly fine, it's the logical place to...

That's perfectly fine, it's the logical place to put such code :-)
Forum: Advanced PHP Programming 12-07-2007, 08:57 PM
Replies: 13
Views: 959
Posted By Karl
It just provides a reference (pointer) to the...

It just provides a reference (pointer) to the array. You can then add elements to the array via the reference.

I could have just added the elements to the $this->m_aList array, but because we...
Forum: Advanced PHP Programming 12-07-2007, 04:32 PM
Replies: 13
Views: 959
Posted By Karl
That was a tough little problem. Here's a...

That was a tough little problem. Here's a solution I came up with:


<?php

class ProductList
{
private $m_aList;

public function __construct($aProducts)
Forum: Member Introductions 12-07-2007, 01:47 PM
Replies: 10
Views: 873
Posted By Karl
You're all loved at TalkPHP. We're like an...

You're all loved at TalkPHP. We're like an orphanage (without the pedophilia), we love all our children equally :-)
Forum: Member Introductions 12-07-2007, 01:30 PM
Replies: 10
Views: 873
Posted By Karl
Hi Orc, welcome to TalkPHP :-)

Hi Orc, welcome to TalkPHP :-)
Forum: Feedback 12-04-2007, 08:08 PM
Replies: 6
Views: 1,016
Posted By Karl
Yeh it is something we'd like to implement,...

Yeh it is something we'd like to implement, consider it added to the list :-)
Forum: News and Announcements 12-04-2007, 06:23 PM
Replies: 12
Views: 1,599
Posted By Karl
New Home Page

As you've probably noticed we're trying out a new home page. We hope you like it. If you have any feedback we'd love to hear it.
Forum: The Lounge 12-03-2007, 04:40 PM
Replies: 20
Views: 1,298
Posted By Karl
I originally thought Google were the good guys,...

I originally thought Google were the good guys, but recently I'm starting to think otherwise. I think you have a valid concern with them driving out competition, let's just hope they stay "good" and...
Forum: Member Introductions 12-02-2007, 08:45 PM
Replies: 5
Views: 762
Posted By Karl
Hi Jaspal, welcome to TalkPHP.

Hi Jaspal, welcome to TalkPHP.
Showing results 1 to 25 of 31

 

All times are GMT. The time now is 10:02 PM.

 
     

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