Skip to content

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…

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?

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 …