[PHP-WIN] Include Question!

2008-05-09 Thread Matthew Gonzales
So I am really cornfused about the include function. If I use the include function to make my code readable and neat where does the included code go. For instance: if (some variable){ include(page.php); } Does the code go into the current page where the include statement is located on the

Re: [PHP-WIN] Include Question!

2008-05-09 Thread awkenney
13:49:07 To:PHP-Windows Group php-windows@lists.php.net Subject: [PHP-WIN] Include Question! So I am really cornfused about the include function. If I use the include function to make my code readable and neat where does the included code go. For instance: if (some variable){ include(page.php

Re: [PHP-WIN] Include Question!

2008-05-09 Thread Bradley Stahl
Your code would essentially be inserted in the place where your include statement is called. Let's say that your in 'page.php' you had the following code: echo I AM IN PAGE.PHP!; and then in your script you have your code: if (some variable) { include('page.php'); } This would

Re: [PHP-WIN] Include Question!

2008-05-09 Thread Stut
On 9 May 2008, at 18:56, Bradley Stahl wrote: Your code would essentially be inserted in the place where your include statement is called. Let's say that your in 'page.php' you had the following code: echo I AM IN PAGE.PHP!; and then in your script you have your code: if (some variable) {

[PHP-WIN] Include fails when ./ is in front of file name

2008-04-06 Thread Noah Spitzer-Williams
This works: include(file.inc.php); This doesn't: include(./file.inc.php); I can't figure it out! PHPMyAdmin uses ./ so it's obviously not working. Here's my environment: Win2003 Server w/ IIS 6 PHP 5.2.5 setup as ISAPI All PHP and httpdoc directories have read, write, and

Re: [PHP-WIN] include and warning: headers already sent by ..

2008-02-09 Thread trystano
@lists.php.net Sent: Fri, 8 Feb 2008 21:17 Subject: RE: [PHP-WIN] include and warning: headers already sent by .. Also make sure that one/some of the includes aren't trying to echo/print something before it should. For ex: don't echo something before trying to output header information like

[PHP-WIN] include and warning: headers already sent by ..

2008-02-08 Thread germana
Hi there!!! i just want to ask something... Sometimes when i need to do several include, or require_once or both i get the messeage: Warning: cannot modify header information - header already sent by How i can solve this problem... Thanks!!!

RE: [PHP-WIN] include and warning: headers already sent by ..

2008-02-08 Thread Bill Bolte
: Friday, February 08, 2008 1:51 PM To: php-windows@lists.php.net Subject: [PHP-WIN] include and warning: headers already sent by .. Hi there!!! i just want to ask something... Sometimes when i need to do several include, or require_once or both i get the messeage: Warning: cannot modify header

Re: [PHP-WIN] include and warning: headers already sent by ..

2008-02-08 Thread Piotr Pluciennik
Try to remove characters (like spaces) that can be found at the end of your php scripts... example: ?php ... your script ... ? where ### are any characters (even invisible), after the closing tag. There should be nothing. HTH, let me know Piotr germana [EMAIL PROTECTED] wrote: Hi

[PHP-WIN] include txt in html

2006-03-14 Thread Alf Stockton
From what I have read on the web I am given to understand that I can include text files in a html document by issuing the following in the html file !--#include file=Registration.txt-- This however does not work for me. My 1st thought was that I had not allowed for SSIs in my httpd.conf but my

Re: [PHP-WIN] include txt in html

2006-03-14 Thread Armando
?php include(Registration.txt) ? If you're loading PHP as a module under Apache and you have PHP in your include file which you want to be processed, you also need to make sure it's added to your list of file types that the engine processes PHP code in. In your httpd.conf file you'd specify

[PHP-WIN] Include problem

2005-12-22 Thread Ken Yarbrough
I recently allowed one of my friends to host their site on my server, and we realized that when you click a link, it doesn't include the content into the main page. I'm not sure what would cause this, but the include code is the following: ?php if ($page == )

[PHP-WIN] Include problem

2005-12-22 Thread Ken Yarbrough
I recently allowed one of my friends to host their site on my server, and we realized that when you click a link, it doesn't include the content into the main page. I'm not sure what would cause this, but the include code is the following: ?php if ($page == )

[PHP-WIN] include statement

2004-10-29 Thread Michael Adams
A real PHP newbie here. I have so far only used the include statement in my site. Each page on the server loads a common header and footer. The header contains the site menu and the footer contains a line of logos in one graphic that map. My query is: If i load the header as .HTM does it put the

Re: [PHP-WIN] include statement

2004-10-29 Thread Paul Menard
So just so I'm clear on your files... Let's say you have a file, index.php. This file has an include statement for 'header.htm'. Your question is does it matter if the header.htm is just HTML and does not contain and PHP? No it does not matter. But the URL must be pointed to the index.php PHP

Re: [PHP-WIN] include statement

2004-10-29 Thread Jason Barnett
Just one thing to add here: My query is: If i load the header as .HTM does it put the included file through the PHP parser. I have the includes as .PHP at present. There is nothing php in the header or footer as yet. I am looking at saving the server some cycles by doing this. Not sure exactly how

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-22 Thread DvDmanDT
, September 18, 2004 9:51 PM Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4 I'd lookup virtual()... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Trevor Gryffyn [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] The problem

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-22 Thread DvDmanDT
. Let's hope they never do ;-) - Original Message - From: Dvdmandt [EMAIL PROTECTED] Newsgroups: php.windows To: [EMAIL PROTECTED] Sent: Saturday, September 18, 2004 9:51 PM Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4 I'd lookup virtual

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-21 Thread Mikey
To: [EMAIL PROTECTED] Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4 Hi All, I have included a ASP file in a PHP script as follows ? include 'poll.asp' ? and it does not work! whereas ? include 'AA.htm' ? works fine Appreciate your help for any workarounds

RE: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-21 Thread Gryffyn, Trevor
I believe there's ChiliSoftASP or something that'll do ASP on Apache. -TG -Original Message- From: Mikey [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 6:52 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4 virtual

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-18 Thread Phil Driscoll
On Friday 17 September 2004 20:36, I wrote: ?php include('http://wherever.example.com/poll.asp'); ? A safer option if your asp page does not generate any php code you wish to execute would be: ?php readfile('http://wherever.example.com/poll.asp'); ? -- Phil Driscoll -- PHP Windows

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-18 Thread DvDmanDT
file without anything else, therefore interpreting it as an ASP file. Does any of that make sense? -TG -Original Message- From: Raj Gopal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 5:19 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP

RE: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-17 Thread Gryffyn, Trevor
PROTECTED] Sent: Thursday, September 16, 2004 5:19 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4 Hi All, I have included a ASP file in a PHP script as follows ? include 'poll.asp' ? and it does not work! whereas ? include 'AA.htm

Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-17 Thread Phil Driscoll
On Thursday 16 September 2004 22:18, Raj Gopal wrote: Hi All, I have included a ASP file in a PHP script as follows ? include 'poll.asp' ? and it does not work! If you want poll.asp to execute and generate some output for inclusion in the php script, you could do ?php

[PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4

2004-09-16 Thread Raj Gopal
Hi All, I have included a ASP file in a PHP script as follows ? include 'poll.asp' ? and it does not work! whereas ? include 'AA.htm' ? works fine Appreciate your help for any workarounds or Syntax issues -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] include() problem

2003-11-07 Thread Eric COLINET
Hi ! A very simple reason: D:\LOCAL\src\php-4.3.2\main\config.w32.h(16): #define PHP_INCLUDE_PATH.;c:\\php4\\pear Eric At 02:07 07/11/2003, you wrote: Hi all, I'm having a problem with my scripts in that I'm having the follwoing error message when I try to include a file into a

Re: [PHP-WIN] include() problem

2003-11-07 Thread Eric COLINET
Sorry ! It is part of the PHP sources in fact ! .;c:\\php4\\pear Is the default include path when none is specified in the php.ini file I've mentionned the header file of the PHP sources where it is defined in fact ;) Eric At 11:57 07/11/2003, [EMAIL PROTECTED] wrote: Sorry, I don't

[PHP-WIN] include() problem

2003-11-06 Thread Trystano
Hi all, I'm having a problem with my scripts in that I'm having the follwoing error message when I try to include a file into a script... Warning: Failed opening 'C:\Program Files\Apache Group\Apache\htdocs\mymarket emplates\header.php' for inclusion (include_path='.;c:\php4\pear') in

[PHP-WIN] Include and require

2003-10-20 Thread Rinku Shivnani
Dear All, Can any of you tell me what is the difference between include and require ? Regards, Rinku -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Include and require

2003-10-20 Thread David Felton
October 2003 11:22 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Include and require Dear All, Can any of you tell me what is the difference between include and require ? Regards, Rinku -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Include and require

2003-10-20 Thread Rinku Shivnani
Hi David, Can you explain me the same thing with some examples.. Pls. Regards, Rinku -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Include and require

2003-10-20 Thread Luis Moreira
- From: Rinku Shivnani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 20, 2003 11:21 AM Subject: [PHP-WIN] Include and require Dear All, Can any of you tell me what is the difference between include and require ? Regards, Rinku -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] include within html

2003-07-03 Thread Luis Moreira
Hi A simple (?) question : When doing this html body ?php include 'setup_vars.php'; ... the whole of SETUP_VARS.php is written to the screen, instead of bieng executed. What am I doing wrong ? Thanks Luis -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] include, phpself and inline frames

