Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Disable .php Handler For A Specific Browser,


I would like to know if there is a way to remove/disable .php handler
when the request come from a specific Browser.

I ask this because I use dreamweaver / webdav to edit my .php files.
But when I try to open the .php file in dreamweaver, what I see if the
result of the .php executions, not the .php source files.

I know that you can create an Alias location "/dav", and disable the
..php handler for this location. It's a solution, but not the best I
think. It would be better if we can disable .php runtime where
dreamweaver Get the files.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Sending People To Specific Pages That Are Coming From Specific Pages...
I want to show some specific pages to people that comes to my site from
specific urls, I know the variable $_SERVER['HTTP_REFERER'] will be
used but how?

For ex if the visitor comes from a site that is like:

I want to send this person a specific.php . I used below code but not
worked:

<?php

if($_SERVER['HTTP_REFERER'] == "www.cominghost.com" ||
$_SERVER['HTTP_REFERER'] == "cominghost.com" ||
$_SERVER['HTTP_REFERER'] == "www2.cominghost.com"){

// Specific page html goes here

}
else
{
header("Location: index.php");
}
?>

This code not worked for some cases like if the visitor comes from
http://www.cominghost.com/account/targeturl.php or
http://cominghost.com/account/targeturl.php Ok I know the if statement
not working but How?

=& Instantiate The Handler
What does the =& do in the following code?

//instantiating the handler
$Obj =& new Baz();

Why couldn't I use just = with the ampersand like below?

//instantiating the handler?
$Obj = new Baz();

Add Handler ? #!/usr/local/bin/php
I have a web page like this

#!/usr/local/bin/php
<?
echo "hello";
?>

It always shows the first line as text output. Does anyone know how to
let web server or intepreter ignor this line.

I try to add the following line in the httpd.conf
AddHandler cgi-script .php

And make the file executable. It shows " internal server error".
Since this package has around 40 or 50 pages. I do not want to get
into each file and comment it out. Any idea about this?

Error Handler
In my code I have a block like this
----------------------------------------------------------------------
$old_error_handler = set_error_handler('HLErrorHandler');
// some code
restore_error_handler();
//some code
$old_error_handler = set_error_handler('HLErrorHandler');
----------------------------------------------------------------------

once I call the function 'restore_error_handler()' I can't set the error
handler back to ''HLErrorHandler''.
Does anyone know why?

Result Handler Set?
I'm getting an error which get's reported something like "can't save result handler blabla".. .. i didn't note the exact error at the time and i can't bring it back cuz i deleted my whole database and started from scratch.. anybody know what this is about?? i'm pretty sure it's something to do with mysql.. it shows with mysql_error().

Serialize Handler
Does anyone know how to write a serialize handler function
(session.serialize_handler)? There's not a word about it in the manual.

Download Handler
I've developed a download handler, it works perfectly in all cases but
one: When the file is bigger than the memory_limit from php, the
apache webserver falls down.

This is the code:

MySQL Session HANDLER HELP!!!!
What My Problem Is:
ARGH! I've been trying to get a MySQL Session Handler to work
with no avail! Can someone give me any input before I go on a
rampage?

This is what it Does:
Say I call session_start(); apparently the session is written
but saved into a file still? I can register a variety of session
variables but it never shows up in the DB until I register
valid_user? WTF is WRONG WITH THIS PICTURE. hehe sorry
stressed. It apparently doesn't matter where I register
valid_user as long as I do register valid_user for it to work.
Strange huh? *sigh* I have all my configuration set correctly
I think session.save_hander is set to user, and I even added
a check for it in the code. If anyone can help I will be very
greatful.

Here is the Session Handler Code, Ying's Code With Mods:
assert(get_cfg_var("session.save_handler") == "user");

$SESS_DBHOST = "localhost";/* database server hostname */
$SESS_DBNAME = "IntranetIEDB";/* database name */
$SESS_DBUSER = "root";/* database user */
$SESS_DBPASS = "ieei";/* database password */

$SESS_DBH = "";
$SESS_LIFE = get_cfg_var("session.gc_maxlifetime");

