Is it possible to make all PHP errors be written to MySQL instead of to the standard error_log file. I guess this would be possible if i wrote my own error handler from scratch but i have a lot of legacy code in place and ideally i would just make 1 global change and that would be it. Can this
Pause-able download for Apache
I have an Apache server running which hosts a php web application. This server also provides provisions for downloading a file size of around 900MB from it. However, while testing the application I found out that it’s not possible to pause the downloads and resume them later on. Could someone help me? I…
Handling big user IDs returned by FQL in PHP
I’m using FQL to retrieve a list of users from Facebook. For consistency I get the result as JSON. This causes a problem – since the returned JSON encodes the user IDs as numbers, json_decode() …
Where do you put non-controller classes in codeigniter?
I’ve got a class Widgets. Widgets are made up of Doohickies. I’m never going to need to access Doohickies directly via url — they’re essentially a private class, only used by Widgets. Where do you put your code to define the Doohicky class? In /app/controllers/doohicky.php? in app/cont…
How do I give PHP write access to a directory?
I’m trying to use PHP to create a file, but it isn’t working. I am assuming this is because it doesn’t have write access (it’s always been the problem before). I tried to test if this was the problem …
PHP – send file to user
I have a pdf file on disk that i need to send to a user when they make a request to a php script, what is the best way of doing this?
Is there any way to maximize PHP_INT_MAX?
I can’t find this row in php.ini, so is there any way to increase PHP_INT_MAX?
How much data can be sent via $_GET
How much data can be sent via $_GET in PHP5? Is there a maximum number of variables, string length etc? Thanks in advance.
How to create transparent watermark on an image using gdlibrary? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question How to create transparent watermark on an image using gd library? I want to rotate the image…
Questions about shifting from mysql to PDO
I have recently decided to switch all my current plain mysql queries performed with php mysql_query to PDO style queries to improve performance, portability and security. I just have some quick …