Skip to content
Advertisement

Tag: php

How to remove cache files or images in Codeigniter 3.1.9

I have an image gallery where too many images are saved and displayed on a single page with update option with every image. When I upload a fresh image, it works fine. But when I change an image by uploading a new image file, it works fine on localhost (xampp) but not working on cpanel server and digital ocean server

Laravel Redirecting multiple pointed URL’s [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed last year. Improve this question I have a live site that is going to have other URL’s

How to use FPDI SetSourceFile with a URL that redirects?

I’ve got a PDF file on my server, and I want to use it as parameter for this function: $fpdi->setSourceFile() The problem is that the link used as a source redirects to another URL and I don’t know the final URL. It seems that setSourceFile needs the real PDF filename. Is there a way to get the final URL, and

Access value of array inside another array [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed last year. Improve this question I

Get the two different objects together

I’ve got $campus_groups coming from CampusGroup which has and $campus_org_groups coming from CampusOrganizationGroup which has and would like to get both together like this (the important key is group_id and I’m ok if campus_organization_id is left out) If I merge them this is what I’m getting If I union them this is what I’m getting Answer I’ve changed to Notice

PHP not redirecting on Ubuntu Server

I’ve built a website login form on my local Windows machine that works perfectly but when deployed on an Ubuntu web server, the login for redirects to /login.php# Below is the code used – LDAP has been uncommented from the extensions section in php.ini on the Ubuntu server. Is there something Linux specific I’m missing here? Many thanks, Craig Answer

Advertisement