I have some struggles to get the "Title" tag from a JPG file with PHP. I guess I'm looking through the wrong EXIF group. I'm using following code: $exif = exif_
Using this code: $ch = curl_init('file:///c:/foo/bar/baz.txt'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_s
Basic question: Is it possible to map an association using Doctrine referencing not a primary but only a unique key? Extended Version: I have an Entity (Part
I am using the sqlsrv ms drivers for php, which work fine (tested with normal queries). I have also tested it with running a stored procedure to update a table
I have a table that stores longitude / latitude / radius ( miles ) per row. What I am trying to figure out is how to select ONLY the rows that my current point
When I run a composer update I get this error message: Loading composer repositories with package information Updating dependencies (including require-dev)
Is it possible to combine different attributes to calculate the price. Like, if I have to attributes, and when I have a attribute with 5 and a attribute with 4,
I'm looking for an easy way to combine two arrays. $lang = array('de' => 'german', 'es' => 'spanish', 'nl' => 'dutch'); I have X sites which should hav
I'm trying to implement the following php code in visual basic. I wrote it in PHP because I knew I could do what I wanted to in that language, but I can't for t
I have using CakeEmail to send email but when I send Html and text email then the email show the attachment icon in the outlook . I found that it is because o
I want to check some domains with regular expression (regex). My old code was: /^([a-z0-9]+([-a-z0-9]*[a-z0-9]+)?.){0,}([a-z0-9]+([-a-z0-9]*[a-z0-9]+)?){1,63}(
Hope anyone else had the same issue and was able to solve this problem. I installed a fresh Laravel project and used php artisan make:auth to get the basic auth
i have a client that need some php changes, but is scripts are encoded by ioncube "//004ff // IONCUBE ENCODER 7.0 EVALUATION // THIS LICENSE M
I have using CakeEmail to send email but when I send Html and text email then the email show the attachment icon in the outlook . I found that it is because o
I have Implemented an WhatsAPI - PHP on my site, but am only able to send messages but not the Media files like Images, Audio or Video. I got the WhatsAp
Right guys, I am currently learning php, and before you lot say to use javascript instead i am learning php and want it with this code. Basically i want to kin
I have an array like below which is generated by parsing a xml url. The array is Array ( [Tags] => SimpleXMLElement Object ( [0] =>
I get this error whenever I run this: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given The Code: $amn = mysql_q
I have an application that deals with clients from all over the world, and, naturally, I want everything going into my databases to be UTF-8 encoded. The main p
Laravel Multiple Data Insert Error SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column 'unit_id' at row 2 (SQL: insert into p