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 247
Search took 0.03 seconds.
Search: Posts Made By: Wildhoney
Forum: Absolute Beginners 08-27-2009, 01:32 AM
Replies: 5
Views: 941
Posted By Wildhoney
You could use mysql_data_seek like below....

You could use mysql_data_seek like below. Although it seems peculiar to me how you're using this.


$c_pettype = 'horse' ; // From user.
$q = "SELECT *
FROM t_petdata
WHERE pettype =...
Forum: Member Introductions 08-19-2009, 11:52 AM
Replies: 1
Views: 549
Posted By Wildhoney
Welcome to the community, Dang!

Welcome to the community, Dang!
Forum: Advanced PHP Programming 07-27-2009, 08:39 PM
Replies: 2
Views: 1,380
Posted By Wildhoney
Plugin/Addon Extending DOMDocument with Zend Framework

I've recently extended DOMDocument using Zend_Dom's components to help. I've added some features. However, for those familiar with prototype, they have some functions -- down being perhaps the most...
Forum: Absolute Beginners 07-21-2009, 09:50 PM
Replies: 6
Views: 881
Posted By Wildhoney
Naturally! :-) SELECT `group`, `customer`, ...

Naturally! :-)


SELECT
`group`, `customer`,
(SELECT COUNT(`id`) FROM `results` WHERE `result` = 'Win' AND `customer` = `r`.`customer`) AS `wins`,
(SELECT COUNT(`id`) FROM `results` WHERE...
Forum: Member Introductions 07-05-2009, 02:34 AM
Replies: 5
Views: 613
Posted By Wildhoney
Welcome to the forum, my friend! :-) You WILL...

Welcome to the forum, my friend! :-) You WILL enjoy it here.
Forum: The Lounge 07-02-2009, 01:44 AM
Replies: 14
Views: 777
Posted By Wildhoney
Nice one, my friend :-) !

Nice one, my friend :-) !
Forum: Absolute Beginners 06-27-2009, 12:56 PM
Replies: 6
Views: 754
Posted By Wildhoney
Have you had an attempt at writing this? Could we...

Have you had an attempt at writing this? Could we see your code, please?
Forum: Absolute Beginners 06-25-2009, 07:11 PM
Replies: 9
Views: 1,448
Posted By Wildhoney
I wrote the following two functions, without...

I wrote the following two functions, without knowing what you want precisely, admittedly, but I had a sudden urge to write them!

The first of the two functions is the most simply of them, and will...
Forum: Tips & Tricks 06-25-2009, 01:43 AM
Replies: 28
Views: 2,177
Posted By Wildhoney
Arrow PHP Perfomance Tips by the Beloved Google

