Hi Martin,
"Martin Stepanek" <Martin@image-technology.com> wrote in
news:492FA293.0E3A.006C.0@image-technology.com:
> Hi Folks, hoping someone here can give us direction to get a
> simple little php script to work.
>
> We downloaded the freebe FormToEmail.php script and a contact
> form. Short is, it doesn't want to work on our Netware OES /
> NW65sp7 installation with PHP 5.0.3 install. E-mail seems to be
I hope you mean PHP 5.0.5 which is what SP7 comes with....
> enabled in the php.ini file with the defaults of "localhost" and
> port 25. I can telnet to the mail server on the localhost and send
> a test e-mail that way successfully but when running the script it
> never contacts the GWIA at all.
you need to set the 'sendmail_from' to soemthing.
> Second issue;
>
> We put a script into certain webpages that searches the content of
> directory folders and lists the contained documents on the web
> page. Problem is the script reports the size of the files as zero
> bytes and the date modified as Dec 12, 1969 even if they are two
> days old. This same script works on other installations just not
> on Netware installations.
definetely not true: I tested the script on Linux, and it does NOT work!
The script is way too complex (and NOT simple!) for just a simple directory
listing, and therefore I've no mood to check where its actually buggy (unless
someone pays me for that, smile).
go here onto my site and fetch this script which is _really_ simple:
http://www.gknw.net/php/phpscripts/showdir2.php
for testing call it f.e. with parameter for actual dir:
http://your.server/somehwere/showdir2.php?dir=.
which shows you that NetWare does right and shows mtime correctly for files and
folders; and my script works unmodified on all platforms....
greetz, Günter.