From owner-freebsd-questions Mon Jul 13 02:11:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA03208 for freebsd-questions-outgoing; Mon, 13 Jul 1998 02:11:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA03201 for ; Mon, 13 Jul 1998 02:11:15 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.186]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 13 Jul 1998 11:12:30 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id LAA00930; Mon, 13 Jul 1998 11:10:51 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19980713061431.20191.fmail@163.net> Date: Mon, 13 Jul 1998 11:10:51 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: shanzhong@163.net Subject: RE: Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13-Jul-98 shanzhong@163.net wrote: > Hello: > I use c for freebsd(unix) to program the cgi code , > but if i want to open a file > name=".//dirname//name.html"; > fopen(name,"r"); > always generate the error. What error ? Why are you using double-slash ("//") as seperator ??? How about just name="./dirname/name.html"; Malte. > can you help me? > > > ________________________________________________ > 欢迎您使用广州视窗免费电子邮箱http://www.163.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 13-Jul-98 Time: 11:09:51 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message