TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble 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
Associates
CSS Tutorials
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Views: 905
Posted By freenity
Happy birthday :)

Happy birthday :)
Forum: Absolute Beginners 04-24-2008, 07:36 PM
Replies: 17
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
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
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
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
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
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

 

All times are GMT. The time now is 07:42 AM.

 
     

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