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 159
Search took 0.01 seconds.
Search: Posts Made By: bluesaga
Forum: General 01-26-2010, 11:50 PM
Replies: 1
Views: 773
Posted By bluesaga
We use Zend Framework which is far heavier than...

We use Zend Framework which is far heavier than 3mb per load and we have no problems on our servers, we do have a lot of RAM though.

Generally speaking RAM is much cheaper than CPU to upgrade and...
Forum: Absolute Beginners 06-13-2008, 10:46 AM
Replies: 10
Views: 1,214
Posted By bluesaga
You need to actually have a local SMTP server...

You need to actually have a local SMTP server setup to use the send mail in PHP :)

ie, you need an SMTP server setup on localhost:25 according to your settings in your PHP.ini
Forum: Advanced PHP Programming 02-22-2008, 06:53 PM
Replies: 3
Views: 754
Posted By bluesaga
Hi Devels, The UTF-8 common issues are a major...

Hi Devels,

The UTF-8 common issues are a major one, and there is a few things that can be done to get around issues and irregularitys with it.

1) Use the PHP DOM for xml, xml by default has to be...
Forum: Absolute Beginners 01-06-2008, 09:46 PM
Replies: 4
Views: 638
Posted By bluesaga
% is a wildcard, that should only be used for...

% is a wildcard, that should only be used for LIKE mysql searches...


$db = mysql_select_db("test") ;
$sql = "select * from webt where name='%$_POST[search]%' ";
$res = mysql_query($sql) ;


Should...
Forum: Feedback 01-06-2008, 09:18 PM
Replies: 11
Views: 1,599
Posted By bluesaga
Lol, just lol. Is it really THAT obstrusive!?!...

Lol, just lol. Is it really THAT obstrusive!?!

It probably is looking for the page you want to be featured most, pages that get the most internal links in turn generally rank better in the serps....
Forum: Absolute Beginners 01-06-2008, 09:14 PM
Replies: 12
Views: 874
Posted By bluesaga
always done it without the space, strange. It...

always done it without the space, strange. It annoys me when things arent lined up (and really make things less usable to make them look nicer....) But that has never bugged me, strange that!
Forum: Member Introductions 01-04-2008, 01:52 AM
Replies: 7
Views: 743
Posted By bluesaga
Hello and welcome, i hope you enjoy it here as...

Hello and welcome, i hope you enjoy it here as much as i do! Its always nice to get a new member with past experience! I'll be looking forward to your CMS as well!
Forum: Advanced PHP Programming 12-13-2007, 09:28 AM
Replies: 13
Views: 22,112
Posted By bluesaga
If you want to see a simple pagination example...

If you want to see a simple pagination example that doesn't require a specific data point, check a previous post of mine: http://www.talkphp.com/showpost.php?p=3523&postcount=7
Forum: General 12-13-2007, 09:19 AM
Replies: 19
Views: 2,125
Posted By bluesaga
Zend Studio here as well, really nice interface :)

Zend Studio here as well, really nice interface :)
Forum: Advanced PHP Programming 12-12-2007, 12:16 AM
Replies: 2
Views: 838
Posted By bluesaga
Majorly Advanced Regex

Looking for some clever clogs to figure out something for me:

Currently the strip_tags php function is rather rubbish, and simple folk must of wrote it! Well it doesn't check for the angle bracket...
Forum: Advanced PHP Programming 12-11-2007, 04:52 PM
Replies: 8
Views: 913
Posted By bluesaga
Well ie, you make a wrapper to do functions that...

Well ie, you make a wrapper to do functions that you would use for user functions, like i dunno, check the passwords etc :)
Forum: Advanced PHP Programming 12-11-2007, 04:47 PM
Replies: 22
Views: 51,337
Posted By bluesaga
There is a nice graph extension, namely JPGraph...

There is a nice graph extension, namely JPGraph (http://www.aditus.nu/jpgraph/)
Forum: Advanced PHP Programming 12-11-2007, 04:45 PM
Replies: 8
Views: 913
Posted By bluesaga
That seems to look good, for a basic portable...

That seems to look good, for a basic portable wrapper. You may want to take the wrapping to another level though, and start to wrap functions for specific...
Forum: Absolute Beginners 12-11-2007, 04:41 PM
Replies: 16
Views: 1,014
Posted By bluesaga
How about a nice string cleaning class? Removing...

How about a nice string cleaning class? Removing html, attributes etc?
Forum: Feedback 12-11-2007, 04:40 PM
Replies: 20
Views: 1,601
Posted By bluesaga
It affected me and I am with BT, I flagged up the...

It affected me and I am with BT, I flagged up the issue with the server tech guys, they got me to run a tracert and let me know it was a router going out of London Docklands to Europe failing.
Forum: MySQL & Databases 12-04-2007, 09:18 AM
Replies: 9
Views: 9,871
Posted By bluesaga
Its for redundancy as you guessed but it is also...

Its for redundancy as you guessed but it is also for speed reasons, a database that is being heavily written to will be much slower than a database with heavy reads. And thus if you mix and match the...
Forum: Absolute Beginners 12-01-2007, 12:38 AM
Replies: 6
Views: 825
Posted By bluesaga
Generally speaking it will be dependent on the...

Generally speaking it will be dependent on the website that you are trying to open but generally speaking, while cURL may take a bit longer to implement its by FAR faster than file_get_contents in...
Forum: MySQL & Databases 12-01-2007, 12:18 AM
Replies: 16
Views: 8,983
Posted By bluesaga
One thing i should of mentioned before: Soundex...

One thing i should of mentioned before:

Soundex does not handle non-ascii characters. IE, it will not work for Chinese, Japanese Korean etc :(
Forum: General 12-01-2007, 12:14 AM
Replies: 11
Views: 607
Posted By bluesaga
Pre-PHP 5 when you refer to a class in a function...

Pre-PHP 5 when you refer to a class in a function call, without using the ampersand operator then PHP would clone the class and not simply pass a reference as you are hoping for.

your...
Forum: Advanced PHP Programming 11-23-2007, 02:10 PM
Replies: 13
Views: 918
Posted By bluesaga
Also, if you are going to the trouble of getting...

Also, if you are going to the trouble of getting each column name, it would be much easier to read and less coding if you make a function to do all the above for you, and you make an array to...
Forum: Tips & Tricks 11-22-2007, 11:13 PM
Replies: 15
Views: 2,426
Posted By bluesaga
Why not just make it secure as you code it, it is...

Why not just make it secure as you code it, it is far more efficient to code efficiently than go back and change things after!
Forum: MySQL & Databases 11-22-2007, 11:02 PM
Replies: 4
Views: 1,169
Posted By bluesaga
utf8_general_ci is what you want to use, utf8_bin...

utf8_general_ci is what you want to use, utf8_bin is binary......

However there is PHP specific issues with utf-8, being erradicated in PHP 6 but definitely there is some. Also if you are scraping...
Forum: Advanced PHP Programming 11-21-2007, 12:55 PM
Replies: 4
Views: 742
Posted By bluesaga
The error means you are trying to set a variable...

The error means you are trying to set a variable on an object, that isn't an object.
Forum: Absolute Beginners 11-21-2007, 12:52 PM
Replies: 11
Views: 935
Posted By bluesaga
Well personally, i do it in the sprintf when you...

Well personally, i do it in the sprintf when you are defining the variables. But its personal preference really, i guess :)
Forum: General 11-21-2007, 12:51 PM
Replies: 15
Views: 25,254
Posted By bluesaga
Very nice loosely coupled class and awesome...

Very nice loosely coupled class and awesome tutorial! Nice one
Showing results 1 to 25 of 159

 

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