Re: Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thank you, I was curious about that, I mean, I've tried stuff on 'free' web 
space, where they've started up with the different files names, but, not 
until I started setting up my own did I notice it wasn't something that was 
automatic....

Now, as for the other thing, please don't jump on me! :(  I TOLD you I just 
got into this, I didn't KNOW there was a command line version, so I didn't 
KNOW there was a reason, I just asked a question :(  But, thank you for 
explaining, I understand the reason behind NEEDING both now....  Again, I AM 
just learning PHP.....
"BuildSmart" <buildsmart@xxxxxxxxxxxxxxxxxx> wrote in message 
news:7C8E8311-F7A3-4C5E-9C20-84B97616F267@xxxxxxxxxxxxxxxxxxxxx




try:
<IfModule dir_module>
    DirectoryIndex index.php index.html index.htm
</IfModule>


If it doesn't find an index.php it will look for index.html, if it doesn't 
find index.html it will look for index.htm (in the order they are listed)




Now, as for the newline stuff, so, basically, I have to include the HTML for
newlines to get a new line?  Why would they change it to that?  that seems
like an added annoyance?  I mean, maybe it's a good idea, I donno, cause I
just got into this, I'm just trying to figure things out :)


Thanks for your help......


Whitespaces are ignored in HTML and this includes \r and \n.


Why would you not follow HTML protocol in output since you are writing to a 
browser, don't you want it to be interpreted properly?


Maybe you need to learn a little more about web browsers and HTML before you 
start writing code, what you call annoyance is just your lack of 
understanding on how things work.










-- Dale 



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux