Re: [PHP] linking with home directory

2003-07-09 Thread Micah Montoy
rom > > http://localhost/MyScript/default/style.css > > ? > > -M > > -Original Message- > From: Matt Palermo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 12:02 PM > To: Matt Matijevich; php-general > Subject: RE: [PHP] linking with home direc

RE: [PHP] linking with home directory

2003-07-09 Thread Mike Brum
Maybe you should try to reference it from http://localhost/MyScript/default/style.css ? -M -Original Message- From: Matt Palermo [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 12:02 PM To: Matt Matijevich; php-general Subject: RE: [PHP] linking with home directory I am

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
I am testing it from the same machine for right now. >= Original Message From Matt Matijevich <[EMAIL PROTECTED]> = >I mean, when you actually call the script on the XP machine, where do >you test it at? Do you use a browser that is on the XP machine that is >running IIS, or do you do it

Re: [PHP] linking with home directory path

2003-07-09 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 9 Jul 2003 at 12:51, lines prefixed by '>' were originally written by you. > // Path to script files (absolute file path) > $HomeDir = "c:/inetpub/wwwroot/MyScript/"; > // Name of style folder > $ThemeFolder = "default"; > //-Then later i

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Matijevich
I mean, when you actually call the script on the XP machine, where do you test it at? Do you use a browser that is on the XP machine that is running IIS, or do you do it from a different machine? >>> Matt Palermo <[EMAIL PROTECTED]> 07/09/03 10:52AM >>> The XP and 2000 are two different machines.

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
I have done that, and it displays the correct location. I don't know what else to do. Is there maybe something in the php.ini file? >= Original Message From Mike Brum <[EMAIL PROTECTED]> = >First, I'd create a simple test to see what the value of > >$newDir = $HomeDir."themes/".$ThemeF

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
The XP and 2000 are two different machines. >= Original Message From Matt Matijevich <[EMAIL PROTECTED]> = >[snip] >Like I said before, the style sheets load up fine on my Windows XP IIS >server, >but not the Windows 2000. In order to get it to work on the Windows >2000 IIS >server, I hav

Re: [PHP] linking with home directory

2003-07-09 Thread Matt Matijevich
[snip] Like I said before, the style sheets load up fine on my Windows XP IIS server, but not the Windows 2000. In order to get it to work on the Windows 2000 IIS server, I have to link the style sheets relative to the folder I am working in, but I want to be able to move certain files into othe

RE: [PHP] linking with home directory

2003-07-09 Thread Mike Brum
First, I'd create a simple test to see what the value of $newDir = $HomeDir."themes/".$ThemeFolder; print $newDir; And see what that yields. You might have a problem with your slashes. I find it extremely useful to have test variables print to the screen along the way to ensure that each new p