2003-02-22 Thread m1nt ch3w
Howdy all, I am trying to get a poll to work on my site. I am using Inline frames to display the content. The poll is outside of the iframe and is put in using ? include(poll.php); ? What I was aiming to do was, when you click vote to submit your vote, the results would appear in the Iframe.

RE: [PHP-WIN] include, phpself and inline frames

2003-02-22 Thread Matt Hillebrand
Make the action of the form poll.php instead of $PHP_SELF. $PHP_SELF is the parent document. Matt |-Original Message- |From: m1nt ch3w [mailto:[EMAIL PROTECTED] |Sent: Saturday, February 22, 2003 3:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] include, phpself and inline frames

[PHP-WIN] Include virtual?

2003-02-05 Thread Charles P. Killmer
For those familiar with asp does php have something similar to the include virtual? I don't want to have to use the full system path to include a template that is at the doc_root of the site. Include_virtual(/template.php); ?? This would include the template.php at the root of the site

RE: [PHP-WIN] Include virtual?

2003-02-05 Thread fran . thomas
I've wondered this before also but currently use; include($_SERVER[DOCUMENT_ROOT].'/'.'template.php') Be interested if there is an easier way! .:Fran -Original Message- From: Charles P. Killmer [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 14:46 To: php-windows Subject: [PHP-WIN

