Re: [PHP] 404 page

2009-12-27 Thread Thijs Lensselink
navneet sharma wrote: Hi, - About 404 error document... Make sure filenotfound.html is in public_html or www directory as your are using shared hosting... - Generally in share hosting environment you are not allowed to modify php.ini (GoDaddy allows), you can modify some property of httpd.conf

Re: [PHP] Question Answer based report.

2009-12-27 Thread navneet sharma
Hi Aditya, You can store question and answer in database. if user provides correct answer increase veritable ($score) you can use switch case to generate character (like in facebook apps) Navneet. On Fri, Dec 25, 2009 at 9:41 PM, aditya shukla wrote: > Merry Christmas Guys, > > I am trying to

Re: [PHP] 404 page

2009-12-27 Thread navneet sharma
Hi, - About 404 error document... Make sure filenotfound.html is in public_html or www directory as your are using shared hosting... - Generally in share hosting environment you are not allowed to modify php.ini (GoDaddy allows), you can modify some property of httpd.config and php.ini using .ht

[PHP] 404 page

2009-12-27 Thread Sudhakar
hi 1. i have a .htaccess file in my root directory on unix hosting following is the code in .htaccess file ErrorDocument 404 /filenotfound.html the file filenotfound.html is also in the root directory as the htaccess file when i intentionally type a wrong url either if a misspell a file ex= ht

Re: [PHP] Unable to get output from exec "ssh remote-server 'ping -c4 ip'"

2009-12-27 Thread Michael Kjeldsen
On 12/27/2009 10:53 PM, robert mena wrote: Hi, I need to develop an interface that will, for example, ping IPs from a remote server. So the php script will be hosted in a server with ssh access (key) to the remote server. I can make it work from the console but when I try $cmd = "ssh remote-se

[PHP] Unable to get output from exec "ssh remote-server 'ping -c4 ip'"

2009-12-27 Thread robert mena
Hi, I need to develop an interface that will, for example, ping IPs from a remote server. So the php script will be hosted in a server with ssh access (key) to the remote server. I can make it work from the console but when I try $cmd = "ssh remote-server 'ping -c 4 ip'" exec($cmd, $ouput); the

[PHP] Re: Noob stuff - Zend/Opcode/Cache/Optimizer

2009-12-27 Thread Shawn McKenzie
> Hello Mr. McKenzie, > > Thanks for the response. I do not see zend optimizer+ on: > http://www.zend.com/en/downloads/ > > There is a zend optimizer download link, but this is different than zend > optimizer+. My understanding is the former facilitates with the use of > zend gaurd while the la

[PHP] Re: Noob stuff - Zend/Opcode/Cache/Optimizer

2009-12-27 Thread Daniel Kolbo
Shawn McKenzie wrote: > Daniel Kolbo wrote: >> Hello, >> >> I'm missing some unifying piece of the zend/php puzzle... >> >> I understand the basics of zend engine opcode, caching the opcode, >> optimizing the opcode, and caching the optimized opcode, etc... The >> part I'm struggling with is some

[PHP] Re: Noob stuff - Zend/Opcode/Cache/Optimizer

2009-12-27 Thread Shawn McKenzie
Daniel Kolbo wrote: > Hello, > > I'm missing some unifying piece of the zend/php puzzle... > > I understand the basics of zend engine opcode, caching the opcode, > optimizing the opcode, and caching the optimized opcode, etc... The > part I'm struggling with is somewhere in the zend world. > >