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
Showing results 1 to 17 of 17
Search took
0.05
seconds.
Search:
Posts Made By:
Rhinos
Forum:
XHTML, HTML, CSS
05-22-2010, 02:47 PM
Replies:
5
LessCSS
Views:
1,311
Posted By
Rhinos
It's a good tool but it doesn't generate good CSS...
It's a good tool but it doesn't generate good CSS files.
Usually something like:
#header #logo { /* ... */ }
is redundant. You don't need the #header as #logo should only appear once and...
Forum:
Tips & Tricks
02-28-2010, 08:29 PM
Replies:
12
Tips for sending large number of emails with php
Views:
2,539
Posted By
Rhinos
If you cannot move to a dedicated server or VPS...
If you cannot move to a dedicated server or VPS then the way you suggested is okay, however you have to be aware that if you try and do the limit each hour any other emails that your application may...
Forum:
General
02-28-2010, 08:16 PM
Replies:
4
Hiding file extensions
Views:
661
Posted By
Rhinos
I also have to say that this is a very bad...
I also have to say that this is a very bad idea.
Not only is it bad it would mean that you cannot use GET and would have to resort to using POST for everything. Even for links which means a lot of...
Forum:
Absolute Beginners
02-28-2010, 08:09 PM
Replies:
7
Checkboxes and db rows
Views:
843
Posted By
Rhinos
For the line where you output the checkbox you...
For the line where you output the checkbox you need to make the following changes
$output .= "<input type = 'checkbox'
name = 'checkbox[]'
...
Forum:
Absolute Beginners
02-28-2010, 07:55 PM
Replies:
4
scheduling the server to do updates/jobs
Views:
624
Posted By
Rhinos
Alternative 5 minute cron job
if you are going to use a 5 minute cron job, make sure it is not going to start taking a long time when the amount of data you have increases.
If the 5 minute cron is updating members then you...
Forum:
Advanced PHP Programming
01-23-2010, 05:41 PM
Replies:
5
Notice:
Views:
780
Posted By
Rhinos
Basically what that warning is saying is that...
Basically what that warning is saying is that your trying to use an index of an array in a statement before you have actually defined the index.
So there are two ways you could overcome this. The...
Forum:
Advanced PHP Programming
11-01-2009, 10:05 PM
Replies:
19
How's this for a hashing algorithm?
Views:
1,550
Posted By
Rhinos
I understand the need for a salt but your method...
I understand the need for a salt but your method seems redundant. If a hacker could get into the database then they are given the salt, which they can then use to bruteforce a single users password....
Forum:
Absolute Beginners
11-01-2009, 09:54 PM
Replies:
5
ignore hyperlinked text
Views:
856
Posted By
Rhinos
Your right. I've tried to work mine a little...
Your right. I've tried to work mine a little since when I tried yours on the javascript tester page it didn't work with the following information:
Regexp: ...
Forum:
MySQL & Databases
11-01-2009, 09:21 PM
Replies:
12
Multiple WHERE clause for each column?
Views:
2,800
Posted By
Rhinos
I don't know if I fully understand what you are...
I don't know if I fully understand what you are asking without knowing more details but why can't you just select the five columns and use a UNION for the different WHERE conditions.
Kinda...
Forum:
Advanced PHP Programming
11-01-2009, 09:10 PM
Replies:
19
How's this for a hashing algorithm?
Views:
1,550
Posted By
Rhinos
So each user will have their own salt stored in...
So each user will have their own salt stored in the database?
I'm still unconvinced by your use of a random string generator for the salt.
Surely ryanmr's method as well as mine would be better?
Forum:
Absolute Beginners
11-01-2009, 08:57 PM
Replies:
3
Nested Ternary = Fail
Views:
1,117
Posted By
Rhinos
It doesn't look that bad with the parenthesis. ...
It doesn't look that bad with the parenthesis. Also I think indenting each ternary statement may improve readability also.
$timestamp = (isset( $one[$i]['timestamp'] ) ? $one[$i]['timestamp']...
Forum:
Absolute Beginners
11-01-2009, 08:51 PM
Replies:
5
ignore hyperlinked text
Views:
856
Posted By
Rhinos
You could use your function and then use a...
You could use your function and then use a regular expression to remove all the <acronym> tags that appear inside <a> tags.
Here is a regular expression I have come up with. I have only tested it...
Forum:
Advanced PHP Programming
11-01-2009, 08:20 PM
Replies:
19
How's this for a hashing algorithm?
Views:
1,550
Posted By
Rhinos
@Adamdecaf: Your function does not use the...
@Adamdecaf: Your function does not use the $length variable, I'm guessing you wanted to have a loop in there to make the salt whatever length is given in the arguments. Also you will never be able...
Forum:
XHTML, HTML, CSS
08-20-2009, 06:08 PM
Replies:
5
creating a taskbar with css
Views:
4,305
Posted By
Rhinos
Yes in the internet explorer 6 you must use...
Yes in the internet explorer 6 you must use javascript or at least a CSS hack.
Facebook no longer supports ie6 so it doesn't use any javascript or CSS hacks to position it's 'presence' bar as they...
Forum:
XHTML, HTML, CSS
08-19-2009, 06:11 PM
Replies:
4
Corners on divs/tables
Views:
809
Posted By
Rhinos
Several ways. If the div is going to always be a...
Several ways.
If the div is going to always be a fixed width and height the best way is to use a background image for it. It could be included in a CSS Sprite image and would be quicker and more...
Forum:
XHTML, HTML, CSS
08-19-2009, 06:05 PM
Replies:
5
small Css problem - Thank you in advance..
Views:
848
Posted By
Rhinos
It should be: #ImgHolder { width: 840px; ...
It should be:
#ImgHolder {
width: 840px;
height: 250px;
background: url(images/image1.jpg) no-repeat 50% 50%;
padding: 29px 0 0;
margin: 0 0 40px 0;
}
Forum:
XHTML, HTML, CSS
08-19-2009, 05:57 PM
Replies:
5
creating a taskbar with css
Views:
4,305
Posted By
Rhinos
Ok this is right out of the facebook CSS (I used...
Ok this is right out of the facebook CSS (I used firebug to inspect the bottom bar):
body #presence {
bottom: 0;
color: #111111;
font-size: 11px;
height: 25px;
padding: 0;
position:...
Showing results 1 to 17 of 17
All times are GMT. The time now is
01:51 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