Re: How config attachment_doc plugin under IIS server on W2003

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Tomas Kuliavas wrote:
> 
> 
> Put pdftohtml.exe in PATH and you won't have to use full path.
> 
> $pdftohtmlcmd = "pdftohtml.exe -q -c -noframes $dirname/$pdfname
> $dirname/$htmlname";
> 
> or 
> 
> $pdftohtmlcmd = "d:/posta/pdftohtml/pdftohtml.exe -q -c -noframes
> $dirname/$pdfname $dirname/$htmlname";
> 
> When paths are used in Windows PHP, slash can be used instead of forward
> slash. Problem can happen only in program arguments. If you still want to
> use forward slash or pdftohtml.exe allows only forward slashes in
> arguments, you should remember that it is used as escape symbol in PHP
> scripts. Every time you use \ in PHP string, you must add second \ in
> order to make sure that forward slash is treated as forward slash and not
> as escape.
> 
> $pdftohtmlcmd = "d:\\posta\\pdftohtml\\pdftohtml.exe -q -c -noframes
> d:\\squirrelmail\\plugins\\attachment_doc\\tmp\\$pdfname
> d:\\squirrelmail\\plugins\\attachment_doc\\tmp\\$htmlname";
> 
> Currently I can't test it. Let me know if any of above solves your
> problem. Replace 'd:\\squirrelmail' with correct path to your SquirrelMail
> install.
> 
> -- 
> Tomas
> 

Many thanks, but the plugin don't seem work in every condition that you
indicate and that I tried...

in the tmp directory (empty) anything appear, so the error will be in
another part of code, maybe... 

the result is always the same:  error.html showed (located in
../plugins/attachment_doc/includes)

may I ask you  some suggestions in more?
Ideas?

best regards
giordan
-- 
View this message in context: http://old.nabble.com/How-config-attachment_doc-plugin-under-IIS-server-on-W2003-tp30453756p30471757.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux