$dateprogram - definition

They have: 66 posts

Joined: Apr 1999

Got a relatively simple question...

I am using an online forum and I got it working fine!
However, I have: $dateprogram within the cgi script and this is what the statement says in it's entirety:
$dateprogram = "/bin/date";

Can someone tell me where the "date program" is? Should I just set the path to the default where the site is located?

Any opinions would be appreciated Smiling
Thanks
Shpek

They have: 5,633 posts

Joined: Jan 1970

"/bin/date" has to be changed to the actual path on your server.
telnet the server and type the command "which date", this will give you the full path to the date-program Smiling
cu
patrick

They have: 66 posts

Joined: Apr 1999

Hey Pat...

I'm using WSFTP. Should the path include up and through the cgi bin? Where on WSFTP can I find the date program? Or can I ?

Thanks
Shpek

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.