PDA

View Full Version : Different question same problem with info area



becky
11-21-2002, 03:15 PM
Hi,

I found this code on a forum

$privacy_txt = implode ('', file ('http://<your domain>/privacy_body.txt'));
define('TEXT_INFORMATION', $privacy_txt);


So I copied my old sites html privacy policy and made a privacy.txt doc and FTP it to my server. It is sitting at mydomain.com/privacy.txt

I then changed my privacy at catalog/catalog/includes/languages/english/privacy.php to this

<?php
/*
$Id: privacy.php,v 1.3 2001/12/20 14:14:15 dgw_ Exp $

The Exchange Project - Community Made Shopping!
http://www.theexchangeproject.org

Copyright (c) 2000,2001 The Exchange Project

Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Privacy Notice');
define('HEADING_TITLE', 'Privacy Notice');

$privacy_txt = implode ('', file ('http://<MYDOMAIN.com>/privacy_body.txt'));
define('TEXT_INFORMATION', $privacy_txt);');?>


But this doesn't work either.

Please tell me if you spot something wrong.

Thank You,
Becky

modom
11-23-2002, 07:28 AM
Becky,

What are you trying to do?

Please be more detailed so we can help you.

Thanks!