Re: Directory structure

2002-12-21 Thread Wiggins d'Anconia
I couldn't tell if you meant create a list of all directories, or create 
a replication of all directories.  You should check out:

perldoc File::Find
perldoc File::Path

To see if they contain what you are after.

http://danconia.org

[EMAIL PROTECTED] wrote:
Hi all,


Is there a way to have my script create a list of all the directories and 
files on my server from my root directory down?

Thanks 
Ambrose



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Directory structure

2002-12-21 Thread Ambrose007
Hi all,


Is there a way to have my script create a list of all the directories and 
files on my server from my root directory down?

Thanks 
Ambrose



Re: broadcast photo on other site not by up load

2002-12-21 Thread eric lin

Dear Zentara:

  Now I am in linux again,
I did /usr/bin/perl  /usr/lib/cgi-bin/showphoto.pl > mytestout.jpg
then at netscape 7 's url type /home/fsshl/mytestout.jpg

it showed
---
The image "file:///home/fsshl/mytestout.jpg" cannot be displayed, 
because it contains errors




some body in perl-app mailing list told me they have a code did success 
broadcast by  Mac OSX perl 5.6.0 (ugh)


as show photo on other's site without download or any bottom click's 
hyperlink, but it now is so common, my site's counting banner is one 
example, a lots lists in ebay aution-computer product aution bidding P4
are another example , otherwise they can not have so flexible graphic 
page design just rely on 6 photo upload in ebay.

regard Eric-drop me a note if you can discover how to





Sorry, but it's hard to say what exactly your problem is, especially
because I don't use windows and don't know the peculiarities of
your windows apache server.
My suggestion is to work thru it step by step, until you
see where the problem is.
The first step is to get your script to output the image to
it's STDOUT. In other words, you should be able to do
"showphoto.pl > mytestout.jpg" and you should get
a good photo out.
Then you want to put it in your cgi-bin and try to
see where apache is messing up outputting the
photo. 
It usually ends up being something very simple,
which you are overlooking.





--
Sincere Eric
www.linuxspice.com
linux pc for sale


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: broadcast photo on other site not by up load

2002-12-21 Thread zentara
On Fri, 13 Dec 2002 13:55:50 -0700, [EMAIL PROTECTED] (Eric) wrote:

>Dear Zentara:
>
>  I copy that piece of code and paste in my showphoto.pl in
>C:\apache2\cgi-bin\
>but it still not show any photo
>attach my showphoto.pl
>please help again

Sorry, but it's hard to say what exactly your problem is, especially
because I don't use windows and don't know the peculiarities of
your windows apache server.
My suggestion is to work thru it step by step, until you
see where the problem is.
The first step is to get your script to output the image to
it's STDOUT. In other words, you should be able to do
"showphoto.pl > mytestout.jpg" and you should get
a good photo out.
Then you want to put it in your cgi-bin and try to
see where apache is messing up outputting the
photo. 
It usually ends up being something very simple,
which you are overlooking.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]