473,480 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

prevent php execute

Hi all
In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cm****@hotmail.com)
Sep 7 '08 #1
3 2797
peter wrote:
Hi all
In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cm****@hotmail.com)
Don't put any PHP coded pages in it.
Sep 7 '08 #2
..oO(peter)
In apache, How can i prevent php to be execute in a specific
directory?
If PHP runs as a module, you can use .htaccess files to turn it off on a
per-directory basis with the 'engine' directive.

http://www.php.net/manual/en/apache....php#ini.engine

Micha
Sep 7 '08 #3
On Sep 7, 4:20*pm, peter <cmk...@hotmail.comwrote:
Hi all
* * In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cmk...@hotmail.com)
You can use the engine directive in your httpd.conf to disable PHP for
certain directories with <directoryblocks. See the Apache
documentation and the Apache related newsgroups for more information.
Sep 8 '08 #4

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

Similar topics

2
1760
by: Jerry | last post by:
Hi All ! Could somebody help me out on this one: My script needs to execute a time consuming process which might take as long as an hour or so to finish. Usually, the time limit would produce...
25
3961
by: Dave Turner | last post by:
I know that its impossible to completely prevent somebody from ripping a site (or cracking software) if that person has the skills and the time/patience, but there are tricks that can be employed...
4
5485
by: seans | last post by:
Hi, Is there some way from preventing the JavaScript code in a document loaded into an iframe from executing? I don't have access to the pages being loaded into the i-frame so I can't modify...
1
1821
by: KEVIN97810 | last post by:
Hello to all, I read data from SQL and populate a table. Howerver, there are dups that I need to prevent into my table. The dups only are in these two fields. How do you prevent this in the...
8
4844
by: Smartin | last post by:
I have a form in Access97 which facilitates a query against a production Access database. Users will enter some search terms and see a datasheet view of the results in a subform. The prod table is...
2
3867
by: COHENMARVIN | last post by:
I'm writing a database application in asp.net, and I'm worried that the users will sometimes click the BACK button in their browser, thus making some pages re-execute, and possibly messing up the...
1
1814
by: Sagaert Johan | last post by:
Hi I made a control that in its onload sets the dockstyle to Fill, I only want this in runmode not in the IDE forms designer. Is there some attribute or define i can rely or use to prevent...
4
4873
by: Mark | last post by:
Can anyone tell me how i can prevent that users can see my connection string to mysql database? Using my browser i could easely use the function: view source.....showing the html/php code. ...
3
2684
by: moondaddy | last post by:
I have an htm page that will be passing data to the server via parameters in a hidden iframe's aspx page. I not need the aspx page to return back to the htm page because the mission has already...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7076
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
6873
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...
0
5321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.