php-general | 2003022
Date: 02/20/03
- Next message: Adam Voigt: "Re: [PHP] long running PHP application"
- Previous message: Adam Voigt: "Re: [PHP] Root Commands"
- In reply to: Jonathan Villa: "[PHP] define("DOC_HOME_PATH", "what goes here")"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Next message: Adam Voigt: "Re: [PHP] long running PHP application"
- Previous message: Adam Voigt: "Re: [PHP] Root Commands"
- In reply to: Jonathan Villa: "[PHP] define("DOC_HOME_PATH", "what goes here")"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

