[PHP] php & JavaScript

2002-06-24 Thread Luis Miguel N. Tavora

Hi there.

I've tried to include a simple javascript in a .php file, 
but couldn't get it to work.

Actually not even the php code worked at all...

Is there any specific configuration flag that needs to be
set up in the Apache server so that the javascripts work
correctly? 

Thanks in advance

Luis

PS- Btw, I use an Apache server on a RH72 machine



--
   Luis Miguel N. Távora
   [EMAIL PROTECTED]   

  Message sent via Sylpheed
sylpheed-claws.sourceforge.net
--

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




[PHP] .php extension

2002-05-28 Thread Luis Miguel N. Tavora

Hi there.

I've started to code in PHP a couple of days ago, so 
I'm really a newbie.

As far as I understood it, for a server process the php 
code, the file must have the extension .php 


But then, the apache server (for example) requires a file
index.html to be placed in the directory public_html/ ...

Does that mean that I can't have any php in my main page?

I've tried to overcome this by creating a symbolic link

   index.html--->index.php

but didn't manage to "fool" the server, as it didn't 
process the .php code!


Any suggestions/help will be much appreciated!

Thx in advance

Luis

--
   Luis Miguel N. Távora
   [EMAIL PROTECTED]   

  Message sent via Sylpheed
sylpheed-claws.sourceforge.net
--

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