05-26-2008
maybe PHP is not configured properly/too strict
safe mode ON, open_basedir restriction, something like that
i had strange blank screens from these causes earlier
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have a problem on a Sparc Ultra 5 box when installing solaris.
We boot from the CD-ROM then go through the install procedure adding IP address, domain, routing details, hard disk layout etc.. The problem arises when asked for the 2nd CD at this point you do get the option to "skip"... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
2. Programming
Gday all
In a program I am designing, I am using opendir() to test whether entries under a certain directory are sub-directories or not. This method works fine for the directory itself (.) and the parent directory (..), however it does not work for any sub-directories I manually create.
i.e.... (5 Replies)
Discussion started by: JamesGoh
5 Replies
3. Shell Programming and Scripting
Hi Friends,
I tried to mail from my sun solaris 5.8 by:
$mailx -v sridha_151086@yahoo.co.in
Subject: Test mail
This is the test mail!!
.
EOT
The error message I got is:
land% Sri... forward: /export/home/Sri/.forward.+: World writable directory
Sri... forward:... (1 Reply)
Discussion started by: sridharnr
1 Replies
4. Solaris
Dear All,
I installed the Solaris 2.10 (05/09) download on a Sparc platform, and wanted to configure the network time protocol daemon (xNTPD) to work as an NTP client.
Of course there are many web sites that trumpet the advise to simply copy the ntp.client file to the ntp.conf file, and then... (2 Replies)
Discussion started by: iic1tls
2 Replies
5. Solaris
Hello Community.
I had installed solaris 5.10 OS on an X86 server using a custom-jumpstart installation program and it was performed successfully.
Due to some issues, i had to go for reinstallation using the same jumpstart but this time it failed giving below error.
Starting Solaris... (1 Reply)
Discussion started by: mystition
1 Replies
6. Solaris
SUNW, Sun Fire V240 Spare
Sun OS Release 5.9
After a power failure
we try to start the server
We have the following messages:
Thanks for your assistance (7 Replies)
Discussion started by: doudou2012
7 Replies
7. Programming
code:
#include<iostream>
#include <dirent.h>
using namespace std;
int main()
{
DIR*dir;
dir = opendir("/");
if (dir !=NULL)
{
struct dirent * abcd;
while ((abcd=readdir (dir))!=NULL)
{
cout << abcd -> d_name;
}
}}
output : this gives the output of Directory "/"
ques : (1 Reply)
Discussion started by: console
1 Replies
8. Homework & Coursework Questions
code:
#include<iostream>
#include <dirent.h>
using namespace std;
int main()
{
DIR*dir;
dir = opendir("/");
if (dir !=NULL)
{
struct dirent * abcd;
while ((abcd=readdir (dir))!=NULL)
{
cout << abcd -> d_name;
}
}}
output : this gives the output of Directory "/"
ques : (1 Reply)
Discussion started by: console
1 Replies
LEARN ABOUT PHP
apache_response_headers
APACHE_RESPONSE_HEADERS(3) 1 APACHE_RESPONSE_HEADERS(3)
apache_response_headers - Fetch all HTTP response headers
SYNOPSIS
array apache_response_headers (void )
DESCRIPTION
Fetch all HTTP response headers.
RETURN VALUES
An array of all Apache response headers on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.7 | |
| | |
| | This function became available in the CLI |
| | server. |
| | |
| 5.4.0 | |
| | |
| | This function became available under FastCGI. |
| | Previously, it was supported when PHP was |
| | installed as an Apache module or by the NSAPI |
| | server module in Netscape/iPlanet/SunONE web- |
| | servers. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
apache_response_headers(3) example
<?php
print_r(apache_response_headers());
?>
The above example will output something similar to:
Array
(
[Accept-Ranges] => bytes
[X-Powered-By] => PHP/4.3.8
)
SEE ALSO
apache_request_headers(3), headers_sent(3), headers_list(3).
PHP Documentation Group APACHE_RESPONSE_HEADERS(3)