⑴ 在linux apache php环境下,如何配置php的openssl模块各位高手快显显神通吧
回答不了你。只是说说我的经验,看看有没有帮助。openssl编译有些麻烦。最好用别人编译好的,直接安装。不管是centos, ubuntu, 还是freebsd都可以找到别人编译好的openssl库。安装上就可以了。然后是apache2, 也可找支持openssl的版本,直接安装。自己编译也可以,不过相当的麻烦。这样其实已经支持SSL了。
php不需要支持openssl,apache+php,只要apache支持了。打开43端口,在虚拟主机里设置43的虚拟主机就可以支持ssl。在虚拟主机里配置上php的连接方式。
tls是openssl中加密协议的一种。应该至少还有另外的两种。
⑵ ubuntu8.04下面的codeblocks配置方法
1.在ubuntu上codeblocks全步骤
http://hi..com/%C0%C7%CD%F5/blog/item/467da7862b39333c67096e82.html
2.Windows下配置CodeBlocks+dmd进行D编程(完整版)
http://hi..com/zhuzhenping/blog/item/4c3e5a597db2fa282834f0d2.html
3.在ubuntu下编译codeblocks svn版本
http://www.linuxdiyf.com/viewarticle.php?id=72109
4.这个是7.0的你可以参考一下
http://tgh728.blog.163.com/blog/static/26698622007111495951789/
⑶ Delphi里使用QuickReport双面打印时头尾方向相反
俺是楼主的小号,感谢CSDN的牛人,QrPrntr.PAS,其中修改DevMode^.dmDuplex的值。 windows的定义
Delphi(Pascal) code
{$EXTERNALSYM DMDUP_SIMPLEX}
DMDUP_SIMPLEX = 1;
{$EXTERNALSYM DMDUP_VERTICAL}
DMDUP_VERTICAL = 2;
{$EXTERNALSYM DMDUP_HORIZONTAL}
DMDUP_HORIZONTAL = 3;
再看quickReport,当plex为True,给的是默认值
Delphi(Pascal) code
if FDuplex then
begin
SetField(dm_plex);
DevMode^.dmDuplex := dmp_horizontal;//dmp_horizontal对应DMDUP_HORIZONTAL
end;
dmp_horizontal对应DMDUP_HORIZONTAL ,依据reportBuilder解释:Duplex printing should be performed down the page, from top to bottom, so the text will read as in tablet。
而设置为DMDUP_VERTICAL,则:Duplex printing should be performed across the page,
from left to right, so the text will read as in a book
类似于书本的双面打印效果
所以,改法是在
Delphi(Pascal) code
if FDuplex then
begin
SetField(dm_plex);
DevMode^.dmDuplex := DMDUP_VERTICAL;
end;
改后,要重新编译对应的DPK,并把编译后的bpl放到system32路径下。 CSDN地址: http://topic.csdn.net/u/20100414/10/22d67171-df47-4d70-8691-4563047b193d.html?seed=1613984509&r=64708143#r_64708143