Skip to content

.htaccess file is not working in my Server

My site is located in https://itjmovies.com/milan/public/ and I want to rewrite the URL by .htaccess file. From https://itjmovies.com/milan/public/ To https://itjmovies.com/milan/ but it is not working. And also https://itjmovies.com/milan/public/auth/index.php?page=new To https://itjmovies.com/milan/public/a…

problem with metadata of multiple audio files using laravel

I’m creating a music player using Laravel. I’m trying to implement ‘laravel-getid3’ package into my project. Here is my code which processes the file and uploads it to the database This code can handle multiple files but is very limited i.e. can only gather a limited amount of info fro…

Referencing the id value from array and placing in a variable

I’m using CodeIgniter and I have a value that is being passed in my URL when I visit a page. The value that is passed is a string value, and there is an id that corresponds to that string in my database. Now I have a query in my model class that computes the string and returns it’s respective id.

PHP file handling read and write

I am trying to figure out how the file handling works, the thread says: Your task is to write a PHP script, which reads grades from the file “grades.txt”, raises all of them by one, writes the raised grades into the file “results.txt”, and finally prints the raised grades from the file…

Foreach last item gets methode

Guys I have an array with objects, I want the last item in the foreach loop do something else then the rest. How do I archive that? Answer This will process the array of objects and do something else with the last element: