Guest Posted November 22, 2002 Posted November 22, 2002 Hi, How do I use these on with IIS5 and what do they do? Is there any benifit? //FS = Filesystem (physical) // WS = Webserver (virtual) When I try the I get the error "enxpected =" ? Anyone know what the story is with that? Thanks
mattice Posted November 22, 2002 Posted November 22, 2002 FS = (win) c:pathtowhatever (linux) /usr/local/here/there WS= http://www.myserver/mydir/myfile "Politics is the art of preventing people from taking part in affairs which properly concern them"
Guest Posted November 22, 2002 Posted November 22, 2002 I tried that before and it said I can't have the '=' in the statment. I just spits an error. :(
mattice Posted November 22, 2002 Posted November 22, 2002 where do you have the need for an "=" in the examples then? Don't understand you.... define('WHATEVER', 'value'); where value needs to be 'escaped' ie Who's needs to be written as Who's "Politics is the art of preventing people from taking part in affairs which properly concern them"
Guest Posted November 22, 2002 Posted November 22, 2002 No, I don't understand your example // WS = Webserver (virtual) I changed that to: WS = Webserver (virtual) and I got the error. I then tried your code : FS = c:Inetpubwwwrootadmin I got the same error. So what your saying is I need to define it like: define(WS_VIRTUAL, 'http://localhost'); ?? Is that it?
mattice Posted November 22, 2002 Posted November 22, 2002 YES :D anything that has // in front of it is a COMMENT :) "Politics is the art of preventing people from taking part in affairs which properly concern them"
Guest Posted November 22, 2002 Posted November 22, 2002 I understand C++, VB, JS and, believe it or not, forum etiquette, but I never touched pearl until 2 days ago. I know // is a comment just like it is in C. What I really what now that I have the syntax is what does defining those constants do for me? If I don't need to use them to run the app then why are they there? :shock:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.