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 5
1
2
3
>
Last
»
Page 1 of 5
1
2
3
>
Last
»
Showing results 1 to 25 of 118
Search took
0.10
seconds.
Search:
Posts Made By:
freenity
Forum:
Javascript, AJAX, E4X
05-08-2008, 08:26 PM
Replies:
7
Looking for a script
Views:
865
Posted By
freenity
it's simple, that's using jquery. :)
it's simple, that's using jquery. :)
Forum:
Javascript, AJAX, E4X
05-08-2008, 07:58 PM
Replies:
7
Looking for a script
Views:
865
Posted By
freenity
ok so you have 2 columns: <div...
ok so you have 2 columns:
<div id="col1"></div>
<div id="col2"></div>
in column1 you will have this link: <a href="loadpage('info.php')">click me</a>
And before this (maybe just after the...
Forum:
Advanced PHP Programming
05-05-2008, 05:59 PM
Replies:
8
Mail function..
Views:
1,007
Posted By
freenity
how to set up smtp server - Buscar con Google...
how to set up smtp server - Buscar con Google (http://www.google.com.ar/search?hl=es&q=how+to+set+up+smtp+server&btnG=Buscar+con+Google&meta=)
;)
stmp server is like apache or mysql server. This...
Forum:
Advanced PHP Programming
05-04-2008, 12:05 AM
Replies:
7
Paypal integration
Views:
1,225
Posted By
freenity
lol I feel so stupid :) It works now :D The...
lol I feel so stupid :)
It works now :D
The problem was that I tested on my pc, and entered localhost/paypal.php, so paypal was sending the ipn to localhost, lol
Then I used my domain name and it...
Forum:
Advanced PHP Programming
05-04-2008, 12:00 AM
Replies:
7
Paypal integration
Views:
1,225
Posted By
freenity
btw. Im creating a file in case a ipn arrives,...
btw. Im creating a file in case a ipn arrives, just to see if it arrived or not.
I also checked my web server's logs, and it never arrive.
Forum:
Advanced PHP Programming
05-03-2008, 11:59 PM
Replies:
7
Paypal integration
Views:
1,225
Posted By
freenity
Thanks. I read a bit more about it. I use a class...
Thanks.
I read a bit more about it.
I use a class made by Micah Carrick, I found it on phpclasses.org
And I'm using authors example script. The problem is that I don't receive a notification from...
Forum:
Advanced PHP Programming
05-03-2008, 11:54 PM
Replies:
5
unset and __destruct
Views:
1,734
Posted By
freenity
You can use something like this to tset...
You can use something like this to tset it:
<?php
class A
{
public $var = array();
public function __construct()
Forum:
Advanced PHP Programming
05-03-2008, 11:50 PM
Replies:
5
unset and __destruct
Views:
1,734
Posted By
freenity
php has a garbage collector, that cleans the...
php has a garbage collector, that cleans the variables automatically when they are not referenced or used anymore
Forum:
Advanced PHP Programming
05-03-2008, 10:23 PM
Replies:
7
Paypal integration
Views:
1,225
Posted By
freenity
ok, I already found a class to handle ipn, the...
ok, I already found a class to handle ipn, the problem I see there is that when I pay, everything works fine and for my site to be notified about the payment the user has to click on "Go back" button...
Forum:
General
05-01-2008, 08:39 PM
Replies:
61
SQL Injection and mysql_real_escape_string
Views:
9,874
Posted By
freenity
nice :D Also can be: $id = (int)$id;
nice :D
Also can be:
$id = (int)$id;
Forum:
Show Off
05-01-2008, 07:13 PM
Replies:
15
eShop v1
Views:
1,409
Posted By
freenity
Would like to have a look at it too, but the site...
Would like to have a look at it too, but the site is down :S
Forum:
General
05-01-2008, 02:38 PM
Replies:
61
SQL Injection and mysql_real_escape_string
Views:
9,874
Posted By
freenity
yes, wrapping the variables in single quotes wil...
yes, wrapping the variables in single quotes wil work fine, but you compare a number with a string, and it works on mysql, it could fail on other sql database.
Forum:
General
05-01-2008, 02:20 PM
Replies:
61
SQL Injection and mysql_real_escape_string
Views:
9,874
Posted By
freenity
I haven't tried it, but I think you can make a...
I haven't tried it, but I think you can make a sql injection even using mysql_real_escape_string(). (I don't know if mysql_real_escape_string() removes spaces or not)
Check this:
"SELECT * FROM user...
Forum:
Absolute Beginners
05-01-2008, 12:01 PM
Replies:
5
fetch data in a form without using post?
Views:
1,089
Posted By
freenity
yes but only for javascript: input type="text"...
yes but only for javascript:
input type="text" onclick="[javascriptCode]">
input type="text" onclick="alert('test')">
The above will work because it's executed on the client's machine, but the...
Forum:
Absolute Beginners
05-01-2008, 01:49 AM
Replies:
5
fetch data in a form without using post?
Views:
1,089
Posted By
freenity
the onclick event is for javascript, not php. So...
the onclick event is for javascript, not php. So you can't do this.
You can execute the call() function using an ajax call...
Forum:
General
04-27-2008, 07:43 PM
Replies:
3
when would i use a "variable variable"
Views:
522
Posted By
freenity
check this, should help you to...
check this, should help you to understant:
<?php
$a = 'b';
$b = 2;
$$a = 55;
var_dump($b);
Forum:
Advanced PHP Programming
04-27-2008, 05:39 PM
Replies:
0
ZF Custom Helpers Path
Views:
699
Posted By
freenity
ZF Custom Helpers Path
To use my own helpers I have to add my path to the view object:
$view->addHelperPath("../application/default/views/helpers");
But, the problem is that I have to do this in every action where I...
Forum:
Advanced PHP Programming
04-26-2008, 11:00 AM
Replies:
3
Sibling Classes not getting along
Views:
1,258
Posted By
freenity
you should have a property in your security class...
you should have a property in your security class that would be an instance of database class:
class Security
{
private $db;
public function __construct()
{
$this->db = new...
Forum:
The Lounge
04-25-2008, 04:38 PM
Replies:
11
Happy Birthday RespawN
Views:
905
Posted By
freenity
Happy birthday :)
Happy birthday :)
Forum:
Absolute Beginners
04-24-2008, 07:36 PM
Replies:
17
What is <<<
Views:
1,009
Posted By
freenity
eof = end of line... and it's just some sort of a...
eof = end of line... and it's just some sort of a label when used there.
Forum:
General
04-21-2008, 05:48 PM
Replies:
7
Warning: fread(): supplied argument is not a valid stream resource
Views:
9,487
Posted By
freenity
why do you think you made something wrong? what...
why do you think you made something wrong?
what is the problem?
the file is uploaded?
can you insert data in the db?
Forum:
Absolute Beginners
04-21-2008, 05:39 PM
Replies:
4
query question
Views:
1,129
Posted By
freenity
backticks(`) must mark the field name and quotes...
backticks(`) must mark the field name and quotes (') must mark the data values(you don't need them on the install).
You can omit back ticks whenever your field names are not in conflict with mysql...
Forum:
General
04-20-2008, 09:04 PM
Replies:
5
How do i lock a variable in a class
Views:
880
Posted By
freenity
the return is used for reading, you asked about...
the return is used for reading, you asked about changing it's value?
Well, you can't 'lock' a variable to read only inside a class.
It is supposed that a class is a totally separate entity and you...
Forum:
General
04-20-2008, 11:08 AM
Replies:
8
alternative to die() function and echo?
Views:
3,266
Posted By
freenity
Hi An attacker can bypass your javascript...
Hi
An attacker can bypass your javascript validation by creating a program(script) that will send a post header to the file you specify in <form action="file.php">
Or the easiest method I guess is...
Forum:
General
04-19-2008, 07:12 PM
Replies:
19
RewriteRule not working...
Views:
6,261
Posted By
freenity
yes, it's fine then It must be some syntax...
yes, it's fine then
It must be some syntax problem, I don't really understand the rewrite syntax, so can't help, sorry
Showing results 1 to 25 of 118
Page 1 of 5
1
2
3
>
Last
»
All times are GMT. The time now is
07:42 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