* Anything from a form* Anything from $_GET, $_POST, $_REQUEST* Cookies ($_COOKIES)* Web services data* Files* Some server variables (e.g. $_SERVER['SERVER_NAME'])* Environment variables* Database query results
Filter supports get, post, cookies, server and environment variables as well as defined variables (server support may not work in all sapi, for filter 0.11.0 or php 5.2.0).
....!
The syntex for repairing a mysql table is
REPAIR TABLENAME, [TABLENAME, ], [Quick],[Extended]
This command will repair the table specified
if the quick is given the mysql will do a repair of only the index tree if the extended is given it will create index row by row
....!
<?php $banned = array("24.91.102.173", "64.21.162.113"); if (in_array($_SERVER['REMOTE_ADDR'], $banned)) { echo "You have been banned."; exit; } ?>
....!
database- 64table -64columns-64alias-255
....!
a) Solid & oracle b) mysql c) None of the above d) All of the above
All of the above
....!
string urlencode(str)
where str contains a string like this “hello world” and the return value will be URL encoded and can be use to append with URLs, normaly used to appned data for GET like someurl.com?var=hello%world
string urldocode(str)
this will simple decode the GET variable’s valueLike it echo (urldecode($_GET_VARS[var])) will output “Hello world”
....!
global buffers and per-connection buffers
....!
<?php header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Pragma: no-cache'); ?>
....!
<?php $here = "/home/httpd/html/test "; list ($j1,$j2,$j3,$j4) = split('/',$here); print "$j3"; ?>
a. home b. Array c. test d. httpd
ANS: httpd
www.w3answers.com
....!
The Session Manager session support allows multiple server instances to share a common pool of sessions, known as a session cluster
Session clustering setting up methods :
#1)First methods, is to have a NFS shared where session will be store. Setting this is quite easy, just a little modification on php.ini file to change the “session.save_path ? directive to point to the NFS share. The main problem with NFS is on high traffic, NFS share is really slow. So synchronisation and data corruption can arrive and ....!
....!
ANS: using Sessions in PHP
....!
<?php$a = 1;$a = $a— + 1;echo $a;?>
A. 2B. 1C. 3D. 0E. Null
Answer B is correct.
....!
There are two basic things covered here.
The form that will be used to post the file data to and the actual program that does the uploading. Further we will discuss the method that PHP itself suggests for uploading files.
Process 1 HTML PART
<form enctype="multipart/form-data" action="__URL__" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> Upload a file: <inpu....!
describe table_name
....!
Recent comments
20 weeks 23 hours ago
13 weeks 1 day ago
23 weeks 1 day ago
23 weeks 4 days ago
28 weeks 15 hours ago
28 weeks 3 days ago
28 weeks 6 days ago
28 weeks 6 days ago
29 weeks 5 days ago
30 weeks 6 days ago