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 445
Search took 0.14 seconds.
Search: Posts Made By: ETbyrne
Forum: The Lounge 02-05-2010, 03:20 AM
Replies: 16
Views: 2,702
Posted By ETbyrne
What exactly does the /e flag do? I can't recall...

What exactly does the /e flag do? I can't recall ever using it.

@adam, yes they did create tornado.
Forum: The Lounge 02-04-2010, 05:40 PM
Replies: 16
Views: 2,702
Posted By ETbyrne
They say eval won't work with it, which is...

They say eval won't work with it, which is actually not a bad thing, but I'm wondering what else isn't supported just yet.
Forum: Script Giveaway 02-03-2010, 08:52 PM
Replies: 26
Views: 3,516
Posted By ETbyrne
Haha well even if it was, the code for Kudos was...

Haha well even if it was, the code for Kudos was written by me quite a while ago and I no longer consider it to be any good.
Forum: The Lounge 02-02-2010, 11:10 PM
Replies: 16
Views: 2,702
Posted By ETbyrne
I haven't seen any download link yet. I don't...

I haven't seen any download link yet. I don't think they have posted it yet. I think it will catch on if it's as good as they say it is. There was quite a buzz about it earlier today on twitter.
Forum: Advanced PHP Programming 02-02-2010, 11:00 PM
Replies: 6
Api
Views: 747
Posted By ETbyrne
If you are already using a MVC framework, like...

If you are already using a MVC framework, like dingo or CI, then implementing a twitter-like api shouldn't be too difficult. For example let's say you have a page URL like so:

user/view/evan

The...
Forum: General 02-02-2010, 10:46 PM
Replies: 6
Views: 1,930
Posted By ETbyrne
It sounds like you don't know much about arrays.....

It sounds like you don't know much about arrays.. You may want to read this:

http://us.php.net/manual/en/language.types.array.php

The function I gave you returns an array which you can loop through...
Forum: The Lounge 02-02-2010, 10:41 PM
Replies: 16
Views: 2,702
Posted By ETbyrne
HipHop PHP Compiler

I assume you guys have heard about it? If not then here you go:
> http://developers.facebook.com/news.php?blog=1&story=358

It's not really a PHP compiler, but it turns PHP into C code and then...
Forum: Script Giveaway 02-02-2010, 10:38 PM
Replies: 26
Views: 3,516
Posted By ETbyrne
Sorry man, this CMS has been discontinued.

Sorry man, this CMS has been discontinued.
Forum: The Lounge 02-02-2010, 10:36 PM
Replies: 4
Views: 739
Posted By ETbyrne
VI, it's called a feature, not a flaw. ;-)

VI, it's called a feature, not a flaw. ;-)
Forum: General 01-31-2010, 04:19 AM
Replies: 6
Views: 1,930
Posted By ETbyrne
OK, here's a sweet little function I made that...

OK, here's a sweet little function I made that does exactly what you need:

function glob_recursive($dir)
{
static $g = array();

foreach(glob($dir,GLOB_ONLYDIR) as $i=>$k)
{
$g[] =...
Forum: General 01-31-2010, 03:54 AM
Replies: 6
Views: 1,930
Posted By ETbyrne
If you look down in the comments on the docs page...

If you look down in the comments on the docs page (http://php.net/glob), you will find many solutions. One such being this:

$dir_iterator = new RecursiveDirectoryIterator("/path");
$iterator = new...
Forum: General 01-18-2010, 02:01 PM
Replies: 4
Views: 1,105
Posted By ETbyrne
True, but PDO is supposed to make switching DBMS...

True, but PDO is supposed to make switching DBMS easier, right? If it doesn't handle the SQL part of the problem, then in my opinion it doesn't do the job. In order to easily switch DBMS you would...
Forum: General 01-16-2010, 05:15 PM
Replies: 4
Views: 1,105
Posted By ETbyrne
I looked into using PDO not too long ago for the...

I looked into using PDO not too long ago for the Dingo Framework (http://www.dingoframework.com), but I quickly found that it did not meet my requirements.

In other words, I found that using PDO was...
Forum: Show Off 12-13-2009, 11:59 PM
Replies: 8
Views: 1,070
Posted By ETbyrne
The image results are good, but the text results...

The image results are good, but the text results are really lacking. You may want to consider showing more image results at one time. All in all the site is off to a good start.



This really...
Forum: Advanced PHP Programming 12-10-2009, 08:51 PM
Replies: 15
Views: 1,454
Posted By ETbyrne
You both make valid points, but keep in mind I...

You both make valid points, but keep in mind I was just generalizing for the sake of simplicity. Also remember that there are different variations of MVC, but again, that just makes it all the more...
Forum: Advanced PHP Programming 12-10-2009, 03:29 AM
Replies: 15
Views: 1,454
Posted By ETbyrne
Basically it's like this: - Different...

Basically it's like this:

- Different controllers (or methods in controller classes) represent different pages
- Controllers use models to interact with the database
- Controllers use views to...
Forum: Advanced PHP Programming 12-06-2009, 08:12 PM
Replies: 8
Views: 2,454
Posted By ETbyrne
Adding onto what Village Idiot said, it is also...

Adding onto what Village Idiot said, it is also not possible to set the value of a file input with javascript. For example this jQuery will produce an error and not...
Forum: Advanced PHP Programming 12-04-2009, 08:34 PM
Replies: 7
Views: 3,443
Posted By ETbyrne
Stay on topic vpopp. People will respond to your...

Stay on topic vpopp. People will respond to your sql thread if they have a solution. This is not the place to talk about that.
Forum: General 11-28-2009, 03:58 AM
Replies: 12
Views: 817
Posted By ETbyrne
Very true, but when used correctly...

Very true, but when used correctly func_get_args() can be an extremely powerful asset.
Forum: General 11-28-2009, 03:19 AM
Replies: 12
Views: 817
Posted By ETbyrne
class myClass { public function myFunction() ...

class myClass
{
public function myFunction()
{
$arguments = func_get_args();
}
}

You can then use any number of arguments on that function.
Forum: Javascript, AJAX, E4X 11-10-2009, 01:59 PM
Replies: 3
Views: 2,249
Posted By ETbyrne
Does it work on Safari on your computer? It also...

Does it work on Safari on your computer? It also helps to show what javascript you are using.
Forum: Advanced PHP Programming 11-10-2009, 01:15 AM
Replies: 4
Views: 743
Posted By ETbyrne
You could send the file via a HTTP request using...

You could send the file via a HTTP request using cURL.
Forum: General 11-10-2009, 01:14 AM
Replies: 5
Views: 725
Posted By ETbyrne
Thanks for the clarification di!

Thanks for the clarification di!
Forum: General 11-07-2009, 03:08 AM
Replies: 5
Views: 725
Posted By ETbyrne
Well you got the loop ones: <?php foreach($data...

Well you got the loop ones:

<?php foreach($data as $row): ?>

Something...

<?php endforeach; ?>
Forum: Advanced PHP Programming 11-04-2009, 12:10 AM
Replies: 1
Views: 1,031
Posted By ETbyrne
Basically, just use https:// instead of http://...

Basically, just use https:// instead of http:// on pages that are using SSL.
> http://www.webmasterworld.com/php/3340764.htm

You probably will not want to use https on every page, because it does...
Showing results 1 to 25 of 445

 

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