Directory permissions question I'm working on a hosted website that was hacked and found something I don't fully understand. Thought someone here may know the answer. The site has 4 php malicious files in directories owned by "system" [php created dirs on the site are named "nobody"] and permissions 755. Is there any way the files could ha... 20 Apr 2010 14:31
Re[2]: [PHP] How to do i18n better? On 19 April 2010 12:54, Andre Polykanine <andre(a)oire.org> wrote: Hello Peter, Regarding the URL switching suggested by you and Michiel, how do I do this if I have a rather complicated .htaccess file? For instance, a blog entry URL is formed as follows: http://oire.org/menelion/entry/190/ which is phis... 19 Apr 2010 10:32
Get Power Saving Settings of the Server Hi all, My PHP script is running as CLI. Can I get the Power Management Settings of the server ? I am using PHP 5.3.2 on Fedora 12 Machine (2.6.32.10-90.fc12.i686) KK. ... 20 Apr 2010 16:33
Class constants Should I be able to do this: class X { const FOO = 'foo'; const FOOBAR = X::FOO . 'bar'; .... } ? Because I can't. I get "syntax error, unexpected '.', expecting ',' or ';'". I assume this is because the constants are like statics which can't be initialised by functions etc. but is there really an... 20 Apr 2010 14:31
Mail Function Using PEAR Issues Hi, After several days, I have rebuilt my system on Linux using Ubuntu, installed PEAR and such. Thankfully, when I execute the code, it no longer gives me the error that the class is not found. Yet, when I submit the form now, I can always see the confirmation message telling me that my message has been sent, b... 21 Apr 2010 19:51
Does PHP support multi-thread ? Hello, everyone, please answer me. Thank you. Does PHP support multi-thread ?... 19 Apr 2010 07:26
solution I have reached a solution for my problem with js. Following all the sugestions and using jquery turned out to be quite simple. using .ide( ) and .show( ) i am able to change the #div with Js enabled content and no js. So defining with css for example: #main{display:none;} #main_nojs{display:block;} if js is e... 19 Apr 2010 10:32
PHP include security Hi, Code: ========= ob_start(); switch ($this->command) { case 'include': @include($x); break; default: @readfile($x); } $data = ob_get_contents(); ob_end_clean(); ========= The above code snippet is used in a class which would allow developers (of a specific CMS) to include files with... 19 Apr 2010 12:37
Include security? Hi, Code: ========= ob_start(); switch ($this->command) { case 'include': @include($x); break; default: @readfile($x); } $data = ob_get_contents(); ob_end_clean(); ========= The above code snippet is used in a class which would allow de... 17 Apr 2010 02:08
Getting file pointer from file descriptor Hi Rasmus, Thanks for reply. The requirement I was looking for is to read/write given only the file descriptor number. PHP-CGI binary is invoked by a webserver that runs in jail-directory and doesn't have access to the file path directory. So, it communicates with another daemon that opens a socket to that fi... 23 Apr 2010 04:31 |