... // Output JSON
echo json_encode($api, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
The full script:
Just make the changes to the first few variables, as per the above instructions, to configu ...
What?
This is an article documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet ...
What?
This is an example of Javascript code to update and display the elapsed/remaining hours minutes and seconds in real-time.
Why?
I know there are a lot of articles out there that write about ...
... // send header
header("Content-Type:text/xml");
// print result to page
echo $output;
}
Advanced Example
Here's a complete PHP script of a more complex example of ...
Applies to:
TravelPort Universal API
PHP 4 or 5
cURL
What?
An article on how to resolve errors and setup a standard ping request using the TravelPort Universal API. This is to be achieved using ...
... print the json
echo $json_result;
// [OPTIONAL] convert it to an array
// $array = json_decode($json_result,TRUE);
// yields ... ... ...
Without cURL
You'll have seen this all over ...
What?
A quick article on how to create a middleware script which accepts the values from a submitted HTML form and sends it to a server on another domain for processing. This applies to Linux Apache ...
... here is " (Copy)" without the quotes) - this is a READ-ONLY process if you leave the last line commented/remarked@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /f "tokens=*" %%a IN ('dir /b *" (Copy).jpg"') ...
Applies to:
Joomla CMS v3.2.3 (Joomla.org)
jComments v3.0.0 (JoomlaTune.com)
PlayThru v1.1.8 (AreYouAHuman.com)
What?
This article is a follow on from my article JComments 2.3 with PlayThru ...
... output
echo $author_name_disp;
A lot of repetition so lets reduce that a touch:
// default
$author_name_disp=$author_name;
// check and transform
$delimiters=array(' ', '.');
foreach($delimiters ...
Applies to:
Joomla CMS v2.5.11 (Joomla.org)
jComments v2.3.0 (JoomlaTune.com)
PlayThru v1.1.8 (AreYouAHuman.com)
What?
This article is a follow-up of my article JComments 2.3.0 with Google ReCaptcha ...
Applies to:
Joomla CMS v2.5.11 (Joomla.org)
jComments v2.3.0 (JoomlaTune.com)
What?
Posting this as it was rather rewarding to achieve and I hope will be of some use to others in the same boat. ...
What?
Somebody said I could pay to get an export list of my Joomla users. I said Joomla is a FREE OpenSource system, why?
Why?
I want to move a client's list of Joomla users to a new system which ...
... /IF :: Include the following Files.
Extended Copy
Open a command prompt (Start > Run... > CMD > ok)
Type the following:
ECHO N | XCOPY /E c:\Sourcepath\*.* c:\Destpath\*.*
-- ...
... C:\Program Files\Microsoft SQL Server\100\DTS\PipelineComponents
Re-open BIDS and test.
the BAT I use to automate this (run as Administrator in Win7 from C:\temp):
@ECHO OFF
REM ...
... the following loops through directory for any file beginning with Reference
FOR %%A IN ('DIR InitializingFile*') DO ECHO %%A
-- yields:
InitializingFile_123.csv
InitializingFile_456.csv
-- the ...
What?
This is a quick article on what I change the error page for Joomla websites to. I like a clean error page, for a demo visit http://www.joellipman.com/my_error_page.
Applies to Joomla 1.6.x, 1.7.x, ...
Applies to:
- Microsoft Windows 7 Enterprise
- User with Local Administrator Privileges (required for setup)
Why?
Our work has group policies and two of our programs, Visual Studio 2010 ...
... = $db->loadResult();
-- using the data
echo $my_value; // will equal the retrieved value of "email"
Single Row Result - loadRow()
This type of query is for when you want any of ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.