Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tamas Kalman ktamas77

🏠
Working from home
View GitHub Profile
@ktamas77
ktamas77 / phpunit-verbose.sh
Created Jan 23, 2019
Display PHPUnit Errors
View phpunit-verbose.sh
php -d display_errors=On vendor/bin/phpunit -c phpunit.xml
@ktamas77
ktamas77 / update_query_param.php
Last active Dec 21, 2018
Update Query Parameter
View update_query_param.php
<?php
function update_query_param($url, $name, $value) {
$parsed_url = parse_url($url);
list($scheme, $host) = array_values($parsed_url);
$path = '';
if (isset($parsed_url['path'])) {
$path = $parsed_url['path'];
}
View keybase.md

Keybase proof

I hereby claim:

  • I am ktamas77 on github.
  • I am ktamas77 (https://keybase.io/ktamas77) on keybase.
  • I have a public key ASA9Ba7vITK7jZv1Q8XmQxTmHTx-4obCSiDADqzgcEgvHgo

To claim this, I am signing this object:

@ktamas77
ktamas77 / gist:3101679
Created Jul 12, 2012
AT&T API HTTP POST REQUEST HEADER for ALL SOAP Actions
View gist:3101679
<?php
$headers = Array(
'Content-Type: text/xml;charset=UTF-8',
'SOAPAction: ""'
);
?>
You can’t perform that action at this time.