... Date Uploaded: Thu, 28th Oct 2010 1.2.2 - Corrected PHP code to work in earlier PHP versions.
- Fixed bug: could not see Hebrew text.
- Fixed bug: refer to $fulltext variable which is now obsolete.- ...
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 ...
... PUT, DELETE');
// open connection
$ch = curl_init();
// set the cURL options
curl_setopt($ch, CURLOPT_URL, $api_url); // where to send the variables to
curl_setopt($ch, ...
... to third-party in XML format: (because that's the format they accept)
Note that in the following example, the XML is sent as a url encoded value paired with a key (posted variables must be key1=value1&key2=value2...)
...
... to refer to each tool using their full path unless you add it to the PATH environment variable:
This allows you to use keytool from any folder:
Open a command prompt
Type CD C:\Program Files\Java ...
... the example below.
Add a variable (preferably to the scope of the package) called "SourceExtractFile" and give it the data type "String". Set the Value to the full path and the first file including ...
... words that you want in a specific case.
CREATE FUNCTION ufn_ProperCase(@Text AS VARCHAR(8000))
RETURNS VARCHAR(8000)
AS
BEGIN
-- declare some variables
DECLARE @Reset BIT;
DECLARE @Ret VARCHAR(8000);
...
...
Looping
-- From resultset of $i ,assigning it to variable $j using let clause,
-- Getting top two employees by using where & order by clause.
SELECT Event_XML.query('for $i in /STAFF/student
let ...
... the Symbolic Link itself versus the target of the link.
/J Copies using unbuffered I/O. Recommended for very large files.
The switch /Y may be preset in the COPYCMD environment variable.
This ...
... Joomla component and needs some SQL dependent on some dynamic variables.
Why?
In Joomla, the XML type of "sql" is extremely limited. The component I'm making has to ensure user's can only see their ...
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.