Joomla 3.2.1 password encryption

PHP
When the user register on the site , and I look in the database joomla_users in the password table, there are password stored in the following formats...
2 years ago

PHP mySQL check if username and password are in the database

PHP
I want my code to check if the username and password exist in my database. It does work hardcoded, but I want to do it with a database.Right now this ...
2 years ago

Implementing an RESTful API Authentication using tokens (Yii/Yii2)

PHP
I am building an API in Yii 1.x which will be used with a mobile application. Part of the process involves a login (with a username and password) usin...
2 years ago

Expecting statement?

PHP
I have created a file that contains general functions. The goal of this file is include it inside the main file and use the functions available in it....
2 years ago

I want to echo all the values of the arrays using foreach loop within a function

PHP
I was trying to echo all the values of the $sel_arrays using the foreach loop within a function called country(). I was using the loop within the coun...
2 years ago

XML to Array conversion PHP

PHP
I am some issue in conversion XML response to array in PHP. Here is the SOAP XML response (partially given): $XMLResponse = ' <Fareportal>...
2 years ago

How to trigger XDebug profiler for a command line PHP script?

PHP
XDebug offers the configuration directive "xdebug.profiler_enable_trigger" that allows to activate profiling by passing the GET or POST parameter "XDE...
2 years ago

php | Convert array to FIND_IN_SET

PHP
I'm trying to convert my array to query string. May be you can help me. My array looks like: Array ( [3] => Array ( [0] =...
2 years ago

mysql table to json

PHP
I am planning to use jQuery UI Autosuggest for a search form. So I need a json output which can be used by jQuery UI Auto suggest. Here's the databas...
2 years ago

Imagick - Can't read image files from URL.

PHP
I'm using this snippet for reading images on different websites: $image = new Imagick('http://lp.hm.com/hmprod?set=key[source],value[/model/2012/P01 ...
2 years ago

Regex to select url except when = is directly infront of it

PHP
I'm trying to use a regex to find and replace all URLs in a forum system. This works but it also selects anything that is within bbcode. This shouldn'...
2 years ago

mysqli fetch_all() not a valid function?

PHP
Thanks to the answers I have figured out that I am unable to use fetch_all() because i am using PHP 5.2.17 - fetch_assoc with while loop worked. Th...
2 years ago

Convert an array of simple arrays into an array of Associative arrays?

PHP
I'm using PHP for this and I'm using the array listed here: https://gist.github.com/aghouseh/3926213 So basically it's an array with State name, and ...
2 years ago

Check if image exists and if not select another one with php

PHP
I want to display an image with php. How can I check if it exists and if not, link to another one? This is what i've got: <img class="MyClass" ...
2 years ago

PHP code is not being executed (I can see it on source code of page)

PHP
I'm trying to execute some PHP code on a project (using Dreamweaver) but the code isn't being run. When I check the source code, the PHP code appears...
2 years ago

PHP SimpleXML - Multiple children with same name

PHP
I am currently generating an xml file with the following php code. It takes form inputs and puts them into an xml file. I am wanting to have multiple...
2 years ago

required_without_all validator repeats error message over and over

PHP
I'm building a roster system as a side project and on one of the pages you can change the regular hours someone works. On the page I have a checkbox ...
2 years ago

Symfony crud edict : Could not load type "datetime"

PHP
Context: I create a project with symfony 3. My database have one table with a field datetime With this commands I create a simple CRUD application f...
2 years ago

Get column names from a variable using json

PHP
I have a variable that contain all the subject names that are the column names of a table.Now i got all column names in a variable.Use this variable n...
2 years ago

how to pass jquery date parameters in php

PHP
Please help me.. I have the following codes.. //Get the value of Start and End of Week $('#weeklyDatePicker').on('dp.change'...
2 years ago