01-13-2007
web page now downloads instead of loading
Anybody know why a page comes up download instead of loading and showing, its the index.php page, used to work!
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I built my website based on Dreamweaver, on Windows platform. My server uses Unix, and the page doesn't look too good. Is there any way to solve this problem without too much of a headache? (1 Reply)
Discussion started by: PCL
1 Replies
2. UNIX for Dummies Questions & Answers
Hey im new to unix!
I am tryin to create a web page in unix and have done it all but when i try and load it it says permission denied!?>
i have chmod a+rx for folder and file to make sure but still permissions wont let me?!
any ideas can anyone do a quick run through of how to make a web page... (4 Replies)
Discussion started by: shashora
4 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page.
Thanks
Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies
4. UNIX for Dummies Questions & Answers
hey uhh this is my first post and i was wondering
how do i make a web page for like a small business or something
anything will help
thanks (3 Replies)
Discussion started by: Neil Peart
3 Replies
5. Shell Programming and Scripting
Hi all,
I am having an XML file.
And as per requirement I need to map fields of this file with various field of web page.
So how can I use wput command into it ?
Regards,
gander_ss (3 Replies)
Discussion started by: gander_ss
3 Replies
6. Shell Programming and Scripting
I m trying to throw back html page when a file is found.While throwing back html page, the background image is not coming. I am using Apache server.Please suggest how to resolve...
#!/bin/ksh
echo -e "Content-type: text/html\n\n"
echo "<html><head></head><body background=\"/asc/ppp.jpg\">"... (10 Replies)
Discussion started by: ravi18s
10 Replies
7. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
8. Web Development
Hi,
I am new to PHP and at first got a task where I need some clues and help.
So I am here.. The server is build to provide customized access for modules
as per location. If client location is US then it shows modules and pages
specific to US and if location is UK then it shows UK specific... (1 Reply)
Discussion started by: zing_foru
1 Replies
9. AIX
Until 1 month ago i can download from webpack site
without problems
Now i go,enter my working id and pass..
and tell me
We are sorry. There are no ibm.com accounts associated with the IBM ID and/or password entered. Some possible reasons are:
You may have typed the wrong password
... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
10. What is on Your Mind?
Should have done this 10 years ago, so better late than never:
Just added a "loading" animation to the the man page repositories when they load, especially since some are very large and take many seconds to load.
See for example:
https://www.unix.com/man-page-opensolaris-repository.php
... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT PHP
phar.setmetadata
PHAR.SETMETADATA(3) 1 PHAR.SETMETADATA(3)
Phar::setMetadata - Sets phar archive meta-data
SYNOPSIS
public void Phar::setMetadata (mixed $metadata)
DESCRIPTION
Note
This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException
will be thrown.
Phar.setMetadata(3) should be used to store customized data that describes something about the phar archive as a complete entity. PharFile-
Info.setMetadata(3) should be used for file-specific meta-data. Meta-data can slow down the performance of loading a phar archive if the
data is large.
Some possible uses for meta-data include specifying which file within the archive should be used to bootstrap the archive, or the location
of a file manifest like PEAR's package.xml file. However, any useful data that describes the phar archive may be stored.
PARAMETERS
o $metadata
- Any PHP variable containing information to store that describes the phar archive
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
A Phar.setMetadata(3) example
<?php
// make sure it doesn't exist
@unlink('brandnewphar.phar');
try {
$p = new Phar(dirname(__FILE__) . '/brandnewphar.phar', 0, 'brandnewphar.phar');
$p['file.php'] = '<?php echo "hello"';
$p->setMetadata(array('bootstrap' => 'file.php'));
var_dump($p->getMetadata());
} catch (Exception $e) {
echo 'Could not create and/or modify phar:', $e;
}
?>
The above example will output:
array(1) {
["bootstrap"]=>
string(8) "file.php"
}
SEE ALSO
Phar.getMetadata(3), Phar.delMetadata(3), Phar.hasMetadata(3).
PHP Documentation Group PHAR.SETMETADATA(3)