function sess_open($save_path, $session_name) {
global $SESS_DBHOST, $SESS_DBNAME, $SESS_DBUSER, $SESS_DBPASS, $SESS_DBH;

if (! $SESS_DBH = mysql_pconnect($SESS_DBHOST, $SESS_DBUSER, $SESS_DBPASS)) {
echo "<li>Can't connect to $SESS_DBHOST as $SESS_DBUSER";
echo "<li>MySQL Error: ", mysql_error();
die;
}

if (! mysql_select_db($SESS_DBNAME, $SESS_DBH)) {
echo "<li>Unable to select database $SESS_DBNAME";
die;
}

return true;
}

function sess_close() {
return true;
}

function sess_read($key) {
global $SESS_DBH, $SESS_LIFE, $SESS_DBNAME;

$qry = "SELECT value FROM sessions WHERE sesskey = '$key' AND expiry > " . time();
$qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH);

if (list($value) = mysql_fetch_row($qid)) {
return $value;
}

return false;
}

function sess_write($key, $val) {
global $SESS_DBH, $SESS_LIFE, $REMOTE_ADDR, $SESS_DBNAME;

$expiry = time() + $SESS_LIFE;
$value = addslashes($val);

$qry = "REPLACE INTO sessions VALUES ('$key', $expiry, '$value','$REMOTE_ADDR')";
$qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH);

return $qid;
}
/*
function sess_write($key, $val) {
global $SESS_DBH, $SESS_LIFE ,$REMOTE_ADDR;

$expiry = time() + $SESS_LIFE;
$value = addslashes($val);

$qry = "INSERT INTO sessions VALUES ('$key', $expiry, '$value','$REMOTE_ADDR')";
$qid = mysql_query($qry, $SESS_DBH);

if (! $qid) {
$qry = "UPDATE sessions SET expiry = $expiry, value = '$value' WHERE sesskey = '$key' AND expiry > " . time();
$qid = mysql_query($qry, $SESS_DBH);
}

return $qid;
}
*/
function sess_destroy($key) {
global $SESS_DBH,$SESS_DBNAME;

$qry = "DELETE FROM sessions WHERE sesskey = '$key'";
$qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH);

return $qid;
}

function sess_gc($maxlifetime) {
global $SESS_DBH,$SESS_DBNAME;

$qry = "DELETE FROM sessions WHERE expiry < " . time();
$qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH);

return mysql_affected_rows($SESS_DBH);
}

session_set_save_handler(
"sess_open",
"sess_close",
"sess_read",
"sess_write",
"sess_destroy",
"sess_gc");

Email Handler Problem
I'm having problems with my PHP form handler. It used to work correctly, but
now for some reason its not. I'm hoping someone here could take a look and
tell me where I might have gone wrong.

Just for background info, when I click submit the form sends okay, but when
the email arrives in my inbox the $name value is non-existent - like nothing
had been entered in the box on the web page form.

Also, I'm not sure if this is relevant: The server uses PHP version 4.4.4

The form handler: (scripts/ct_em.php)

<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;

mail( "ME@MYDOMAIN.COM", "SUBJECT OF THE EMAIL",
"NAME: $name

EMAIL ADDRESS: $email

MESSAGE FOLLOWS BELOW:

$message",
"From: $email" );
header( "Location: THANK-YOU PAGE" );
?>

The form: (03_contact.html) - it should be noted that I've got a Javascript
validation script that checks the length of the value of the email address
field to ensure that it's not left blank - it's had no impact on the form
working or not working - when the form did work this Javascript was always
present.

<form enctype="multipart/form-data" method="post" action="scripts/ct_em.php"
name="form1">

<table width=288 cellpadding=0 cellspacing=0>
<tr valign=center>
<td class="body_mid" width=288>Name:<br><input name="name"
style="font-size: 12px; width: 288px; height: 19px;"></td>
</tr>
<tr valign=center>
<td width=288 height=5></td>
</tr>
<tr valign=center>
<td class="body_mid" width=288>Email address:<br><input name="email"
style="font-size: 12px; width: 288px; height: 19px;"></td>
</tr>
<tr valign=center>
<td width=288 height=5></td>
</tr>
<tr valign=top>
<td class="body_mid" width=288>Your message:<br><textarea name="message"
style="font-family: Arial; font-size: 12px; width: 288px; height:
50px;"></textarea></td>
</tr>
<tr valign=center>
<td width=288 height=10></td>
</tr>
<tr valign=center>
<td width=288><a href="javascript:document.form1.submit()"
OnMouseOver="se.src='images/bu_se_lt.gif'"
OnMouseOut="se.src='images/bu_se_dk.gif'" onClick="return validate();"><img
name="se" id="se" src="images/bu_se_dk.gif" alt="Send" border="0"></a></td>
</tr>
</table>