Google actually has many articles relating to speeding up websites (http://code.google.com/speed/articles/), but as we're a PHP related website, I thought it would be relevant for everybody to see...
Forum: General 06-24-2009, 04:19 PM
Replies: 3
Views: 567
Posted By Wildhoney
Typically a set of functions inside a set of...

Typically a set of functions inside a set of classes, that are ideally able to be used independent of one another. Although some dependencies are naturally unavoidable. They hasten the most common of...
Forum: General 06-23-2009, 09:55 PM
Replies: 12
Views: 934
Posted By Wildhoney
It is because you're using strtotime again on an...

It is because you're using strtotime again on an existing timestamp.


$send_date = date('m/d/Y');
printf('Date now: %s<br />', $send_date);

$send_date2 = strtotime($send_date);
printf('As a...
Forum: General 06-23-2009, 08:31 PM
Replies: 12
Views: 934
Posted By Wildhoney
I'd personally store the dates as a timestamp...

I'd personally store the dates as a timestamp (http://www.talkphp.com/absolute-beginners/4514-time-issues.html#post25137).
Forum: Absolute Beginners 06-20-2009, 02:51 AM
Replies: 17
Views: 982
Posted By Wildhoney
I use SQLYog...

I use SQLYog (http://www.webyog.com/en/sqlyog_feature_list.php) :-)
Forum: General 06-18-2009, 01:58 AM
Replies: 11
Views: 635
Posted By Wildhoney
You can see the Bing API here...

You can see the Bing API here (http://www.bing.com/developers/). You'll need to obtain an API key first, and then the API for the search result page is a nicely XML formatted document.
Forum: General 06-17-2009, 11:59 PM
Replies: 11
Views: 635
Posted By Wildhoney
Something to be aware of, but officially you're...

Something to be aware of, but officially you're not allowed to trawl Google's results. I have done myself, and you can do, but any system that draws attention to the fact you're crawling Google, and...
Forum: General 06-17-2009, 04:59 PM
Replies: 11
Views: 635
Posted By Wildhoney
For the first question you really have 3 good...

For the first question you really have 3 good options:


get_meta_tags (http://us.php.net/manual/en/function.get-meta-tags.php)
preg_match (http://uk3.php.net/preg_match)
DOMDocument...
Forum: General 06-16-2009, 11:55 AM
Replies: 6
Views: 8,997
Posted By Wildhoney
What do you mean by not 100%? What appears to not...

What do you mean by not 100%? What appears to not be working?
Forum: MySQL & Databases 06-15-2009, 06:10 PM
Replies: 9
Views: 857
Posted By Wildhoney
Isn't mysql_num_rows for SELECT, and...

Isn't mysql_num_rows for SELECT, and mysql_affected_rows for INSERT? It is a while since I communicated with the MySQL functions directly, but I am sure you're looking for mysql_affected_rows in that...
Forum: Tips & Tricks 06-15-2009, 01:36 PM
Replies: 14
Views: 3,871
Posted By Wildhoney
Smile Treat PHP Strings as Objects (Like Javascript)

I had a thought this morning whether or not it'd be possible to treat a PHP string as an object, but still initiate the variables the same way.

With a little spare time today I managed to find a way...
Forum: Tips & Tricks 06-10-2009, 02:23 AM
Replies: 10
Views: 946
Posted By Wildhoney
Hehe. Nonsense! But perhaps we can evolve this...

Hehe. Nonsense! But perhaps we can evolve this thread into something a little more meaningful :-)

I used to wrap a lot of my items in functions. For $_GET I used to have g(), $_POST was p(), and...
Forum: Absolute Beginners 06-10-2009, 01:53 AM
Replies: 6
Views: 935
Posted By Wildhoney
That is the Unix timestamp of the current time...

That is the Unix timestamp of the current time and date. It is the amount of seconds since midnight of January the 1st, 1970. It is pretty standard in the programming world because it takes...
Forum: Script Giveaway 06-09-2009, 01:21 AM
Replies: 0
Views: 1,527
Posted By Wildhoney
Box Currency Converter with Cache

I thought I would release my currency converter to the unsuspecting public, as it is quite useful, and also for people to critique.

Script uses the following XML document...
Forum: General 06-08-2009, 11:02 PM
Replies: 4
Views: 889
Posted By Wildhoney
Oh, how I would love to open my book of ideas and...

Oh, how I would love to open my book of ideas and let you point your finger to one, but unfortunately I would be sacrificed to the Gods by those lurking in the shadows (or those hiding behind an IP...
Forum: Tips & Tricks 06-08-2009, 06:50 PM
Replies: 0
Views: 1,850
Posted By Wildhoney
Box Audioscrobbler (Last.FM) API: Determining What's An Album

Last.FM's API may be the most informative out there, but its data still has issues, such as duplicated tracks on a particular album, that differ slightly -- such as one added exclamation mark. Being...
Forum: Javascript, AJAX, E4X 06-08-2009, 01:36 PM
Replies: 3
Views: 5,405
Posted By Wildhoney
The following page appears to have information...

The following page appears to have information relating to implementing the light-box code into your script. Any questions though, do please ask :-) !

Article: http://www.webdev-tutorials.com/?p=59/
Showing results 1 to 25 of 247

 

All times are GMT. The time now is 10:13 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