The Issue
You have a PHP page which generates a HTML form. When the user submits the form, you want the same PHP page to process the data.
Solution
I've seen a lot of people write CGI requests but ...
... so when clicked, it loads up a page in a browser (redirect from a zoho page)
if(b_ValidResponse)
{
//
// generate HTML page when clicked (please amend the following variables)
v_CompanyName ...
... to complete the radio options
This is the code when loading the form: Created or Edited > Load of the Form
//
// I like defaulting variables
v_DefaultColor = "#000000";
//
// a color palette
l_ColorPalette ...
... parts but otherwise it is intended to be all in the same function as there are references to some variables in earlier snippets of code on this page.
Error(s):
2945: UPLOAD_RULE_NOT_CONFIGURED Was ...
... each index v_Increment in l_AddPages
{
l_Pages.add(v_Increment + 1);
}
v_TotalNumberOfPages = l_Pages.size();
//
// declare variables to store order details in a JSON or ZohoDeluge Map format
m_Response ...
... ", ",").toList();
for each index v_Increment in l_AddPages
{
l_Pages.add(v_StartingPageIndex + v_Increment);
}
v_TotalNumberOfPages = l_Pages.size();
//
// declare variables to store order details ...
... a split for any multi-line item orders:
//
// declare variables to store order details in a JSON or ZohoDeluge Map format
m_Response = Map();
l_JsonOrders = List();
//
// loop through orders in ...
What?
This is an article documenting how to parse the notification from eBay and using it to create an order in Shopify.
Why?
Previously, we would receive an eBay notification and create an ...
... form is called "Quotes" and my subform is called "Line_Items":
// initialize variables
// ... this is a demo so ... do your own ...
//
// get source data
r_QuoteDetails = zoho.crm.getRecordById("Quotes", ...
... on line 86
Rather than assuming Zoho Deluge maps and lists are JSON variables, let's send a strange hack instead:
m_NestedRequest = Map();
m_NestedRequest.put("auth[key]",v_AuthKey);
m_NestedRequest.put("auth[secret]",v_AuthSecret);
m_NestedRequest.put("data[member_id]","123456");
m_NestedRequest.put("data[channel_name]","shopify");
m_NestedRequest.put("data[item_name]","Joel ...
What?
This is a quick article to demonstrate how to compare two datetime values with the timezone specified.
Why?
A client's ZohoCRM had a different timezone setting than the user a script would ...
... logic and highlight any changes you may need to make.
1. First: the variables are in arrays
Well mostly. Simply because we'll be working with JSON data and this encodes/decodes easily into PHP ...
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 ...
... being this script.
Complete the global variables at the beginning of the code specific to your app and the rest should work...
// specific to this app
$CLIENT_ID = ''; // expecting *.apps.googleusercontent.com
$CLIENT_SECRET ...
... and how long ago was the last token created.
How?
So almost pure JS. I'm working out the seconds remaining and seconds elapsed in PHP first then passing these as two variables to the below code ...
... text translation.- Date Uploaded: Wed, 2nd Nov 2011 1.5.3.4 - Fixed Bug: More variables now defined- Date Uploaded: Fri, 30th Sep 2011 1.5.3.3 - Fixed Bug: Undefined variables now defined- Date Uploaded: ...
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...)
...
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.