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 10 of 10
Search took
0.00
seconds.
Search:
Posts Made By:
Ross
Forum:
Absolute Beginners
09-09-2008, 06:59 PM
Replies:
15
Start comments in PHP: /* or /**
Views:
1,597
Posted By
Ross
I don't use hash because it just looks ugly to me...
I don't use hash because it just looks ugly to me :-)
Forum:
Absolute Beginners
09-03-2008, 12:19 PM
Replies:
15
Start comments in PHP: /* or /**
Views:
1,597
Posted By
Ross
In Java, Javadoc (the equivalent of PHPdoc) uses...
In Java, Javadoc (the equivalent of PHPdoc) uses /** */ comments for Javadoc comments and /* */ for plain comments.
I tend to use a /** */ when doing a multiline comment, a /* */ on an line comment...
Forum:
MySQL & Databases
09-03-2008, 12:15 PM
Replies:
1
mysqli documentation
Views:
1,036
Posted By
Ross
In the PHP.net manual methods are shown with a...
In the PHP.net manual methods are shown with a double colon/scope-resolution-operator (the Paamayim Nekudotayim) and properties are shown with an arrow.
For...
Forum:
General
07-28-2008, 11:13 AM
Replies:
5
Template class - help!!
Views:
632
Posted By
Ross
I'd go for something like this: public function...
I'd go for something like this:
public function replace_while($name, Array $data)
{
if(strstr('<% beginwhile:' . strtolower($name) . ' %>', $this->template) && strstr('<% beginwhile:' ....
Forum:
General
07-18-2008, 08:06 PM
Replies:
7
@ before something...?
Views:
744
Posted By
Ross
It's still a poor way of doing it (and I don't...
It's still a poor way of doing it (and I don't think it's supported in PHP5) - no errors should be shown on a production site anyway.
Just use php.ini or error_reporting to set E_STRICT and E_ALL on.
Forum:
Absolute Beginners
07-18-2008, 08:04 PM
Replies:
6
can you check if a link has been pressed? or a picture?
Views:
907
Posted By
Ross
It's a frontend thing - PHP only handles server...
It's a frontend thing - PHP only handles server side requests, you're looking for some sort of JavaScript to use the onclick="" attribute. You could always use AJAX with onclick to call a PHP file.
Forum:
TalkPHP Developer Team
07-16-2008, 09:42 PM
Replies:
18
Coding Standards
Views:
1,300
Posted By
Ross
Coding Standards
We need to make a decision on this before any code is written - and we all want to get started.
Below is my natural way of coding - there will almost certainly be parts you disagree on and will want...
Forum:
Advanced PHP Programming
07-14-2008, 04:51 PM
Replies:
2
Advices on a framework
Views:
664
Posted By
Ross
I woukld prefer it all in the __constructor, like...
I woukld prefer it all in the __constructor, like so:
$select = new x3Database_Select($database_conn, '*', 'tbl_name', array( 'user_id' => '2', 'active' => '1'), 0, 30);
And then return results in...
Forum:
TalkPHP Developer Team
07-05-2008, 04:06 PM
Replies:
138
Planning Area - ideas,code,etc.. in here
Views:
5,104
Posted By
Ross
I have a model I've been working on that breaks...
I have a model I've been working on that breaks out of restrictive usergroups and is much more flexible - it also 'masks' a user depending on their rights to show them as an administrator or another...
Forum:
Absolute Beginners
06-03-2008, 01:47 PM
Replies:
3
Browser Detection
Views:
960
Posted By
Ross
The easiest method is to use a function called...
The easiest method is to use a function called get_browser (http://uk3.php.net/manual/en/function.get-browser.php).
Showing results 1 to 10 of 10
All times are GMT. The time now is
05:09 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