From: "Mark Groen"
On Wed, 2006-05-24 at 14:20 +0100, Joseph Harris wrote:
On php it's 'warning' can't find file

There's your best clue, the PHP code itself looked fine.

BTW - using ssi that includes php in newer versions of Apache is tricky
to implement, and you are are better off using mod_rewrite to manage the
extension silently from/to html (or any extension) from shtml, if SSI is
mandatory. Otherwise, use the xbithack and make the html file
executable.

Perry's code *should* work, you may need to add or remove a set of ../
is all, unless there actually isn't a subscribe2.php file anywhere...

<?php include("../../plugins/subscribe2/subscribe2.php"); ?>
--
cheers,

       Mark


Mark,

Yes there is definitely a working subscribe2.php file and it is picked up for inclusion in individual blogs; the form looks fine. I'm just about to go to the doctor, so can't pursue it right now. (With Plesk on my host server and 56k modem in the computer it is taking me 3mins to get to the file and sessions end quickly while I'm checking something else - I said the gremlins are in with a vengeance today - see below too!)

I'm not sure if I added or removed ../, though I certainly tried some variations.

The latest readme on the plugin suggest <a> but I couldn't get that to work with any variation [up to http:/ url].

I am not quite sure what to do with mod_rewrite ;-/, though I imagine it is something like
<? php mod_rewrite("../../plugins/subscribe2/subscribe2.php"); ?>

Thanks Mark for this and other help,

Joseph

PS Also on gremlins - I have an ISP deal for a certain amount of time, which has run out this week. So I have also a pay as you go with them, since most lists are through their smtp. Would you believe that has been refusing to connect most of the day? Yes, you would. I tell you it's Gremlins 'r' Us day. -- J

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to