[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
urgent help needed - this script does not chdir
- Subject: urgent help needed - this script does not chdir
- Date: Mon, 15 Jan 2007 00:15:41 +0530
- From: "abhishek jain" <suppressed>
Hi,
I am new to modperl and needs help, i have a script which works fine in non-modperl enviornment but when i include in modperl::registry then mine scripts when invoked via a browser finds itself in / directory i mean the file or script do not include the files with the require command i mean the relative path it cannot understand.
Additionally when i give this block,
BEGIN{
chdir('/home/absolute/directory');
};
then the script will run fine for some time and not fine i mean will give error on including a function in a library included by require.
Pl. help me , i need a sol urgently ,
thanks ,
Abhsihek jain
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.