FILTER_CALLBACK -- Files?


Posted on 16th Feb 2014 07:03 pm by admin

Hi All,

I'm using the php filter functions to validate my form data. For custom filters, I'm using the FILTER_CALLBACK filter but when I'm using files, this never seems to be called? It may be that the filters are not designed to be called for files but I can't find any documentation to support that. Anybody know anything about this?

No comments posted yet

Your Answer:

Login to answer
136 Like 34 Dislike
Previous forums Next forums
Other forums

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

Login Issue's
Code: <?php
$file = fopen('user.txt', 'r');

/* Set login to false initially */

PHP Session Issue
I'm having an issue with one section on my website dealing with sessions. Now I know that myself and

Weird Problem with curl while sending data
I am facing a weird problem with sending data to a site via curl.

If i send the value by this

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

need help in mysql_num_rows()
please tell me what i am doing wrong in this query. it displays this error

Code: Warning: mys

removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0m

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash