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 14 of 14
Search took 0.04 seconds.
Search: Posts Made By: gilzow
Forum: Absolute Beginners 12-22-2007, 11:58 PM
Replies: 25
Views: 1,497
Posted By gilzow
no problem. glad i could help out.

no problem. glad i could help out.
Forum: Absolute Beginners 12-22-2007, 12:24 AM
Replies: 25
Views: 1,497
Posted By gilzow
I would suggest checking out the regex pattern...

I would suggest checking out the regex pattern library (http://regexlib.com/DisplayPatterns.aspx?cattabindex=0&categoryId=1) and see if any of the ones they have match your needs....
Forum: Absolute Beginners 12-21-2007, 10:11 PM
Replies: 25
Views: 1,497
Posted By gilzow
if (!preg_match('/^[A-Za-z ]+$/', $name) ||...

if (!preg_match('/^[A-Za-z ]+$/', $name) || trim($name)=='') {
$error.="Please, go back and fill out your name. This is your actual name that we will need, not your username.<br>\n";
}
Forum: Absolute Beginners 12-21-2007, 09:38 PM
Replies: 14
Views: 1,075
Posted By gilzow
good point. though, if he just wants a raw...

good point. though, if he just wants a raw count, he doesnt need php to do that. He could simply use his weblogs and some web log parsing tools to get the number.
Forum: Absolute Beginners 12-21-2007, 09:32 PM
Replies: 14
Views: 1,075
Posted By gilzow
That's what I'm guessing, but dont want to start...

That's what I'm guessing, but dont want to start giving out suggestions until I know for sure which direction he is headed in. ;-)
Forum: Absolute Beginners 12-21-2007, 09:23 PM
Replies: 14
Views: 1,075
Posted By gilzow
Are you wanting the php script to record each...

Are you wanting the php script to record each time it is downloaded AND report how many times that is? Or are you wanting the script to use your webhosts logs to report how many times it has been...
Forum: Absolute Beginners 12-21-2007, 04:07 PM
Replies: 25
Views: 1,497
Posted By gilzow
Your pattern needs to have forward slashes before...

Your pattern needs to have forward slashes before and after the pattern. Try this insteadif (!preg_match('/^[A-Za-z ]+$/', $name)) {
$error.="Please, go back and fill out your name. This is...
Forum: Absolute Beginners 12-20-2007, 10:33 PM
Replies: 25
Views: 1,497
Posted By gilzow
Regex patterns take awhile to get used to, but...

Regex patterns take awhile to get used to, but are EXTREMELY valuable. do a search for 'regex tutorial' and do some research on them. And I highly recommend Regex Buddy...
Forum: Absolute Beginners 12-20-2007, 10:16 PM
Replies: 25
Views: 1,497
Posted By gilzow
Sanitation is the process of removing...

Sanitation is the process of removing characters/data from the user-supplied data that you do not want. It can also be known as filtering. However, the problem with either is that someone will...
Forum: Member Introductions 12-17-2007, 09:29 PM
Replies: 7
Views: 738
Posted By gilzow
well, like many things in life, you can spend...

well, like many things in life, you can spend your entire lifetime studying a topic and never know all you can about it. Security is like that; as soon as you think you've built the best mousetrap...
Forum: Member Introductions 12-14-2007, 10:14 PM
Replies: 7
Views: 738
Posted By gilzow
MORE than happy to share knowledge on security...

MORE than happy to share knowledge on security issues.
Forum: Member Introductions 12-14-2007, 09:34 PM
Replies: 7
Views: 738
Posted By gilzow
new here

Let's see... I'm a programmer/analyst with the University of Missouri, and have built several of their web applications (http://jobs.missouri.edu and http://evolve.missouri.edu/). I also help out...
Forum: General 12-14-2007, 08:42 PM
Replies: 10
Views: 883
Posted By gilzow
agreed. I'm betting that the difference between...

agreed. I'm betting that the difference between the two is minuscule, at least in most situations. I bet you begin to see a bigger difference in situations where you have a LOT of required/included...
Forum: General 12-14-2007, 08:05 PM
Replies: 10
Views: 883
Posted By gilzow
I believe this is due to the overhead in having...

I believe this is due to the overhead in having to see if the file in question has already been required. I would bet that include_once() is also expensive for the same reasons.
Showing results 1 to 14 of 14

 

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