05-27-2013
i ask you to check below few things:
"C:\\Program Files\\Apache Software Foundation\\Apache2.2\\reports\\";
"c:/Program Files/Apache Software Foundation/Apache2.2/Reports/";
* check the // \ in the above path names.
open(DLFILE, "<$files_location/$ID") || Error('open', 'file');
@fileholder = <DLFILE>;
*Check the above line once wat is the acutal o/p?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey.. found out what was wrong. didnt have Read permission of the file for others LOL. But yeah the C version of it, why does it work in Netscape and not IE?
primal
-----
Hey everyone!
Has anyone run into this before...
I'm creating a UNIX CGI program that will parse $QUERY_STRING and save... (1 Reply)
Discussion started by: primal
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
I run on a Unix webserver at my university. I have a couple of *.inc files which are include files used for php.
They are all in one folder without an index file. If you go to the folder, you get to see a list of files in that dir.
Some of the .inc have a question mark icon next to... (3 Replies)
Discussion started by: aqh2
3 Replies
3. Shell Programming and Scripting
There is a web API https://pi.ercot.com/contentproxy/publicList?folder_id=10001937
As soon as this is fired on the browser a page comes in which many files are listed for downloads
I want to download all the files ....is it possible to write a shell script which can download the files (1 Reply)
Discussion started by: viv1
1 Replies
4. Shell Programming and Scripting
hi
plz help me in sending a mail with some data in body and an attachment as some txt file.
currently i am able to send mail with some body content, i need an example how to send the same along with attachment.
thanks in advance
-bali (2 Replies)
Discussion started by: balireddy_77
2 Replies
5. Shell Programming and Scripting
I have a shell script that takes a file and uses "syncsort" to sort contents.
I want to add a condition to check whether the input file is textual or binary format. If textual, the "syncsort" will be used to sort the files contents. Otherwise, the sorting process will be skipped.
Note that the... (3 Replies)
Discussion started by: synthea
3 Replies
6. Shell Programming and Scripting
Input file:
>TRACK: Position: 1 TYPE: 1 Pos:
SVAVPQRHHPGGTVFREPIIIPAIPRLVPGWNKPIIIGRHAFGDQYRATDRVIPGPGKLE
LVYTPVNGEPETVKVYDFQGGGIAQTQYNTDESIRGFAHASFQMALLKGLPLYMSTKNTI
LKRYDGRFKDIFQEIYESTYQKDFEAKNLWYEHRLIDDMVAQMIKSEGGFVMALKNYDGD
>TRACK: Position: 1 TYPE: 2 Pos:
FAHASFQMALLKGLPLYMS... (8 Replies)
Discussion started by: patrick87
8 Replies
7. Shell Programming and Scripting
I am limited to using only libraries that come with the default install of ActivePerl. I'd like to be able to determine the content type of a file on the fly. I thought CGI.pm might do it, but it looks a little weird to me from the perldoc. If someone has a quick way to determine the type of... (4 Replies)
Discussion started by: mrwatkin
4 Replies
8. Shell Programming and Scripting
Hi,
I'm facing a problem in mailing attachments using uuencode in mailx.
I got to attach a couple of flatfiles. I'm able to attach and mail the files successfully.
But there is a problem in the format of the flatfiles when they are received as an attachemnt.
For Example :
Consider... (0 Replies)
Discussion started by: Sindhuap
0 Replies
9. Shell Programming and Scripting
Hi All,
I want to send the csv to an email address.
I have tried the below two approaches.
Approach1: Got error -ksh: uuencode: not found
$ uuencode test_file.csv test_file.csv | mailx -s "Attaching test" msdc.kiran@gmail.com </usr/home/test_file.csv
-ksh: uuencode: not found
Approach2:... (6 Replies)
Discussion started by: ROCK_PLSQL
6 Replies
10. Shell Programming and Scripting
Hi, Please see my code below i'm trying get an email send with attachment and html content in the body.
Using the code below will put the encoding for attachment in the body as well
SUBJECT="$(echo "XPI Monitoring "${tcnt}" transactions waiting \nContent-Type: text/html")"
cat... (3 Replies)
Discussion started by: bhoshan
3 Replies
LEARN ABOUT OSX
apache2::connectionutil
apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::ApacUser:Contribapache_mod_perl-108~358::mod_perl-2.0.7::docs::api::Apache2::ConnectionUtil(3)
NAME
Apache2::ConnectionUtil - Perl API for Apache connection utils
Synopsis
use Apache2::Connection ();
use Apache2::ConnectionUtil ();
use Apache2::RequestRec ();
# grab the connection object;
my $c = $r->connection;
# share perl objects like $r->pnotes
$old_val = $c->pnotes($key => $value);
Description
"Apache2::ConnectionUtil" provides the Apache connection record object utilities API.
API
"Apache2::ConnectionUtil" provides the following functions and/or methods:
"pnotes"
Share Perl variables between requests over the lifetime of the connection.
$old_val = $c->pnotes($key => $val);
$val = $c->pnotes($key);
$hash_ref = $c->pnotes();
obj: $c ( "Apache2::Connection object" )
opt arg1: $key ( string )
A key value
opt arg2: $val ( SCALAR )
Any scalar value (e.g. a reference to an array)
ret: (3 different possible values)
if both, $key and $val are passed the previous value for $key is returned if such existed, otherwise undef is returned.
if only $key is passed, the current value for the given key is returned.
if no arguments are passed, a hash reference is returned, which can then be directly accessed without going through the "pnotes()"
interface.
since: 2.0.3
See ("Apache2::RequestUtil::pnotes") for the details of the "pnotes" method usage. The usage is identical except for a few differences.
First is the use of $c instead of $r as the invocant. The second is that the the data persists for the lifetime of the connection instead
of the lifetime of the request. If the connection is lost, so is the data stored in "pnotes".
See Also
Apache2::Connection.
Apache2::RequestUtil::pnotes.
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.16.2 apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::Apache2::ConnectionUtil(3)