Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
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
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Search Forums
»
Search Results
Page 1 of 4
1
2
3
>
Last
»
Page 1 of 4
1
2
3
>
Last
»
Showing results 1 to 25 of 91
Search took
0.03
seconds.
Search:
Posts Made By:
buggabill
Forum:
General
11-02-2008, 03:34 AM
Replies:
6
Ftp file mode problem - spaces in files
Views:
785
Posted By
buggabill
Would attaching one of the files be an issue? ...
Would attaching one of the files be an issue? Someone may be able to provide a script to help you out...
It would help to be able to look at one of the files to be sure.
Forum:
General
10-28-2008, 04:06 PM
Replies:
6
Ftp file mode problem - spaces in files
Views:
785
Posted By
buggabill
Here is a link...
Here is a link (http://www.webmasterworld.com/forum21/10091.htm) to a good post talking about this issue. And another (http://forums.nexcess.net/archive/index.php?t-3.html) specifically about...
Forum:
General
10-27-2008, 04:35 PM
Replies:
6
Ftp file mode problem - spaces in files
Views:
785
Posted By
buggabill
One thing to check: are you transferring in ASCII...
One thing to check: are you transferring in ASCII or Binary mode?
You should probably try binary if you are not now.
Forum:
General
10-14-2008, 04:11 PM
Replies:
8
Registry
Views:
657
Posted By
buggabill
If you are speaking of adding information to the...
If you are speaking of adding information to the Windows registry, I cannot think of a scarier idea than to give access to my registry to a web application.
I think that this is a bad idea...
There...
Forum:
General
09-25-2008, 05:55 PM
Replies:
7
Explode an array + add start and end tags?
Views:
810
Posted By
buggabill
Right place - right time I suppose... :-) No...
Right place - right time I suppose... :-)
No problem!
Forum:
General
09-25-2008, 05:33 PM
Replies:
7
Explode an array + add start and end tags?
Views:
810
Posted By
buggabill
Something like this should do the trick for...
Something like this should do the trick for you:
<?php
foreach($items as $item) {
echo '<li>'.$item.'</li>'."\n";
}
?>
-- or depending on the style you use
Forum:
General
09-22-2008, 12:01 PM
Replies:
17
How to protect hot linking of video downloads?
Views:
1,185
Posted By
buggabill
Hi Brook. Take a look at this thread...
Hi Brook. Take a look at this thread (http://www.talkphp.com/general/3136-people-directly-downloading-files.html). I found a pretty nice script to do what you are looking for.
Forum:
General
09-18-2008, 12:00 PM
Replies:
7
preventing for loops to repeat in while loops
Views:
537
Posted By
buggabill
I think what we are looking for is the actual...
I think what we are looking for is the actual code where the loop resides. Does it look something like this?
while (someexpression) {
for(stuff) {
...
}
}
Forum:
General
09-17-2008, 04:52 PM
Replies:
7
preventing for loops to repeat in while loops
Views:
537
Posted By
buggabill
You could wrap the for loop in an if...
You could wrap the for loop in an if block...
Without code it is hard to say though.
Forum:
MySQL & Databases
09-11-2008, 05:16 PM
Replies:
2
How should I layout this database?
Views:
745
Posted By
buggabill
Those were my thoughts exactly. Properly...
Those were my thoughts exactly. Properly designed tables will scale WAY better than tables for each user.
I personally normalize most of my database stuff. In your example having a user table, an...
Forum:
The Lounge
08-26-2008, 12:24 PM
Replies:
13
Since when, Linux?
Views:
897
Posted By
buggabill
I am currently a Gentoo user. I started out as a...
I am currently a Gentoo user. I started out as a Mandrake(7.2 - 10.0) user, because at the time, it was the easiest.
I think it is/should be a natural progression. As I became more comfy with...
Forum:
The Lounge
08-25-2008, 11:45 PM
Replies:
13
Since when, Linux?
Views:
897
Posted By
buggabill
Ubuntu is pretty cool. I believe that it comes...
Ubuntu is pretty cool. I believe that it comes closest to accomplishing the goal of making a desktop Linux distro that can be used by the masses.
A friend of mine and long-time Gentoo user has...
Forum:
The Lounge
08-25-2008, 09:01 PM
Replies:
13
Since when, Linux?
Views:
897
Posted By
buggabill
I am a linux user. (Gentoo) I have been for a...
I am a linux user. (Gentoo) I have been for a while.
I dual boot with Vista (shudder)
A lot of Linux users are a bit zealous. They complain that Linux is becoming too 'Windows-like'. The only...
Forum:
The Lounge
08-25-2008, 03:43 PM
Replies:
13
Since when, Linux?
Views:
897
Posted By
buggabill
Was there a kernel update involved?
Was there a kernel update involved?
Forum:
The Lounge
08-25-2008, 01:23 PM
Replies:
6
Ohloh profiles
Views:
1,041
Posted By
buggabill
I would like to join Ohloh, because I would like...
I would like to join Ohloh, because I would like to start contributing to a project or two. However, I seem to be having issues connecting to the site.
Am I the only one? :-/
Forum:
Absolute Beginners
08-22-2008, 12:28 PM
Replies:
2
Adding Timestamps in SQL?
Views:
1,125
Posted By
buggabill
It looks like a data type issue. Take a look at...
It looks like a data type issue. Take a look at the docs for MySQL's TIMESTAMP (http://dev.mysql.com/doc/refman/5.0/en/datetime.html) datatype.
I typically store unix timestamps as an INT.
Forum:
General
08-21-2008, 01:01 PM
Replies:
8
Storing Session data in $_COOKIE as well
Views:
898
Posted By
buggabill
@sketchMedia I have been working on a login...
@sketchMedia
I have been working on a login system here, and this will suit my needs well. I had never thought to look for something like it. I was coding my own solution, but this will make things...
Forum:
General
08-20-2008, 12:41 PM
Replies:
6
Remove duplicates from text array?
Views:
1,047
Posted By
buggabill
In MySQL you could write a query like the...
In MySQL you could write a query like the following:
SELECT fieldwithdupes, Count(fieldwithdupes) AS NumOccurances
FROM atable
WHERE fieldwithdupes
IN (SELECT fieldwithdupes
FROM atable AS...
Forum:
General
08-14-2008, 12:47 PM
Replies:
3
Age Calculation Script
Views:
690
Posted By
buggabill
I stand partially corrected. Take a look at the...
I stand partially corrected.
Take a look at the notes section for mktime (http://us2.php.net/mktime).
You need to be really careful if what you're writing has any chance of being used on...
Forum:
General
08-13-2008, 03:29 PM
Replies:
4
Pseudo-Security
Views:
932
Posted By
buggabill
You know what they say? "Locks only keep out the...
You know what they say? "Locks only keep out the honest people."
You are right: not allowing the content to even hit the browser is the safest way.
Forum:
General
08-13-2008, 01:47 PM
Replies:
3
Age Calculation Script
Views:
690
Posted By
buggabill
The Unix epoch which mktime...
The Unix epoch which mktime (http://us3.php.net/mktime) uses starts on January 1, 1970. Wikipedia Article (http://en.wikipedia.org/wiki/Unix_time)
Someone born in 1970 would be 38 today. :-)
You...
Forum:
Absolute Beginners
08-11-2008, 06:33 PM
Replies:
2
Ugh, Query in a while statement
Views:
1,119
Posted By
buggabill
It looks like you will need to reset the record...
It looks like you will need to reset the record pointer for $sidePanelPages like so:
<?php
try{
// Get the categories
$query = "
SELECT DISTINCT `category`
FROM...
Forum:
MySQL & Databases
08-05-2008, 08:39 PM
Replies:
8
Inner Join vs Left Join
Views:
8,623
Posted By
buggabill
With MySQL, the "OUTER" keyword is optional. ...
With MySQL, the "OUTER" keyword is optional. It's provided for ODBC compatibility and doesn't add any extra capabilities.
MySQL JOIN reference (http://dev.mysql.com/doc/refman/5.0/en/join.html)
Forum:
MySQL & Databases
08-05-2008, 06:16 PM
Replies:
8
Inner Join vs Left Join
Views:
8,623
Posted By
buggabill
I have read that blog for a little while now. I...
I have read that blog for a little while now. I may not always agree with some of his conclusions, but it is at least interesting and intelligent.
I'm kind of anxious to see what his new site is...
Forum:
General
08-05-2008, 06:12 PM
Replies:
4
Looking for transparency help
Views:
564
Posted By
buggabill
It may seem a little muted, because I think that...
It may seem a little muted, because I think that the ImageColorTransparent() call will change all the blacks to transparent for the image.
I looked at this some more. Try changing the following....
Showing results 1 to 25 of 91
Page 1 of 4
1
2
3
>
Last
»
All times are GMT. The time now is
04:53 AM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
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