probs best off using the
variables that fall under $_SERVER for determining your application root.
Tryst
-Original Message-
From: [EMAIL PROTECTED]
To: php-windows@lists.php.net
Sent: Thu, 29 Mar 2007 12.38PM
Subject: RE: [PHP-WIN] php include problem
I do this little tr
DEFINE("SERVER_SQL_CLASS_PATH",
SERVER_CLASS_PATH."sqlWrapper/");
}
// Fonctions générales nécessaires à certaines classes.
include_once(SERVER_INCLUDEFILE_PATH.'module_fonction_generale.php');
-Message d'origin
My bad ;)
On 29/03/2007, at 11:32 AM, Niel Archer wrote:
Hi
When including try using ./new/images instead of /new/images
the . should tell it to start at root level.
No. the '.' tells it to start at current directory. '../' would
tell it
to start at the parent directory (one level high
Hi
> When including try using ./new/images instead of /new/images
>
> the . should tell it to start at root level.
No. the '.' tells it to start at current directory. '../' would tell it
to start at the parent directory (one level higher) so:
"../images/"
would work in this example.
bob's ad
When including try using ./new/images instead of /new/images
the . should tell it to start at root level.
On 29/03/2007, at 7:42 AM, Pivi wrote:
Hi!
I have this files in my root folder
index.php
header.php
footer.php
"images" folder
then i made one new folder "new" and i copied index.php,
just use absolute URL's when you have the script include the pictures
On 3/28/07, Pivi <[EMAIL PROTECTED]> wrote:
Hi!
I have this files in my root folder
index.php
header.php
footer.php
"images" folder
then i made one new folder "new" and i copied index.php, header.php and
footer.php in this
Hi!
I have this files in my root folder
index.php
header.php
footer.php
"images" folder
then i made one new folder "new" and i copied index.php, header.php and
footer.php in this new folder (also leaving this files in root folder, too).
Now header.php and footer.php files in folder "new" are s
Have you verified the include path to news.php ?
Steph
--- uros marolt <[EMAIL PROTECTED]> a écrit :
> What if you do it like this
>
> if ($_GET["page"] == "")
>{
>include("news.php");
>}
>else
>{
>include($arp . ".php");
>}
> ?>
>
> How
What if you do it like this
How do you pass your $page variable anyway?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
its not supposed to be 'include "$page.php";' is it?
what is the code that sets the '$arp' variable?
Ken Yarbrough wrote:
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 n
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:
The function is to by default, include "news.php" an
11 matches
Mail list logo