473,396 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

can badly coded PHP cause server problems?

Gav
Hi,

I am new to PHP and was just curious, how "fool proof" is PHP against
bad code? I.e. is it possible to cause major headaches for the server
(infinite loops etc) with bad code or is the PHP module pretty much
impossible to disrupt via badly written or malicious code?

cheers!

Gav
Jul 17 '05 #1
2 1712
Gav wrote:
Hi,

I am new to PHP and was just curious, how "fool proof" is PHP against
bad code? I.e. is it possible to cause major headaches for the server
(infinite loops etc) with bad code or is the PHP module pretty much
impossible to disrupt via badly written or malicious code?


In general yes. But if your PHP setup is correct and secured you can't
broke the server down.
Jul 17 '05 #2
Most servers has memory usage limit oper user to protect again these kind of
"attack".
PHP also has config for fopen() to limit user to his dorectory, and even the
new version of mysql has max connection limit for each user, and that is
just one exemple for each. Apache Perchild MPM is a good protection also.

Savut

"Gav" <ga***@my-deja.com> wrote in message
news:7d**************************@posting.google.c om...
Hi,

I am new to PHP and was just curious, how "fool proof" is PHP against
bad code? I.e. is it possible to cause major headaches for the server
(infinite loops etc) with bad code or is the PHP module pretty much
impossible to disrupt via badly written or malicious code?

cheers!

Gav


Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerson Kurz | last post by:
Hi all, a quick question: how can I force file() to create files that have "ALL ACCESS FOR EVERYONE" security attributes? Other than by a major rewrite of my existing code modules replacing the...
0
by: ccuthbert | last post by:
I have a MCMS 2002 site that we recently had several hotfixes installed. After installing the hotfixes, both AOL users and Earthlink users experience tha same problem, namely that intermittently...
2
by: Chris Mayers | last post by:
Can someone please try this, and tell me what happens, cause either I've got a weird bug in my VS2003, or I'm going mad... C# public void UpdateComments(string customerId, string comment) {...
3
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
0
by: tjonsek | last post by:
I am working with directories in PHP for the first time. I have code that I've changed multiple times to try different things. I would think this is pretty standard fare so I'm not sure why I can't...
2
by: parag_paul | last post by:
I was looking into the following page http://gcc.gnu.org/onlinedocs/gcc/Long-Long.html Here there is a term open-coded , why to ? And I saw the following definition for long long 5.8...
5
by: Lawrence Krubner | last post by:
Do any problems come up when using a static variable in a cron job? Assuming the cron job is called every 5 minutes for one year. Assume I've got an array that stores the names of which users are...
16
by: Wayne | last post by:
I have an Access 2003 data file that has now corrupted twice in a week. The database is extremely simple with one main data table and a few lookup tables. The lookup tables are linked to the main...
2
by: Bill H | last post by:
I have the same version of php running on our linux server as I have on my local xampp runing under windows. While working yesterday a piece of code I wrote just wouldn't work on the server, but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.