Wednesday, May 28, 2008

php Split and Pregmatch

<?
$str="(medical and transcription) or jobs (testing purpose) india is good country (india)";
/*if(preg_match_all("/\\((.*?)\)/is",$str,$out1,PREG_SET_ORDER))
$count=count($out1);
$testarr=array();
for($i=0;$i<$count;$i++)
{
    array_push($testarr,$out1[$i][1]);

}
echo "<pre>";
print_r($testarr);
echo "</pre>";*/
$tst=split("\)|\(",$str);
echo "<pre>";
print_r($tst);
echo "</pre>";

?>

Compressing files in PHP

Compressing files in PHP

by Justin Silverton

Zlib compression has been built into php since version 3 and it can be used to compress the output of your php applications (which can significantly decrease the amount of bandwidth of a page), but what you can also do is compress any file accessible from your webserver.

The code

The following are two functions: compress and uncompress, which can compress and uncompress a specified file.

function uncompress($srcName, $dstName) {
$string = implode("", gzfile($srcName));
$fp = fopen($dstName, "w");
fwrite($fp, $string, strlen($string));
fclose($fp);
}

function compress($srcName, $dstName)
{
$fp = fopen($srcName, "r");
$data = fread ($fp, filesize($srcName));
fclose($fp);

$zp = gzopen($dstName, "w9″);
gzwrite($zp, $data);
gzclose($zp);
}

compress("test.php","test.gz");
uncompress("test.gz","test2.php");

Source code can be downloaded here

Description of related zlib functions

gzclose — Close an open gz-file pointer
gzcompress — Compress a string
gzencode — Create a gzip compressed string
gzeof — Test for end-of-file on a gz-file pointer
gzfile — Read entire gz-file into an array
gzgetc — Get character from gz-file pointer
gzgets — Get line from file pointer
gzgetss — Get line from gz-file pointer and strip HTML tags
gzinflate — Inflate a deflated string
gzopen — Open gz-file
gzpassthru — Output all remaining data on a gz-file pointer

More information on zlib related functions can be found here

College Life Vs Corporate Life...!!!

cool!

Tuesday, May 27, 2008

Why girls dont love software guys….?

cool! :D

Sunday, May 25, 2008

cool ajax scripts

Hi

cool ajax downloadable scripts
http://miniajax.com/

--

Friday, May 23, 2008

htaccess Tricks & Tips

htaccess Tricks

Welcome to Perishable Press! This article, Stupid htaccess Tricks, covers just about every htaccess "trick" in the book, and is easily the site's most popular offering. In addition to this htaccess article, you may also want to explore the rapidly expanding htaccess tag archive. Along with all things htaccess, Perishable Press also focuses on (X)HTML, CSS, PHP, JavaScript, security, and just about every other aspect of web design, blogging, and online success. If these topics are of interest to you, I encourage you to subscribe to Perishable Press for a periodic dose of online enlightenment ;)

Table of Contents


General Information [ ^ ]

.htaccess Definition1 [ ^ ]

Apache server software provides distributed (i.e., directory-level) configuration via Hypertext Access files. These .htaccess files enable the localized fine-tuning of Apache's universal system-configuration directives, which are defined in Apache's main configuration file. The localized .htaccess directives must operate from within a file named .htaccess. The user must have appropriate file permissions to access and/or edit the .htaccess file. Further, .htaccess file permissions should never allow world write access — a secure permissions setting is "644", which allows universal read access and user-only write access. Finally, .htaccess rules apply to the parent directory and all subdirectories. Thus to apply configuration rules to an entire website, place the .htaccess file in the root directory of the site.

Commenting .htaccess Code [ ^ ]

Comments are essential to maintaining control over any involved portion of code. Comments in .htaccess code are fashioned on a per-line basis, with each line of comments beginning with a pound sign #. Thus, comments spanning multiple lines in the .htaccess file require multiple pound signs. Further, due to the extremely volatile nature of htaccess voodoo, it is wise to include only alphanumeric characters (and perhaps a few dashes and underscores) in any .htaccess comments.

Important Notes for .htaccess Noobs [ ^ ]

As a configuration file, .htaccess is very powerful. Even the slightest syntax error (like a missing space) can result in severe server malfunction. Thus it is crucial to make backup copies of everything related to your site (including any original .htaccess files) before working with your Hypertext Access file(s). It is also important to check your entire website thoroughly after making any changes to your .htaccess file. If any errors or other problems are encountered, employ your backups immediately to restore original functionality.

Performance Issues [ ^ ]

.htaccess directives provide directory-level configuration without requiring access to Apache's main server cofiguration file (httpd.conf). However, due to performance and security concerns, the main configuration file should always be used for server directives whenever possible. For example, when a server is configured to process .htaccess directives, Apache must search every directory within the domain and load any and all .htaccess files upon every document request. This results in increased page processing time and thus decreases performance. Such a performance hit may be unnoticeable for sites with light traffic, but becomes a more serious issue for more popular websites. Therefore, .htaccess files should only be used when the main server configuration file is inaccessible. See the "Performance Tricks" section of this article for more information.

Regex Character Definitions for htaccess2 [ ^ ]

#
the # instructs the server to ignore the line. used for including comments. each line of comments requires it's own #. when including comments, it is good practice to use only letters, numbers, dashes, and underscores. this practice will help eliminate/avoid potential server parsing errors.
[F]
Forbidden: instructs the server to return a 403 Forbidden to the client.
[L]
Last rule: instructs the server to stop rewriting after the preceding directive is processed.
[N]
Next: instructs Apache to rerun the rewrite rule until all rewriting directives have been achieved.
[G]
Gone: instructs the server to deliver Gone (no longer exists) status message.
[P]
Proxy: instructs server to handle requests by mod_proxy
[C]
Chain: instructs server to chain the current rule with the previous rule.
[R]
Redirect: instructs Apache to issue a redirect, causing the browser to request the rewritten/modified URL.
[NC]
No Case: defines any associated argument as case-insensitive. i.e., "NC" = "No Case".
[PT]
Pass Through: instructs mod_rewrite to pass the rewritten URL back to Apache for further processing.
[OR]
Or: specifies a logical "or" that ties two expressions together such that either one proving true will cause the associated rule to be applied.
[NE]
No Escape: instructs the server to parse output without escaping characters.
[NS]
No Subrequest: instructs the server to skip the directive if internal sub-request.
[QSA]
Append Query String: directs server to add the query string to the end of the expression (URL).
[S=x]
Skip: instructs the server to skip the next "x" number of rules if a match is detected.
[E=variable:value]
Environmental Variable: instructs the server to set the environmental variable "variable" to "value".
[T=MIME-type]
Mime Type: declares the mime type of the target resource.
[]
specifies a character class, in which any character within the brackets will be a match. e.g., [xyz] will match either an x, y, or z.
[]+
character class in which any combination of items within the brackets will be a match. e.g., [xyz]+ will match any number of x's, y's, z's, or any combination of these characters.
[^]
specifies not within a character class. e.g., [^xyz] will match any character that is neither x, y, nor z.
[a-z]
a dash (-) between two characters within a character class ([]) denotes the range of characters between them. e.g., [a-zA-Z] matches all lowercase and uppercase letters from a to z.
a{n}
specifies an exact number, n, of the preceding character. e.g., x{3} matches exactly three x's.
a{n,}
specifies n or more of the preceding character. e.g., x{3,} matches three or more x's.
a{n,m}
specifies a range of numbers, between n and m, of the preceding character. e.g., x{3,7} matches three, four, five, six, or seven x's.
()
used to group characters together, thereby considering them as a single unit. e.g., (perishable)?press will match press, with or without the perishable prefix.
^
denotes the beginning of a regex (regex = regular expression) test string. i.e., begin argument with the proceeding character.
$
denotes the end of a regex (regex = regular expression) test string. i.e., end argument with the previous character.
?
declares as optional the preceding character. e.g., monzas? will match monza or monzas, while mon(za)? will match either mon or monza. i.e., x? matches zero or one of x.
!
declares negation. e.g., "!string" matches everything except "string".
.
a dot (or period) indicates any single arbitrary character.
-
instructs "not to" rewrite the URL, as in "...domain.com.* - [F]".
+
matches one or more of the preceding character. e.g., G+ matches one or more G's, while "+" will match one or more characters of any kind.
*
matches zero or more of the preceding character. e.g., use ".*" as a wildcard.
|
declares a logical "or" operator. for example, (x|y) matches x or y.
\
escapes special characters ( ^ $ ! . * | ). e.g., use "\." to indicate/escape a literal dot.
\.
indicates a literal dot (escaped).
/*
zero or more slashes.
.*
zero or more arbitrary characters.
^$
defines an empty string.
^.*$
the standard pattern for matching everything.
[^/.]
defines one character that is neither a slash nor a dot.
[^/.]+
defines any number of characters which contains neither slash nor dot.
http://
this is a literal statement — in this case, the literal character string, "http://".
^domain.*
defines a string that begins with the term "domain", which then may be proceeded by any number of any characters.
^domain\.com$
defines the exact string "domain.com".
-d
tests if string is an existing directory
-f
tests if string is an existing file
-s
tests if file in test string has a non-zero value

Redirection Header Codes [ ^ ]

  • 301 - Moved Permanently
  • 302 - Moved Temporarily
  • 403 - Forbidden
  • 404 - Not Found
  • 410 - Gone

Essentials [ ^ ]

Commenting your htaccess Files [ ^ ]

It is an excellent idea to consistenly and logically comment your htaccess files. Any line in an htaccess file that begins with the pound sign ( # ) tells the server to ignore it. Multiple lines require multiple pounds and use letters/numbers/dash/underscore only:

# this is a comment
# each line must have its own pound sign
# use only alphanumeric characters along with dashes - and underscores _

Enable Basic Rewriting [ ^ ]

Certain servers may not have "mod_rewrite" enabled by default. To ensure mod_rewrite (basic rewriting) is enabled throughout your site, add the following line once to your site's root htaccess file:

# enable basic rewriting
RewriteEngine on

Enable Symbolic Links [ ^ ]

Enable symbolic links (symlinks) by adding the following directive to the target directory's htaccess file. Note: for the FollowSymLinks directive to function, AllowOverride Options privileges must be enabled from within the server configuration file (see proceeding paragraph for more information):

# enable symbolic links
Options +FollowSymLinks

Enable AllowOverride [ ^ ]

For directives that require AllowOverride in order to function, such as FollowSymLinks (see above paragraph), the following directive must be added to the server configuration file. For performance considerations, it is important to only enable AllowOverride in the specific directory or directories in which it is required. In the following code chunk, we are enabling the AllowOverride privs only in the specified directory (/www/replace/this/with/actual/directory). Refer to this section for more information about AllowOverride and performance enhancement:

# enable allowoverride privileges
<Directory /www/replace/this/with/actual/directory>
 AllowOverride Options
</Directory>

Rename the htaccess File [ ^ ]

Not every system enjoys the extension-only format of htaccess files. Fortunately, you can rename them to whatever you wish, granted the name is valid on your system. Note: This directive must be placed in the server-wide configuration file or it will not work:

# rename htaccess files
AccessFileName ht.access

Note: If you rename your htaccess files, remember to update any associated configuration settings. For example, if you are protecting your htaccess file via FilesMatch, remember to inform it of the renamed files:

# protect renamed htaccess files
<FilesMatch "^ht\.">
 Order deny,allow
 Deny from all
</FilesMatch>

Retain Rules Defined in httpd.conf [ ^ ]

Save yourself time and effort by defining replicate rules for multiple virtual hosts once and only once via your httpd.conf file. Then, simply instruct your target htaccess file(s) to inheret the httpd.conf rules by including this directive:

RewriteOptions Inherit

Performance [ ^ ]

Improving Performance via AllowOverride [ ^ ]

Limit the extent to which htaccess files decrease performance by enabling AllowOverride only in required directories. For example, if AllowOverride is enabled throughout the entire site, the server must dig through every directory, searching for htaccess files that may not even exist. To prevent this, we disable the AllowOverride in the site's root htaccess file and then enable AllowOverride only in required directories via the server config file (refer to this section for more information). Note: if you do not have access to your site's server config file and also need AllowOverride privileges, do not use this directive:

# increase performance by disabling allowoverride
AllowOverride None

Improving Performance by Passing the Character Set [ ^ ]

Prevent certain 500 error displays by passing the default character set parameter before you get there. Note: replace the "utf-8" below with the charset that your site is using:

# pass the default character set
AddDefaultCharset utf-8

Improving Performance by Preserving Bandwidth [ ^ ]

To increase performance on PHP enabled servers, add the following directive:

# preserve bandwidth for PHP enabled servers
<ifmodule mod_php4.c>
 php_value zlib.output_compression 16386
</ifmodule>

Disable the Server Signature [ ^ ]

Here we are disabling the digital signature that would otherwise identify the server:

# disable the server signature
ServerSignature Off

Set the Server Timezone [ ^ ]

Here we are instructing the server to synchronize chronologically according to the time zone of some specified state:

# set the server timezone
SetEnv TZ America/Washington

Set the Email Address for the Server Administrator [ ^ ]

Here we are specifying the default email address for the server administrator:

# set the server administrator email
SetEnv SERVER_ADMIN default@domain.com

Improve Site Transfer Speed by Enabling File Caching [ ^ ]

The htaccess genius over at askapache.com explains how to dramatically improve your site's transfer speed by enabling file caching 3. Using time in seconds* to indicate the duration for which cached content should endure, we may generalize the htaccess rules as such (edit file types and time value to suit your needs):

# cache images and flash content for one month
<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>

# cache text, css, and javascript files for one week
<FilesMatch ".(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>

# cache html and htm files for one day
<FilesMatch ".(html|htm)$">
Header set Cache-Control "max-age=43200"
</FilesMatch>

# implement minimal caching during site development
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|js|css|pdf|swf|html|htm|txt)$">
Header set Cache-Control "max-age=5"
</FilesMatch>

# explicitly disable caching for scripts and other dynamic files
<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">
Header unset Cache-Control
</FilesMatch>

# alternate method for file caching
ExpiresActive On
ExpiresDefault A604800 # 1 week
ExpiresByType image/x-icon A2419200 # 1 month
ExpiresByType application/x-javascript A2419200 # 1 month
ExpiresByType text/css A2419200 # 1 month
ExpiresByType text/html A300 # 5 minutes
# disable caching for scripts and other dynamic files
<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">
ExpiresActive Off
</FilesMatch>

  • * Convert common time intervals into seconds:
  • 300 = 5 minutes
  • 2700 = 45 minutes
  • 3600 = 1 hour
  • 54000 = 15 hours
  • 86400 = 1 day
  • 518400 = 6 days
  • 604800 = 1 week
  • 1814400 = 3 weeks
  • 2419200 = 1 month
  • 26611200 = 11 months
  • 29030400 = 1 year = never expires

Set the default language and character set [ ^ ]

Here is an easy way to set the default language for pages served by your server (edit the language to suit your needs):

# set the default language
DefaultLanguage en-US

Likewise, here we are setting the default character set (edit to taste):

# set the default character set
AddDefaultCharset UTF-8

Declare specific/additional MIME types [ ^ ]

# add various mime types
AddType application/x-shockwave-flash .swf
AddType video/x-flv .flv
AddType image/x-icon .ico

Send character set and other headers without meta tags [ ^ ]

# send the language tag and default character set
# AddType 'text/html; charset=UTF-8' html
AddDefaultCharset UTF-8
DefaultLanguage en-US

Limit server request methods to GET and PUT [ ^ ]

# limit server request methods to GET and PUT
Options -ExecCGI -Indexes -All
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD) RewriteRule .* - [F]

Selectively process files according to server request method [ ^ ]

# process files according to server request method
Script PUT /cgi-bin/upload.cgi
Script GET /cgi-bin/download.cgi

Execute various file types through a cgi script [ ^ ]

For those special occasions where certain file types need to be processed with some specific cgi script, let em know who sent ya:

# execute all png files via png-script.cgi
Action image/png /cgi-bin/png-script.cgi

Security [ ^ ]

Prevent Acess to .htaccess [ ^ ]

Add the following code block to your htaccess file to add an extra layer of security. Any attempts to access the htaccess file will result in a 403 error message. Of course, your first layer of defense to protect htaccess files involves setting htaccess file permissions via CHMOD to 644:

# secure htaccess file
<Files .htaccess>
 order allow,deny
 deny from all
</Files>

Prevent Acess to a Specific File [ ^ ]

To restrict access to a specific file, add the following code block and edit the file name, "secretfile.jpg", with the name of the file that you wish to protect:

# prevent viewing of a specific file
<files secretfile.jpg>
 order allow,deny
 deny from all
</files>

Prevent acess to multiple file types [ ^ ]

To restrict access to a variety of file types, add the following code block and edit the file types within parentheses to match the extensions of any files that you wish to protect:

<FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh)$">
 Order Allow,Deny
 Deny from all
</FilesMatch>

Prevent Unauthorized Directory Browsing [ ^ ]

Prevent unauthorized directory browsing by instructing the server to serve a "xxx Forbidden - Authorization Required" message for any request to view a directory. For example, if your site is missing it's default index page, everything within the root of your site will be accessible to all visitors. To prevent this, include the following htaccess rule:

# disable directory browsing
Options All -Indexes

Conversely, to enable directory browsing, use the following directive:

# enable directory browsing
Options All +Indexes

Likewise, this rule will prevent the server from listing directory contents:

# prevent folder listing
IndexIgnore *

And, finally, the IndexIgnore directive may be used to prevent the display of select file types:

# prevent display of select file types
IndexIgnore *.wmv *.mp4 *.avi *.etc

Change Default Index Page [ ^ ]

This rule tells the server to search for and serve "business.html" as the default directory index. This rule must exist in the htaccess files of the root directory for which you wish to replace the default index file (e.g., "index.html"):

# serve alternate default index page
DirectoryIndex business.html

This rule is similar, only in this case, the server will scan the root directory for the listed files and serve the first match it encounters. The list is read from left to right:

# serve first available alternate default index page from series
DirectoryIndex filename.html index.cgi index.pl default.htm

Disguise Script Extensions [ ^ ]

To enhance security, disguise scripting languages by replacing actual script extensions with dummy extensions of your choosing. For example, to change the ".foo" extension to ".php", add the following line to your htaccess file and rename all affected files accordingly:

# serve foo files as php files
AddType application/x-httpd-php .foo

# serve foo files as cgi files
AddType application/x-httpd-cgi .foo

Limit Access to the Local Area Network (LAN) [ ^ ]

# limit access to local area network
<Limit GET POST PUT>
 order deny,allow
 deny from all
 allow from 192.168.0.0/33
</Limit>

Secure Directories by IP Address and/or Domain [ ^ ]

In the following example, all IP addresses are allowed access except for 12.345.67.890 and domain.com:

# allow all except those indicated here
<Limit GET POST PUT>
 order allow,deny
 allow from all
 deny from 12.345.67.890
 deny from .*domain\.com.*
</Limit>

In the following example, all IP addresses are denied access except for 12.345.67.890 and domain.com:

# deny all except those indicated here
<Limit GET POST PUT>
 order deny,allow
 deny from all
 allow from 12.345.67.890
 allow from .*domain\.com.*
</Limit>

This is how to block unwanted visitors based on the referring domain. You can also save bandwidth by blocking specific file types — such as .jpg, .zip, .mp3, .mpg — from specific referring domains. Simply replace "scumbag" and "wormhole" with the offending domains of your choice:

# block visitors referred from indicated domains
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_REFERER} scumbag\.com [NC,OR]
 RewriteCond %{HTTP_REFERER} wormhole\.com [NC,OR]
 RewriteRule .* - [F]
</ifModule>

Prevent or allow domain access for a specified range of IP addresses [ ^ ]

There are several effective ways to block a range of IP addresses via htaccess. This first method blocks an IP range specified by thier CIDR (Classless Inter-Domain Routing) number. This method is useful for blocking mega-spammers such as RIPE, Optinet, and others. If, for example, you find yourself adding line after line of Apache deny directives for addresses beginning with the same first few numbers, choose one of them and try a whois lookup. Listed within the whois results will be the CIDR value representing every IP address associated with that particular network. Thus, blocking via CIDR is an effective way to eloquently prevent all IP instances of the offender from accessing your site. Here is a generalized example for blocking by CIDR (edit values to suit your needs):

# block IP range by CIDR number
<Limit GET POST PUT>
 order allow,deny
 allow from all
 deny from 10.1.0.0/16
 deny from 80.0.0/8
</Limit>

Likewise, to allow an IP range by CIDR number:

# allow IP range by CIDR number
<Limit GET POST PUT>
 order deny,allow
 deny from all
 allow from 10.1.0.0/16
 allow from 80.0.0/8
</Limit>

Another effective way to block an entire range of IP addresses involves truncating digits until the desired range is represented. As an IP address is read from left to right, its value represents an increasingly specific address. For example, a fictitious IP address of 99.88.77.66 would designate some uniquely specific IP address. Now, if we remove the last two digits (66) from the address, it would represent any address beginning with the remaining digits. That is, 99.88.77 represents 99.88.77.1, 99.88.77.2, … 99.88.77.99, …etc. Likewise, if we then remove another pair of digits from the address, its range suddenly widens to represent every IP address 99.88.x.y, where x and y represent any valid set of IP address values (i.e., you would block 256*256 = 65,536 unique IP addresses). Following this logic, it is possible to block an entire range of IP addresses to varying degrees of specificity. Here are few generalized lines exemplifying proper htaccess syntax (edit values to suit your needs):

# block IP range by address truncation
<Limit GET POST PUT>
 order allow,deny
 allow from all
 deny from 99.88.77.66
 deny from 99.88.77.*
 deny from 99.88.*.*
 deny from 99.*.*.*
</Limit>

Likewise, to allow an IP range by address truncation:

# allow IP range by address truncation
<Limit GET POST PUT>
 order deny,allow
 deny from all
 allow from 99.88.77.66
 allow from 99.88.77.*
 allow from 99.88.*.*
 allow from 99.*.*.*
</Limit>

Block or allow multiple IP addresses on one line [ ^ ]

Save a little space by blocking multiple IP addresses or ranges on one line. Here are few examples (edit values to suit your needs):

# block two unique IP addresses
deny from 99.88.77.66 11.22.33.44
# block three ranges of IP addresses
deny from 99.88 99.88.77 11.22.33

Likewise, to allow multiple IP addresses or ranges on one line:

# allow two unique IP addresses
allow from 99.88.77.66 11.22.33.44
# allow three ranges of IP addresses
allow from 99.88 99.88.77 11.22.33

Miscellaneous rules for blocking and allowing IP addresses [ ^ ]

Here are few miscellaneous rules for blocking various types of IP addresses. These rules may be adapted to allow the specified IP values by simply changing the deny directive to allow. Check 'em out (edit values to suit your needs):

# block a partial domain via network/netmask values
deny from 99.1.0.0/255.255.0.0

# block a single domain
deny from 99.88.77.66

# block domain.com but allow sub.domain.com
order deny,allow
deny from domain.com
allow from sub.domain.com

Stop Hotlinking, Serve Alternate Content [ ^ ]

To serve 'em some unexpected alternate content when hotlinking is detected, employ the following code, which will protect all files of the types included in the last line (add more types as needed). Remember to replace the dummy path names with real ones. Also, the name of the nasty image being served in this case is "eatme.jpe", as indicated in the line containing the RewriteRule. Please advise that this method will also block services such as FeedBurner from accessing your images.

# stop hotlinking and serve alternate content
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_REFERER} !^$
 RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/.*$ [NC]
 RewriteRule .*\.(gif|jpg)$ http://www.domain.com/eatme.jpe [R,NC,L]
</ifModule>

Note: To deliver a standard (or custom, if configured) error page instead of some nasty image of the Fonz, replace the line containing the RewriteRule in the above htaccess directive with the following line:

# serve a standard 403 forbidden error page
RewriteRule .*\.(gif|jpg)$ - [F,L]

Note: To grant linking permission to a site other than yours, insert this code block after the line containing the "domain.com" string. Remember to replace "goodsite.com" with the actual site domain:

# allow linking from the following site
RewriteCond %{HTTP_REFERER} !^http://(www\.)?goodsite\.com/.*$ [NC]

Block Evil Robots, Site Rippers, and Offline Browsers [ ^ ]

Eliminate some of the unwanted scum from your userspace by injecting this handy block of code. After such, any listed agents will be denied access and receive an error message instead. Please advise that there are much more comprehensive lists available this example has been truncated for business purposes. Note: DO NOT include the "[OR]" on the very last RewriteCond or your server will crash, delivering "500 Errors" to all page requests.

# deny access to evil robots site rippers offline browsers and other nasty scum
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR]
RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR]
RewriteCond %{HTTP_USER_AGENT} ^attach [OR]
RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xenu [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.* - [F,L]

Or, instead of delivering a friendly error message (i.e., the last line), send these bad boys to the hellish website of your choice by replacing the RewriteRule in the last line with one of the following two examples:

# send em to a hellish website of your choice
RewriteRule ^.*$ http://www.hellish-website.com [R,L]

Or, to send em to a virtual blackhole of fake email addresses:

# send em to a virtual blackhole of fake email addresses
RewriteRule ^.*$ http://english-61925045732.spampoison.com [R,L]

You may also include specific referrers to your blacklist by using HTTP_REFERER. Here, we use the infamously scummy domain, "iaea.org" as our blocked example, and we use "yourdomain" as your domain (the domain to which you are blocking iaea.org):

RewriteCond %{HTTP_REFERER} ^http://www.iaea.org$
RewriteRule !^http://[^/.]\.yourdomain\.com.* - [F,L]

More Stupid Blocking Tricks [ ^ ]

Note: Although these redirect techniques are aimed at blocking and redirecting nasty scumsites, the directives may also be employed for friendly redirection purposes:

# redirect any request for anything from spamsite to differentspamsite
RewriteCond %{HTTP_REFERER} ^http://.*spamsite.*$ [NC]
RewriteRule .* http://www.differentspamsite.com [R]

# redirect all requests from spamsite to an image of something at differentspamsite
RewriteCond %{HTTP_REFERER} ^http://.*spamsite.*$ [NC]
RewriteRule .* http://www.differentspamsite/something.jpg [R]

# redirect traffic from a certain address or range of addresses to another site
RewriteCond %{REMOTE_ADDR} 192.168.10.*
RewriteRule .* http://www.differentspamsite.com/index.html [R]

Even More Scum-Blocking Tricks [ ^ ]

Here is a step-by-step series of code blocks that should equip you with enough knowledge to block any/all necessary entities. Read through the set of code blocks, observe the patterns, and then copy, combine and customize to suit your specific scum-blocking needs:

# set variables for user agents and referers and ip addresses
SetEnvIfNoCase User-Agent ".*(user-agent-you-want-to-block|php/perl).*" BlockedAgent
SetEnvIfNoCase Referer ".*(block-this-referrer|and-this-referrer|and-this-referrer).*" BlockedReferer
SetEnvIfNoCase REMOTE_ADDR ".*(666.666.66.0|22.22.22.222|999.999.99.999).*" BlockedAddress

# set variable for any class B network coming from a given netblock
SetEnvIfNoCase REMOTE_ADDR "66.154.*" BlockedAddress

# set variable for two class B networks 198.25.0.0 and 198.26.0.0
SetEnvIfNoCase REMOTE_ADDR "198.2(5|6)\..*" BlockedAddress

# deny any matches from above and send a 403 denied
<Limit GET POST PUT>
 order deny,allow
 deny from env=BlockedAgent
 deny from env=BlockedReferer
 deny from env=BlockedAddress
 allow from all
</Limit>

Password-Protect Directories [ ^ ]

Here is an excellent online tool for generating the necessary elements for a password-protected directory:

# password protect directories
htaccess Password Generator

Password-protect Files, Directories, and More.. [ ^ ]

Secure site contents by requiring user authentication for specified files and/or directories. The first example shows how to password-protect any single file type that is present beneath the directory which houses the htaccess rule. The second rule employs the FilesMatch directive to protect any/all files which match any of the specified character strings. The third rule demonstrates how to protect an entire directory. The fourth set of rules provides password-protection for all IP's except those specified. Remember to edit these rules according to your specific needs.

# password-protect single file
<Files secure.php>
AuthType Basic
AuthName "Prompt"
AuthUserFile /home/path/.htpasswd
Require valid-user
</Files>

# password-protect multiple files
<FilesMatch "^(execute|index|secure|insanity|biscuit)*$">
AuthType basic
AuthName "Development"
AuthUserFile /home/path/.htpasswd
Require valid-user
</FilesMatch>

# password-protect the directory in which this htaccess rule resides
AuthType basic
AuthName "This directory is protected"
AuthUserFile /home/path/.htpasswd
AuthGroupFile /dev/null
Require valid-user

# password-protect directory for every IP except the one specified
# place in htaccess file of a directory to protect that entire directory
AuthType Basic
AuthName "Personal"
AuthUserFile /home/path/.htpasswd
Require valid-user
Allow from 99.88.77.66
Satisfy Any

Require SSL (Secure Sockets Layer) [ ^ ]

Here is an excellent method for requiring SSL (via askapache.com 3):

# require SSL
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "domain.tld"
ErrorDocument 403 https://domain.tld

# require SSL without mod_ssl
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Automatically CHMOD Various File Types [ ^ ]

This method is great for ensuring the CHMOD settings for various file types. Employ the following rules in the root htaccess file to affect all specified file types, or place in a specific directory to affect only those files (edit file types according to your needs):

# ensure CHMOD settings for specified file types
# remember to never set CHMOD 777 unless you know what you are doing
# files requiring write access should use CHMOD 766 rather than 777
# keep specific file types private by setting their CHMOD to 400
chmod .htpasswd files 640
chmod .htaccess files 644
chmod php files 600

Disguise all file extensions [ ^ ]

This method will disguise all file types (i.e., any file extension) and present them as .php files (or whichever extension you choose):

# diguise all file extensions as php
ForceType application/x-httpd-php

Protect against denial-of-service (DOS) attacks by limiting file upload size [ ^ ]

One method to help protect your server against DOS attacks involves limiting the maximum allowable size for file uploads. Here, we are limiting file upload size to 10240000 bytes, which is equivalent to around 10 megabytes. For this rule, file sizes are expressed in bytes. Check here for help with various file size conversions. Note: this code is only useful if you actually allow users to upload files to your site.

# protect against DOS attacks by limiting file upload size
LimitRequestBody 10240000

Secure directories by disabling execution of scripts [ ^ ]

Prevent malicious brainiacs from actively scripting secure directories by adding the following rules to the representative htaccess file (edit file types to suit your needs):

# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI

Usability Tricks [ ^ ]

Minimize CSS Image Flicker in IE6 [ ^ ]

Add the following htaccess rules to minimize or even eliminate CSS background-image "flickering" in MSIE6:

# minimize image flicker in IE6
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/png A2592000

Deploy Custom Error Pages [ ^ ]

Replicate the following patterns to serve your own set of custom error pages. Simply replace the "/errors/###.html" with the correct path and file name. Also change the "###" preceding the path to summon pages for other errors. Note: your custom error pages must be larger than 512 bytes in size or they will be completely ignored by Internet Explorer:

# serve custom error pages
ErrorDocument 400 /errors/400.html
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html

Provide a Universal Error Document [ ^ ]

# provide a universal error document
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /dir/error.php [L]

Employ Basic URL Spelling Check [ ^ ]

This bit of voodoo will auto-correct simple spelling errors in the URL:

# automatically corect simple speling erors
<IfModule mod_speling.c>
 CheckSpelling On
</IfModule>

Instruct browser to download multimedia files rather than display them [ ^ ]

Here is a useful method for delivering multimedia file downloads to your users. Typically, browsers will attempt to play or stream such files when direct links are clicked. With this method, provide a link to a multimedia file and a dialogue box will provide users the choice of saving the file or opening it. Here are a few htaccess rules demonstrating the technique (edit file types according to your specific needs):

# instruct browser to download multimedia files
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .wmv
AddType application/octet-stream .mp3

Instruct server to display source code for dynamic file types [ ^ ]

There are many situations where site owners may wish to display the contents of a dynamic file rather than executing it as a script. To exercise this useful technique, create a directory in which to place dynamic files that should be displayed rather than executed, and add the following line of code to the htaccess file belonging to that directory. This method is known to work for .pl, .py, and .cgi file-types. Here it is:

RemoveHandler cgi-script .pl .py .cgi

Redirect visitors to a temporary site during site development [ ^ ]

During web development, maintenance, or repair, send your visitors to an alternate site while retaining full access for yourself. This is a very useful technique for preventing visitor confusion or dismay during those awkward, web-development moments. Here are the generalized htaccess rules to do it (edit values to suit your needs):

# redirect all visitors to alternate site but retain full access for you
ErrorDocument 403 http://www.alternate-site.com
Order deny,allow
Deny from all
Allow from 99.88.77.66

Provide a password prompt for visitors during site development [ ^ ]

Here is another possible solution for "hiding" your site during those private, site-under-construction moments. Here we are instructing Apache to provide visitors with a password prompt while providing open access to any specifically indicated IP addresses or URL's. Edit the following code according to your IP address and other development requirements (thanks to Caleb at askapache.com for sharing this trick 3):

# password prompt for visitors
AuthType basic
AuthName "This site is currently under construction"
AuthUserFile /home/path/.htpasswd
AuthGroupFile /dev/null
Require valid-user
# allow webmaster and any others open access
Order Deny,Allow
Deny from all
Allow from 111.222.33.4
Allow from favorite.validation/services/
Allow from googlebot.com
Satisfy Any

Prevent file or directory access according to specified time periods [ ^ ]

Prevent viewing of all pictures of Fonzi during the midnight hour — or any files during any time period — by using this handy htaccess ruleset:

# prevent access during the midnight hour
RewriteCond %{TIME_HOUR} ^12$
RewriteRule ^.*$ - [F,L]

# prevent access throughout the afternoon
RewriteCond %{TIME_HOUR} ^(12|13|14|15)$
RewriteRule ^.*$ - [F,L]

Redirect Tricks [ ^ ]

Important Note About Redirecting via mod_rewrite [ ^ ]

For all redirects using the mod_rewrite directive, it is necessary to have the RewriteEngine enabled. It is common practice to enable the mod_rewrite directive in either the server configuration file or at the top of the site's root htaccess file. If the mod_rewrite directive is not included in either of these two places, it should be included as the first line in any code block that utilizes a rewrite function (i.e., mod_rewrite), but only needs to be included once for each htaccess file. The proper mod_rewrite directive is included here for your convenience, but may or may not also be included within some of the code blocks provided in this article:

# initialize and enable rewrite engine
RewriteEngine on

Redirect from http://www.domain.com to http://domain.com [ ^ ]

This method uses a "301 redirect" to establish a permanent redirect from the "www-version" of a domain to its respectively corresponding "non-www version". Be sure to test immediately after preparing 301 redirects and remove it immediately if any errors occur. Use a "server header checker" to confirm a positive 301 response. Further, always include a trailing slash "/" when linking directories. Finally, be consistent with the "www" in all links (either use it always or never).

# permanently redirect from www domain to non-www domain
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www\.domain\.tld$ [NC]
RewriteRule ^(.*)$ http://domain.tld/$1 [R=301,L]

Redirect from http://old-domain.com to http://new-domain.com [ ^ ]

For a basic domain change from "old-domain.com" to "new-domain.com" (and folder/file names have not been changed), use the Rewrite rule to remap the old domain to the new domain. When checking the redirect live, the old domain may appear in the browser's address bar. Simply check an image path (right-click an image and select "properties") to verify proper redirection. Remember to check your site thoroughly after implementing this redirect.

# redirect from old domain to new domain
RewriteEngine On
RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]

Redirect String Variations to a Specific Address [ ^ ]

For example, if we wanted to redirect any requests containing the character string, "perish", to our main page at http://perishablepress.com/, we would replace "some-string" with "perish" in the following code block:

# redirect any variations of a specific character string to a specific address
RewriteRule ^some-string http://www.domain.com/index.php/blog/target [R]

Here are two other methods for accomplishing string-related mapping tasks:

# map URL variations to the same directory on the same server
AliasMatch ^/director(y|ies) /www/docs/target

# map URL variations to the same directory on a different server
RedirectMatch ^/[dD]irector(y|ies) http://domain.com

Other Fantastic Redirect Tricks [ ^ ]

Redirect an entire site via 301:

# redirect an entire site via 301
redirect 301 / http://www.domain.com/

Redirect a specific file via 301:

# redirect a specific file via 301
redirect 301 /current/currentfile.html http://www.newdomain.com/new/newfile.html

Redirect an entire site via permanent redirect:

# redirect an entire site via permanent redirect
Redirect permanent / http://www.domain.com/

Redirect a page or directory via permanent redirect:

# redirect a page or directory
Redirect permanent old_file.html http://www.new-domain.com/new_file.html
Redirect permanent /old_directory/ http://www.new-domain.com/new_directory/

Redirect a file using RedirectMatch:

# redirect a file using RedirectMatch
RedirectMatch 301 ^.*$ http://www.domain.com/index.html

Note: When redirecting specific files, use Apache's Redirect rule for files within the same domain. Use Apache's RewriteRule for any domains, especially if they are different. The RewriteRule is more powerful than the Redirect rule, and thus should serve you more effectively.

Thus, use the following for a stronger, harder page redirection (first line redirects a file, second line a directory, and third a domain):

# redirect files directories and domains via RewriteRule
RewriteRule http://old-domain.com/old-file.html http://new-domain.com/new-file.html
RewriteRule http://old-domain.com/old-dir/ http://new-domain.com/new-dir/
RewriteRule http://old-domain.com/ http://new-domain.com/

Send visitors to a subdomain [ ^ ]

This rule will ensure that all visitors are viewing pages via the subdomain of your choice. Edit the "subdomain", "domain", and "tld" to match your subdomain, domain, and top-level domain respectively:

# send visitors to a subdomain
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^subdomain\.domain\.com$ [NC]
RewriteRule ^/(.*)$ http://subdomain.domain.tld/$1 [L,R=301]

More fun with RewriteCond and RewriteRule [ ^ ]

# rewrite only if the file is not found
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)special\.html?$ cgi-bin/special/special-html/$1

# rewrite only if an image is not found
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule images/special/(.*).gif cgi-bin/special/mkgif?$1

# seo-friendly rewrite rules for various directories
RewriteRule ^(.*)/aud/(.*)$ $1/audio-files/$2 [L,R=301]
RewriteRule ^(.*)/img/(.*)$ $1/image-files/$2 [L,R=301]
RewriteRule ^(.*)/fla/(.*)$ $1/flash-files/$2 [L,R=301]
RewriteRule ^(.*)/vid/(.*)$ $1/video-files/$2 [L,R=301]

# broswer sniffing via htaccess environmental variables
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*
RewriteRule ^/$ /index-for-mozilla.html [L]
RewriteCond %{HTTP_USER_AGENT} ^Lynx.*
RewriteRule ^/$ /index-for-lynx.html [L]
RewriteRule ^/$ /index-for-all-others.html [L]

# redirect query to Google search
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_URI} .google\.php*
RewriteRule ^(.*)$ ^http://www.google.com/search?q=$1 [R,NC,L]

# deny request according to the request method
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD)$ [NC]
RewriteRule ^.*$ - [F]

# redirect uploads to a better place
RewriteCond %{REQUEST_METHOD} ^(PUT|POST)$ [NC]
RewriteRule ^(.*)$ /cgi-bin/upload-processor.cgi?p=$1 [L,QSA]

More fun with Redirect 301 and RedirectMatch 301 [ ^ ]

# seo friendly redirect for a single file
Redirect 301 /old-dir/old-file.html http://domain.com/new-dir/new-file.html

# seo friendly redirect for multiple files
# redirects all files in dir directory with first letters xyz
RedirectMatch 301 /dir/xyz(.*) http://domain.com/$1

# seo friendly redirect entire site to a different domain
Redirect 301 / http://different-domain.com

WordPress Tricks [ ^ ]

Secure WordPress Contact Forms [ ^ ]

Protect your insecure WordPress contact forms against online unrighteousness by verifying the domain from whence the form is called. Remember to replace the "domain.com" and "contact.php" with your domain and contact-form file names, respectively.

# secure wordpress contact forms via referrer check
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]
RewriteCond %{REQUEST_POST} .*contact.php$
RewriteRule .* - [F]

WordPress Permalinks [ ^ ]

In our article, The htaccess rules for all WordPress Permalinks, we revealed the precise htaccess directives used by the WordPress blogging platform for permalink functionality. Here, for the sake of completeness, we repeat the directives only. For more details please refer to the original article:

If WordPress is installed in the site's root directory, WordPress creates and uses the following htaccess directives:

# BEGIN WordPress
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
</IfModule>
# END WordPress

If WordPress is installed in some subdirectory "foo", WordPress creates and uses the following htaccess directives:

# BEGIN WordPress
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /foo/
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /foo/index.php [L]
</IfModule>
# END WordPress

Random Tricks [ ^ ]

Activate SSI for HTML/SHTML file types: [ ^ ]

# activate SSI for HTML and or SHTML file types
AddType text/html .html
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
AddHandler server-parsed .htm

Grant CGI access in a specific directory: [ ^ ]

# grant CGI access in a specific directory
Options +ExecCGI
AddHandler cgi-script cgi pl
# to enable all scripts in a directory use the following
SetHandler cgi-script

Disable magic_quotes_gpc for PHP enabled servers: [ ^ ]

# turn off magic_quotes_gpc for PHP enabled servers
<ifmodule mod_php4.c>
 php_flag magic_quotes_gpc off
</ifmodule>

Enable MD5 digests: [ ^ ]

Note: enabling this option may result in a relative decrease in server performance.

# enable MD5 digests via ContentDigest
ContentDigest On

Expression Engine Tricks: [ ^ ]

# send Atom and RSS requests to the site docroot to be rewritten for ExpressionEngine
RewriteRule .*atom.xml$ http://www.yoursite.com/index.php/weblog/rss_atom/ [R]
RewriteRule .*rss.xml$ http://www.yoursite.com/index.php/weblog/rss_2.0/ [R]

# cause all requests for index.html to be rewritten for ExpressionEngine
RewriteRule /.*index.html$ http://www.domain.com/index.php [R]

Thursday, May 22, 2008

Linux Commands

Linux Commands

1. zip -rj " folder name".zip ".folder name -Zip folder

  1. tar -cf folder.tar urfoldername - to tar the folder

  2. gzip folder.tar - Zip

  3. scp -r folder.tar.gz username@serverName:/home/user - Copy to another server

  4. tar -zxvf folder.tar.gz -Unzip

7. unzip -cf flder

8. grep -r "ipolstage" /srv/www/html/ipol >grepoutput.txt


Mydump With tabel

mysqldump -u username -p password --quick [database [table1, table2, ...]] > backup_db.sql
mysqldump -u username -p password [database [table1, table2, ...]] > backup_db.sql

http://61226.com/share/hk.swf

Count number of files in linux

ls -1 | wc -l

Php Questions



    * What's the best way to start writing a PHP program?
    * Passing variables with REQUIRE function (part II)
    * In http://www.faqts.com/knowledge-base/view.phtml/aid/1205/fid/40 it is stated that require 'copies'
    * I use a /cgi-bin/ad.pl for displaying rotating banners at the top of my html files. How can I insert the output of this cgi in an "included" file ?
    * please tell me how to let a html document read content from a .txt file, spit this out in a table, and how to update the specific file with a form
    * How can I add authentication to my site with PHP? I have authentication working only with one page.
    * Where can I get documentation for the Zend API?
    * Does Php have anything similiar to Perl's $string = <<END_OF_DATA ...(some text over multiple lines)... END_OF_DATA?
    * I would like to create a user authentication system, but when they log in, how would i make it personalized.
    * Is it possible to do a multisite hit counter that runs on a PHP enabled server but is accessed by non PHP servers?
    * To offer users a direct download of a file that is a valid MIME type
    * How can I display a number with thousand separator querying an SQLServer 7 table (number_format does not work with PHP 401 - error: unknown function)
    * environmental variables such as query string are not passed to php code i.e. INCLUDE file="showacct.php"
    * Lost Last-Modified when set apache to use PHP4 module for all .htm/.html files. Can one have PHP4 parse .htm/.html and keep the Last-Modified header?
    * When i include a txt file the html page ignores the end of lines. And i get one long line with text. I would have multiple lines with hard breaks.
    * Why does PHP4 (windows) tell me that my module doesn´t exist when it does? I´m talking about php_mssql70.dll.
    * In windows PHP, when I load php_mssql70.dll as an extension, PHP stops working. why?
    * Can a local PHP page be parsed using a remote installation of PHP?
    * Looking to create resizable tables based on viewer screen size and amount of text to be displayed. Used on php.net, but can't find code to do this - ?
    * Why do I receive a message "cant fork ..." if I try to execute an external program (PassThru, System, Exec) - running PHP4, WinNT SP 5, PWS.
    * I'm using a LAMP setup with a Flash interface. How do I set up a chat using PHP that updates all the browsers viewing the chat page?
    * How can I get in PHP the value of variable coming from a WML <input> or <select>?
    * I wrote a script, but when searched brings only one set of results. How do I make it so if there is more than one result, it will display them all.
    * Is it worth creating files, like a log, for each new member or simply pull from a database.
    * How can I call a command line executable from within PHP?
    * Where can I get a documentation for creating my own dll for php3 with VC 6.0?
    * I'm running php4 on a Data General Unix platform, and getting the same error, any help for this prob
    * Unable to execute linux command="pppd call isp&", using exec() and system(), consider that httpd.conf configured as nobody.
    * How to erase $REMOTE_USER in the browser created with the htaccess authentication scheme
    * What does PHP stand for?
    * How do you convert this perl code unpack('s', pack('s', hex($x))) to PHP
    * Is there any possible method of creating a dialogue box as a help option similar to the one in Microsoft Word Help dialogue boxes with keyword search
    * about "php3?id=xxxxx" OUTPUT RESULT TO HTML ...
    * in Non_Server Client Site to get a variable from Server Client Site e.g. HTML get a result from PHP
    * How do I handle frames & window openings in PHP, for instance if I have a frames page & I want to eliminate the frames, how do I do this using PHP ?
    * How do I call and pass variables to a compiled C function using PHP?
    * Why do multiple echo and printf functions, used to display a table, display newline charachers before the table in Netscape but not in IE?
    * How do I stop a previous url?mode=del&cust=name being repeated when the user hits their back button?
    * I know this next/previous script (http://px.sklar.com/code-pretty.html?code_id=77) but, isn't there any easyer way/script?
    * Is it possible to make a yahoo-like site without MySQL or any other db, but plain text? Something like Links 2.0 in Perl.
    * How to extract data from database and display it in the list box?
    * Is there a mean to get the entries of an EXCEL sheet with PHP (to include this in a database, by Example
    * Does PHP support document objects (similar to javascript)
    * Is it possible to have MySQL and Php run with one provider and the "database driven website" with the other ? Say with the help of only SSI / CGI?
    * Hello, does anyone know where we can find a course on php for beginners that can be taken via the internet. We are just getting into php from scratch.
    * How i can set a time expire page in PHP.
    * is it possible to search newsgroups with php
    * Does anyone else have problems using the \n newline escape character? why isn't it rendering for me?
    * What is the scope of a global (page, session or otherwise).
    * How do I present a form with two buttons - each doing a submit for different things (ie - log in or change password). Can I call PHP from an onclick.
    * How do I insert a user loaded <input type=file> image into a database table (&& checking for size constraints).
    * Why wont PHP 3 excute shell commands??? I have tried $string = system("/bin/tar -cf /home/www/backups/backup.tar /home/www/functions");
    * How can I populate a pull down with with a few data fields from one table and then upon selection then intire row fills out the apropiate form fields?
    * How do I insert a user loaded image <input type=file> into a database table (MYSql or M/S SQL)
    * What's the best policy? Connect once, store the query results in several arrays to use later or p_connect and query at the moment I need the results?
    * Is there some PHP code that takes the output of one file, and placing it in another?
    * When i press the submit button,the selected name in the list should be displayed in the new popup window for further processing.How to do this?. pl
    * Do member functions within a class incur any memory penalty when an object of that class is instantiated.
    * Can someone show me how to extract information from another site and put it on my webpage... Thanks
    * What does parsing means in PHP?
    * How can I use plain txt files instead of a database for a backend of a site, ie managing news posts, uploading files, message boards etc...
    * How can you include the same information you would normally call via SSI in a .shtml file in PHP?
    * how do i include a remote file using php
    * Can someone explain me how PHP interacts with Java ?
    * How to make a GoBackButton with a picture?
    * how can I take a list and make each row a value in an array?
    * can i simulate php on windows(not a server)?
    * I am using PHP4. I used to draw gifs in PHP3, but now I get an error (i think because PHP only supports PNGs). What should I do?
    * How can I prevent re-"post"-ing data when a user returns to a posted page using the back button?
    * Is their a way, in PHP, to strip-out the content of a web page of bad JavaScript? ex. Javascript that open a new window when you juste closed one.
    * How can I display the output of passthru or system with newline chars? i.e. passthru("ps ax")
    * I try to display a word document which is stored in a blob field in a mysql db-I get the document always with binary code pieces-how can I avoid this?
    * Fatal error: Call to unsupported or undefined function page_open() ? How do I fix this please...?
    * Is it possible to access the Active Directory of a Windows 2000 Server with PHP ? Maybe via LDAP ?
    * I was sent a php file and am unable to view it. What software will run it?
    * How could one php-script call some other php-script and how could give the first one to the second one the values of the variables?
    * I want some while cycle in one script to call (x-times) the other script and give him the values of variables (which are each time other).
    * Is possible to generate, send & receive back ICMP messages directly in PHP instead of external execution of ping?
    * I have images on my site that when a thumnail is clicked the larger image appears In a pop-up. Is there a better way to do this in PHP instead of html
    * I have PHP under Windows and Apache . How can I send some file to STDIN of PHP script?
    * How to insert in a javascript array the elements of a php array ?
    * I am using PHP4 and a MS Access DB for my website. My provider tells me that the IIS-Server (NT) does not support PHP. Is that correct?
    * How to run execute files on client machines?
    * What is the error access violation? Why does it happen?
    * How can I pass information from a membership database (text file) into the Chat Client. Using PHP?
    * How can I save php output to the browser and a file?
    * Can PHP be malicious like Javascript? As a surfer do I have any security concerns? I can disable Java, can I disable PHP?
    * I need to know if there is a program that you can write code in html and convert it to php. I run windows 2000
    * How can i add the First,Previous,Next, Last,Update,Delete,Modify buttons in the same form?(I am using MYSQL as a backend in my server)
    * Is there a limit to the size of a PHP script plus included() and required() scripts that it loads? How can I change this limit?
    * Why am I getting a "/" added at the end of a PHP generated HREF link?
    * How I get XSLT support with PHP on Windows platform?
    * I'm new to PHP, and would like to know if there is a code snippet for emailing a lost password to a customer. Thank you!
    * How can I write a web page (program) to check that does webserver support PHP, ASP and PERL ?
    * Can the PHP include command be used with a virtual path?
    * How do I write a php script within a php script to a file without escaping everything?
    * How can I create a dropdown for date field showing past 3 months, present month and the 12 months in the future?
    * Can I read NT registry info from PHP? How?
    * How and when to use $php_self and $query_string????
    * Can i define $QUERY_STRING? Meaning when the query string is menu/news, it will display just news.
    * How can I list files in a specific directory and hyperlink to them?
    * Warning: Nesting level too deep - recursive dependency? in Unknown on line 0. What does it mean?
    * If I have developed a dll using Visual Basic which contains the Application logic, how can I create objects of the classes in this dll in PHP?
    * How to handle special char's like É , Ü . I am passing company name in a system command but when there is a special char like Ü then command fails.
    * How can I open with fopen() a file in an machine of local networks. Ex.: fopen(\\machine\sharing name,...,...)?
    * How do i save php output sequentially by date so that i may move forwards and backwards in order by date of creation "next/previous etc"
    * Is it possible to make PHP output a gif/png (eg a photo) as well as the desired data output?
    * How to post binary data in write() with PHP socket?
    * How can I use PHP to create XML documents with data from a database e.g Sybase, Mysql. Does it exsist any tutorials on this ? Thanks.
    * Hello, I have an error: unable to load dinamic library 'c:\php/php_oci8.dll no se puede encontrar el modulo especificado. I'm beginning with PHP.
    * How can I run SSI commands like #INCLUDE etc. in my PHP pages?
    * How to call from within a PHP extension other extension's functions ?
    * how can you insert a mysql field into a link tag using php?
    * how can i pass 2 variables from php and include it in a hyperlink? eg: <a href=($variable1)>$variable2</a>
    * what the difference behind the implement mechanism between the common CGI and php_based application?
    * Diffrence in outcome of formula 1.08^12 PHP=13 Visual Basic=2.51817011681898
    * How to covert web input (PHP) to XML format?
    * Switching an input from web (built using PHP)to XML format
    * Is it possible to run a php script from an .swf and then return a few variables back to the .swf.
    * Can PHP send an update signal (popup screen) to other users when a user makes a request on a game?
    * Can anyone offer advice on making a web poll that has a different no. of answers for each question?
    * What is PHTML ? Is it the same thing as PHP ?
    * How i can pass variables to a cgi usin passthru?, i need an example
    * How do I link in an external file containing common php functions for calling from within the page?
    * How can i cut tags from getting into a database
    * I wish to call a /usr/local/bin/pgp program and then put the output into a variable, which way best?
    * A php game. How to broadcast a message to other players when one player make his selection?
    * how can i make an html form that will search a mysql database?
    * 1. how to redirect from php page to another php page? 2. how to refresh a page?
    * i want to make a place where users must supply their username and password, i havent found anything.
    * using the header function to redirect a script to a PDF file I am getting junk characters?
    * How can I generate redirect to other html page from PHP page when the PHP server is down?
    * I tried to load Blob Image from MSSQL using php but the 25% of the image is displayed only?
    * How do I include a .jpg (from outside the web srvr docs dir) in a page with other html content?
    * How do you make a page expire after it has been idle for a period of time?
    * How do I make make a session counter without using a database, aka using application level variable?
    * How can i save an image from a remote web server to my web server?
    * Is there a place to post *really* nice ASP apps in hopes that people convert them to PHP?
    * Looking for ideas on how to include file "color.txt" but only if it contains the word "green".
    * How do I get a page to automatically print its contents when it loads?
    * how do you "protect" a page using .htaccess file
    * how can a session be destroyed when user closed window without logging out?
    * Question about settings of using PHP under Windows platform???
    * How to do attachment if I want to use a file as background?
    * How to pass a string that contain character "&" between words that display on the url
    * How can i sort asc, thereafter desc by click on the same button (like in excel)
    * how can i convert a php file to exe format
    * How can I search a different site & show the results in my site,with out giving links to the orginal
    * Can you use PHP to acces databases over the internet?
    * I can only get the last record from a database to be displayed, how do I get all records to display?
    * Is there any way that i can show the content of a mysql DB into a excel file using php?
    * How to call a remote procedure in PHP?(like RPC)
    * How can I generate graphs in PHP?
    * I'm writing a news posting script, and my sessions aren't working! Somone explain how to use them!!!
    * I need to create a customer id for a mysql database from the info contained in the html form.
    * How can I insert a snipet of code in my table and then echo it on a page without it getting parsed,
    * Can anybody suggest a logic to parse an html page to get the news titles using PHP script?
    * I´m new to php and would like to know if theres a script that automatic updates and shows cpu uptime
    * How can I write visitor's screen resolution to a log file (text file) with PHP?
    * How do I forward a GET/POST request to another file without notifying the users browser to redirect?
    * How do I read data from a windows .txt file and display it on a web-page ?
    * Can you set up MVC using PHP like in Servlets, JSPs and JavaBeans?
    * How do you redirect from one PHP file to another without notifying the user's browser to redirect?
    * how can I redirect a user with wildcards like 213.* or hostname like *.isp.net
    * how can i archive a set of remote files, about 10 on my own server?
    * How can I query MX Record from DNS Server for particular domain ?
    * How do u explode a string of content and then call each individual bit by it's own, new, variable???
    * How can I use apache to set PHP Environment variables?
    * How can I use apache to set PHP Environment variables?
    * I'm running PHP's on a IIS Server... The server is limiting the number of sessions
    * How do I set a text field so that it outputs the inserted text to a PHP variable?
    * How can I check remote file dates, to later use to print how old a file is?
    * Why won't my php script see the variables passed to it from the previous page in the url? ie: http://yoururl?arg1=value
    * how do i make a var set in the query string available to another file ?? eg to a css
    * How can i execute and php with javascript and how should be the php code?
    * is it possible to launch an executable(C++) from excel on remote cluster via PHP?
    * How can I get user via PHP after .htaccess login?
    * How can I get users via PHP after .htaccess login?
    * I want to store the contents of a directory(.jpg files) in an array then echo the values. HELP!
    * How can I fill in fields in WinWord from PHP variables
    * Without using <pre>, how do I get textarea to save format of entered text into MySQL field?
    * How do I include pre-formatted text into a PHP page?
    * How do I get (ctime & mtime) on a remote file (http) without downloading it. "fstat", didn't help
    * How do I populate an array from a SELECT string?
    * how to rctify this warning Cannot send session cache limiter - headers already sent
    * how do I refresh and redirect a page using PHP?
    * Is it possible to multiple web application platforms on the same server? ex: PHP and JSP on Apache
    * How do I get the Windows NT $DOCUMENT_ROOT? The variable is blank.
    * How can I search in Excel file for a specific keyword and then print in a HTML format ?
    * How to make included htm use the correct path for showing images?
    * In what way can I use "namespaces as in C++" in PHP?
    * I have an exe file on a server, can I launch it with PHP with command line parameters?If not, how?
    * How do you refresh a PHP page into itself?
    * How to export table data from browser to local disk in .rtf/.txt format?
    * How can be avoided the popup dialog with htaccess passing the login and password with PHP?
    * What is the PHP equivelent of ColdFusion's <CFHTTP> tag? (Both GET and POST operations)
    * What I do wrong to connect to a mysql DB-> Call to unsupported or undefined function mysql_connect()
    * When I create a file/dir the owner/group is "www" is there sonthing I can put in the .htaccess file
    * I did exactly from the book. It comes up as " Undefined variable." What's going on here?
    * When i click on a link, it believes that the address is e.g "http://bob/php4/php.exe?mode=admin"
    * will testing with dreamweaver work or do I have to upload the page to the server?
    * What achine is local when using ftp-commands in PHP on a web server?
    * Is there a program to convert PHP script to another language?
    * How do I acsess NetBIOS with sockets (PHP server is running on Windows)
    * how to input data from txt file into table where columns are separated with pipe ?
    * How and you split string into different arrays and save what they were split on?
    * How do I retrieve a single variable value from another file?
    * How to automatic download/upload a file from client machine to server with using FTP function
    * Is there a way to use php to embed html in e-mails? Can you do this without php
    * I need copy from urls inserted on my site using php - sites link will be present
    * Warning: Cannot send session cookie - headers already sent by (output started at /home/fishing/publi
    * "Parse error: parse error in /var/www/html/results.php on line 20" -- Why?
    * Does anyone know if there is any way to pull info from an "avery" scale connected to the serial port
    * How can I get the remote PC's MAC Address?
    * i am calling an external C file but the output doesn't appear. Sometimes it does but it is incorrect
    * How to Make an RTF Document with PHP
    * How do we execute .cpp or .c file, ( stored as BLOB in db) upon reading them
    * how do I call class method: $func="SomeClass::someMethod"; $func()
    * How can i catch into a variable an error message of a server? for example 404 File not found
    * How can I do to not use session_start() in every page where I redirect a main page with "redirect"?
    * I can't display display images retrieving from a database. Can somebody help me?
    * Can I get path-informations of a frame (getcwd())....?
    * Displaying Excel files in PHP
    * How can I avoid getting a error when I click a link in a page while it is loading a big record list?
    * How do u pass a variable (multiple select) from a pop up window to the main window?
    * *how do u you pass a variable(multiple select) from a pop up window to the main window?
    * I have the error 403 when I try to run a PHP script. How can I fix the problem??
    * How can I pass an array of randomized elements through back and next button without repeatation?
    * is there a function to echo unique variables from a db when there are multiple similar entries?
    * is there a function to echo unique variables from a db when there are multiple similar entries?
    * solved or not?? zend entry point and php_sablot.dll
    * I have a 'recent news' page that I would like to be able to update via the browser. Any ideas?
    * Is there a way to email the actual HTML form (same format) after a visitor has completed it?
    * How do I retrieve pasword protected area with PHP?
    * How can I pass a variable with a button(in objective question--A,B,C,D)?
    * Using PHP, how do I send a http POST without using a form?
    * How can I set a time limit for a form made by PHP (i.e.the value will auto transfer after a time)
    * In my search engine result outputs, how can I make it to show page title?
    * How do I lock and unlock tables using PHP and Access via ODBC?
    * Any hints for implementing forms in a wizard style, where answers influence subsequent questions?
    * How can windows (XP Pro) be shut down/ restarted via PHP?
    * Can I fopen a remote url that requires form variables to be POSTed?
    * When I start PHP 4.1.1 it return error "the PHP4TS.DLL file is linked to mising export OLE32.DLL..."
    * ODBC32 not found (win95 & php 4.1.1) what shall I do?
    * if i want to use a c function in php programmar ,what should i do ?
    * What is the essence of PHP encryption(using crypt(),mcrypt(),etc)if data on transit isn't safe?
    * How do you run a script as a certain user such as root?
    * Why cant I get my session..the session is there but the browser dont collect it!
    * How do I display an error for a signup form in the same page instead of having user to click return?
    * Get 404 error when trying to use .php file in browser
    * How can I add text (const or var) in a textarea by click in a image or Href ?.
    * How do I add text in a textarea by "clicking" an image or HREF?
    * Hi, How do I go about saving username and password values in the client...
    * How can I extract metatag keywords from pages serving longtext mysql column info?
    * Need a way to call a function only when the form is closed. Not register_shutdown_function.
    * Why is my webbrowser opening my php file instead of running it?
    * How do you use spaces in Question-Mark queries with non-standard browsers like AIM Profiles?
    * Before a form is closed down (close icon 'X') how can I send a message to another program
    * How can I run two PHP4 versions (ie 4.0.6 and 4.1.2) with two PHP-ini on IIS without recompiling?
    * Is there a way to determine the first time a page loads?
    * I want to to auth users, then show the rest of the page. What is the best way to do this?
    * How can you determine if another website is active (The server is running) or not?
    * I am having trouble installing PHP on my solaris 8 sun server.
    * Using the exec function, how can I call and start a java program. What is the command statment used?
    * What is the best way to send an 'unknown' number of form fields and access them on the text page?
    * Can you send an array through a url (getting info without a form)?
    * how do you access/use other web pages on the fly?incorporateThemIntoYours?justPointMeInTheRightDirec
    * how do i get a directory listing on a server without displaying any of the subdirectories?
    * How do I make a news script that only saves/prints the last X entries with an admin section/flatfile
    * COM does not work with PHP... not getting any error messages... php just "hangs"
    * How can I add a file to the $data? As in a form containg an <input type=file>
    * How do i force PHP to flush already printed lines, on a script still running on the server?
    * How to install PHP in windows xp?
    * How to READ a directory of PDF files that display as links to open the pdf
    * *what is the pdf function to change text color?*
    * Binary files get couupted when uploaded with a php script - even if content-type is specified. Why?
    * How do I download PHP File from other site? I heard that it can be downloaded in it's source code.
    * does anyone know how I can work out the x,y coordinates on a map from a given postcode?
    * Does REMOTE_ADDR give the user's IP or proxy's IP?
    * How can I store an image path in PostgreSQL and dispaly it in PHP
    * Can PHP websites be co-hosted on Apache servers in the same manner that Microsoft ASP sites can be ?
    * How can I extract just the domain name out of HTTP_REFERER?
    * Security Alert! PHP CGI cannot be accessed directly
    * Simple PHP/MySQL page, all page data is displayed... but page won't stop loading- why?
    * When i do this why do i get the file content + 1 retuned : echo include("content/news.txt")? Fix?
    * This may be a stupid question, but why choose PHP over an Access database?
    * Hello, I have an error: unable to load openssl.dll but i can load such as zlib.dll(IIS5+PHP4.1.1)
    * can php load an image in place of a flash movie for users without the flash plugin?
    * Can I embed a PHP file in an HTML file. Similar to the <script src="abc.js"></script> for Javascript
    * PHP not seeing variables from WML
    * Why can't php 4 on my apache 2 server find the $HTTP_USER_AGENT variable (it says undefined)?
    * How can I sort data out of my MYSQL database in monthly Stats format and display it in an html page?
    * increment in date variable
    * Trying to configure php4 for apache 1.3.24 when i create my test page i receive an Error404. WHY?
    * Is there a company that offers a support contract to the PHP product?
    * How can I download the database tables from the server using PHP?
    * I need to be able to increase the count for defined field
    * How can i auto update php?
    * how to read pdf files stored on a LOB in Oracle?
    * Need a php script to post data to a host and get the response content from this host.
    * I have a table of users. Can I count how many males and how many females without multiple queries?
    * How to get print out for a remote file ?
    * under win XP (IIS 5.x) the function "filetype($file)" always retns "block" whatever it is, why??
    * undefined symbol - mysql_field_count error - has nayone come across this and what is the solution?
    * How do you use a hidden field in wml?
    * How portable is php across browser and server platforms?
    * How to do Browser, JavaScript, and CSS detection using PHP?
    * How do I make a member area in my site? I have around 700 pages and don't want to change them all.
    * Sambar Server says:" File not found".where do you usually save php files?any change in php.ini neccs
    * Mysql: fetch and print the value of a single cell
    * help in building a meta search engine
    * How can I use the header: Location: method and open a new browser window with a specific size?
    * How can i uninstall PHP4.0 ??DELETING folder, givesmeassge 'Cannot find php4isapi.dll,may be in use'
    * mail() not working, I have just upgraded the php version and now mail() will not function?
    * Using session_start() to save/restore global vars, but SOMETIMES get error "....permission denied"??
    * Is is possible use functions from the PHP library in a C / C++ program? If so, how?
    * What file path do I use to update (append) a file on the same server as my web server(/files/*.txt)?
    * What versions of Ingres II are supported by PHP ?
    * I have 100 sites on a 1 virtual server. I need to display all the images in a directory to each site
    * Can comments be added to a cell in an Exel file with PHP?
    * I'm having problems to parse textarea values over more than 2 forms.
    * Why are my php apps slow in my Win98SE server than other website's?
    * How can I execute local programs as root from PHP? I want to use UNIX commands adduser and passwd.
    * I need php.exe to output the contents of a script without 'X-powered-by' and the other headers. How?
    * using include_path for unix
    * How to generate 'base' strings in PHP (base16 / base36 / base64 etc)?
    * How can I view my own php files on my Windows XP computer? I don have a web host...
    * Is there a way in PHP that I can run a script locally on a machine from a remote location?
    * I can't pass variables from an htm to php page - do i need to change a setting in php.ini?
    * I can't pass variables from an htm to php page - do i need to change a setting in php.ini?
    * When I process a form by a .php file, the variables from the form are not availbale in the .php file
    * How can I start up the mysql server on my windows server using PHP?
    * How can I print to client printer by PHP? I can only print to server or share client printer .
    * permission denied when executing script from apache server for file open
    * How do i get a list of filenames from a directory?
    * working with PHP-Nuke. how do you setup a link to a CGi script, and have that show into a Nuke block
    * How do you push a url with PHP?
    * I have a string $string="Fred.html|Sanu|Sachin.html".I need to seprate the .html extensions?I
    * Can PHP automatically update auto incremented numbers in MYSQL?
    * Undefined variable error? Code runs on fine one site and not on the other!
    * I am selecting a userid from form and i want to display info from database, based on my selection.
    * is there a way to count the number of currently active sessions?
    * How to format an array so the variables on it have a <br> as separator?
    * How can i embed a .swf in a PHP script?? without using Ming
    * How do I create a self-advancing slide show of pictures in PHP?
    * How to get the name of the current PHP file? to print its modification date in a global footer.
    * How to get the name of the current PHP file? to print its modification date in a global footer.
    * I need to get a result of confirn() (Javascript function) to use it in a PHP function, can I do it?
    * When I use php script to create new file or folder, the owner of new file and folder is not me how I
    * how can I create a search engine to my MySQL database such as the existing in this web site?
    * how can i remove the www.pdflib.com when i use the pdflib function?
    * How do I use, inline, the elements of an array returned from a function? ie. myFun()['returnedEl']
    * Is there any struts-like framework for php??
    * "Parse Error: parse error, unexpected T_SL" What does that mean?
    * How do I use PHP to "print" data on an HTML page from a comma delimited text file?
    * How do I call a c program from php, it has to pass a string with it and have ti return a string?
    * how do I run a process in the background?
    * Can I write a 15 product database website in php without mysql?
    * how can I let the user specify his own "page id" in order for it to be defined as the "any string"?
    * How to disable HTML, Javascript, etc in a TEXTAREA ?
    * How to change the ? character in the PHP query string into / character?
    * How do I format a timestamp(length 8) date into YYYY-MM-DD when I display them with echo function?
    * How can i join two values to form a single value by using a seprator character?
    * How can i join two values to form a single value by using a seprator character?
    * Why using VARCHAR with BINARY attribute for a field within MySQL doesn't ensure case-sensitive?
    * How can I determine the client path of file uploaded through an html form ?
    * How can i join two values to form a single value by using a seprator character?
    * I can't display display images retrieving from a database. Can somebody help me?
    * how do I post an XML request to an external URL?
    * What is the mean of isset in this line: if(!isset($mainfile)) { include("mainfile.php"); }
    * How can I add .php extension to IIS5.1 as my OK button shaded out
    * can i use rsync in php
    * How do I save form data to a file, as with perl cgi.pm query->save(FILE) ?
    * How do I save form data to a file, as with perl cgi.pm query->save(FILE) ?
    * Does anyone know where I can find a list of supported databases? Please
    * I can't use the $REMOTE_ADDR variable: it just shows a 0. But in <?phpinfo();?> it shows up properly
    * Can somebody please tell me when to use fsockopen() etc...and when to use socket_create() etc...
    * Why might I be getting 'garbage' characters before my output?
    * How to calculate the distance between two locations on the earth?
    * How to calculate distances based on latitude and longitude?
    * How to implement a "store locator" based on a user's ZIP code, which lists the closest dealers from our database?
    * how can i display different logos depending on the login after a user has logged on???
    * How do I get php to display first 6 characters on third line of a txt file, and nothing else?
    * why this <a href="index.php?fuseaction=a_value">Link</a> doesn't work on php 4.2.3?
    * When looping with a mysql_fetch_array($result) how do I change the font and size of the results.
    * What does it mean -"php encountered a stack overflow
    * Making a third option in this code ($gender == "1" ? L_REG_46 : L_REG_47); i want to make 3 L_REG_48
    * how can i store php code & query in mysql database and get all to execute when retrieved
    * Do anyone know how much load a php script create on apache server when server runs it?
    * How can PHP access VSAM files??
    * is there any standard user input available in php other than forms
    * I am sending emails one at a time using foreach. How do I outout to html as each one is processed?
    * How do I access net pages behind the squid proxy by using php codes on my php installed computer?
    * PHP 4.2.3 Problem-Why can't I pass values via URL as in: href="page.php?var1=value1&var2=value2" ?
    * PHP 4.2.3 Problem-Why can't I pass variables with set values to another page.php?
    * How can i include a PHP PAGE on a non-php server?... I mean i want include a SIMPLE php page...
    * Why can't I get PHPSESSID to work (PWS on NT WorkStation 4.0, PHP 4.2.2)?
    * My next link won't go to the next page to view my mysql data record?
    * how do I have a php stand alone script call a new html document????
    * How do i count the number of times a hyperlink is clicked using Php?
    * How can I reload a sql query in the same page without opening a new page and using a submit button?
    * Why can't I install php in windows2000?
    * How do I log an IP Address on site to protect against fradulant behaviour?
    * Line breaks in a PHP script
    * In the following script, how do I get hard line breaks? $GrabURL = "http://www.geocities.com/michael
    * How can I use the XML HTTP Request object with PHP?
    * How can I pass a value from php to php?
    * how to enable the ssl from php with apache
    * I have a PHP/MySQL web site that only works when accessed from computers outside my office! Help.
    * php installation problem - my_tempnam tempnam is dangerous
    * How to read just the last, let's say, 15 lines from a file?
    * Can PHP automate Form entries and retrieve the resulting data (as if someone pressed "submit")?
    * ColdFusion allows automated Form entry and retrieval of resulting data with CFHTTPPARAM--is there a
    * I am trying to use the UPS online tools. How do I post them some XML and get an XML response back?
    * What is this mean: Warning: Use of undefined constant
    * how do i make a link open a template and insert content into it from the peramaters set by the link?
    * Does PHP has something similar to the forward() method in Java? ( RequestDispatcher.forward() )
    * How to encode my php code so i can distribute my code to other without seeing my code?
    * Using the same MVC model as J2ee how do you pass information to the forwarded php w/o storing the da
    * How do you get the HTTP_REFERER if the 404 page is set to be a php page
    * Is there a "goto"-like function in PHP like in Q-BASIC or VB or VBScript?
    * I need to read a text file & display the contents on the web page from which the php script executed
    * shell variables like $HTTP_USER_AGENT dont return value
    * How can I keep a part of an address such as ?id=blah from showing in the browsers address bar?
    * An example please of how to use the mail() function to include 2 or more file attachements
    * Can I call a PHP function from Javascript?
    * how do i get gettext support for a windows php based machine?
    * PHP - openssl_pkey_get_private - How to export public key to file or string?
    * Can i use PHP aplication wrtiten in Win2000 on linux ???? whats need to be changed???
    * How input in the URL the "id"?
    * How to perform multiple records updates in PHP?
    * How to get an object result from web service
    * Block direct access
    * How do I block direct access
    * How to link 2 forms together by using a submit button?
    * How can i connect Oracle 9i with PHP?
    * how to Retrieve Information Using a Hyperlink with Parameters in PHP? PLease help me.....
    * I was send files w/ php extension, how do I poen them? thanks
    * Apostrophe in a database input - magic quotes or something?
    * how do I pass session variables to another page
    * How would it be possible to send a page (images included) from a form with the mime classes?
    * how to call javascript functions which are located different ip then php running.
    * How difficult would it be to use PHP/SQL to count when people click on an email or web link?
    * Is there a way to stop passwords from being POSTED in clear text?
    * Is CCSLIDE Database compatible with PHP or not ??
    * How do I convert a hex longint(4 bytes, little-endian) as a string to a decimal integer?
    * How do I display the output of a .php file in a table on/within html in a table?
    * How can I direct php output to its calling html page?
    * Is is possible to redirect a User to another URL and send some variable with the post method?
    * Where is php.ini in the Mac OS 10.2.3 release? In PHP 4.3.0, the phpinfo() returns /usr/local/lib
    * How to do email read notification in PHP
    * How to recomplie php from windows 2000
    * Is there any way to execute a PHP file (like with include) but direct its output to a variable?
    * how to register the variables automatically by default in php?
    * To use ob_gzhandler() is zlib needed?
    * Does anyone know how to connect to Active Directory using PHP maybe with LDAP???
    * How can I publish a php generated website on a cd rom?
    * Can't include or fopen: "http://www.ndbc.noaa.gov/data/realtime/62107.txt?
    * why? -- Notice: Undefined variable: badExts & dirs
    * how can I refresh a page using a radiobutton???Just Clicking It.Without SUBMIT
    * I have a php site that works on IIS/Windows, I decided to move it to Apache/linux and it broke
    * how can I keep data on a php page that gets passed from a html form from, say, 4 different users
    * I keep getting this when trying to install Warning: open_basedir restriction in effect. File is in w
    * How do I get at $HTTP_SERVER_VARS['PHP_AUTH_USER'] variable under Apache, PHP on WinXP?
    * i want to send via echo a formated text in php, how does this work?
    * Fatal error: Call to undefined function: getmxrr()
    * how can I show a fake address on the address bar?
    * how I can set cookies for authentication
    * Force PHP-created graphic to be fresh/not cached? How?
    * Why can't IE6 in WinXP open any .PHP file? (by File->Open)
    * I get this error when testing with mysql ....Parse error: parse error, unexpected T_ECHO
    * Is It possible to make text flash using PHP or any other language that can be embedded into HTML?
    * how to delete multiple records using a checkbox
    * I want to install a PHP library on my server. When I execute phpinfo the library hasn't been added??
    * Can I pass variables from one script to another?
    * I had encountered thi s error "Fatal error: Call to undefined function: imap_open()". Please help.
    * How do I pass a variable coming from a form to make up an sql query? (ie=create table <VARIABLE>)
    * How do I pass a variable coming from a form to make up an sql query? (ie=create table <VARIABLE>)
    * how to unzip or untar any .tar or .tar.gz file using only php script, no shell access?
    * how to unzip or untar any .tar or .tar.gz file using only php script, no shell access?
    * Passing a variable from one .php to another WITHOUT using require() ...is it possible, and how?
    * Passing a variable from one .php to another WITHOUT using require() ...is it possible, and how?
    * What is the PHP equiv. of the ASP Request.QueryString
    * How can i send a password using fsocketopen?
    * How can I pass values (images & text) from a mysql field with php into a javascript script?
    * 1 - How can i change win-1256 charset to utf-8 encoding?
    * How can I use CTRL+N (new page on IE6) whitout copying the session id to the new page?
    * How do I add an HTML link to a page with php graph?
    * When I run my php script everything works fine but it always shows the closing tag (?>). Why?
    * What does this mean "failed to create stream: HTTP wrapper does not support writeable connections" ?
    * How should I configure my PWS (and/or php.ini) to see PHP-results in my browser?
    * Problems with Curl and Telnet.....please Help
    * how can i add pagging in php ??? is there any object like in asp ????
    * How do I calculate the number of hours between two dates in PHP?
    * when calling urls from a mysql database how do you make them active links on screen in php
    * How do I change this into a link? <?php echo $row_rsLocations ['CODE'] ; ?>
    * How can I calculate sha1 in raw binary format without php5?
    * How can I only collect information from checkboxes that are checked and then e-mail it?
    * How can I read from a cookie from within an included file?
    * EASY QUESTION. translation problem
    * EASY QSTION. php pages show up from local files as code, not translated to display. Apache,mysql,php
    * I edited php.ini, but does not changed that show in phpinfo?
    * How can I conect to an Informix database with ODBC in PHP?
    * I am wanting to call 1 script from another,then return to the next line of code in the 1st script ?
    * Formatting User's Input
    * Can't Get PHP on IIS5
    * Can't Get PHP on IIS5
    * Can't Get PHP on IIS5
    * How do I configure PHP (on my local PC) to connect to Sybase (on a Solaris server) ?
    * how can i send an attachment with my mail form to email id
    * Where can I find error information for "Fatal error Maximum execution time of 30 seconds exceeded"?
    * does PHP do documentation, like javadoc creates documentation?
    * How can I display the output from <?php $output=system($command); ?> to an html textarea box?
    * how can i execute linux OS commands like 'adduser' from a php web page
    * How to sort a multidimensional array ?
    * how can i update xml node values via php?
    * mkdir problem
    * what areDesign patterns ?
    * what areDesign patterns ?
    * How can I successfully return data from a CGI script? It works in HTML using Virtual Includes.
    * PHP: Is there an editor (like FrontPage is for HTML) for PHP?
    * PHP: Does it allow me to translate a website to another language at the click of a button?
    * how can i add objectclass to an entry for a ldap record
    * how can i add objectclass to an entry for a ldap record
    * how can i get Visual Basic's grid like effect in php
    * how can i get Visual Basic's grid like effect in php
    * How do you install PHP in CGI Mode??? There is no doco on the subject!!!
    * Can you tell me why I always get ?PHPSESSID=9ki86 attached to all my link on the opening page
    * How do I use a html form within the php script. I am using a form that gets the input from a PH GET
    * Javascript is not working in a php file on windows system. Why?
    * File security on an intranet
    * how do i get the info from my html form into a text file similar to my order form using php?
    * How do I turn a php script into index.html
    * How do I create alternating-color repeated regions with PHP?
    * What are all the common php file extensions?
    * I need to run an external command that it isn´t native of the operating system (AIX).
    * I get an error when i use SMTP server to send mail by php.I'm using win XP
    * How would i make a simple counter with text? (ie visitors: 17319)
    * How can i prevent a php page being cached in browser?
    * How can I change a field name in mysql database by using PHP?
    * How do I correct error "Unable to parse configuration file"?
    * How to create a separate PHP-File to predefine a table to give my sites a similar look?
    * php.ini will not load
    * php.ini will not load/parse/process in Windows 2003 Server + PHP 4.3.3RC2 + MySQL v4.0.14b
    * Using mail () , how do do smtp authentication ?
    * How can I include a php file in to a html file so that it is shown in a table that is in the html???
    * How to replace with pattern matching?
    * can i send FAX from php or using PHP script
    * Is there any file size limite with PHP for sending a file from client side to Apache server ?
    * I want to use imagecreate how do I get it to work? I have downloaded the gd 2.0.15 what do I do with
    * I want to call a user defined PHP function on buttons event like onClick. How can i do that ?
    * I am querying a mySQL database for names and addresses, how do I not pull any NULL values
    * How can a generate wed-based barcode, I want to use only the browser connecting to the backend.
    * Can php files be put in a directory other than the root dir.?
    * I get the error - Fatal error: Call to undefined function: mysql_connect() - what is wrong?
    * Detect "Too many connections" error and show alternate web page?
    * If i write the code for uploading in PHP, will the same code work on Windows, MAcintoshOSX, Linux?
    * How do i recompile PHP, Apache on RedHat Linux 9? I am trying to connect to SQL Server using freetds
    * I can't find Internet Services Manager, pls help!! I use Windows XP Home Edit.
    * Is there a way to check if an e-mail address is not fake?
    * How can convert Java Servlet into PHP?
    * what is in_array
    * How do I code a link from a sql query, such as an email link?
    * How do I install 4.3.3 on Freebsd..step by step for dummy
    * Installing or upgrading php with CURL support on Cobalt Raq
    * How can I display a PHP hit counter within a HTML form input text box?
    * How can I create a function to return the nº of weekends in a time interval(beg and End:yyyy/mm/dd)
    * How do I validate a Windows user and password?
    * How do I change an NT password (IIS)?
    * I can get the PHP code to show in my html. Its correct and im using Apache and mysql, please help.
    * I have a problem with is_dir(): Is doesn't return anything!
    * can not loading php_oci.dll at php started
    * php_oci .dll loading at php start ( i remove the comment from php.ini of extenstion =php_oci.dll)
    * How can I tell if a script is running from the command line (cli) or in a browser?
    * How do you authenticate if you use NTLM (IIS, PHP)
    * How to check if a newer entry id in mysql db? If yes, use 1 field in latest record as a variable.
    * how com i can not add item to httpd.conf to make php work with apache on windows?
    * I want to know how to make a page accessible only by a password: url/page.htm?pass=PASSWORD etc
    * I want to know how to make a page accessible only by a password: url/page.htm?pass=PASSWORD etc
    * I keep getting redirected to the login screen whenever I install a php package and I try to login
    * What changes in the file-function from PHP 3 to PHP 4.3.4?
    * SHMOP_open it allows me to open only 128 segments after that it throws an error (HELP)
    * How to Fix Err: Variable passed to reset() is not an array or object.
    * How do I set the order of the output from a database to the display?
    * How can I calculate the load time of a page?
    * i Installed php4 on IIS 5. Whenexecute an php script, it just come as it as like IIS not parsing it.
    * What is suggested procedure for upgrading from 4.3.2 to 4.3.4 using Windows binaries?
    * Is there a limitation to the file size when using move_uploaded_file? Returns false with files>2mb..
    * I´ve trouble with the debugger
    * I've set up a php server, but it will not display any information through a web browser.
    * How do I send values to a mySQL database?
    * how can I execute .exe file(stored as blob in db) upon reading them
    * PHP setup with Apache Server - no errors but no display on browsers
    * How do I stop a space-seperated string from being truncated when it is passed using a form construct
    * I need to draw the plane of a house. I have data needed in a database table. Can I do it with PHP
    * Does PHP support foreign Language such as Thai, chienese
    * Can anybody answer me if exist a module for php which allows work with RAR archives like php_zip.dll
    * How to stream mp3s with out giving out the directory. I had it working except in Win Media Player 9
    * Are there generally agreed best practice coding recommendations for PHP?
    * Warning: fopen(../mycalendar.csv): failed to open stream: Permission denied in
    * How do I avoid having the SESSIONID come up in my links?
    * I want to define "$DROOT = $_SERVER['DOCUMENT_ROOT']" once only for all "include($DROOT.'/')". How?
    * What is PHP ?
    * Can i use PHP in Zope?
    * i want a register script than stores peoples username, password for them to login
    * If I append to a file, but if I hit refresh, the same info gets appended again. How do I fix that?
    * How can I transmit the session information to a script opened using fopen("http://localhost"); ?
    * Can CLI and CGI modules of php be both installed ?
    * how to connect mysql database from pc1 and I'm using php5 from pc2 on windows platform.
    * how to replace an image (possibly jpg ) with another one with out refreshing the browser
    * Can I use an image link that when clicked opens up a php file and inserts a specified image into it?
    * How can I access a JavaScript array with PHP??
    * How can I make a voting booth / poll for my site that runs off my server, using PHP?
    * What is the difference between include() and @include()?
    * What exactly is the use of PHPSESSID in a URL???
    * Will+the+mail+function+work+if+use+in+intranet+envirnoment%3F
    * how do i update mysql db with form variables using php?
    * How do I make a webcounter that I can call from a non-php HTML site ? (I can do easy mysql/php part)
    * How to change where sessions save to? Changing in php.ini doesn't work.
    * hi , can anybody tell me where i can download php_printer.dll
    * hi can anybody tell me where i can download php_printer.dll
    * how can i show the content of a mysql DB into a excel file using php (plz give code example)
    * O'Reilly and PHP will not work
    * mail()
    * How can I insert dynamic info in my website (eg. exchange rate) taken from other site? Any scripts?
    * Is there any possibility to get the page from client browser?
    * Is there any possibility to get the page from client browser?
    * Why PhP does not recognize mysql_connect()Fatal error: Call to undefined function mysql_connect()
    * How do I open a new form and display data base on a value of a pull down list on current form
    * How can I send XML Attributes via Soap?
    * Is there a tutorial for interfacing a PHP page with a cvs file?
    * PHP
    * Can't find php.ini to update file_upload size only find a directories under /opt/php/lib/php/pear so
    * how can I configure apache so that I can run <? php ...> commands in files that don't end in .php?
    * PHP mail() needs 40Sek to generate the mail. Sendmail works correct. System Cobalt RaQ550
    * How can I use InternetExplorer.Application to access the contents of specific frames?
    * How can I read data in from a USB Barcode Scanner using PHP???
    * How do I get PHP on Linux to work with Oracle on Windows?
    * XML brainbuster
    * Dynamic Code
    * Dynamic Code
    * PHP not accessing MySQL
    * Installed Apache, PHP and MySQL all working but when I try to connect to MySQL through PHP nothing..
    * I send a mail to a person. How I can keep track of when that person opens the mail?
    * How to convert decimal values to characters?
    * How do I get a submit button to print the current page?
    * define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); What does this means? It is from Zen-cart coding
    * PQescapeByte
    * have names as 2004aj,2004ad,2004A and need to list them but when do list 2004A it lists all the rest
    * How can make a Specefic MIME header
    * Are there any problems using COM functions with PHP5, WinXP and Excel 2003?
    * Can I reference PHP from a JSP page with <a href="filename.php>"
    * I'm new to PHP, where should I start.?
    * Is there anyway I can specifiy in which frame to open a specific file using header(fileme),includ(f)
    * http://www.e-zhost.net/bill/index.php, need help on waht that menas and how to fix it
    * PHP: Operation:Get:Form: Variable: All: How to get all your form variables? [$_POST/$_GET/$_REQUEST]
    * Can PHP perform a scheduled task triggered without having a PHP page being loaded into a browser?
    * Is it possible to use PHP code in the onChange feature of the html select tag? If so, how?
    * Is any way to pass a variable from one .php to another WITHOUT using require()? How?
    * PHP: HTML: Convert: Where to convert automatically HTML to PHP print or echo text?
    * how to write code to access an AIML suing php
    * Instead of www.xyz.com/index.php?country=usa I'd like www.xyz.com/usa
    * How can I echo the pagetop immediate, eg if php is doing a heavy job.
    * i need to use <a HREF=page.php?ref=13... how can i use the values 13 on the new page tha i call?
    * i need to use <a HREF=page.php?ref=13... how can i use the values 13 on the new page tha i call?
    * can i call an function in a executable file from php and get the result back to php
    * ASCII
    * why the <?php_track_vars?> did not work?
    * i need a php script that will retrieve information about a user just by clicking a name on the page
    * i need a php script that will retrieve information about a user just by clicking a name on the page
    * i need a php script that will retrieve information about a user just by clicking a name on the page
    * Error: Access denied for user: 'apache@localhost' (Using password: NO)
    * how can I disable cgi in php 5.3.9?
    * System() command not executing. Error thrown is 'Unable to fork system () '
    * If I enter a text of 21K long in a text area form, hitting submit button doesn't do anything. Help
    * how do i manually configure php with apache server?? and then how do i run my scripts??
    * how to untar file using php script? <? system("tar -zxvf file.tar.gz") ?> not work
    * Is PHP based on orther languages,and are there any based on PHP?( research papper for school)
    * How can I put URL &variables= into php generated javascript?
    * can require() or include() contain Http path? How can we include files in http path format?
    * Is it possible to issue a command to windows xp command-line through a php script?
    * What is PHP-GTK
    * Why is it not working with the browser/web server?
    * How do I install PHP-GTK on Win32?
    * Can I use Themes under Win32?
    * How do I know which GTK Classes are supported?
    * How do I use the buttons in GtkFileSelection?
    * How to install PHP on Apache?
    * 1. How to install Apache, MySQL, PHP on Linux
    * Test Question
    * can i get the full url of site (including the http:// and www) i want know if they came from www2
    * What is the relation between the versions
    * Can I run several versions of PHP at the same time?
    * What did the initials PHP originally stand for?
    * What is the name of the new scripting engine that powers PHP?
    * Name a new feature introduced with PHP4?
    * Where can you find the PHP on line?
    * From a UNIX operating system,how would you get help on configuration options(the options that you pass to the configure script in your PHP distribution)?
    * What is Apache’s configuration file typically called?
    * What line should you add to the Apache configuration file to ensure that the .php extension is recognized?
    * What is the PHP’s configuration file called?
    * can a user read the source code of PHP script you have successfully installed?
    * What do the standard PHP delimiter tags look like?
    * What do the ASP PHP delimeter tags look like?
    * What do the script PHP delimeter tags look like?
    * What function would you use to output a string to the browser?
    * How would you create a regular method within a class?
    * Which of the following variable names is not valid?$_value_submitted_by_a_user;$666666xyz
    * Which of the following variable names is not valid?$the first,$file-name
    * .What will be the following statement output?
    * How would you use the string variable created in the assignment expression $my_var + 'dynamic";to create a "variable" variable,assigning the integer 4 to it
    * Which of the following statements contain an operator?4;gettype(44);5/12:
    * How can you access and set properties or methods from within a class?
    * How would you access an object's properties and methods from outside the object's class?
    * What should you add to a class definition if you want to make it inherit functionally from another class
    * Which environment variable could you use to determine the IP address of a user?
    * Which environment variable could you use to find out about the browser that called your script?
    * What should you name your form fields to access their submitted values from an array variable called $form_array?
    * Which built-in associative array contains all values submitted as part of a GET request?
    * .How must you limit he size of a file that a user can submit via a particular upload form?
    * How can you ste a limit to the size of upload files for all forms and scripts?
    * What functions could you use to add library code to the currently running script?
    * What functions could you use to add library code to the currently running script?
    * What functions could you use to add library code to the currently running script?
    * What function would you use to find out whether a file is present on your file system?
    * How would you determine the size of a file?
    * .What function would you use to open a file for reading or writing?
    * What function would you use to read a line of data from a file?
    * .How can you tell when you have reached the end of a file?
    * What function would you open a directory for reading?
    * What function would you use to read the name of a directory item after you have opened a directory for reading?
    * What function would you use to open a DBM database?
    * What function would you use to insert a record into a DBM database?
    * How would you access a record from a DBM database by name?
    * How would delete a named element from a DBM database?
    * How would you open a connection to a MySQL database server?
    * .What function would you use to select a database?
    * What function would you send a SQL query to a database
    * What does the mysql_insert_id()function do.
    * Assuming that yopu have sent a successful SELECT query to MySQL,name three functions that you might use to access each row returned.
    * Assuming that you have sent a successful UPDATE query to MySQL,what function might you use to determine how many rows have been updated?
    * What function would you call if you want to list all database available from a MySQL server?
    * .What function would you use to list all tables within a database?
    * How would you create a while statement that prints every odd number between 1 and 49?
    * .How would you convert the while statement you created in question 24 into a forestatement?
    * True or false.If a function doesn’t require an argument,you can omit the parentheses in the function call.
    * how do you return a value from a function?
    * What functions can you use to define an Array?
    * Without using a function,what would be the easiest way of adding the element “Susan” to trhe $users array defined previously?
    * Which function could you use to add the string “Susan”to the $users array?
    * How would you find out the number of elements in an array?
    * In PHP4,what is the simplest way of looping through an array?
    * What functions would you use to join two arrays?
    * How would you sort an associative array by its keys?
    * How would you declare a class called emptyClass( )that has no methods or properties?
    * Given a class called emptyClass( ),how would you create an object that is an instance of it?
    * How can you declare a property within a class?
    * .How would you choose a name for a constructor method?
    * How would you create a constructor method in a class?
    * What environment variable might give you the URL of the referring page”?
    * Why can you not rely on the $REMOTE_ADDR variable to track an individual user across multiple visits to your script?
    * What does HTTP stand for?
    * What client header line tells the server about the browser that is making the request?
    * What does the server response code 404 mean?
    * Without making your own network connection,what function might you use to access a Web page on a remote server?
    * Given an IP address,what function could you use to get a hostname?
    * What PHP function would you use to send an email?
    * What header should you send to the browser before building and outputting a GIF image?
    * What function would you use to acquire an image identifier that you can use with other image functions?
    * What function would you use to output your GIF after building it?
    * What function could you use to acquire a color identifier?
    * With which functions would you draw a line on a dynamic image?
    * What function might you use to draw an arc?
    * .How might you draw a rectangle?
    * How would you draw a polygon?
    * What function would you use to write a string to a dynamic image(utilizing the FreeType library)?
    * How would acquire a UNIX time stamp representing the current date band time?
    * What function accepts a time stamo and returns an associative array representing the given date?
    * What function would you use to formate date information?
    * How would you acquire a time stamp for an arbitrary date?
    * What function could you use to check the validity of a date?
    * What single function could you use to convert any data type to any other data type?
    * Could you achieve the same thing without the function?
    * What will the following code print?print “four”*200;
    * How would you determine whether a variable contains an array?
    * Which function is desired to return the integer value of its argument?
    * How would you test whether a variable has been set?
    * How would you test whether a variable contains an empty value,such as 0 or an empty string?
    * What function would you use to delete an array element?
    * What function could you use to custom sort a numerically indexed array?
    * conversion specifier would you use with printf( ) to formaqt an integer as a double? Write down the full syntax required to convert the integer 33.
    * How would you pad the conversation you effected in question 1 with Zeros so that the part before the decimal point is four characters long?
    * How would you specify a precision of two decimal places for the floating-point number we have been formating in the previous questions?
    * What function would you use to acquire the starting index of a substring within a string?
    * How might you remove white space from the beginning of a string?
    * How would you convert a string to uppercase characters?
    * .How would you break up a delimited string into an array of substrings?
    * What regular expression syntax would you use to match the letter”b” at ;least once but not more than six times?
    * How would you specify a character range between “d” and “f”?
    * .How would you negate the character range you defined in question 124?
    * What syntax would you use to match either any number or the word”tree”?
    * What POSIX regular expression function would you use to replace a matched pattern?
    * What PCRE function could you use to match every instance of a pattern in a string?
    * Which modifier would you use in a PCRE function to match a pattern independently of a case?.
    * What function designed to allow you to set a cookie on a visitor’s browser?
    * .How would you deletye a cookie?
    * What function could you use to escape a string for inclusion in a query string?
    * Which built-in variable contains the raw query string?
    * The name/value pairs submitted as part of a query string will become available as global variables.They will also be included in a built-in associative array.What is its name?
    * Which function would you use to start or resume a session?
    * Which function contains the current session’s ID?
    * How can you associate a variable with a session?
    * How would you end a session and erase all traces of it for future visits?
    * .How would you destroy session variables both within the current script and the session?
    * What does the SID constant return?
    * How would you test whether a variable called $test is registered with a session?
    * Which function would you use to open a pipe to a process?
    * How can you write data to a process after you have opened a connection to it?
    * Will the exec( ) function print the output of a shell command directly to the browser?
    * What does the system ( ) function do with the output from an external command it executes?
    * What does the backtick operator return?
    * How can you escape user input to make it a little safer before passing it to a shell command?
    * How might you execute an external CGI script from within your script?
    * What function outputs useful information about your PHP configuration to the browser?
    * What function could you use to include a syntax-colored source listing of a PHP script?
    * Which php.ini directive enables you to control the strictness of error messages?
    * What function can be used to override this directive?
    * .Which function allows you to log errors?
    * What built-in variable will contain the error message if the php.ini track_errors option is allowed?
    * What PHP function do we use to make our connection to the MySQL database server?
    * What PHP function do we use to initiate or resume a session?
    * Which function do we use to include library files in our project’s pages?
    * What PHP function do we use to send SQL queries to the MySQL database?
    * What constant do we use to add a session ID to an HTML link?
    * How do we move the user on to a page?
    * What function do we use to format date information?
    * What function do you use to add an element to the end of an array?
    * What PCRE function could you use to match every instance of a pattern in a string?
    * How do i create a simple client login set-up?
    * If I have actions in a center frame, how do I refresh a different frame (not the whole page)?
    * How can I have a script run every few minutes on a server if I can only use daily or monthly crons?
    * how to post the recordset value like multidimensional array on submit the form
    * How to retrieve data from other pages(html)?
    * Is there a way that I can make the PHP auto generate thumbnail of videos/flash files that i upload?
    * How can i crypt my sourse code ?
    * how can i send a mail to an email address that is available in the database through php script
    * Complie Error in PHP 5.1.1
    * "Maximum execution time of 30 seconds exceeded" frequently shows up on pages that usually work fine.
    * All mail sent using mail or imap_mail goes to junk box. How do I correct this?
    * PHP: Windows XP: Apache how to get them working together?
    * how can i add security to my php formail form to stop spammers?
    * Is it possible to call a php function by using a hyperlink onclick event?
    * need to do a script using curl to measure speed from http://DomainA.com to http://domainB.com?
    * globals aspx equivalent in php
    * Is there any way to complie my own Php scripts to protect the source?
    * Could someone help with code that sends a number of variables to a php page when a link is clicked?
    * How do I set up SMTP server on my Windows computer, and how do I configure PHP to send mail()?
    * How do I specify php code for input onchange events
    * "Fatal error: Call to undefined function mysql_connect()....."getting this error
    * What are the Different PHP versions?Explain the changes among them?
    * What are the Different PHP versions?Explain the changes among them?
    * Email using php via lotus notes
    * i have used apc_clear_cache()to clear the cache but i got error call to undefiend function
    * Require Virtual Pathsrequire("/folder/filename.php");
    * Require Virtual Pathsrequire("/folder/filename.php");
    * How do you include virtual paths in PHP, ASP has <!-- include virutal="/inc/file.asp" -->
    * How can I build Graph in PHP?
    * i am using mail() to send html but it shows as plain text at the client
    * blank pages
    * Please help. How can i CREATE and DROP oracle tables through a web page interface using html and php
    * what does var=<?=$php_var?> mean
    * what is the difference between include once() require once()?
    * what is the difference between include once() require once()?
    * HTTP_SERVER_VARS
    * How to perform simple linear regression analysis with PHP?
    * How to compute trend equation from an array of data?
    * How to forecast future value using existing data?
    * can i get the value of a javascript variable in php code
    * I am trying to make the data of a file into a variable. How can I do this?
    * ereg_replace result includes backslash in search '\141' to '\a' should be 'a'
    * how do use a browser to save the displayed HTML output of a PHP file?
    * No input file specified.
    * how to create a chart in PHP
    * Has anyone the correct Mysql connection string for GOdaddy.com? mine does not seem to work
    * How can i add all the values of a form in one field in a table using array
    * mail
    * How we communicate with the bar code scanner??
    * MySQL and PHP5, "Access denied for user 'SYSTEM'@'localhost' (using password: NO)
    * How can I extract the public key from a certificate file (.cer file)?
    * IIS and php
    * My html pages are not dipsplaying but php pages working correct
    * How do I create a functional thumbnail system for my art gallery? It just shrinks images right now.
    * HELP!
    * Which version has the time limitation (i.e., Dec 31, 1969) removed?
    * How to solve "UX:sed: ERROR: Output line too long" problem while doing make on unix(mpras flavour)?
    * does PHP do documentation, like javadoc creates documentation?
    * download file
    * test, mac
    * hide email address
    * How to submit form direct to email
    * How do I code a button that changes the value of a PHP variable?
    * xml php
    * How to runa php file without .php extension ?
    * How to catch and process a stream sent from a StreamWritter of a Window .Net application ?
    * how can i know that a page is using a GET method or POST method without checking the URL
    * While calling a form, it is displaying the PHP code instead of displaying the output .....
    * Function for checkavailablity of a username when a user click a hyperlink
    * Function for check-availablity of a username when a user click a hyperlink using javascript and php
    * my script does not get $_SERVER variables
    * Looking for a freeware PHP module/library to parse HTML files
    * can i sue onchange attribute for a textbox in php
    * How to make a site navigation (f.e. You look > blah > blah) for loading iframes without database?
    * who is the founder of PHP?
    * PHP/Apache setup/config problems... Also: PHP script showing up blank or displaying actual PHP source
    * Where can i get the library extensions like php_*.dll
    * execute external program
    * exec system external program
    * how can i use php to access a MSSQl linked server?
    * filesize
    * How to use the SSL context options capture_peer_cert and capture_peer_cert_chain?
    * downloding the file
    * How to upload/dowload big file?
    * apache integration
    * how to make paging?
    * How do I fix a: "Your PHP install misses ZIP support" ?
    * "global variable"
    * when tried to execute a php program IE gives me the dialog box asking "Do u want to save this file?
    * how do i create a php script that i can install onto my webspace to give me the Base directory
    * Difference between require_once and require
    * How can I prevent users putting URLs in the text box of my form?
    * I want to make an update to a mysql tabel every 30 minutes.
    * Database with MySql
    * Help resolving an error message
    * Can anyone tell me what is this "->" symbol? i see it so many times.
    * How would I merge two felds and show a quantity after the element
    * Unable to retrieve block names from database
    * How can I parse headers in http request and extract filename var and then save body to that var.
    * I want to download an XML file from it's source server to my own for parsing. How can I do this?
    * iis
    * I want to put an URL link to CLICK HERE IN: echo "Click here". HOW TO DO?
    * How can I run PHP scripts by schedule?
    * How can I run PHP scripts from Command Line?
    * What is the difference between CLI and CGI SAPIs?
    * Please recommend wesites for PHP Freelancing. Thanks in advance.
    * Fatal error: Call to undefined function mysql_connect()
    * SOAP type extension
    * How do i split a single field value like "news" across many pages using php?
    * Is there an awesome php-based CMS for artists?
    * Any help "C:\\Program Files\\Aspell\\data/iso8859-1.dat" is not i n the proper format.
    * what are the differences between PEAR and PECL?
    * How do I get a web page into my php script so as to extract data from it?
    * configure: error: apxs2: invalid package name
    * configure: error: apxs2: invalid package name
    * configure: error: apxs2: invalid package name
    * Need detailed intstructions on how to install and configure php to host phpbb2 forums
    * how to run script file xx.sh and execute linux command line without return string such tc command
    * resize a bmp file
    * Hyphen/Minus/Dash problem with JavaScript,HTML and PHP
    * Safemode - Local vs. Master. Why does the master show "off" but the local to "on"?
    * CLI
    * Updating information in an include file - I have an include file that shows information on many file
    * line break in php
    * How to determine "Geo Location"?
    * How to get country information from IP address
    * IP to Country calculation
    * but what if the session is closed because of a network problem
    * I get a CGI Timeout error when running a larg php script that is Pulling Information From a Website
    * CGI Time Out Error
    * Using cURL and get timeout error
    * I get a CGI Timeout error when running a larg php script that is Pulling Information From a Website
    * CGI Time Out Error
    * Using cURL and get timeout error
    * Is it posible to display only 10 records in a page?
    * PHP/MySQL - track impressions and click through rate for listed products?
    * When using DOM i got depressive Warning: domdocument::domdocument() [function.domdocument-domdocumen
    * Can I write a PHP script to load random external images?

Unanswered Questions

    * building php with informix returns error: cannot find -lphpifx. Were can i get it?
    * How can I report searches, reporting search-words? (formsearch in my sql-database)
    * How can you include a CGI file in a PHP and have it stay in there when you use a link in the CGI
    * How can I configure php_value directives for mass virtual hosting? ie: equiv to VirtualDocumentRoot
    * why do I fails always after call gethostbyaddr, but right if there exit mapping in HOSTs(on win XP)
    * "Total Noob" how do I put a index.php script in an HTML page so it opens the file cont.- dif. frame?
    * I have created excel reports using php,html and header..But the sheet is editable..how to protect
    * I cant execute external programs "Unable to fork ...". Why? I have PHP 4 and Windows 2000 with IIS 5
    * is it possible to post unicode data to DB via web form? Im using W2K/PHP/Apache/MS SQL.
    * How can you change two frames (submenu and welcome page) after someone logs in with a session?
    * How can I display the date a form was submitted using DATE as the col_type & how is DATE_FORMAT used
    * special characters (e.g. inverted exclamation) are being changed when using global <FORM> vars
    * strtotime fails using postgresql 7.2.1 and php 4.1.2 (redhat 7.3); floating point seconds not parsed
    * Undefined function imap_open(). Installed --with-imap-ssl. Do I have to install --with-imap?
    * I have a cgi which outputs Content-type: text/xml, how can I call this cgi, then parse the output ?
    * How do I only read the 10 newest files in a text file?
    * How to: shtml page includes php file that gets (and sets to var) the shtml page's path not it's own?
    * When a html page is process by PHP engine, I am seeing added characters placed into the html source?
    * How do I call a c program from php, it has to pass a string with it and have ti return a string?
    * How do I run a php interface to a java application, i.e. pass input in, receive output and format it
    * Error trying to view page ,WHY? "Document contained no data"-NS "Page is currently unavailable"-IE
    * How can I stop access to my server when remote computer has my ip in REMOTE_ADDR in his config file?
    * What is the most efficient regex to find all the email addresses in a string?
    * Help with this code... How can i Get Fcontents to not print the code but display it as a web page??
    * I have exif enabled in php 4.1.2 but exif_read_data() keeps returning errors. why?
    * It´s possible print a document (.txt.pdf) from Apache Server?
    * How to build a printer friendly page that have 480x600 resolution during runtime?
    * how do i quit the dos php window properly - windows doesn't like me using the close box ?
    * I installed LIBMCRYPT and now I am installing MCRYPT. The message appeared: libmcrypt was not found.
    * In my search engine result outputs, how can I display contents of the page within the body <body----
    * how can i allow my users to attach files to emails.i have php 4.1.1 on apache and win98
    * I write a message in a text area then i go to my preview page and it is not in the right order,help!
    * How do I pass a string variable to a Blob Field in MySQL?
    * How do I connect to an Oracle 9i database to verify "username" and "password"
    * Does anyone know where I can find out more information on PHP's Lotus Notes functionality?
    * Grouping outputted data from a table, products grouped together by orderid for eample?
    * is there any way update the database by sending mail to that prticular id
    * How to retrieve default email id from the client machine without asking for it?
    * Hello, I have been working on a hockey score sheet web data entry page and have gotten to the point
    * hi i am new in PHP i want to know can it give any Think Like applet
    * How can I add xml capability to a already installed php setup?
    * Is it possible for PHP to communicate with TWAIN complient devices?
    * Cannot open for read file1 open and write file2 remotely on one system but can on another.Why?
    * Is there a function to allow authenticated acess through a proxy with fsockopen functionality?
    * How can I write a mainform/subform screen in PHP that access a MySQL database?
    * I have a database with a date field with values < 1/1/1970. How do I extract these values correctly
    * Linux PHP 4.2.1&Apache, my PHP code is ignored when html code is present in a php file.
    * I have a php 4.2.1 pop on my computer ~ leads to a porn page!! I can not find it on my C drive help
    * How to use PHP to distribute software package to workstations?
    * how to create a form just like when you going to sign up at certain website with userID, password
    * where do you find php source directories in Mandrake Linux to enable sockets and recompile?
    * how to connect to internet through PHP?i have tried exec("wvdial")but it wont' work
    * Why are variables not passing (PHP43,IIS5.0,Win2000Server)?
    * How do you get the mHash() function on a Windows install of PHP 4? (it doesn't seem to be built in)
    * I am trying to create a link that, when clicked, changes the data attribute of an <object> tag
    * I am trying to create a link that, when clicked, changes the data attribute of an <object> tag
    * hi, I have a problems with passing arrays with indexes in PHP
    * I want to start using PHP for DB sites but aren't sure about writing PHP in MacOS. Starting points w
    * XP with IIS and PHP not returning complete set of headers... why?
    * How display a matrix dependant on other cells? ie fixture matrix dependant on entered results.
    * How can I see where the memory is going in my PHP-cli application?
    * php menu says mssql_connect requires 'interfaces' file;what & where are they?
    * I changed my .httaccess to Errordocument 404 /404mail.php .It is not edirecting to this page.
    * working from the php book when i run the script at the end of chap 12 i get SQL syntax errors
    * In a self-processing form, is there a way to return to the same point in the page that you left from
    * In a self-processing form, is there a way to return to the same point in the page that you left from
    * How do i redirect to other php or web pages and the new URL not shows up in the address bar.
    * How do i redirect to other php or web pages and the new URL not shows up in the address bar.
    * I started with a php file and tried to call a tpl file which called a php file. It didn't work. Why?
    * How should I configure my PWS (and/or php.ini) to see PHP-results in my browser?
    * How do I run an ASP program on my Windows server within PHP
    * Will be there a version conflict problem for functions written in earlier versions of php
    * How can I add "preprocessor" to PHP, e.g. replace all "--" with "&minus;" before PHP starts parsing?
    * Is there a way to query a text file using php? If so how? need to bring back individual results ?
    * How do I get a variable to pass into an included file that is located in a different directory?
    * how can i make that an PHP sript to run in background?
    * It is posible to download a directory (including all files a subdir) using PHP4.3.1?
    * I am uploading to a hosted server using Dwr MX. do i need to install php or will MX handle it.
    * im new to php and need to know how to calculate BMI, body mass index with php or mysql
    * I need the PHP syntax for adding mysql field values from a table and then echo the result.
    * How can I write different data into two separate frames on a form user submitting the form?
    * Where can I get more info about PHP Access violations such as 011929AE, 77FC8DA5 & 024529AE?
    * what can be done for generating setup program for php files on linux platform
    * What is the "official" communication method 4 html 2 javascript 2 php
    * How can i build and draw a tree with 3 childs for each node and for 10 levels, from a database.
    * How do you directly download a file into the Temporary Internet Files directory?
    * How do you use php to pull data from the database, like on jokes.com when you go into a section?
    * Can you use PHP to see if another e-mail server accepts HTML or text only email?
    * How do you display info from a database in a menu dependant on another menu recalled from the table
    * How do I put data into a list box dependant on another list box
    * I can not get my php scripts to work on an apache 2.0.40 to work, ie formmail and forums, help
    * How do I get the paragraphs to show, pulled from mySQL db, instead of one long text paragraph?
    * Is there a big difference if you use { } in your "if" condition instead of using ":" and "endif;" ?
    * I cannot run a commend from PHP scripts using exec(). This command can be run from command line.
    * I can no longer pass variables between pages using php4.06 and isapi with iis5
    * PHP code is running on Linux but not on Windows. Why?
    * How can I restrict access to certain files on an intranet using php?
    * I am trying to get Oracle 9i working with PHP. Having problems know what to compile.
    * Have all sort of problems using "?" within a "echo('form')" posting. Can someone show me correct way
    * how do i get the info from my html form into a text file similar to my order form using php?
    * is there any function that can print a web page with just one click in php???
    * CLASS: Can a property of a class be an Array datatype. Example please
    * How to use formfeed character '\f' in a .php file
    * A select box with diff. people's names how do I send form to dif. emails depending on name selected?
    * What is the easiest way to use PHP to extract email addresses from a text file?
    * How do I terminate access to page in certain amount of entries and time using sessions and MySQL?
    * does anybody have problems by using css in php pages
    * is there a distribution of php, or a way to configure so that one might use it under Mac OS 8.6
    * User interaction via dialog box from PHP script?
    * How can I include a php file in to a html file so that it is shown in a table that is in the html???
    * Can I get Visual Interdev (6.0) to use syntax highlighting for PHP files?
    * Doing my tree in, how to i number summit
    * PHP will not work with IIS (xp). ASP and HTML work fine, but PHP just sits there. Any ideas?
    * alter table BOOKS add id_books int unsigned not null auto_increment first,add index (id_carte); msql
    * How do I send a file (that is on the server) as an attachment with mail()?
    * How can I modify .htaccess to enable both SSI and PHP?
    * Any web-based report writer available ? I am using Windows client IE and Linux PHP / PostgreSQL.
    * How do I get data to automatically come up in other fields when a user selects an option from a drop
    * File Download appears for .php files. Php.ini in \windows on XP.
    * How can I pass objects from one php file to another?
    * How to create a web page that refreshes its tabled contents against mySQL database?
    * function_exists doesn't appear to work on class member functions, regardless if static or not???
    * can you determine whether your script is running at the console or was requested remotely?
    * I want printing on continous paper according to my requirement. Wanted to control the printer
    * Sessions won't die. I tried evertything. I'm regitering using the $_SESSION superglobal. Please h
    * how to resubmit the information automatically without pressing the refresh button?
    * How to check if a newer entry is in mysql db? If yes, use 1 field in latest record as a variable.
    * Is there a function like file_exists in PHP Version 2 ?
    * how com i can not add item to httpd.conf to make php work with apache on windows?
    * How does one define the path to non-windows executables like cat.exe?
    * How does one define the path to non-windows executables like cat.exe?
    * Help! What do I do Php files opening as Ps files?
    * need to use [web] as a wildcard: elseif ($check == "go: [web]") {$url = "[web]";} is it possible?
    * What is the advantage to using "url/index.php?i69=members" over "url/index.php" to "url/members.php"
    * Why don't works including of remote files under IIS 5.1 and PHP 4.3.2?
    * How can I parse a .csv file to a .ldf file , only parsing the particular information that I need?
    * where do i outsource php or get php experts for development ?
    * Can anyone please tell me why .php files will work for me but the same php files in HTML do not work
    * Populating a dropdown list field with data fetched from Oracle
    * How do I display New mysql database info without refreshing the page?
    * is there a course on how to write force matrix in php scripts?
    * SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifi
    * i am getting msg"Can not open output stream {localhost:110/pop3}INBOX when i am calling imap_open()
    * I CAN'T RUN PHP AS MODULE IN APACHE ON WINDOWS XP (PHP-4.3.6 AND APACHE-2.0.49)
    * how do i get information from a plain text file as data for a marqee/ticker/scroller?
    * How can I set up my web browser to show Php designated sites?
    * How i can find number of record retuned in select statement usin Access odbc driver.
    * When i try to exec a program on a webserver i get 127 as an return value. What does it mean?
    * PHP4 will not connect to my Apache server. I'm using an IBserver program.
    * form subbmitted to csv, how do you remove file if form submitted and file already exists
    * form subbmitted to csv, how do you remove file if form submitted and file already exists
    * Is there a known issue with O'Reilly Website and PHP not working together?
    * is it possible to capture a swf and export it to jpg?
    * How can I insert dynamic info in my website (eg. exchange rate) taken from other site? Any scripts?
    * How do i connect php5 to mysql4? I get "Class 'mysqli' not found" in the apache error log?
    * I tried to call mysql_connect(), but got the error "Call to undefined function mysql_connect() Idea?
    * How do I include a "news.php" file into an index.php file, I've tried <? php include....with no luck
    * How to support PHP? no IIS,no apache,it is my develope server...it support CGI now.
    * How to support PHP? no IIS,no apache,it is my develope server...it support CGI now.
    * How can I adjust local date time in a PHP Calendar script?
    * How can I call or use a dll writen in Visual Basic 6.0
    * how to redirect a page, and how to use querystring
    * when i open file by using this command ($fp=fopen("hello.txt","w") i get message "permission denied"
    * i am using Windows 2000 Server with PHP 4 and Apache 2 , i am trying use scrrun.dll with PHP but fail to use any body suggest me how to use it?
    * Are php scripts secure? i.e. is it possible to open my .php file and get my db userid/password etc?
    * Why am I getting a blank screen when I try using the imagecreatefromjpeg function? (PHP 5.0.2)
    * Problem logging hits to PHP pages when PHP runs as CGI wrapped in Apache to appear as module.
    * Is it possible to make a template in which any called text file can be inserted into a specific area
    * I need to get my php date() time to update live, is there away, and how do I do it?
    * How would I make a template system for a blog?????
    * Error "server unwilling to perform" when changing password in an AD server using LDAP and PHP.
    * How can I read data in from a USB Barcode Scanner using PHP???
    * How can I read data in from a USB Barcode Scanner using PHP???
    * How can I update the options for a select menu based on a value selected in a previous select menu?
    * php.exe posting data vir commandline how to?
    * How can I code a simple form with textboxes so users can view what others posted?
    * why my scripts is showing warning mail over quota mail not send when new user register
    * how can I make something like php editor in php and the script is in colored
    * I'm having a problem compiling php with 2 versions of posgresql. Configuring with-pgsql=/usr (pg ver
    * How do I automatically display the number of listings next to category links using mySQL or no datab
    * PHP 4.3.4, parse_ini_file() returns a cannot open `FILE` for reading?
    * how can I set a quantity that reduces to zero in my eshop as orders are placed
    * Is it possible to copy a tar file from another server using fopen?
    * Iwant to make register (login and password) to my site but with php
    * how to use onchange method of listboxes in php?
    * Can I make a transparent HTTP(carry SOAP body) proxy with PHP? Here PHP is to determine the dest.
    * how can i use PHP mail() function to send mail to an address like info@academia-intl.com...?
    * How do I test that a remoter server has php working?
    * is there a way to import php in a mysql and export it?
    * Trouble allowing people to upload picture to yahoo hosted site
    * Best script to pull an series of integers from various offsets in a binary file to PHP variables?
    * Problem with php 5.0.3 on Apace 2 on WIN: It works but version sais: 4.3.10? Is it really 5.0.3 in..
    * I'm getting a pair of characters( 3D ) in my PHP Generated E-Mails, any suggestions?
    * Can someone tell me why my <Script> tags and onClick attributes in <a> tag are being removed.?
    * How do you declare a variable so the variable will retain any HTML code imbedded in the string?
    * Does PHP support video streaming? I am working on an e-learning project. Thanks
    * why php variable names are case sensitive and why not function names?
    * How do I change the default account that mail is being sent from when using the mail () function?
    * <form action="dbtest2.php">when form is submitted,browser opens the php file instead of executing
    * write a one-line expression to test whether a number is a power of 2. this question is asked in inte
    * How to set headers for images delivered through php scripts so that images are cached locally?
    * How do I only allow a PHP script to be accessed from the same server.
    * how do i create keywords that will autolink throughout my website
    * How can I get the included file names in a php file while I'm navigating?
    * why are sessions working on remote server but not localhost
    * PHP and MySQL problem with out putting data to a .txt file
    * Why are three bytes being added to my data?
    * Is it possible in php to draw/show a calendar-month as an image?
    * How can I do a 'page scrape' and capture all of the existing form fields and values?
    * How can I redirect the output of a UNIX command executed in background from exec ( >> does not work
    * How to export public key to file or string in php's openssl library?
    * How do I display the rows and time it took to execute the query? ( 132 rows fetched in .0679s)
    * why it hangs whenever i open my lotus 123
    * How can call a C function with PHPScript.can you give me an example
    * How can call a C function with PHPScript.can you give me an example
    * Besides connecting again is there absolutly no other diffrence between mysql_connect and pconnect?
    * How do you display multiple ticked checkboxes from a form in a database??
    * How do you display multiple ticked checkboxes from a form in a database??
    * How do you display multiple ticked checkboxes from a form in a database??
    * How do I insert a MySQL database with greek characters in dreamweaver?Greek characters are shown ???
    * How can I write to php.ini from a remote function
    * Urgent: How can I write and change the configs of php.ini from a remote function?
    * If I enter a text of 21K long in a text area form, hitting submit button doesn't do anything. Help
    * ´What is the meaning of -> example for this:($this->form->flugInited)
    * how do i make a php script run ?? i mean how do i test if its working.
    * how to untar file using php script? <? system("tar -zxvf file.tar.gz") ?> not work
    * How can we create a page with 2 web pages displayed,giving look like frames w/o actually using them
    * How can i retreive Content between the Name tag in nested html file bu regular expression ?
    * How do I direct pages to open within specific divs using php includes?
    * How to control the Printer using PHP
    * i want to retrive data in an HTML form,from mysql database ,using PHP ,Please tell me how is it poss
    * can require() or include() contain Http path? How can we include files in http path format?
    * How can i create a domain email account through php?
    * How can I detect the dimensions of a Form? I have a $form_block that stores HTML lines and tables.
    * Why <?phpinclude("http://www.dtcc.com/ThoughtLeadership/menu.htm");?> doesn't display menu in html?
    * Why <?phpinclude("http://www.dtcc.com/ThoughtLeadership/menu.htm");?> doesn't display menu in html?
    * Include statement in an echo statement
    * Can I change the speed of uploads and downloads with PHP5?
    * Can I change the speed of uploads and downloads with PHP5?
    * system("crontab crontabs/crontabs.txt"); fails under 4.3.11 but worked on earlier versions any fix?
    * system("crontab crontabs/crontabs.txt"); fails under 4.3.11 but worked on earlier versions any fix?
    * How to read from a .txt file on the client?
    * I installed PHP, but output doesn't show on webpage - tried other commands 2. What should I do?
    * I installed PHP, but output doesn't show on webpage - tried other commands 2. What should I do?
    * While extension is ok, it says it can't find the module php_mysql.dll while it really exists
    * While extension is ok, it says it can't find the module php_mysql.dll while it really exists
    * how would I have info sent from html form to a web page in numeric order..such as in area code
    * how would I have info sent from html form to a web page in numeric order..such as in area code
    * how would I have info sent from html form to a web page in numeric order..such as in area code
    * How are PHP, PWS and MySQL intergrated?
    * I am having an extremely hard time sending a html form email. No format seems to work. please help
    * How to prevent the system() command from dumping output to browser
    * how can I use php to place a query on another site, then parse results into my results page?
    * Inserting more than one records in a table using the same form
    * Is there a way to grab a single frame from a video file using php?
    * I have windowsxp, apache, php, mysql, how do I host people, and limit filesystem access?
    * How can I build 10 rows-each to have 1 dynamic select menu (part #) which prints related desc.?
    * i want to print out database results using php..if someone know, pls help me..
    * What do you think about developing PHP-Based desktop application with gambArt? (www.klorofil.org)
    * My php site runs slow on iis6.0. How to make it run faster?
    * Where do I find a usegroup or forum avaiable to help me with a specific PHP problem ??
    * How do I connect and search through multiple MySQL databases for info and then display it?
    * How do I write the HTML TITLE tag to contain the result of an SQL query ?
    * is there any project in related to video conferencing in PHP for open source ?
    * using mail( ) function with error checking but robots are submitting blank emails.
    * How can I convert PHP into executable code to prevent change by user with Windows platform?
    * How can i increase the amount of time php, apache, mssql wait to execute a very large query?
    * I have a problem in uploading the files across the network it dies saying"Page Cannot be Displayed"?
    * is there any jar equivalent of java in PHP??
    * How we open multilple connection with different username, password & different database
    * is it possible to track down all php included/required files.. on a lower level php core, C/C++ api?
    * is it possible to track down all php included/required files.. on a lower level php core, C/C++ api?
    * Apache2,PHP5,WinXP. All php pages show about 1/2 the page when loaded over net, but fully over LAN.
    * Emails not displaying as HTML
    * I currently using the php installation kits,may i know how to upgrade php 4.2.3 to php 4.3.10 or 4.4
    * How do you add actions in php files? Say if I have a horoscope section, but I only want one page...
    * How do you insert multiple values using the same insert statement, especially using hash password
    * How can I set a SESSION <AFTER> i click a link
    * have php got function for static such as mean,sd , kurtosis, skewness , etc.
    * How do I tell php to link two tables in a query so it will return linked data from both tables
    * How can increment my hour to get my local(Singapore) date & time which currently now is USA time ?
    * Can any body tell me how to get exact world time when i pass city id or state id as an argument?
    * How can I make PHP process directives within HTML code that resides in a variable?
    * i uploaded my php page up to the free host but it did not worked help me please
    * i have got free space and i want to publish my php page ..help me please
    * How to access an object reference and its variables present in a Javascript file in a PHP file ?
    * When running command line, php loads GD, yet when apache interprets a php file, GD not loaded...why?
    * Is it possible to use lineair lists with objects in PHP and how.
    * Does PHP support MSSQL linked servers queries? If so, is there any special way of doing this?
    * How can I use Global Variables? So they can be accessed between two or more php files?
    * Can you upload a file using visual basic to a php page
    * Translating the contents of a PHP file in greek and then save as php,it does show ??? .How to solve?
    * How can I call a program(for example C:\Program\DC++\DCPlusPlus.exe) with php?
    * How can I access Apache mod_status variables in php? E.g. number of children serving requests.
    * what does var=<?=$php_var?> mean
    * Why is $mydate = date('Y-m-d H:i:s', strtotime($item['pubdate'])); returning wrong date in PHP5
    * How do I call a COM DLL written in VC 6.0 from PHP 4? Can you provide an example?
    * how to execute a .pl program from php
    * como insertar controles a una celda en ejecucion
    * how can i direct the output of a system command in php into a MySql Database in a php script?
    * How can you compare a number of strings retrieved as a result of an SQL query?
    * it would be helpful if someone knew how to redirect the output from php exec() commands to databases
    * When using echo, why is there a distinction between a single quote and double quote?
    * When I use echo & single quotes to output \n char, it outputs the chars, instead of a newline. Why?
    * I want to get a value of variable in one php file to other php file(only the value of variable)
    * Can I open, show, an existing PDF document being passed to a php page?
    * How can I get PHP to retrieve XML datatype as an XML file from MSSQL 2005
    * How can I find out who is logged onto a particular machine and customize appropriately?
    * How do I call an HTML page into another frame from within my PHP code, without reloading the caller?
    * how to connect to oracle with odbc and aslo code to get result from view table in oracle
    * how to connect to oracle with odbc and aslo code to get result from view table in oracle
    * My php V4.4.2 run as CGI mode on windows server 2003 and i got The specified CGI application
    * How can I get line breaks while passing data separated by enter key from forms elements
    * test if a checkbox is checked with html and php
    * IIS. PHPScripts which grab files on win2k svr get "Permission Denied" with IntAuth. Basic works.Why?
    * how can i save the swf files while use onclick property>
    * how can i save the swf files while use onclick property>
    * How can i display all the rows of the particular table in the browser
    * I want to upload CSV through PHP script and want capibility to match the colums of tables and DB bef
    * can event handling can be done via PHP
    * how check half-byte,single-byte or double byte japanese characters
    * this: financiële rightly en/decoded to financieËle. many words with these characters are wrong
    * How can I enable browser cache when using session?
    * can we use crystal report for report generation in my php application and how?
    * http://www.freelancebusinessman.com/info.php I need someone to explain all this
    * in the user_wellcome.inacktive.tpl is a tag:{WELCOME_MSG} where find i these text, to change this?
    * can you require() a string variable, as if the content of this variable is saved to a file?
    * what does this mean Parse error: parse error, unexpected T_VARIABLE in /home/clanfuzi/public_html/th
    * Can I make an executable binary (elf) file from a php code?
    * through php programming how can i down load a file
    * Can a class determine if it's (public) variables have been changed, and react? If so, how?
    * How do I paginate a search result given as a multi-dimensional array?
    * I m getting error pl. check that oracle_home is set & points to the right directory in my script.
    * How to create form with file attachement using php and action email to me?
    * How to create form with file attachement using php and action email to me?
    * how to fix a problem with $_POST ?
    * Is there a php command to query a host (dom.com) to determine .asp, php or .aspnet. Variable upload
    * I need to create continuous login so after login user can access multiple pages
    * What is the easiest way to transfer a file through PHP?
    * How to transfer a file through php using soap?
    * how do I prevent an email address being stripped by spam spiders
    * What is the syntax for the if/then construct that contains : and ?
    * how to create a directory in dreamweaver using php?
    * How do I connect to an other server using NTLM?
    * How can i store an extended ascii character in a variable?
    * # how can I use php to place a query on another site, then parse results into my results page?
    * how can i search for a querystring on a different page using php?
    * where do i put "-with-mysql=c:\mysql" for php. in the ini file? if so, where?
    * I need help to install php on Apache 2.2?
    * Passing parameters to a function from a link
    * How to do Advanced messaging to mobile phones?
    * How to use echo date("l dS of F Y h:i:s A"); to display a 14 digit timestamp field $r['dstamp']?
    * Is function having similar functionality related to mysql_insert_id in oci?
    * Can a data structure be dumped straight to disk in binary format (ie. without using serialize)
    * Problem with persistent connection and oracle sessions
    * what are the whole process of using upload functiolity when dealing with files in windows
    * Anybody know how to implement a captcha picture in a php form
    * Want to make zip file at serverside for backup,but facing memory limit problem (set at serverside)
    * How to specify query string from the command line php (CLI) ?
    * All of my PHP files show as picture files. How can I change that and what file association should I
    * multiple commands in an if statement
    * how can plugin a RSSFeed into my php code
    * how can plugin a RSSFeeder (ie Reading for RSS contents) into my php code
    * how to auto generate or auto update a record in php
    * how to display data from database in table form at pdf format using php
    * Use mysql database or opendir php function to display images in folder which is better?
    * My server states that I need to run PHP 5.0.0 or higher, how do i update PHP on the hosting server?
    * what is GD is it support image functions in php?
    * How to use the SSL context options capture_peer_cert and capture_peer_cert_chain?
    * How do i insert streaming media into my php-nuke©
    * Is it possible to display a videos file attributes through Php?
    * will PHP 4 works with mySQL 5 and apache on AIX 4.3?
    * how do i create a php script that i can install onto my webspace to give me the Base directory
    * how can i call c extension dll from php script . i want to run it on apache 2.Warning: dl() [functio
    * On web site text for Spanish is coming out wrong, ie. ba&#258;&#261;os should be baños http://71.18.137.151/
    * Why is server downloading index.php instad of displaying it?
    * How can you run a function by clicking on a graphic?
    * Can anyone tell me what is this "->" symbol? i see it so many times.
    * How would I merge two felds and show a quantity after the element
    * Is it possible to use PHP to convert Word Documents to HTML and output the result?
    * How can I echo the request body at the server in a php script, which came with post method.
    * how do i avoid the opening of an intermediate page without the authentication? can i use sessions?
    * [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. Fix???
    * How do I capture the AD login name in my script for authentication
    * registration to a lan party: name& nick in site -from where? come with adult? bring your pc?
    * How to link webcam to php script? Library file need to install? Statement to show the interface
    * Are there any browser settings that could affect session variables?
    * Why am I getting "111 Connection Refused" when doing a PHP fsockopen() request to smpt-mx8.mac.com?
    * What system information can I get from php.(platform independent)
    * I want to put an URL link to CLICK HERE IN: echo "Click here". HOW TO DO?
    * how to make a popup window that have form inside and will close it after the form submit?
    * how to delete record when we tick it checkbox?
    * Why can't a website be opened from an array?
    * Is there an equivalent in php for ASP's "session_on_start" and "session_on_end" events?
    * CURLOPT_RETURNTRANSFER
    * I wrote a simple servet TCP.... I used telnet ip port to connect it... but socket_read doesn't work
    * even we are having different web scripting.how it is has become popular
    * HOW CAN I VIEW PHP FILES ON MY WINDOWS XP COMPUTER
    * What function should I use to fill an array with file names from a directory?
    * refresh button it adds another quantit
    * basename issues - need to echo query url as well - index.php?id=3 etc
    * how do I find the mod_php.conf file for Novell Netware 6.5
    * what text goes into the mod_php.conf file to make it work
    * what are the differences between pecl and pear?
    * Having to use <?php instead of just <? how can i just use <? ?
    * Can I use a function instead of a separate file(php) to return an Image blob to an HTML <img> tag?
    * how do i get part after # sign of url, like http://example.com/page.php?var1=xxx&var2=yyy#abcd.
    * what is the full form of php and how we'll use it for web pages.
    * what is the full form of php and how we'll use it for web pages.
    * how can i validate an xml document vs an xdr schema using domxml?
    * How do I configure Oracle HTTP Server (Apache) for PHP? Example?
    * How do you go about setting univeral variables? Example: != "(U*)" where * could be anything.
    * how we can parse HTML files from another site and extract information to store it
    * Can i call a PHP script which sits below public_html with another PHP script from within public_html
    * Can i call a PHP script which sits below public_html with another PHP script from within public_html
    * How to transform the long raw field of a oracle table to a jpg type? I have photo stored in it.
    * Get this error...does anyone have any ideas [Thu Nov 23 21:59:21 2006] [error] PHP Warning: require
    * what is the speacial features in PHP compare to other languages?
    * I need to delete a tag and all child tags from an XML file using PHP. How do I go about ?
    * Was Bug #37483 ever resolved?
    * How can i make a script in PHP to automatically send an email to a user who has just registered?
    * eval( ) function error, template error how can i solve this error
    * GD library - is TGA file format supported? If not, is there a library that does support?
    * how i can i install ffmpeg on windows
    * parse error, unexpected $end in \Apache Group\Apache2\htdocs\ScopeDemo.php on line 35
    * How can I hide the name of a file when passing a session?
    * Why do I see the content of the compiled script instead of the script executing, IIS 5.1?
    * Why do I see the content of the compiled script instead of the script executing, IIS 5.1?
    * Was Bug #37483 ever resolved? If so, what is the fix?
    * how to install horde in user directory another then the web server root directory?
    * Please recommend websites for PHP Freelancing. Thanks in advance.
    * How can I extract xml information from a email folder, then display it onto a web page using php? ch
    * I want to install my app in another server, but don't want to leave de source code there, what 2 do?
    * What are all the changes between PHP 4.4 and 5.1?
    * How to use PHP to strip out character \ from the data entered by user from web form?
    * when submit textarea value with quotes are replaced with \' how to change it?
    * utf-8 cvs files download
    * How do i convert htmlentities to Hex Entities like &#x20AC; (euro sign) instead of &euro; ?
    * how can i run a php script with closing the browser?
    * how to insert images in ms access using oledb extension
    * i want the php program logic for decimal to hexadecimal conversion
    * i want the php program logic for decimal to hexadecimal conversion
    * Server Upgrade: I am going to be upgrading my Win2k Server to Win2k3..anything to watch out for?
    * to send email from local system connected via broadband to yahoo accounts
    * <A HREF="http://www.aldeadelcafe.com"> WWW.ALDEADELCAFE.COM</A>
    * Is anyone else having issues getting PHP 5.2.0 and Apache 2.2.3 to work together?
    * how can we show records at the time of delete confirmation while using delete button
    * How do get the currently running webserver's information using php?
    * Why is it that PHP does not allow the the first character of a label (variable name) to be a digit?
    * how do i compare 2 string variables in php 4.3.10?
    * what is the script for conducting a chat room with enabled privacy between users?
    * Does anyone know how to set up a php server on a windows vista platform?
    * Does anyone know how to set up php in ISS for windows vista?
    * In linux system what is the specific entry for session? I have problem in incrementing Session var?
    * i setup root admin as administrator and i cant get root admin back
    * I setup php5 and IIS on xp it running but does not give me any error message give blank page
    * how to modify the order of precedence in an expression
    * is there any think like sstab control in vb for php
    * i m new to php. how to connect oracle d/b with php?? plzz help m stuck
    * whn i m send a data frm one page to othr by "get" method.data coming in url with a blank pg.. help
    * what is this Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for ?
    * statement 'switch' for multiple include.are they(all include file write down) load all?
    * when using the system() command how do you make it able to use CTRL key combinations
    * high session data
    * session
    * Can I login to another site from my project without entering Username & password. Is there any way t
    * I have a script that checks the server up time, However it only show text , How can i show a .gif ?
    * How do I upload, resized and strore a picture with the new reduced size in a databse?
    * how can i set url like www.yoursite.com/member to view details of member from db
    * When my form is submitted successfully I want to redirect users to a 'thank-you' page. All in PHP.
    * Output browser contents that are displayed as text from a url to txt file, How ?
    * If I fork a child how do I pass information back to an array I have defined in the parent?
    * How Can I Use Light Pen In PHP for example for signature?
    * The session_start is not working in PHP 5.2.1.
    * PHP CONNECT TO ODBC (DB2 ON AS400) TRUNCATE WORDS WITH ACCENT, HOW CAN I FIX THIS???????
    * How can I extract the width and height of a .flv file using PHP?
    * How can a web server have its own php.ini on each domain?
    * Can "elseif" statements be applied to dynamic text fields?
    * i want my users to have a personal photo gallery and browse other user, how do i do that ?
    * how do i create a user page so that they can upload photos and let people browse them ?? HELP PLEASE
    * when upload runs gave file not specify error
    * How to consume web services through SOAP or NUSOAP protocal?
    * --enable-debug
    * MSDE
    * I have problem with header coding for IE browser. My code is export the data to excel.
    * failing to create COM object in windows2003 server
    * retrive data to publish particular information using session id
    * if i click a radio button it should insert teh values of the fields in the from in a table
    * What is the difference between echo & print?
    * Why don't I use htmlentities funtion? .
    * how to increase session expiry in php through htaccess or iniset
    * ii7 install
    * install php vista iis7
    * how to implement validator field in php like asp.net
    * I'm using PHP5.0.5 on Novell. I'm getting a "Call to undefined function simplexml_load_file()".
    * What is major diffrence between php4 and php5?
    * How to store the Search results of a search Engine?
    * browser window size
    * Is there a method in php for data streaming of large documents in chunks in a php web service
    * how can i restrict the user to upload a specific extension files and the size of their upload?
    * How does one export BLOG type data from MySQL to display as images in excel?
    * Do you know any (really) working example of a soap (wsdl based) server implementation with PHP5 ?
    * How we can make a printscreen(image) from a web page?Please suggest.
    * how can i call txt files (with http links and titles) from php, so I can change this file often.
    * how to divide the PHP concepts; which are most valuable?
    * how to divide the PHP concepts; which are most valuable?
    * how to pass php array into javascript for validation??
    * ffmpeg with php not working using IIS/6.0 server in windows NT system.
    * how do i send mail through the mail function of php in zend, each and every try i had was fail
    * How I can give access to my friend to some page for limit time? I store the date in database
    * How do I execute code that includes two classes with the same name from different libraries?
    * upload files
    * How do i put a checkbox for usernames retrieved from the database and to display in the next page?
    * How to write an array result to a comma separated txt file?
    * how to store the form data in the database after submitting the form ,by using PHP5.2, MSACCESS,IIS
    * how to change name of file\path
    * call a oracle procedure with PHP
    * How do I build PHP scripts and include it in a nightly build process
    * What is difference between the copy and move_uploaded_file
    * Website I've taken over has files ending in ".phtml"
    * Can I write a PHP script to load random external images?
    * how to integrate more than one URL in IE
    * How can I implement a php wrapper which checks if a user is logged in and secures my html files?
    * how to print data from database pressing print button on the page?
    * I have a form that makes a file, 'output.txt'. how do I have following submissons add onto file
    * Netscape & mozilla i am unable to open a pdf it shows an alert "This operation is not allowed"

c