php-windows Digest 29 Jun 2005 13:19:25 -0000 Issue 2711
Topics (messages 26156 through 26159):
Re: E_ALL and still not getting notices...
26156 by: Jason Barnett
AOL and myphpadmin
26157 by: Patrick Roane
26159 by: Jason Barnett
problem with printing to a usb printer using php_printer.dll
26158 by: Sean Rowe
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I don't know if ADOdb does this or not, but it's possible that you have
a set_error_handler somewhere that is trying to handle your errors in a
way other than printing them to standard output.
Another possibility is that your included scripts have altered any of
the following php.ini entries:
display_errors
error_log
error_reporting
Also if error_log is on then you should check the log_errors entry to
see where your errors are being sent.
--- End Message ---
--- Begin Message ---
I've been developing a php/mysql application on 2
different windows xp systems w/no trouble at all. As
soon as I tried to use myphpadmin on a a system with
AOL installed, its like someone put the freeze on it.
I've never seen it load and execute simple quiries so
slow. I've never been a fan of AOL to begin with.
Has anyone else ever experienced this with AOL?
thanks-
Patrick
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--- End Message ---
--- Begin Message ---
Patrick Roane wrote:
I've been developing a php/mysql application on 2
different windows xp systems w/no trouble at all. As
soon as I tried to use myphpadmin on a a system with
AOL installed, its like someone put the freeze on it.
I've never seen it load and execute simple quiries so
slow. I've never been a fan of AOL to begin with.
Has anyone else ever experienced this with AOL?
No, but I don't have AOL either.
There are a lot of things that could be causing slowdowns. The first
thing to do is to run some type of benchmarking utility on the server
machine (apache bench might be a good choice). If the server can handle
page loads like what you'd expect then the next step is to test your
bandwidth. Since it sounds like you only have two systems in your
current test environment it might do you some good to see if you can
borrow another friend's computer and it would be best if said friend had
high-speed internet access.
If both of these tests pass with flying colors then come back to us.
--
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
--- End Message ---
--- Begin Message ---
I have been trying to get this small bit of code to work using my dell photo
printer 720 (or any usb printer, for that matter):
<?php
$handle = printer_open("Dell Photo Printer 720"); // printer being the name
of the printer
printer_set_option($handle, PRINTER_MODE, "raw");
printer_set_option($handle, PRINTER_COPIES, "3"); // i want 3 copies
printer_write($handle, "This is a test");
printer_close($handle);
?>
The printer is initialized, and the job is spooled; however, before it
prints anything the print manager deletes the job! I have tries this on
several different computers running IIS and Apache with the same results. I
tried it from the command line too, with the same results. I'm about to
lose my mind. This code works fine if I use a non-usb printer. Any ideas?
Sean Rowe
--- End Message ---