Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help newbie.......

Status
Not open for further replies.

Yazeed

Technical User
Apr 23, 2001
1
ZA
Hi.
I wanted to simulate the way my pages would look before I put them on a server so I installed Apache and actve perl to locally host the pages and setup CGI scripts so I can access it as I would on the net. I'm using Win ME, and succesfully access my site as
I have been running simple cgi scripts with success by replacing (#!/usr/bin/perl) with (#!C:\Perl\bin\perl.exe) but the more complicated scripts that require me doing (chmod and similar commands on directories or files) don't work. How do I run those commands.

also there are a few things I'm having trouble with.

1. I can't FTP to my site.
2. How do I run commands like (whereis sendmail or which perl).
3. Whats the default username and password for ftp or telnet.
4. How do I telnet to localhost.

thanks
 
Windows machines do not support chmod, it is exclusive to the *nix community, so that is why you will not find out how to chmod your scripts.

What do you mean more complicated and less complicated scripts? I would imagine that the Perl interpreter doesn't care how complicated your scripts are, just as long as they are syntactically correct.

Again, in regards to whereis sendmail or which perl, you will only find that in Linux, not on the Windows machines.

Sendmail does not come installed on Windows machines, you would have to download it and install it yourself.

Why would you want to do a which perl if you know where it is located?

There is no such thing a default user name and password for telnet or ftp.

You have to log into a site either by being anonymous or have a username and password as having either POP3, or FTP or something to that nature capabilities.

I think that should answer all of your questions.

Hope this helps,

-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top