<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Thanks to <TT>Gentgeen</TT> for suggesting looking at phpSANE and <TT>Jon Spriggs</TT> for the various suggestions on how to get it working. <BR>
<BR>
It is such a simple idea and now that I have it working it works great.<BR>
<BR>
I changed lots of bits and pieces but I think my problem was something to do with settings in apache in the end. It started working when I set a server name. I did the suid root thing as well.<BR>
<BR>
jh<BR>
Ireland<BR>
<BR>
<BR>
<TT>>Here's some stuff to try.</TT><BR>
<BR>
<TT>>1) Set a password on the Apache user (once you've done your testing,</TT><BR>
<TT>>you should edit the /etc/passwd file and replace the ! with a *). Log</TT><BR>
<TT>>in as apache, then run scanimage, and see what errors (if any) you</TT><BR>
<TT>>get.</TT><BR>
<BR>
<TT>>2) If that works OK, then it might be an issue with the temp folders</TT><BR>
<TT>>that it's writing to. Have a read through of the script file that</TT><BR>
<TT>>actually scans the image, and see where it's writing the file to. If</TT><BR>
<TT>>it's somewhere obvious, check the permissions to that location. With</TT><BR>
<TT>>your logged in user, try creating a file in that path.</TT><BR>
<BR>
<TT>>3) If all else still fails, lookup how to make a file suid root. It</TT><BR>
<TT>>should be fairly straight forwards (Remember - Google is your friend!</TT><BR>
<TT>>:) ) so check it out and then try running it up again. If it still</TT><BR>
<TT>>doesn't work, then you've got problems that you should probably</TT><BR>
<TT>>address with the script author!</TT><BR>
<BR>
<TT>>Hope that helps :)</TT><BR>
<BR>
<TT>>Jon "The Nice Guy"</TT><BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
_____<BR>
jh<BR>
jh@clongowes.net
</TD>
</TR>
</TABLE>
</BODY>
</HTML>