04142005 0852 GMT-6
Im not sure I understand. Unless you are using php5 specific functions,
everything you do will work with php4.
I have php5 installed and Im mainly writing for a php4 equiped server.
However, this might help some.
I just finished writing a form for a client on Yahoo. For some reason I
cant use require, only include.
Also, try
require_once('private_stuff/paths.php');
Wade
Steve Harp wrote:
>
>
> Hi All,
>
> Where can I find information about deploying to different platforms.
> All the books I have are PHP5 specific. I'm developing on Win32 with
> PHP5 and trying to deploy to Linux with PHP4. Nothing is working. I
> think my current problem has to do with my include files not being
> found or not being read correctly. My index.php is something like this.
>
> <?php
> require_once("private_stuff/paths.php");
>
> // I've also tried include "the_path/the_file.php";
>
> echo $my_path;
> ?>
>
> and my paths.php is like
>
> <?php
> $my_path = "private_stuff/other_files";
> ?>
>
> I've tried every variation of this I can think of and nothing seems to
> work on the PHP4/Linux server. Once I get this resolved, I'm sure
> I'll run into some Smarty issues next :-(.
>
> Thanks for any help,
> Steve
>
>
>
>
>
>
>
>
> Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/php-list/
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 4/13/2005
>
>
[Non-text portions of this message have been removed]
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/