I have a public site that creates biorhtym charts using Php.
I have put the following in my php.ini file in case of unforeseen
errors/warnings:
display_errors = Off
display_startup _errors = Off
log_errors = On
error_log = php_error.log
Every once in a while I get an entry in my Apache access log file from
someone clicking on the link in a Php warning message - a warning that
should not appear because of the above.
Like, this warning:
PHP Warning: mysql_connect() [<a
href='function. mysql-connect'>functi on.mysql-connect</a>]: Access denied
for user .......
I get a 404 error when they click on the [bad] link to
function.mysql-connect.
Of course, I should find the bug that causes this and get rid of it, but
how can that link appear on the page if I have display_errors = Off?
What I think I'm really asking is; can display_errors be hacked somehow?
And I guess I also have to ask, why is that bad link put into the
warning message in the first place?
--
*************** **************
Chuck Anderson • Boulder, CO http://www.CycleTourist.com
*************** ************** 2 3478
Hi,
Hrmm, if you haven't already maybe it might be good to verify that
display_errors is truly off, by looking at the phpinfo() output
(Configuration -PHP Core) on the same page that displays the error...
Chuck Anderson wrote:
I have a public site that creates biorhtym charts using Php.
I have put the following in my php.ini file in case of unforeseen
errors/warnings:
display_errors = Off
display_startup _errors = Off
log_errors = On
error_log = php_error.log
Every once in a while I get an entry in my Apache access log file from
someone clicking on the link in a Php warning message - a warning that
should not appear because of the above.
Like, this warning:
PHP Warning: mysql_connect() [<a
href='function. mysql-connect'>functi on.mysql-connect</a>]: Access denied
for user .......
I get a 404 error when they click on the [bad] link to
function.mysql-connect.
Of course, I should find the bug that causes this and get rid of it, but
how can that link appear on the page if I have display_errors = Off?
What I think I'm really asking is; can display_errors be hacked somehow?
And I guess I also have to ask, why is that bad link put into the
warning message in the first place?
--
*************** **************
Chuck Anderson · Boulder, CO http://www.CycleTourist.com
*************** **************
petersprc wrote:
Hi,
Hrmm, if you haven't already maybe it might be good to verify that
display_errors is truly off, by looking at the phpinfo() output
(Configuration -PHP Core) on the same page that displays the error...
I hadn't bothered, but I just did and display_errors is Off.
Chuck Anderson wrote:
>I have a public site that creates biorhtym charts using Php.
I have put the following in my php.ini file in case of unforeseen errors/warnings: display_erro rs = Off display_startu p_errors = Off log_errors = On error_log = php_error.log
Every once in a while I get an entry in my Apache access log file from someone clicking on the link in a Php warning message - a warning that should not appear because of the above.
Like, this warning: PHP Warning: mysql_connect() [<a href='function .mysql-connect'>functi on.mysql-connect</a>]: Access denied for user .......
I get a 404 error when they click on the [bad] link to function.mys ql-connect.
Of course, I should find the bug that causes this and get rid of it, but how can that link appear on the page if I have display_errors = Off?
What I think I'm really asking is; can display_errors be hacked somehow?
And I guess I also have to ask, why is that bad link put into the warning message in the first place?
-- ************** *************** Chuck Anderson · Boulder, CO http://www.CycleTourist.com ************** ***************
--
*************** **************
Chuck Anderson • Boulder, CO http://www.CycleTourist.com
Everyone's journey should be different,
so that we all are enriched
in new and endless ways
*************** ************** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: austinJim |
last post by:
IIS has quit displaying ASP errors it finds. Errors from SQL Server are displayed as are "page not found" errors but VBScript syntax errors are not. For example, the following code should give the error that x has not been declared but the page just stops processing after displaying "here".
<%
response.write("here")
x
%>
Thanks!
|
by: Al Evans |
last post by:
I'm sorry to barge right into a new newsgroup with a problem, but
though I'm old to many things, I'm new to CSS.
Here are two web pages. Apparently, they don't display correctly in IE6
under Windows. Both the HTML and the CSS validate with no errors, no
warnings. Both of them display correctly with Mozilla 1.2.1 and KDE
Conqueror, both versions a couple of years old.
<http://www.alevans.com/pyf/index.html>
|
by: Steve - DND |
last post by:
I was wondering if anyone can point me to some articles or practices they
use for dealing with errors in their applications; particularly in an n-tier
design. I am trying to find one way to conveniently handle both soft and
hard errors, primarily for display to the end user.
One method I have considered is rethrowing exceptions. With this approach, I
would throw a plain old ApplicationException, with the Message property as
the polite...
|
by: ruby_bestcoder |
last post by:
Hi
Im having problem in firefox with display:none/block.
I have essentially 3 li elements. In each element there are a few
nested div:s. Clicking on one of the divs, makes another div to
display: block or none.
Again this works in IE. In ff it has a bug. When the display is none
for a div in the first li, then the next li (the one underneath) moves
up to the right, looking very ugly. Is there someone who has had the
|
by: * Tong * |
last post by:
Hi,
I'm wondering if you can show me an example php page that allows me to
retrieve and display 3rd party pages. I.e.,
when my php script is called as http://site/path/getit.php?file_key
it can retrieve from http://3rd.party/path2/name-with-file_key.htm
and display the result back to the browser.
I don't know php, and start to learning it. So I hope you can give me a full
| |
by: fishwick |
last post by:
I haven't really done any css in quite a while, and am banging my head
against the wall trying get the rudimentary layout together of a church
website home page to display correctly - I don't want to continue work
until I understand what I'm doing wrong.
http://www.christchurchinfo.net
The site displays nicely in Firefox/Mozilla and Safari, but the stained
glass windows navigation portion is getting pushed down in IE, and the
"news"...
|
by: ak1dnar |
last post by:
Hi, I have created a PHP page that write down form data to mySQL table.
Before i submit data I want to check the Input field, whether it has filled up or Not.
the form should validate from the PHP itself Not from JS or any other client side scripting.
when i submit the form by using $PHP_SELF i can trap the errors, but it will delete previously entered values from the page and display empty input boxes.
So what i need to do I want...
|
by: nitinpatel1117 |
last post by:
I have display errors set to on in my php configuration.
i only want to turn of display errors on one particular page/script
i have tried to use the set_ini() and error_reporting() functions, but they do not seem to hide the erros
ini_set('display_errors', 0);
error_reporting(0);
none of the above work.
|
by: William Gill |
last post by:
I hope I can state this clearly enough.
I am redoing some of my html(php) forms. I'm trying to break things
into three functions on a self processing php page:
1) show the form (and populate fields if there were errors)
2) validate form data
3) process form data
2 and 3 are no problem, but 1 is. The page with the form displayed
should validate as html 4.01 strict (actually all iterations of the page
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |