When I do ls - l it gives give me lgranito as the owner of the file rather than the root. The $startscript variable is the path to this file. I was expecting the variable $fileowner to output lgranito. Could u please let me know what I am doing wrong here...
thanks
Mallu
Search found 9 matches
- Wed Aug 27, 2003 2:51 pm
- Forum: PHP - Code
- Topic: file info
- Replies: 4
- Views: 436
$fileowner is alwys giving me root
Thanks for your help
mallu
Thanks for your help
mallu
Code: Select all
$startscript = $froot.$fdir.$ffile;
$fileowneruid=fileowner($startscript);
$fileownerarray=posix_getpwuid($fileownerid);
$fileowner=$fileownerarrayї'name'];- Wed Aug 27, 2003 10:27 am
- Forum: PHP - Code
- Topic: onmouseover
- Replies: 6
- Views: 531
- Wed Aug 27, 2003 10:08 am
- Forum: PHP - Code
- Topic: onmouseover
- Replies: 6
- Views: 531
- Wed Aug 27, 2003 9:51 am
- Forum: PHP - Code
- Topic: onmouseover
- Replies: 6
- Views: 531
onmouseover
Hi there: I have been trying to use onmouseover since yesterday and its driving me nuts. Any help on this will be much appreciated... Thanks Biju <SCRIPT language="JavaScript"> function movepic(img_name,img_src) { documentїimg_name].src=img_src; } </SCRIPT> <? p...
- Tue Aug 26, 2003 1:29 pm
- Forum: PHP - Code
- Topic: file info
- Replies: 4
- Views: 436
file info
Hi there:
How do i get the last modified date and the owner of a selected file..?
Thanks
mallu
How do i get the last modified date and the owner of a selected file..?
Thanks
mallu
- Tue Aug 26, 2003 1:26 pm
- Forum: PHP - Code
- Topic: clickable directory listing in HTML
- Replies: 4
- Views: 928
- Thu Aug 21, 2003 11:44 am
- Forum: PHP - Code
- Topic: clickable directory listing in HTML
- Replies: 4
- Views: 928
Thanks Mark.... but I needed a funtion that is recursive - like the diplay in windows file explorer - where it shows all the directorys from the root - when a directory is clicked it expands and shows the contents of that directory as well as the contents of the parent directory too - maintaing the ...
- Thu Aug 21, 2003 10:32 am
- Forum: PHP - Code
- Topic: clickable directory listing in HTML
- Replies: 4
- Views: 928
clickable directory listing in HTML
Hi there: Here is the code for listing the directory - but would like to expand each directory only when clicked Any help on this will be much aprreciated Thanks Biju <? function directory_tree($address){ $exts = array("vbs", "js"); $dir = opendir($address); if(!$dir){ return 0; ...