Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Re: [PHP] define("DOC_HOME_PATH", "what goes here") From: 1LT John W. Holmes (holmes072000 <email protected>)
Date: 02/20/03

> define ("DOC_HOME_PATH", "http://localhost/killerspin/web/store/");
> define ("IMG_HOME_PATH", "http://localhost/killerspin/web/images/");
> define ("CTL_HOME_PATH", "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...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php