| Author |
Message |
version2 Quate.net Programmer

Joined: 17 Feb 2005 Posts: 1152 Location: localhost.localdomain
|
|
| Back to top |
|
| |
LP-Trel Zen

Joined: 02 Dec 2002 Posts: 5760 Location: Nirvana by Boredom
|
Posted: Wed Jun 14, 2006 10:08 pm Post subject: |
|
|
While I couldn't say for sure.. it is most likely due to the security measures in place within PHP. _________________ * Knowledge Base * Wiki * Forum FAQs * |
|
| Back to top |
|
| |
packagedeliverer Pro Freelancer::llp elder

Joined: 20 Feb 2004 Posts: 2693 Location: belgium
|
Posted: Wed Jun 14, 2006 11:32 pm Post subject: |
|
|
I have my own self-made cpanel where I can edit files and it's still working like a charm... Maybe chmod it to another mode or something? _________________ [img:0a108d93e8]http://img338.imageshack.us/img338/9430/packagedeliverer54hy.gif[/img:0a108d93e8] |
|
| Back to top |
|
| |
version2 Quate.net Programmer

Joined: 17 Feb 2005 Posts: 1152 Location: localhost.localdomain
|
|
| Back to top |
|
| |
krt ...

Joined: 11 Jan 2005 Posts: 4745 Location: Down Under
|
Posted: Thu Jun 15, 2006 12:43 am Post subject: |
|
|
You cannot edit a file with a PHP script if there are no permissions to write. Also, have you noticed you are editing the file that is used for the script?
Try it with another file and give public write permissions, eg. 666 or 777.
You can also try using an FTP connection to manage the files, that way you can login as owner and have more permissions. |
|
| Back to top |
|
| |
LP-Trel Zen

Joined: 02 Dec 2002 Posts: 5760 Location: Nirvana by Boredom
|
Posted: Thu Jun 15, 2006 3:52 am Post subject: |
|
|
It isn't the script itself, but what you are attempting to write into it via a form in PHP.
The security system is zeroing in on it as an injection attempt due to the formating.
I would remove the measures as they do lead to some false positives when posting code, but the security situation is serious with many websites being hacked these days. L2P largely avoids these hacks due to the security measures in place. _________________ * Knowledge Base * Wiki * Forum FAQs * |
|
| Back to top |
|
| |
krt ...

Joined: 11 Jan 2005 Posts: 4745 Location: Down Under
|
Posted: Thu Jun 15, 2006 6:40 am Post subject: |
|
|
| But the message that you get is not a good indication of what has happened, it stumpted me twice for a few minutes. Maybe a message saying function names such as fo*pen, fs*ockopen etc. are blocked? |
|
| Back to top |
|
| |
LP-Trel Zen

Joined: 02 Dec 2002 Posts: 5760 Location: Nirvana by Boredom
|
Posted: Thu Jun 15, 2006 10:28 pm Post subject: |
|
|
| krt wrote: | | But the message that you get is not a good indication of what has happened, it stumpted me twice for a few minutes. Maybe a message saying function names such as fo*pen, fs*ockopen etc. are blocked? |
Unfortunately depending on the perceived severity of the attack the message will be generic as to not give someone attempting to crack the system too much information.  _________________ * Knowledge Base * Wiki * Forum FAQs * |
|
| Back to top |
|
| |
|
|
|