Re: [PHP] Linux and permissions
search for DirectoryIndex and delete DirectoryIndex entry given below it. Todd Cary [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Craig - Thank you for the quick response. I do not see an entry in httpd.conf for DirectoryIndexing. Am I missing something? Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP compared to JSP
Sorry if this is repeated, but I didn't see my query in the news group so reposting it ! --- Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .class file and just runs it. i.e. the compiling is just the first time !! How does it work in PHP? Does PHP has any way to figure out whether it's first time ? that is does PHP compile .php file to some .compiled_php type and then it gives the output ? Thanks a lot. Paras. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP compared to JSP
Thanks for that ! But my question still remains the same ... does PHP alone (without ZEND) compile code into some .compiled_PHP file so that the user loading same page for 2nd time gets better response than the 1st time? Regards, Paras. Matt Friedman [EMAIL PROTECTED] wrote in message 001401c1f37c$6bc34c60$[EMAIL PROTECTED]">news:001401c1f37c$6bc34c60$[EMAIL PROTECTED]... JSP does not ever run in the browser. JSP is a server side technology designed to compete with ASP. PHP is similar in that it too is a server side language and can be embedded into html pages. Java tends to be considerably slower than PHP but the Java folks have made great strides towards overcoming this. As far as compiling scripts, both Java and PHP are capable of doing this if the correct software is installed on the server. In PHP's case this is the Zend Optimizer - in the case of Java, I am not certain but I think this would require a Sun web server; both solutions cost $$$. However, as far as PHP is concerned there are many open source free caching solutions available. This is perhaps true for Java as well. Unless your site is going to get many users per second this is probably not necessary. Ultimately, running LAMP (Linux, Apache, MySQL and PHP) will cost less and is probably faster. Many solutions, to my knowledge, requiring Java cost $$$ while LAMP is completely Open source. (Read the licenses for more info). Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php beginner
I'm using this simple command in my PHP script : echo My Name is . $myName . \n; I'm invoking the php page by the command http://localhost/testing/test.php?myName=Paras I'm getting eoor : Notice: Undefined variable: myName in c:\apache\htdocs\testing\test.php on line 12 My Name is Please help. Regards, Paras. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP vs JSP
Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .class file and just runs it. i.e. the compiling is just the first time !! How does it work in PHP? Does PHP has any way to figure out whether it's first time ? that is does PHP compile .php file to some .compiled_php type and then it gives the output ? Thanks a lot. Paras. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP with MySQL
Hi Gurus, one MySQL - PHP query : while granting permissions to particular user in MySQL, the administrator has to give username@machine_address !! Then how can we connect to MySQL through PHP only by passing username as one of the arguments to mysql_connect() ? Thanks. Paras. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php