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 263
Search took 0.03 seconds.
Search: Posts Made By: TlcAndres
Forum: Absolute Beginners 04-30-2008, 12:43 AM
Replies: 12
Views: 1,328
Posted By TlcAndres
The cons of database storage 1. The obvious...

The cons of database storage

1. The obvious increase in overhead, making your application slower.

2. Database storage can be expensive

3. your code will be slighty more complex. (comment and...
Forum: Absolute Beginners 04-29-2008, 07:37 PM
Replies: 16
Views: 958
Posted By TlcAndres
Maybe I'm horribly out of the loop, but...Schools...

Maybe I'm horribly out of the loop, but...Schools offer PHP otherwise known as web development classes?

On a related note, Delayed is right check out sessions or even cookies.
Forum: General 04-29-2008, 07:33 PM
Replies: 4
Views: 14,440
Posted By TlcAndres
While I can't be sure if it's a solution to your...

While I can't be sure if it's a solution to your problem you could use $_SERVER['REQUEST_URI'] to see if theres something after index.php and if there is relocate them to the desired...
Forum: Absolute Beginners 04-29-2008, 09:59 AM
Replies: 2
Views: 806
Posted By TlcAndres
$r = 0; $sql = "SELECT * FROM news ORDER BY id...

$r = 0;
$sql = "SELECT * FROM news ORDER BY id DESC";
$result = mysql_query($sql);
while($rows = mysql_fetch_array($result) && $r <= 3)
{
echo $r.'<br/>';
echo $rows['datenum'];...
Forum: The Lounge 04-28-2008, 01:39 AM
Replies: 9
Views: 871
Posted By TlcAndres
Every feature Wordpress has, but if you want to...

Every feature Wordpress has, but if you want to take it further I'd add a smarty like templating class to make it dunce level entry.
Forum: XHTML, HTML, CSS 04-27-2008, 08:24 PM
Replies: 18
Views: 1,375
Posted By TlcAndres
I do admit that mod_rewrite's syntax is a bit odd...

I do admit that mod_rewrite's syntax is a bit odd but it's dead useful.
Forum: General 04-27-2008, 08:05 PM
Replies: 3
Views: 522
Posted By TlcAndres
It's also something of a bit of help when your...

It's also something of a bit of help when your doing basic skinning for example



function load($file,$array){
foreach($array as $key => $val){
${$key} = $val;
}
require_once($file);
}
Forum: Absolute Beginners 04-27-2008, 07:30 PM
Replies: 18
Views: 1,102
Posted By TlcAndres
No, I meant the query to check if the ID has...

No, I meant the query to check if the ID has already been used.
Forum: Absolute Beginners 04-27-2008, 05:00 PM
Replies: 18
Views: 1,102
Posted By TlcAndres
Not exactly, Village made a point from my lack of...

Not exactly, Village made a point from my lack of proper wording. Example:



ob_start();
if(!isset($_COOKIE['seperate'])){
$value = md5(time());
//check if it's already in there...its unlike but...
Forum: Absolute Beginners 04-27-2008, 04:25 PM
Replies: 18
Views: 1,102
Posted By TlcAndres
You could just regenerate the cookie if it exists...

You could just regenerate the cookie if it exists already.
Forum: Absolute Beginners 04-27-2008, 02:09 PM
Replies: 18
Views: 1,102
Posted By TlcAndres
I'd give every single person who visits a unique...

I'd give every single person who visits a unique cookie and when they login record it, then it's just a matter of

SELECT `unique_cookie_id` WHERE `u_id`=%d
Forum: General 04-25-2008, 01:02 AM
Replies: 25
Views: 1,509
Posted By TlcAndres
The reason they use something like that is first...

The reason they use something like that is first there something called rainbow tables or glorified brute forces that try and guess your password, add a salt and it gets that much harder but they can...
Forum: General 04-24-2008, 07:41 PM
Replies: 4
Views: 1,035
Posted By TlcAndres
It's the mod VbSEO that does this if I'm not...

It's the mod VbSEO that does this if I'm not mistaken and I can't really say how it does but as for the human friendly links as far as I have it understood it doesn't really make a difference to...
Forum: Tips & Tricks 04-20-2008, 09:54 PM
Replies: 2
Views: 1,153
Posted By TlcAndres
eval remake

A bit of a challenge to storm up the head I suppose.


<?php

rep_eval('
$i = 0;
for($v = $i;$v < 100;++$v){
echo($v);
}
Forum: General 04-20-2008, 04:01 AM
Replies: 8
Views: 3,266
Posted By TlcAndres
I would use Jooney to send the form across with...

I would use Jooney to send the form across with ease but if you wanted to do it without a framework it would be something like this





then you take your form and do this
Forum: Absolute Beginners 04-18-2008, 07:27 PM
Replies: 11
Views: 899
Posted By TlcAndres
Pushing aside the issue of which return style to...

Pushing aside the issue of which return style to use - I always thought functions were to output nothing as in not display any information to the user.
Forum: Absolute Beginners 04-18-2008, 01:57 AM
Replies: 11
Views: 899
Posted By TlcAndres
When your using longer functions with longer...

When your using longer functions with longer mathematical equations or longer bits of code then it becomes easier to read.
Forum: General 04-17-2008, 09:33 PM
Replies: 21
Views: 1,738
Posted By TlcAndres
Because your months are never equal as well as...

Because your months are never equal as well as the start date equation output equal.
Forum: The Lounge 04-16-2008, 11:10 PM
Replies: 20
Views: 1,338
Posted By TlcAndres
Generally orange juice, if it's a fine day some...

Generally orange juice, if it's a fine day some scotch to lay back and read.
Forum: The Lounge 04-16-2008, 09:49 PM
Replies: 1
Views: 720
Posted By TlcAndres
I think of how long it would take me in total...

I think of how long it would take me in total then multiply that by and then multiply by another 50-70(depends if I feel nice) for my fee

estimate = x * 2
price = estimate * 50
Forum: Advanced PHP Programming 04-16-2008, 09:43 PM
Replies: 2
Views: 717
Posted By TlcAndres
Well the function looks pretty secure and if...

Well the function looks pretty secure and if you'd like to test for brute forcing or some thing of the like set up a table in the database with the following fields

id
last_attempt
attempts
ip

So...
Forum: The Lounge 04-14-2008, 12:33 AM
Replies: 4
Views: 728
Posted By TlcAndres
Not to sound cocky but it's because anything less...

Not to sound cocky but it's because anything less than 100$ just isn't worth the time.
Forum: Advanced PHP Programming 04-13-2008, 07:24 PM
Replies: 8
Views: 1,006
Posted By TlcAndres
Well Delayed what if you want your site to do...

Well Delayed what if you want your site to do something different in the future? Wait strike that what about WHEN you want your site to do something different? Frameworks make extending the...
Forum: The Lounge 04-13-2008, 07:16 PM
Replies: 4
Views: 728
Posted By TlcAndres
Outsourcing article

For some reason when I read this article I got reminded of all the clients who went ahead with the 5$/h coder and it made me chuckle.

PC World - Business Center: Is Outsourcing a Security Risk?...
Forum: The Lounge 04-13-2008, 04:39 PM
Replies: 6
Views: 727
Posted By TlcAndres
Theres only so many queries you can cut out. but...

Theres only so many queries you can cut out. but on the 20% bit - as Village_Idiot said, I'll believe it when I see it.
Showing results 1 to 25 of 263

 

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