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 2
1
2
>
Page 1 of 2
1
2
>
Showing results 1 to 25 of 47
Search took
0.07
seconds.
Search:
Posts Made By:
tony
Forum:
MySQL & Databases
07-09-2012, 03:27 PM
Replies:
2
char in text causing error
Views:
665
Posted By
tony
You need to escape...
You need to escape (http://us2.php.net/manual/en/mysqli.real-escape-string.php) the special characters. If you don't sanitize your user input, you are vulnerable for SQL injections...
Forum:
Member Introductions
06-05-2012, 12:17 PM
Replies:
2
Hello Everyone
Views:
791
Posted By
tony
Welcome to the forum. If you have any questions,...
Welcome to the forum. If you have any questions, it is a good place and also if you want to help people out.
See you around.
Forum:
MySQL & Databases
05-24-2012, 05:40 PM
Replies:
4
Re-order display of data-base
Views:
1,307
Posted By
tony
does your table only has the fields name and...
does your table only has the fields name and comment? you would need an extra field that would hold the date and time when the comment was created then you can order them. For example lets say the...
Forum:
Member Introductions
05-15-2012, 12:43 PM
Replies:
3
Introduction
Views:
1,262
Posted By
tony
Welcome aboard! We'll see you around the...
Welcome aboard! We'll see you around the forum.
P.S. You reminded me I need to learn Bahasa. I have a couple Indonesian friends and the language has intrigued me since I hang out with them.
Forum:
Advanced PHP Programming
04-26-2012, 04:46 AM
Replies:
3
Catchable fatal error: Object of class Property could not be converted to string
Views:
1,883
Posted By
tony
I've never seen that error before. But it seems...
I've never seen that error before. But it seems that your left side of the assignment is evaluating $property_obj to a string because you have the dollar sign after the -> . So change...
Forum:
Member Introductions
02-04-2012, 02:27 AM
Replies:
3
Hello I m Arpit.
Views:
482
Posted By
tony
welcome aboard Arpit. We'll see you around here.
welcome aboard Arpit. We'll see you around here.
Forum:
Member Introductions
10-13-2011, 12:58 PM
Replies:
4
Hello everyone
Views:
526
Posted By
tony
Hi nishat90 and Welcome! You will like it over...
Hi nishat90 and Welcome! You will like it over here.
Forum:
MySQL & Databases
09-16-2011, 07:08 PM
Replies:
1
MySQL & Visual Basic
Views:
548
Posted By
tony
You can use PHP for desktop gui applications...
You can use PHP for desktop gui applications using http://gtk.php.net/
It has been a while since I used Visual Basic, but as far as I know this http://paulbradley.tv/37/ is about the other way to...
Forum:
Advanced PHP Programming
08-01-2011, 07:59 PM
Replies:
6
Array Sorting !
Views:
747
Posted By
tony
you can use the the hash-table characteristic of...
you can use the the hash-table characteristic of arrays in your advantage here. For example:
$uniques = array();
foreach($missed as $record) {
$uniques[$record[2]] = empty($unique[$record[2]]) ? 0...
Forum:
General
07-13-2011, 12:19 PM
Replies:
4
stripslashes help
Views:
734
Posted By
tony
Ok if it is just the back slashes that you want...
Ok if it is just the back slashes that you want to get rid of, then you can use the stripslashes, like you've done. But you need to save the results of that call in a variable. Kind of like...
Forum:
General
07-12-2011, 07:57 PM
Replies:
4
stripslashes help
Views:
734
Posted By
tony
stripslashes is only for back slashes only to...
stripslashes is only for back slashes only to prevent quoted strings. But there is also other text replacement functions out there. my favorites are strtr and str_replace Plus in those functions you...
Forum:
Advanced PHP Programming
05-11-2011, 09:29 PM
Replies:
19
Problem with template class
Views:
1,045
Posted By
tony
I see what you mean. There is a problem in the...
I see what you mean.
There is a problem in the vars function you where right with the = instead of concatenating it with .=
But there was another problem in the logic of multiples in a template.
The...
Forum:
Member Introductions
05-05-2011, 06:12 PM
Replies:
3
Hello!
Views:
617
Posted By
tony
Welcome clonepal. That is how I find this forum...
Welcome clonepal.
That is how I find this forum too. :P
Forum:
XHTML, HTML, CSS
04-22-2011, 02:59 PM
Replies:
2
Encoding types
Views:
760
Posted By
tony
what about this...
what about this http://us3.php.net/manual/en/mbstring.supported-encodings.php
Forum:
Absolute Beginners
03-25-2011, 12:46 AM
Replies:
2
Changing quanity/price
Views:
654
Posted By
tony
it seems that your best fit is using javascript...
it seems that your best fit is using javascript listening to the SELECT onChange event. I don't know where you want the result to come up so I am going to put it in an input text for this...
Forum:
Absolute Beginners
03-14-2011, 03:49 PM
Replies:
5
Creating and calling functions
Views:
620
Posted By
tony
I was just mentioning __FILE__ so it is...
I was just mentioning __FILE__ so it is dynamically given, so it is not a static name like test.php
I am just to program the more dynamic to the context, the easier to port code somewhere else.
But...
Forum:
Absolute Beginners
03-09-2011, 03:37 PM
Replies:
5
Creating and calling functions
Views:
620
Posted By
tony
if you want to combine this 2 files in 1, you...
if you want to combine this 2 files in 1, you would need to add an if statement checking for the submition of the form.
first change the form's action to your current file (and maybe closing the php...
Forum:
Absolute Beginners
03-05-2011, 05:16 PM
Replies:
2
Str _replace Issue
Views:
627
Posted By
tony
I try that with this example echo...
I try that with this example
echo str_replace("<wordfilter>","<wordfilter>","<wordfilter>hwekljo </wordfilter>");
//returns: <wordfilter>hwekljo </wordfilter>
I don't see a problem, maybe with the...
Forum:
Absolute Beginners
03-03-2011, 10:48 PM
Replies:
4
reading text file for array
Views:
813
Posted By
tony
I don't get where the problem is? I am guessing...
I don't get where the problem is? I am guessing from your intro is in your second example where you are trying to read the file of ips.
I would use the file...
Forum:
General
01-03-2011, 12:53 AM
Replies:
3
Need help with array()
Views:
658
Posted By
tony
I am guessing is a mixture of document_root and...
I am guessing is a mixture of document_root and unsetting the $chosen_lang. There is ambiguity in which one you are unsetting since the class's property is named the same and can be access the same....
Forum:
Absolute Beginners
11-11-2010, 02:27 PM
Replies:
2
Filling an array with values from a single column over specific rows in MySQL DB
Views:
823
Posted By
tony
mysql_fetch_array only returns the first row of...
mysql_fetch_array only returns the first row of the result and then moves the internal data pointer ahead. The array has 2 entries because 1 is for the numeric indexed array and the other one is for...
Forum:
Absolute Beginners
09-04-2010, 03:15 PM
Replies:
5
Can I post enquiry here?
Views:
698
Posted By
tony
So, if I understand it right, you want to convert...
So, if I understand it right, you want to convert a link like this http://website.com/post/123 to something like this http://website.com/?post=123?
In hard-coded simple terms it could be done with a...
Forum:
General
08-14-2010, 05:36 PM
Replies:
2
@ in front of mysql functions
Views:
614
Posted By
tony
it is a language construct that suppresses...
it is a language construct that suppresses warnings and errors. In this case it won't stop the execution of the script if there is an error or warning.
It is a bad practice though, because if you...
Forum:
Member Introductions
08-10-2010, 04:21 AM
Replies:
4
G'day
Views:
519
Posted By
tony
Welcome aboard! and if you have any questions...
Welcome aboard! and if you have any questions just ask.
Forum:
Absolute Beginners
07-15-2010, 03:47 PM
Replies:
2
else statements
Views:
584
Posted By
tony
it seems that you closed the double quotation...
it seems that you closed the double quotation with a single one and no semi colon in both echo statements. f
when you write a string you either go "this is a string" or 'this another string'. They...
Showing results 1 to 25 of 47
Page 1 of 2
1
2
>
All times are GMT. The time now is
05:05 PM
.
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