Re: define("DOC_HOME_PATH", "what goes here")

From: Date: Thu, 20 Feb 2003 13:51:10 +0000
Subject: Re: define("DOC_HOME_PATH", "what goes here")
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136353@lists.php.net to get a copy of this message
> define ("DOC_HOME_PATH", > "http://localhost/killerspin/web/store/"); > define ("IMG_HOME_PATH", > "http://localhost/killerspin/web/images/"); > define ("CTL_HOME_PATH", "¦lɬ̯ ¿Ž+/Ä´ú > http://localhost/killerspin/web/control/"); > <img src="<? echo IMG_HOME_PATH ?>stuff/image.jpg"> > <a href="<? echo DOC_HOME_PATH ?>stuff/index.jsp">Click Here</a> > <form action="<? echo CTL_HOME_PATH ?>stuff/process_order.php"> > > doesn't work. It should. The above code produces this when I try it: <img src="http://localhost/killerspin/web/images/stuff/image.jpg"> <a href="http://localhost/killerspin/web/store/stuff/index.jsp">Click Here</a> <form action="http://localhost/killerspin/web/control/stuff/process_order.php"> Isn't that what you want? Look at the HTML source of your page that's being generated... ---John Holmes...

« previous php.general (#136353) next »