Skip to content

Return S3 private file as stream

I’m currently working on a route for a project that I need to get a specific file from S3, read its content, and return as a binary. I can’t just use the S3 file url, because it is private and it is intentional (we just don’t want the bucket files open). But the problem is, I want to stream …

Use the Joomla Language override to create custom tags

I have this piece of code that already runs on the pages I need this done. (The entire Joomla 3.9 site is a Frankenstein of custom code, components, etc. ) I tried adding the following to see if I can get this to set the title the same way. Meaning, I go into the Joomla Language overrides section, add the

PHP Sort results from key values inside multiple json files

is it possible to sort the results by key value inside separate json files? I need to sort the result by “id” value. Sorry if this is a duplicate but I’ve searched entire internet and couldn’t find a solution. Many thanks for your help. Content of multiple json files inside the directo…

How to direct the uploaded image to the file i want

i’m asking user to input the image as; Then i am storing that data into my database with the following; And then i am listing the files and the image i get from the user in the function below; However when user uploads the image,i want it to upload the image into my C:xampphtdocsea file. Tried this Stor…