On Tue, 2010-03-02 at 09:35 -0500, Rick Dwyer wrote:
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
examples.
// parse item id from the url
$refer=$_SERVER['HTTP_REFERER'];
$thispage=$_SERVER['PHP_SELF'];
I do not know if the question has been answered, but how are you opening
the session? Are you using session_start() or are you using
session_register()?
Rick Dwyer wrote:
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
On Mar 2, 2010, at 9:35 AM, Ashley Sheridan wrote:
I'm assuming then that both the Javascript an the PHP code you have
above are both on the same page. The only way I can see your problem
occurring would be if your javascript part was on a different page
and you were attempting to output
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote:
I do not know if the question has been answered, but how are you
opening the session? Are you using session_start() or are you using
session_register()?
Hi Joseph.
It is created via:
session_start();
--Rick
--
PHP General Mailing List
Noe that the debuger chapter is closed, and you actually did create a
error tracker helper and try to return them client side, I can
understand that you are frustrated by the poor php layer and support
regarding exception handling, but on this point as a lot of people
answer you we are doing that
Hello Andrea,
I did not mean to hurt you, my point was: beeing a Jerk when it's
ending in void conflicts with people, if you don't like their
comments, just don't answer to people.
For my concern, a program cannot be debuged by itself (especially
with a scripting language, we almost did a joke
At 7:28 AM +0200 9/14/09, J DeBord wrote:
In all fairness Tedd, your example is a bit of a joke. Send some JSON back
and forth, do some database queries, and use a webservice all at the same
time. Your AJAX calls won't be so simple then.
Okay, so my work is a joke. Been there, done that
While it's a joke, in all fairness, it does work.
only because you debugged before server side responses, and now, as I have
said, you have an alternative to speed up that process.
Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded
the version 1.01 of
While it's a joke, in all fairness, it does work.
only because you debugged before server side responses, and now, as I have
said, you have an alternative to speed up that process.
Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded
the version 1.01 of
That I created some fresh air or something new? Sure, thanks
Date: Sat, 12 Sep 2009 11:47:27 -0700
From: li...@cmsws.com
To: an_...@hotmail.com
CC: pa...@quillandmouse.com; php-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
Andrea
-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote:
Andrea Giammarchi wrote:
something I cannot find in any other library or framework.
This should tell you something
On Sun, Sep 13, 2009 at 01:33:49PM +0200, Andrea Giammarchi wrote:
snip
This ML is a bit different from what I was expecting,
snip
P.S. I am certified Zend Engineer with 10 years of experience with PHP and
dunno how many innovation awards in phpclasses.org ... so it was not just to
What does this offer that a real debugger, like xdebug, doesn't?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: jasdeb...@gmail.com
Date: Sat, 12 Sep 2009 22:37:01 +0200
To: php-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error
Debugger
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote:
Andrea Giammarchi wrote:
something I cannot find in any
Hello Andrea,
I am developing with PHP since now 12 years (did a couple stuff in
Zend Core), and was one of a few guy using and sharing about php when
it was only an THE Apache mode in the world C++ CGI, I am not Zend
Certified, I won't :), anyway those things make me smarter or give me
, that IS what I
was expecting
Date: Sun, 13 Sep 2009 13:52:11 -0400
From: oorza...@gmail.com
To: pa...@quillandmouse.com
CC: php-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
What does this offer that a real debugger, like xdebug, doesn't
- PHP Error
Debugger
What does this offer that a real debugger, like xdebug, doesn't?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Share your memories online
is not offered so far by your suggested one as well, and please
tell me how quick could be an instant PHP error on screen during tests or
debug rather than a log analysis but in any case, thanks for the feedback.
This is the only serious analysis so far, and I am looking forward for others,
if any.
Best
Sorry, I meant environment
... plus you'll have 1:1 production/development application
_
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
was a desirable
thing. Things like xdebug, display_errors, inclued, etc. should be
disabled for production and enabled for development.
That simplicity is not offered so far by your suggested one as well, and
please tell me how quick could be an instant PHP error on screen during
tests or debug rather
No, display_errors should be turned off (with log_errors turned on)
and error_reporting should be set to whatever standard you're coding
to (preferably, E_ALL | E_STRICT, but a lot of people like to ignore
E_NOTICE's).
yep, it should be a production environment
So it's not zero
At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote:
I was expecting somebody that develop massive Ajax application, not
a link with 3 pages and zero point about the reply.
You asked if anyone did any ajax? So, I replied and provided you with
an example.
Who cares if my example only has
On Mon, Sep 14, 2009 at 2:05 AM, tedd tedd.sperl...@gmail.com wrote:
At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote:
I was expecting somebody that develop massive Ajax application, not a link
with 3 pages and zero point about the reply.
You asked if anyone did any ajax? So, I replied
I dont think I understood you completely..
Javascript debugger: Something you use to debug javascript. but
Formaldehyde dosent make any seance if xhr object is not used.
PHP Debugger: We cant use Formaldehyde to debug errors in every single
PHP script. I am talking about pages called directly via
@Andera May be you should consider using application/json as the
content type instead of text/plain.
The Response text given by Formaldehyde cannot be understood manually
(for example if I use jQuery.load()).
Had the content type been application/json firebug parses it by default
my
my english is not perfect, right ... but let me unsderline something.
The subject:
[Formaldehyde] The Most Basic Ajax -- - *PHP* *Error*
*Debugger*
It's a PHP Error Debugger specially suited for Ajax interactions.
Secondly,
The set_error_handler is not enough, write it even
: kranthi...@gmail.com
Date: Sat, 12 Sep 2009 11:39:43 +0530
To: pa...@quillandmouse.com
CC: php-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
I dont think I understood you completely..
Javascript debugger: Something you use to debug
as margin note, the project page changed name, hopefully less ambiguous:
Formandehyde - Zero Config Ajax Based PHP Error Debugger
Regards
_
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com
At 12:20 AM +0200 9/12/09, Andrea Giammarchi wrote:
Date: Fri, 11 Sep 2009 12:37:30 -0400
To: an_...@hotmail.com; php-general@lists.php.net
From: tedd.sperl...@gmail.com
Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP
Error Debugger
The only
things that may go wrong
Andrea Giammarchi wrote:
something I cannot find in any other library or framework.
This should tell you something then...
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote:
Andrea Giammarchi wrote:
something I cannot find in any other library or framework.
This should tell you something then...
If something like Formandehyde isn't useful, then why is Charles so popular
(note: popular from my
At 11:35 PM +0200 9/10/09, Andrea Giammarchi wrote:
Being something nobody thought before I was expecting some comment
... zero Ajax developers here?
Andrea:
No, I develop in ajax. Here's one of my demos:
http://webbytedd.com/a/ajax-site/
Please note that the above site can be
...@hotmail.com; php-general@lists.php.net
From: tedd.sperl...@gmail.com
Subject: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
At 11:35 PM +0200 9/10/09, Andrea Giammarchi wrote:
Being something nobody thought before I was expecting some comment
... zero Ajax developers
At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote:
That's a finished production site ... how did you debug during its
development? 'Cause Formaldehyde is for development, not for
production ... I guess you have implented your own error
manager/debugger, right?
What's to debug?
The site --
Basic Ajax - PHP Error
Debugger
At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote:
That's a finished production site ... how did you debug during its
development? 'Cause Formaldehyde is for development, not for
production ... I guess you have implented your own error
manager/debugger, right
me the scenario is totally different.
Regards
Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error
Debugger
From: a...@ashleysheridan.co.uk
To: tedd.sperl...@gmail.com
CC: an_...@hotmail.com; php-general@lists.php.net
Date: Fri, 11 Sep 2009 15:39:12 +0100
On Fri, 2009
On Fri, 2009-09-11 at 10:35 -0400, tedd wrote:
At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote:
That's a finished production site ... how did you debug during its
development? 'Cause Formaldehyde is for development, not for
production ... I guess you have implented your own error
, 'cause here seems nobody i susing FirePHP or
frameworks debuggers while numbers tell me the scenario is totally different.
Regards
Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
From: a...@ashleysheridan.co.uk
To: tedd.sperl...@gmail.com
CC: an_
: muxical.g...@gmail.com
To: an_...@hotmail.com
CC: a...@ashleysheridan.co.uk; tedd.sperl...@gmail.com;
php-general@lists.php.net
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
I do use FirePHP and your project looks interesting to evaluate. Will
check it out
Date: Fri, 11 Sep 2009 12:37:30 -0400
To: an_...@hotmail.com; php-general@lists.php.net
From: tedd.sperl...@gmail.com
Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error
Debugger
The only
things that may go wrong are in the data I am sending to the ajax
routine
, and hopefully useful.
Regards
Date: Fri, 11 Sep 2009 10:43:23 -0700
Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
From: bdun...@agentintellect.com
To: tedd.sperl...@gmail.com
CC: an_...@hotmail.com; php-general@lists.php.net
Examine this:
http://webbytedd.com
On Sat, Sep 12, 2009 at 12:23:44AM +0200, Andrea Giammarchi wrote:
Exactly Ben, except when PHP fails, even with a Fatal Error, the page has
status 200, we need to understand which call failed between hundreds of
potential calls in the debugger, and errors could pass silently.
With
code, libraries included.
Enjoy (if any) http://code.google.com/p/formaldehyde/
From: an_...@hotmail.com
To: php-general@lists.php.net
Subject: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger
Date: Sat, 5 Sep 2009 19:41:53 +0200
Hi everybody,
I'd love to receive your feedback about my
announcement:
http://webreflection.blogspot.com/2009/09/formaldehyde-ajax-php-error-debugger.html
I hope you'll appreciate the code, the concept, and the simplicity, but here I
am to know your concerns, or generally speaking, your opinion.
Best Regards,
Andrea Giammarchi
Hi folks,
I am new on this list and to php. I have just downloaded and gotten php 5.3.0
working with IIS on one computer but my efforts to install it on another
computer come up with the error message:
14001 (0x36b1)
Can anybody tell me what this relates to?
Thanks
Bruce
- Original Message
From: Bruce Dobson bruce_...@yahoo.co.nz
To: php-general@lists.php.net
Sent: Saturday, September 5, 2009 4:19:29 PM
Subject: [PHP] Error message
Hi folks,
I am new on this list and to php. I have just downloaded and gotten php 5.3.0
working with IIS on one
Some Php's tigger info output to client before you set header.try this
code first
---
ob_start();//first line write this code
some code for your self
header(location:index.php);
ob_end_flush();
On Fri, 2009-08-28 at 17:32 +0800, Keith wrote:
I have a user sign up page that collects sign up information from user with
form.
This form will then be submitted to another process.php page for setting up
the user account and send email to the user.
After the email been sent out, the user
I have a user sign up page that collects sign up information from user with
form.
This form will then be submitted to another process.php page for setting up
the user account and send email to the user.
After the email been sent out, the user will be directed back to homepage
with
Another solution would be to use JavaScript. In your process.php
script you could do this:
printhere
script language=javascript
window.location.href=index.php
/script
here;
Not strictly a PHP solution but it works.
Take care,
Floyd
On Aug 28, 2009, at 5:34 AM, Ashley Sheridan wrote:
On Fri, Aug 28, 2009 at 9:36 AM, Floyd Resler fres...@adex-intl.com wrote:
Another solution would be to use JavaScript. In your process.php script
you could do this:
printhere
script language=javascript
window.location.href=index.php
/script
here;
Not strictly a PHP solution but
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss anything) to do a safe
redirection.
Erm wtf?!
The best bet is always going with a header() redirect. The only time
I've seen that
Hi all,
Yes, you are right, it was due to echo for testing purpose not been
commented out prior to header().
However, there is hidden root cause too -- PHPMailer will echo invalid
address to the screen.
When I have tested with 1 valid email address and 1 invalid with
someth...@locahost,
On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss anything) to do a safe
redirection.
Erm wtf?!
2009/8/28 Martin Scotta martinsco...@gmail.com:
On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss
Which format should I used for log file? *.log or *.txt?
Doesn't matter to PHP -- but you do need to provide a local path, not a URL.
[http://domain.com/log/logfile.*] or
No...
[C:\some_path\domain.com\log\logfile.*] or just
Yes!
Ben
--
PHP General Mailing List (http://www.php.net/)
To
On Fri, 2009-08-28 at 09:28 -0700, Ben Dunlap wrote:
Which format should I used for log file? *.log or *.txt?
Doesn't matter to PHP -- but you do need to provide a local path, not a URL.
[http://domain.com/log/logfile.*] or
No...
[C:\some_path\domain.com\log\logfile.*] or just
Ash, Ben, Thanks!
For my web server, I can access to:
./httpdocs
./httpsdocs
all the http documents are stored inside httpdocs and SSL documents inside
httpsdocs.
The web root you mean here is referred to ./httpdocs and ./httpsdocs or the
parent directory of them?
If I put the logfile inside
This note shows up in the documentation for set_error_handler():
The following error types cannot be handled with a user defined
function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the
file where set_error_handler() is
I'm having a hard time getting my head around this problem. I have to
connect to a FoxPro database using an ODBC driver. Sometimes when I
connect I get an error. The error doesn't occur all the time and
usually another connect attempt works. I can trap the error through
an error
On Fri, Jul 10, 2009 at 10:56 AM, Floyd Reslerfres...@adex-intl.com wrote:
I'm having a hard time getting my head around this problem. I have to
connect to a FoxPro database using an ODBC driver. Sometimes when I connect
I get an error. The error doesn't occur all the time and usually
Eddie,
Thanks for the tip. It suddenly occurred to me what I was doing
wrong. I do use an error trap but I was telling my script to stop
running after the error. So, now I ignore it and continue through the
loop you suggested. I guess it was working exactly the way I had
written it!
On Fri, Jul 10, 2009 at 11:39 AM, Floyd Reslerfres...@adex-intl.com wrote:
Eddie,
Thanks for the tip. It suddenly occurred to me what I was doing
wrong. I do use an error trap but I was telling my script to stop running
after the error. So, now I ignore it and continue through the
hi,
i am using local server to print a simple text
i config the php.ini file as
;extension=php_printer.dll
added in the extension list
and add
[printer]
printer.default_printer = Send To OneNote 2007
in this file
and write a sim ple page as-
Prabal Cable Network
On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote:
Do yourself a favour:
* remopve that 1337 hax0r name - it makes you look like a dumbass
This coming from someone whose e-mail address is ro0ot.w...@?
Sounds a little ironic. ;-)
Andrew
--
PHP General Mailing
2009/4/24 Andrew Ballard aball...@gmail.com:
On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote:
Do yourself a favour:
* remopve that 1337 hax0r name - it makes you look like a dumbass
This coming from someone whose e-mail address is ro0ot.w...@?
Sounds a little
On Fri, Apr 24, 2009 at 7:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote:
2009/4/24 Andrew Ballard aball...@gmail.com:
On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com
wrote:
Do yourself a favour:
* remopve that 1337 hax0r name - it makes you look like a dumbass
I have a littli application in PHP that I do with appserv, in my local
server work ok but when I upload de page.php to the hosting server don't
work, the hosting say in your page that support php and the web server is
apache because the directory is httpdocs, and why my page dond;t work in the
2009/4/21 ®0L¥ rol...@gmail.com:
I have a littli application in PHP that I do with appserv, in my local
server work ok but when I upload de page.php to the hosting server don't
work, the hosting say in your page that support php and the web server is
apache because the directory is httpdocs,
In all the servers i had tested my system i dont have any problem, but in
this server the apache are displaying to me the error 500 Internal Server
Error.
Someone can say tome what is wront with my .htaccess?
RewriteEngine On
IfModule mod_rewrite.c
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
On Wed, Apr 1, 2009 at 10:39, Igor Escobar titiolin...@gmail.com wrote:
In all the servers i had tested my system i dont have any problem, but in
this server the apache are displaying to me the error 500 Internal Server
Error.
Someone can say tome what is wront with my .htaccess?
This is
In all the servers i had tested my system i dont have any problem, but in
this server the apache are displaying to me the error 500 Internal Server
Error.
Someone can say tome what is wront with my .htaccess?
RewriteEngine On
IfModule mod_rewrite.c
RewriteCond %{REQUEST_FILENAME} !-f
Hi.
I'm trying to use the printer functions in my php development.
I add the php_printer.dll in the c:/php/ext/ path.
I add the line in the php.ini file like that: extension=php_printer.dll.
But that doesn't work and gives the next error:
Fatal error: Call to undefined function printer_open().
On Fri, Mar 27, 2009 at 8:37 AM, Gerardo Picotti gpico...@erio.com.arwrote:
Hi.
I'm trying to use the printer functions in my php development.
I add the php_printer.dll in the c:/php/ext/ path.
I add the line in the php.ini file like that: extension=php_printer.dll.
But that doesn't work and
Yes, dll file exists in this folder: C:\PHP\EXT
Bastien Koert escribió:
On Fri, Mar 27, 2009 at 8:37 AM, Gerardo Picotti gpico...@erio.com.ar
mailto:gpico...@erio.com.ar wrote:
Hi.
I'm trying to use the printer functions in my php development.
I add the php_printer.dll in the
Hi Guys,
I want to ask you about this problem:
I have a FUNCTION where is a DOMDocument element, that DOMDocument element
is Load from a string (With well formed XML structure) stored in a param,
this is code:
?php
function xml_match($columns,$text,$result)
{
...
/* Some code */
...
$doc =
Hello,
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
-
This page contains the following errors:
error on line 30 at column 318: Entity 'iuml' not defined
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
-
This page contains the following errors:
error on line 30 at column 318: Entity 'iuml' not defined
From: Joe Harman
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
-
This page contains the following errors:
error on line 30 at column 318: Entity
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote:
From: Joe Harman
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
-
This page
Joe Harman wrote:
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote:
From: Joe Harman
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
On Mon, 2009-03-09 at 16:26 +, Nathan Rixham wrote:
Joe Harman wrote:
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote:
From: Joe Harman
I am using PHP to build an XML file, but I keep on getting an XML
error when open the file in Google Chrome.
Hi,
We are using PHP 5.0, Java Script and Apace HTTP Server.
For Mozilla security reason, we have created a signed jar of all the js
files being used in our application. We have put this jar in the js folder
itself.
We have successfully installed the certificate. Now from one of the php
page,
() method is not defined.
Please help.I think I am missing out on something important.
Thanks,
Manu
O.K. so what is the PHP error?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually there is no PHP error as such. But we get an error that java script
method is not defined. So we think that we have either not correctly
specified the url or we are not putting the jar file at the correct
location.
Our question is how to call a js in jar from php file?
Thanks,
Manu
Manupriya wrote:
Actually there is no PHP error as such. But we get an error that java script
method is not defined. So we think that we have either not correctly
specified the url or we are not putting the jar file at the correct
location.
Our question is how to call a js in jar from php
ERR_DB_NO_DB_PASS
What will this meen?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mattias wrote:
ERR_DB_NO_DB_PASS
What will this meen?
No database password has been set in config.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mattias schrieb:
ERR_DB_NO_DB_PASS
What will this meen?
The Database is a foreign DB without passport
Carlos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2008/12/17 Terion Miller webdev.ter...@gmail.com:
I am working on the login script I have been troubling over, and when I hit
submit it throws an error and even though I have error reporting E_All on
because its on a redirect or something I can see the error for only a split
second so I can't
Change php.ini (or .htacces or ini_set) so that display_errors is OFF and
log_errors is ON and log them to some file you do this to, all day, every day:
tail -f /var/log/httpd/error_log
You'll definitely need this as you get more complex site interaction,
particularly with Ajax calls that
I am working on the login script I have been troubling over, and when I hit
submit it throws an error and even though I have error reporting E_All on
because its on a redirect or something I can see the error for only a split
second so I can't catch it to figure it out (does this make sense?) how
ddg2sailor wrote:
Hi
Here are the error messages:
Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg)
[function.move-uploaded-file]: failed to open stream: Invalid argument in
C:\xampp\htdocs\dox.php on line 40
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
-Original Message-
From: Maciek Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 2:07 AM
To: php-general@lists.php.net; [EMAIL PROTECTED]
Subject: Re: [PHP] error messaages - $DOXPath Wrong
ddg2sailor wrote:
Hi
Here are the error messages:
Warning
First I would like to thank everyone who reponded to this thread. Your all
Great!
I took your advice and made these changes
//Just the relevant lines not in order
$DOXPATH = 'C:\\xampp\\htdocs\\dox\\'
// New DOXPATH
if (!move_uploaded_file($file['tmp_name'], '$DOXPATH\$file[name]'))
Hi
Here are the error messages:
Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg)
[function.move-uploaded-file]: failed to open stream: Invalid argument in
C:\xampp\htdocs\dox.php on line 40
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
This is line 40
if (!move_uploaded_file($file[tmp_name], $DOXPATH/$file[name]))
Sailor
--
View this message in context:
http://www.nabble.com/error-messaages---%24DOXPath-Wrong-tp20848918p20848948.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing
Nilesh Govindrajan wrote:
Yeah that's true. Placing an @ before the function is a bad idea. Instead use
error_reporting(E_NONE) OR error_reporting(0)
You should never use error_reporting(E_NONE), not even in production
mode. The correct options are:
error_reporting(E_ALL | E_STRICT);
-Original Message-
i try to understand the error_reporting statement and to avoid all
warning
or error messages.
for example i stop the postgresql service and i try to connect to it.
when error_reporting is set to E_ALL, i get the following warning :
*Warning*: pg_connect()
On Monday 29 September 2008 10:02:06 pm Richard Lynch wrote:
-Original Message-
i try to understand the error_reporting statement and to avoid all
warning
or error messages.
for example i stop the postgresql service and i try to connect to it.
when error_reporting is set to
101 - 200 of 1121 matches
Mail list logo