</form>

Setting My Own Session Handler..
I'm trying to handle sessions using php5, but having some troubles to
design it..
Ok, I have to use "session_set_save_handler()" to override session
management but I don't really understand callback functions arguments.
According to doc (http://fr3.php.net/manual/fr/function.session-set-
save-handler.php french version),
open(), close() take not arg, read() takes $id, write() takes $id,
$sess_data and so on...
But too few doc about it.. a little may be found there:
http://shiflett.org/articles/storin...s-in-a-database

My question: do we have to take in account these args ? May I
implement my callback functions without supplying those arguments but
my own ones ? How have I to consider it ? :)

Event Driven Handler In PHP
I started creating a variety of classes
(calendars, input forms, combo boxes, etc. ) but I am running into code
overhead when I integrate these objects (testing for POST, GETS,
Cookies etc.).

I am looking for an interrupt driven approach to handle event
processing (akin to VB's GUI) to simplify interactions. Basically, I
would like to create the objects to be displayed on the pages and then
activate a page event handler to process ithe inputs. Currently I am
using a mix of js, php and session cookies. But I don't like this
hybrid approach.

AFIK, PHP does not natively support event interrupt handling. Is there
somewhere an add-on or a more elegant work-around to handle such
situations?

I read about Ajax, XML and related technologies. Is this the path to
go?

Generic Form Handler
I have a number of forms on a website that I maintian. A few of them have 40+ fields and are currently being handled by frontpage server extensions.

What I would like to do is write a generic form handler that can take any number of fields and process it, then email the contents to the appropriate person. I do not want to have to write a seperate form handler for each form. I'm trying to save myself work in the long run. Can this be done? Do I have to use an array?

Stale NFS File Handler
I have an error that I've never come across before. When I try to upload or delete an image I get the following error:

Warning:
copy(/import_fs1/home/sitevision/public_html/clients/bedsrus/preview/images/ausmonthly.jpg) [function.copy]: failed to create stream: Stale NFS file handle in /import_fs2/home/sitevision/public_html/clients/bedsrus/preview/admin/manageMonthly.proc.php on line 59

Does anyone know what could be causing this or how I could fix it? I talked to the host and all they offered to do was debug my code for $100 per hour, so not sure how much help they'll be.

Where Is Form Handler Code?
I'm working on an open source PHP project.

what PHP does when there is no 'action='
specified in the form tag?

An example being: <form name='EditEntity' method='POST'>

I've seached all the code for 'EditEntity' and '$_POST' but no sign of
either.

Namespace Handler Isn't Called
I'm using the XML functions in PHP 5. The callback function I set for
namespace declarations doesn't get called. Can anyone help me out?
The code is:

$xml = '<addressbook
xmlns:ab="http://www.somewhere.com/addressbook/">' .
'</addressbook>'
$parser = xml_parser_create_ns();

xml_set_element_handler( $parser, 'StartHandler', 'EndHandler' );

/* The handler doesn't get called for some reason */
xml_set_start_namespace_decl_handler( $parser, 'NSHandler' );

xml_parse( $parser, $xml, true);
xml_parser_free( $parser );

function StartHandler( $parser, $name, $attrs ) {
print( 'StartHandler Called<br/>' );
}

function EndHandler( $parser, $name ) {
print( 'EndHandler Called<br/>' );
}

function NSHandler( $parser, $prefix, $uri ) {
print( 'NSHandler Called<br/>' );
}

And the output is:

StartHandler Called
EndHandler Called

I want the output to be

StartHandler Called
EndHandler Called
NSHandler Called

Mysql Session Handler?
Can anyone recommend a good php-mysql session handler class?
I have found a lot of them, but they are all pretty old, pre-2005...

Disable Cookie
I am using cookie to hide a variabe in send.php3 as following:send.php3: PHP Code:

Disable Checkbox
I have a checkbox that I set by php code to be either "checked" or "".
I want to disable the ability of the user to check or uncheck it. I
tried "readonly", but that didn't work.

Can I Disable $PHP_AUTH_PW?
Is there any way I can disable the setting of the environment variable $PHP_AUTH_PW? I'm authenticating via LDAP, and don't need (or want) the password available to PHP. I also don't need $PHP_AUTH_USER; the current authenicated user is available in $LDAP_USER.

Disabling The Built-in POST Handler
I need to handle very large file uploads and push the data into a socket.
Having php to write everything to a temporary file, then reading it
again inside the script and pushing it into the socket is very inefficient
and imposes size limitations to the uploaded files (which may reach GB
in size)....

Download Handler, Continued With .htaccess
I have a /download directory for my website. I dont want the files to
get downloaded just by typing
http://www.foo.com/download/some_file.doc because its sensitive
information.

I was wondering if there's a way to DISABLE the file download through
the .htaccess, and then i could get the file with something like:
http://www.foo.com/get.php?id=$ID_OF_FILE&hash=MD5($filename)

Could Someone Show Me How To Make A Form Handler?
I have tried and tried, but I can't seem to make a php form handler. I would love it to be able to check for required fields, and to be able to show the viewer their information before it is submitted, so they can make changes before it is submitted.

Echo Html With Javascript Handler
I'm building a site that is a photo archive. The way it works is the photographers submit a series of photos for a log number. (5855-1, 5855-2, 5855-3, etc.)

A search returns the first image in a series (5855-1). Clicking on the image makes two hidden divs visible and initiates a AJAX script. The first div is just a screen to darken the background stuff, the second div gets populated with the results of the AJAX call, which is just a query to the db to get the number of images in the series and path to the thumbnails.

All works fine but on my php page that is called through the AJAX script I have this bit of code:

$table .= "</tr><tr valign='top'><td colspan=&#394;' align='center'><p><a href='#' onClick="closeDivs();">Close</a></td></tr></table>";

this is closing out the table that displays all the images. I am trying to drop in a javascript handler that would close the two divs and return the viewer to the initial view. However, when I click the "Close" link in Fire Fox, Error Console tells me that closeDivs is not defined.

On the page the user is on I do have the closeDiv() function at the top - here's the code:

<script language="javascript">
function closeDivs() {
if (browserType == "Firefox") {
//get screen div
screenDiv = document.getElementById("screen");
imageDiv = document.getElementById("imageFloat");
//get visibility state
screenDivView = screenDiv.style.visibility;
imageDivView = imageDiv.style.visibility;
//-->determine if it is on or off
if (screenDivView == "visible") {
screenDiv.style.visibility = "hidden";
}
//turn div on
if (imageDivView == "visible") {
imageDiv.style.visibility = "hidden";
}
</script>

I thought maybe it was looking for the JS on the PHP page that AJAX called but I dropped it (the closeDivs JS) on there and I still get the same errors.

Custom Php Handler Using Apache's Mod_actions
i have a problem using a PHP script as a custom handler in Apache.
What i wanna do is this:

Whenever a .html file is requested by a browser, i want Apache to call a
CGI that outputs a header, then the requested file and then a footer.
I want to use PHP for this, as i also want to do some template parsing.

Well, basically, this can be done using Apache's mod_action module,
where a custom handler can be defined for a certain filetype.
This does work correctly. If i request a .html file, the handler is
activated.

The strange thing is this: PHP does not output anything but the html header!

This is my custom handler file:
------------<htmlhandler.cgi>---------------
#!/bin/bash
/usr/bin/php-cgi test.php
--------------------------------------------

You see, php-cgi is called to execute test.php, which looks like this:

------------<test.php>----------------------
<?php
phpinfo();
?>
--------------------------------------------

what i would expect is, that the PHP info page is being sent to the
browser, which is not the case. All that is sent back is the .html file
i requested. And the strange thing is: If i execute the CGI from
commandline, i get all the phpinfo output! It just doesn't work when
called by apache!

You might think that the handler is not activated at all, but it is,
because if i change something in the custom handler config, like
spelling the filename wrong, i get a server error.

Also, i tried this using php-cgi directly, like this:

------------<htmlhandler.cgi>---------------
#!/usr/bin/php-cgi
<?php
phpinfo();
?>
--------------------------------------------
Which just gives me back the exact same results (just the requested
..html file).

Form Data Not Passing To PHP Handler
Using a basic PHP file to handle incoming form data of a single text
field, I have determined that the contents of the input is not being
passed. The PHP reports the variable as empty...

I suspect the reason it is getting "lost" on the way there is that the
form is part of an include (header.html) rather than hard coded into
the main page. So its link to the PHP handler is not direct. Is that
possible? I was using GET method but to eliminate issues such as
superglobals being off, I switched over to POST, at least for now and
until I get it working...

Why My Error Handler Function Can Not Work?
I want to write my own error handler function in php by using
"set_error_handler()" function. I have made a test for this function but
found it did not work. My test code is as following:
<?php
function myerrorHandler ($errno, $errstr, $errfile, $errline,
$errcontext)
{
switch ($errno)
{
case E_USER_WARNING:
case E_USER_NOTICE:
case E_WARNING:
case E_NOTICE:
case E_CORE_WARNING:
case E_COMPILE_WARNING:
case E_USER_ERROR:
case E_ERROR:
case E_PARSE:
case E_CORE_ERROR:
case E_COMPILE_ERROR:
echo "This is my own error handler
function
";
die();
}

}
set_error_handler("myerrorHandler");
Undefined();
?>

In the code, "Undefined()" is a function which is not defined in the
file, so it should produce a error message.
If my own handler function works, it should print "This is my own error
handler function". but actually, when my program runs, it gives the
error report:

Disable (grey Out) A Button.
Experienced programmer but new to PHP. Moreover I'm to use PHP with Xoops on
top (this adds object orientation?).

I don't seem to find a xoops Usenet group?

Whatever the case (and presumably a Xoops property): how does one disable
(grey-out) a button?

Disable Right Click In Opera
In my website there is requirement to disable rightclick.
I am providing the code and it is working in I.E ,Netscape and
Mozilla.But not working in Opera browser.
My code is
<body oncontextmenu='return false;'>
The above single line code is working very fine in the above browsers
not in Opera.

Disable Phpinfo In Php3
In PHP4 there is the posibility to disable the use of phpinfo() by putting "disable_functions = phpinfo" in the php.ini-file. Is this also possible with PHP3 (in php3.ini) or is there another way of disabling this function?

How To Disable PHPSESSID From Posting In URL
I don't want the URL to display this info. I never notcied this being displayed before but all of a sudden it seemed to pop-up. I don't host my own server so any access to the php.ini file is not possible. Any ideas out there?

How To Completely Disable Openbase_dir?
I'm using php 4.3.4 and have an intermitent problem with gallery
(gallery.sourceforge.net) regarding the open_basedir restriction in
php. The error I am getting is:
------
PHP Warning: (null)(): Failed opening
'/home/httpd/vhosts/mydom.com/httpdocs/gallery2/main.php' for inclusion
(include_path='.:/usr/share/pear') in Unknown on line 0, referer:
http://mydom.com/gallery2/main.php
------
I have disabled safemode and open_basedir in php.ini and have verified
through a phpinfo() call that they are disabled. Actually,
open_basedir is reported as being set to "no value" and safemode is
reported as disabled.

The strange thing is that this does not happen every time i access this
page. It is only 1 out of 10 times and usually it is the first time i
access the page for the day(but not always). I have restarted httpd
and the server just in case. I also checked .htaccess but it shouldnt
matter since phpinfo() says it is not set. This is baffling to me! If
I could rip this feature out I would. It was installed by default on
my dedicated server.

How To Disable Controle Keys
In my application I want to disable my controle keys to
save copying and taking screen shots of the my page.

How Do You Disable The Close (x) On A Window
I'm running a PHP script on page1.php that takes a few seconds, once it has run the page then redirects to page2.php automatically sending variables . However, if the user shuts page1.php by pressing the X on the top right of the screen, the redirect doesn't happen!! Does anyone know how to disable the X and stop the page being closed down please?? or another solution??

How Do I Unclock The URL/disable Frameset?
I have a few websites out there and set up alittle script for my friends to auto register subdomains for their affiliate sites. Problem is, some affiliate programs don't allow URL MASKING and I can not figure out HOW to disable it within the script. Could someone take a look at this and help me?

I'm trying to disable the frames in forward.php, along with whatever it gets linked to (i'm very new to this, so i included a link to whole script incase there is more then just forward.php I need to edit). Code:

Disable The Values In Address Bar??
Am trying with a social network site... i want to disable the values in address bar which are passing as string variables, My pages are included in the index page.. and my values are passing like that... by changing the values in address bar my page is changing..

How can i solve this issue... i think anyone can change my site using this address bar.. how could i prevent this???

Disable Right-click On Mouse
Is there a php script that wil disable the right-click on mouse or maybe disable the copy and paste feature of the browser?

because i have a client, wherein he wants to prevent public viewing his website from copying his website content?

How To Determine If The Browser Is An English Browser
need to seperated english traffic from the rest of it. What is the easiest way to do this? get_brower() seems pretty complicated, and from what i here sucks pretty bad!

Error Handler With Email Address Defined Elsewhere ?
Without using globals, how would one use an email address defined elsewhere, from within an error handler function. I can t pass it in as an argument, and the variables outisde the function arent available within it.

Falling Back To PHP's Session Handler
I've created a custom session handler that saves session data to a
MySQL database. If the database server is down, I'd like to fallback to
PHP's default session handler (files) until the server comes back up.

After calling session_set_save_handler(), is there a way to tell PHP to
ignore this setting and revert to temp files for session storage? If I
try an ini_set on session.save_handler upon detecting that the DB
server is down, it doesn't work because the session is already active.

Disable Download Image To Disk
Could someone please direct me to a way to preventing people from downloading images from my website.

Disable Command Line Arguments For Php-cli
i have been trying to disable the -n and -c arguments that you can use with php from the command prompt. this is because these features can effectively disable my php.ini which has a whole mess of disabled_functions (that i want to ensure remain disabled).

my best idea for going about doing this so far has been to download the source for the newest php, with hopes to compile my own which will ignore arguments other than a filename. so far the closest i have got is to the the zend_API.c which has the follow function: Code:

Disable Magic_quotes_gpc In A .htaccess File
How do I disable magic quotes via .htaccess?

I put the following file in my webroot, but it does not disable
magic_quotes_gpc (according to phpinfo(), both the local and master value
are still "on")

<IfModule mod_php4.c>
php_value upload_max_filesize 8M
php_value magic_quotes_gpc 0
</IfModule>

The change to upload_max_filesize works (master is 2M, local value is 8M,
according to phpinfo())

Disable Backbutton - When Page Has Expired...
I have this on the page:
<?php
header("Pragma: no-cache");
header("Expires: -1");
?>

but I want it so, that when the user goes back, (s)he might not be
allowed too - say the session has expired.

How can i achive that?


Disable Coding In Textboxes/Textfields
Is there a way to disable PHP, HTML, and the sort in textboxes and input fields? There are things called SQL Injections which are usually used in an url or input field to steal data from the database.

Custom User Session Handler + PHPSESSID In Cookie
I tried to implement my own session handler in order to keep control on
the process the drawback I foun it is not creating and storing in my cookie the
PHPSESSID variable anymore. reading the documentation it seems it should do it anyway

the session handler, from php website:

Why Does PHP As Apache Module Disable PHP's Java()?
My site was suddenly running HTTP authentication and was faster.
But if this was a problem from the past, now a entire part of my site does't work because my calls i had to function Java()
now generate this output:

Fatal error: Call to a member function on a non-object
HTTP authentication(PHP as Apache module) versus Java Virtual Machine

what's the relation between them, how can i restore Java() to work properly. Is it on httpd.conf?

why does not PHP call Java extension if it is installed on Apache as a module?

Disable User From Downloading Php3 Web Page.
I would like to allow user only to view php3 page but wants to restrict him from downloading and saving on his hard disk.

Warning: Fsockopen() (how To Disable Debug Messages)
In Win32 PHP you can disable debug messages using the php.ini Can someone tell me how to do that in linux? there is no php.ini in linux Php script running on windows Php script running on linux.

Disable Safe Mode Without Loss Of Security ?
I'm trying to disable safe mode from my php installation. First
because this functionality will be removed in PHP6, and because it's
very restrictive and it's giving me headaches when configuring
frameworks and other applications. Moreover, it's said on the php
website that the safe mode solution is not a good thing... I'm looking
for a tutorial which indicates what to configure on a server in order
to have a secured installation of PHP, but without safe mode. I can't
find it...


Copyright © 2005-08 www.BigResource.com, All rights reserved