RE: [PHP-WIN] Include virtual?

2003-02-05 Thread Charles P. Killmer
; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Include virtual? I've wondered this before also but currently use; include($_SERVER[DOCUMENT_ROOT].'/'.'template.php') Be interested if there is an easier way! .:Fran -Original Message- From: Charles P. Killmer [mailto:[EMAIL PROTECTED]] Sent: 05

[PHP-WIN] @include ...

2002-09-24 Thread Wolfgang Schneider
Hello, I have a question about a syntax I had not noticed until now and I could not find an explanation for the inclusion of the character in from of function statment ... What's the difference between these: (1) include(../lang/english/trad4all.inc.php); (2)

Re: [PHP-WIN] @include ...

2002-09-24 Thread Daniel Gustafsson
At 23:01 2002-09-24 +0200, Wolfgang Schneider wrote: Hello, I have a question about a syntax I had not noticed until now and I could not find an explanation for the inclusion of the character in from of function statment ... What's the difference between these: (1)

[PHP-WIN] include() and file() on remote files

2002-08-27 Thread Rudolf Staribacher
the include function does not work on Win32 platforms on remote files (http). I faced also problems with nested!!! file function on remote files (http). Does anybody know, if the lack of remote access of include() and file() could also occure on other OS? thx, Rudolf -- PHP Windows Mailing

RE: [PHP-WIN] include() and file() on remote files

2002-08-27 Thread Ross Fleming
) $fp) { echo fread($fp, 4096); } @fclose($fp); ? HTH Ross -Original Message- From: Rudolf Staribacher [mailto:[EMAIL PROTECTED]] Sent: 26 August 2002 22:16 To: [EMAIL PROTECTED] Subject: [PHP-WIN] include() and file() on remote files the include function does not work on Win32

[PHP-WIN] Include problems

2002-08-03 Thread Scott
I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's

[PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Chris Schmidt
I have two server FS = File Server WS = Web server WS is IIS and is conecting to a share on FS. So the path to the PHP files is \\FS\iisweb\phpfiles\ So if i call test.php and that is located at http://WS/client/test.php and config is at http:\\WS\phpfiles\config.php test.php has this as a

RE: [PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Dash McElroy
:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Include Issues Windoes 2000 I have two server FS = File Server WS = Web server WS is IIS and is conecting to a share on FS. So the path to the PHP files is \\FS\iisweb\phpfiles\ So if i call test.php

Re: [PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Luis Ferro
I doubt... (i've no reason to believe that it doesn't work, but if it doesn't i would assume it to be a bug in windows filesystem-networksystem layer)... Anyway, the better way is to create a distributed file system and/or map the share as if it was a directory in one of the WS machine...

Re: [PHP-WIN] Include ()

2002-03-14 Thread Mike Flynn
Check your PHP.INI file for settings related to automatic escaping of characters. And, uh, you say it's a forward slash like '/', but are you sure they aren't backslashes like '\'? I've never heard of forward slashes getting added. Are you positive that the text files don't have the

[PHP-WIN] Include ()

2002-03-13 Thread ChaoticWorks
When i use the Include() command for a text file it always puts a slash, / , in front of any qotations in the text file. anyone know why? my example is http://www.notchmetal.com/bio/ thanks -Sean-

Re: [PHP-WIN] Include()

2002-01-25 Thread Ignatius Teo
Have u tried using soap tee hee hee (sorry...couldn't resist!) Ignatius - Original Message - From: Shrock, Court [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 7:13 AM Subject: RE: [PHP-WIN] Include() hweb

RE: [PHP-WIN] Include()

2002-01-23 Thread Shrock, Court
: [PHP-WIN] Include() Ross: No, it's not what I mean :) Let say that you have a PHP class that I like on your site, for free or a bundle of pounds, you give me permission to use this class from my site to your site (include it on my site) without even giving me your source. Anyway, I know

RE: [PHP-WIN] Include()

2002-01-22 Thread brother
that it isn't reply to: listadres) -Original Message- From: alain samoun [mailto:[EMAIL PROTECTED]] Sent: den 22 januari 2002 03:52 To: Shrock, Court; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Include() Humm, I do not know if I understand you... If you include a file in your

RE: [PHP-WIN] Include()

2002-01-22 Thread Shrock, Court
Alain, The PHP engine can only process php code in files on your local filesystem(*). It just so happens that PHP is smart enough to realize that if a file is not entirely PHP code, the rest must be meant for output to the client (which can be ANY device, not just a human behind a browser).

RE: [PHP-WIN] Include()

2002-01-22 Thread alain samoun
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 9:24 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP-WIN] Include() If you think it over that could be a real security hazard. If I have a phpdoc that opens sqlconnections at server A and includes that doc over at server B then I will be able

[PHP-WIN] Include()

2002-01-21 Thread John (News)
Has anyone been able to use the include() statement with a URL in the windows version of php? I've tried v4.0.6 and v4.1.1 and neither of them seem to work. Function is as follows. include('http://www.tol.com.au/default.htm'); I have checked and made sure that allow_url_fopen is enabled in

RE: [PHP-WIN] Include()

2002-01-21 Thread alain samoun
To: [EMAIL PROTECTED] Subject: [PHP-WIN] Include() Has anyone been able to use the include() statement with a URL in the windows version of php? I've tried v4.0.6 and v4.1.1 and neither of them seem to work. Function is as follows. include('http://www.tol.com.au/default.htm'); I have checked and made

RE: [PHP-WIN] Include()

2002-01-21 Thread Shrock, Court
Yes, it works on Linux/Apache. But the results are not what you might expect. When one normally uses the include statement, you intend to process some php file, not the output from such a file. For example: nfo.php contains, located at http://www.myserver.com/nfo.php : --BEGIN

RE: [PHP-WIN] Include()

2002-01-21 Thread alain samoun
it? A+ Alain -Original Message- From: Shrock, Court [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 4:38 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Include() Yes, it works on Linux/Apache. But the results are not what you might expect. When one normally uses the include

RE: [PHP-WIN] Include()

2002-01-21 Thread John (News)
I'm not using it to include remote php files as I assumed it would still onlu be able to process the file after it was parsed by the remote system. I do however need to include remote html files which should not be affected by this problem. Hippie. At 04:38 PM 1/21/02 -0800, you wrote: Yes,

Re: [PHP-WIN] Include files seem sqiffy

2001-11-16 Thread Mike Flynn
You should use your real e-mail as your return address so I can respond to you privately. Some messages aren't deserving of a message to the whole list. This is a recommendation to everyone on the list because it's certainly not the first time that I've wanted to give someone private advice

[PHP-WIN] Include files seem sqiffy

2001-11-12 Thread user
I am trying to install a php/mysql board but get warnings about Undefined variable: . It appears to be linked to the use of include files. Are these somewhat different under Doze? I'm a bit of a newbie with php but it does appear some php code needs tweaking to work in windows. Any pointers

[PHP-WIN] include(remote host) under w2k problem

2001-11-01 Thread Marek Wysmulek
Hi all. I have searched almost everything on the net regarding php and windows focusing on one thing. How to include to php script started on apache on w2k external sript placed on some URL. Source of test script (http://mylocalhost/marek.php) ? include("http://hermes.com.pl/test.php"); ? and

RE: [PHP-WIN] include(remote host) under w2k problem

2001-11-01 Thread Ross Fleming
include("$LocalFile"); exec("delete.bat"); } ? and delete.bat contains just del localname.html That works for me (just tested it). Anyone know a neater way? Ross -Original Message- From: Marek Wysmulek [mailto:[EMAIL PROTECTED]] Sent: 01 November 2001 17:46 To: [EMAIL PROTECTED]

PD: [PHP-WIN] include(remote host) under w2k problem

2001-11-01 Thread Marek Wysmulek
Dear Ross. Thanx a lot. Pretty works. You even don't know how did you help me. Marek. - Original Message - From: Ross Fleming [EMAIL PROTECTED] Newsgroups: php.windows To: [EMAIL PROTECTED] Sent: Thursday, November 01, 2001 8:11 PM Subject: RE: [PHP-WIN] include("remote host&qu

re: [PHP-WIN] include(remote host) under w2k problem

2001-11-01 Thread Ross Fleming
-Original Message- From: Marek Wysmulek [mailto:[EMAIL PROTECTED]] Sent: 01 November 2001 21:58 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: PD: [PHP-WIN] include("remote host") under w2k problem Dear Ross. Thanx a lot. Pretty works. You even don't know how did you help

[PHP-WIN] include remote files

2001-10-19 Thread Jason Bourne
Anyone know how you can make a work around on remote files includes on a windows system? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] include()ing the remote file

2001-07-30 Thread Vasu Gokaraju
Hi, I have PHP 4.0.5 installed on Windows 2000 server. I used include() function and relative paths to include files located under the same web site. When I tried to include() files located on different web site on the same machine with explicit paths, I get the following warning: Warning:

Re: [PHP-WIN] include()ing the remote file

2001-07-30 Thread Ignatius Teo
From the manual Note: You can't use remote files in include() and require() statements on Windows. HTH Ignatius - Original Message - From: Vasu Gokaraju [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 12:58 AM Subject: [PHP-WIN] include()ing the remote file Hi

[PHP-WIN] include

2001-05-22 Thread sunker
help...!! ilustration: i got trouble with include on the virtual directory... a myfile.php -- include file on directory includes/test.php why it shouldn't work?. when i moved my file test.php from directoy includes, with the same level of myfile.php directory it's work ? examples: include

Re: [PHP-WIN] include

2001-05-22 Thread Mike Flynn
Try... include(getcwd().'/path/to/file/test.php'); -Mike At 01:37 PM 5/23/01 +0700, you wrote: help...!! ilustration: i got trouble with include on the virtual directory... a myfile.php -- include file on directory includes/test.php why it shouldn't work?. when i moved my file test.php from

Re: [PHP-WIN] include paths

2001-05-18 Thread Ruslan Ohitin
Hello mjrobey, try to replace \ with /: include_path = d:/foxserv/www/include;. mmc Greetings, mmc I'm running Apache with the PHP mod under Windows 2000, but I seem to have mmc a recurring problem with includes. Every time I try to view a page with an mmc include() statement, it returns an

[PHP-WIN] include paths

2001-05-18 Thread mjrobey
Well, thanks for all the input, I tried several different fixes, and combinations of fixes. In the end, giving the complete path in my include () statement did the trick. No amount of tinkering with the include_path variable would get the server to look in the right place. So my php now reads:

[PHP-WIN] include paths

2001-05-17 Thread mjrobey
Greetings, I'm running Apache with the PHP mod under Windows 2000, but I seem to have a recurring problem with includes. Every time I try to view a page with an include() statement, it returns an error of the following sort: Warning: Failed opening 'menutop.php' for inclusion (include_path='')

Re: [PHP-WIN] include paths

2001-05-17 Thread Michael Kelley
my include looks like ; ; Paths and Directories ; ; include_path =\apache\includes do you have the quotes ; . in yours?? [EMAIL PROTECTED] wrote: Greetings, I'm running Apache with the PHP mod under Windows 2000, but I seem to have

Re: [PHP-WIN] include paths

2001-05-17 Thread Netcom Mail
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 17, 2001 12:30 PM Subject: [PHP-WIN] include paths Try typing the include() line in your code like this: include($include_path.\SomeFilenameToInclude); Alan Greetings, I'm running Apache

[PHP-WIN] include

2001-04-20 Thread Olivier Botineau
Good evening all, do you know if its possible to give an absolute path instead of a relative path for include: include( '../../menu.php' );is OK incude( '/inculde/menu.php' ); is Not OK Depend where im in tree directory i have to change '../', then relative path is not

Re: [PHP-WIN] include

2001-04-20 Thread Toby Miller
running Apache instead of IIS just leave out the preg_replace call because $DOCUMENT_ROOT will already be set for you. --Toby - Original Message - From: "Olivier Botineau" [EMAIL PROTECTED] To: "PHP Windows list (Adresse de messagerie)" [EMAIL PROTECTED] Sent: Frida

Re: [PHP-WIN] include

2001-04-20 Thread Chris Adams
On 20 Apr 2001 14:04:00 -0700, Olivier Botineau [EMAIL PROTECTED] wrote: Good evening all, do you know if its possible to give an absolute path instead of a relative path for include: include( '../../menu.php' ); is OK incude( '/inculde/menu.php' ); is Not OK That's the