Ineed on add-on for php api files
to view and open php api files
I'm not familiar with API as a type of file. Can you give an example URL?
Similar Messages
-
CustomEditor Extension - How to add support for a new file type...
Folks,
I'm trying to use the CustomEditor extension as a basis for a new editor that will work with an arbitrary extension (say ".foo").
How do I tell JDeveloper that .foo files should be opened by my wonderful new extension?
I've created a Node class called 'FooNode' to represent my .foo file. It extends DeployableTextNode and overrides the two public variables that appear to specifiy what file types this node represents:
public static final java.lang.String EXT = ".foo";
public static final java.lang.String EXT2 = ".bar";The relevent piece of code is in AnAddin.java and appears to be:
public void initialize()
EditorManager eMgr = EditorManager.getEditorManager();
eMgr.register(this, new Class[] {/*XMLSourceNode.class,*/ FooNode.class });
}This doesn't work - I can't get JDeveloper to recognize .foo files and bring up my editor. What am I doing wrong?
David RolfeFrom our development team:
For the IDE to recognize a new file extension, it needs to be
explicitly registered with the IDE framework. So the static
final field named EXT isn't automatically detected. To
register the extension (this is the JDev 10.1.3 API):
import oracle.ide.model.Recognizer;
Recognizer.mapExtensionToClass(".foo", FooNode.class); -
How to add security for webservice invoke
Hi All,
Please let me know how to invoke the webservice in BPEL process with security details.
Thanks,
SureshHi Santhosh,
You may add security for your API's by using:
Mutual certificate authentication
Using OAuth 2.0
Manage developer accounts
Regards,
Manu Rekhar -
How to add security for Azure Cloud Service?
Hi,
We have build some API's in azure cloud service.
We want to add security for Azure Cloud Service.
How to add security for Azure Cloud Service?Hi Santhosh,
You may add security for your API's by using:
Mutual certificate authentication
Using OAuth 2.0
Manage developer accounts
Regards,
Manu Rekhar -
Problems using a php include file with an Add-on Domain.
Hello,
I am having an issue getting a php include file to work with a new add-on domain I am working on getting up and running.
This include file is one that supplies the rest of the php code to a contact form page. It works as it should for my original domain, same file no difference. I made sure that the files hosted on the remote server had all read, write, execute permissions turned on.
I have tried putting the include file in several different locations as a test, such as:
I don't remember the exact name of the include file at the moment, as I'm at work so I will designate it below as 'includefile.php'.
file path for add-on domain - ../public_html/lorentzpainting/includes/includefile.php
alternatives I tried moving the file to - ../public_html/lorentzpainting/includefile.php
When none of those options worked, I tried just pointing the path towards other places on the server that have the include file such as:
../public_html/includes/includefile.php
../public_html/includefile.php
What can I do here? Should I just give up on using the include and put all the code back in the page? Doesn't seem like it should be this complicated, it works perfectly fine for my other site.. and still does.
Thanks ahead of time to those who may assist me.here is the contents of the include file:
<?php
if (isset($_SERVER['SCRIPT_NAME']) && strpos($_SERVER['SCRIPT_NAME'],
'.inc.php')) exit;
// remove escape characters from POST array
if (PHP_VERSION < 6 && get_magic_quotes_gpc()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
$_POST = array_map('stripslashes_deep', $_POST);
// assume that there is nothing suspect
$suspect = false;
// create a pattern to locate suspect phrases
$pattern = '/Content-Type:|Bcc:|Cc:/i';
// function to check for suspect phrases
function isSuspect($val, $pattern, &$suspect) {
// if the variable is an array, loop through each element
// and pass it recursively back to the same function
if (is_array($val)) {
foreach ($val as $item) {
isSuspect($item, $pattern, $suspect);
else {
// if one of the suspect phrases is found, set Boolean to true
if (preg_match($pattern, $val)) {
$suspect = true;
//check the $_POST array and any subarrays for suspect content
isSuspect($_POST, $pattern, $suspect);
if (!empty($_POST['url'])) {
$suspect = true;
if ($suspect) {
$mailSent = false;
unset($missing);
} else {
//process the $_POST variables
foreach ($_POST as $key => $value) {
// assign to temporary variable and strip whitespace if not an array
$temp = is_array($value) ? $value : trim($value);
// if empty and required, add to $missing array
if (empty($temp) && in_array($key, $required)) {
array_push($missing, $key);
} elseif (in_array($key, $expected)) {
// otherwise, assign to a variable of the same name as $key
${$key} = $temp;
//validate the email address
if (!empty($email)) {
// regex to identify illegal characters in email address
$checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/';
//reject the email address if it doesn't match
if (!preg_match($checkEmail, $email)) {
$suspect = true;
$mailSent = false;
unset($missing);
//go ahead only if all required fields OK
if (!$suspect && empty($missing)) {
//initialize the $message variable
$message = '';
// loop through the $expected array
foreach($expected as $item) {
// assign the value of the current item to $val
if (isset(${$item}) && !empty(${$item})) {
$val = ${$item};
} else {
// if it has no value, assign 'Not selected'
$val = 'Not selected';
// if an array, expand as comma-sparated string
if (is_array($val)) {
$val = implode(',', $val);
// add label and value to the message body
$message .= ucfirst($item).": $val\r\n\r\n";
//limit line length to 70 characters
$message = wordwrap($message, 70);
//create Reply-To header
if (!empty($email)) {
$headers .= "\r\nReply-To: $email";
// send it
$mailSent = mail($to, $subject, $message, $headers);
if ($mailSent) {
// $missing is no longer needed if the email is sent, so unset it
unset($missing); echo('Thank you for contacting Common Wealth Web Solutions');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html> -
Does Adobe provide a free API for creating PDF files
Does Adobe provide a free API (for Windows) for creating PDF files? We are currently using
a basic, internally developed API for creating PDF files, but would like some additional
capabilities ... in particular the ability to add a watermark that appears when printing
but not when viewing PDF files on-line.
If this is not the right forum for this question, please let me know what forum would be
appropriate.
Thanks,
MarkOK, with a little bit of searching on Adobe's web site, I found the answer to my question. Yes, Adobe does offer
an API for creating/manipulating/reading PDF files: it's called the Adobe PDF Library SDK and it has to be
licensed. Version 9 is the latest. The cost is decided on a case-by-case basis. Here is the link:
http://www.adobe.com/devnet/pdf/library/
Mark -
Extracting a .zxp file for Adobe add-on for Photoshop .
I bought and downloaded the 8Watercolor and Acrylic Painting FX add-on for Photoshop but receive an error "The installed file is invalid. The extension will not be installed." Any idea on how to correct this?
Is the plug-in you purchased compatible with the version of Photoshop you are running on your computer? What version of Photoshop are you running?
I'm assuming you tried installing by double-clicking the .zxp file? and that doesn't work?
Have you tried installing the plug-in using the Adobe Extensions Manager application?
Launch the Adobe Extensions Manager application.
Click Install and navigate to the .zxp file on your system, then follow the prompts.
Are you seeing the same error, and the plug-in is definitely compatible with your version of Photoshop, it might help to contact the plug-in developer for some more help.
Cari -
When i open a new document, my "width" and "lenght" add two zeros automatically to file size??? For example basic A4 size in mm is 210 00mm x 297 00mm? And i can´t do nothing about it! Why on earth?
This "error note" must have something to do about it?elppaelo,
You may try the list.
The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
If possible/applicable, you should save curent artwork first, of course.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS
How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS.
I have tried all sorts of ways of adding my personal M4R file but can't find the place (within the UK versions of iTunes} to transfer this file so that I can select it as a ring tone.
I've tried also changing to the US version of iTunes and still can't find a way of doing it, although I have heard that it can be done.You should be able to just drop it into the library within iTunes.
http://cnettv.cnet.com/create-free-iphone-ringtones-using-itunes-8-0/9742-1_53-5 0003920.html
Check out the video above for a lot good info. The ringtone must be less than 35 seconds. -
How i can deal with oracle file by using php api
how I can deal with oracle file by using php api ?
What has this to do with Reflections and Reference Objects?
-
Java API for reading Excel Files.
Hi,
Can you please suggest me any api for reading excel files.
Right now i am using jxl.jar for this purpose but i am searching for an open source java api better than this.
Whether POI gives better than this ?
Thanks,
Amit Shah.Can you please suggest me any api for reading excel
files.
Right now i am using jxl.jar for this purpose
but i am searching for an open source java api better
than this.
Whether POI gives better than this ?i don't know about jxl but poi has several features which an excel can contain and it has been vastly improved in the past few versions. -
Please add options for file names on camera or PlayMemories import (ie: 00001 DateTaken DSC= 00001 2014_10_21 DSC )
if(!getNewContactsName())
createNew();
return;
if(!getNewContactsSurname())
createNew();
return;
String checkName = newName;
String checkSurname = newSurname;
if(!checkIfDuplicate(checkName,checkSurname))
createNew();
return;
if(!getNewContactsHomeNum())
createNew();
return;
if(!getNewContactsWorkNum())
createNew();
return;
if(!getNewContactsCellNum())
createNew();
return;
if(!checkAtLeastOneNumEntered(newHome, newWork, newCell))
createNew();
return;
}This can all be done in 1 if statement just use the or operator (||) will save some room
private void deleteFromList(String nameOfContact, String surnameOfContact)
{//Start of deleteFromList()
int confirm = JOptionPane.showConfirmDialog(null,"Are you sure you wish to delete the contact from the phonebook?","Please confirm",JOptionPane.YES_NO_OPTION);
if(confirm == JOptionPane.NO_OPTION)
return;
elseWhy do you have a return statement in a void method? there's no need for this you can cut out the no part and just keep the yes -
How we create .cspack and cscfg and csdef file for deployement service for azure sdk for php
my project is on php .I want create virtual machine on azure using azure sdk for php but in deployment it need cspack and cssfg file . I want the way to which i get those file .
Hi Nasreen,
Thanks for posting here!
Refer to :
http://blogs.msdn.com/b/rmattsampson/archive/2014/04/03/azure-development-in-the-azure-sdk-2-3-and-update-2-rc.aspx and
https://msdn.microsoft.com/library/azure/jj157194.aspx
Hope this helps!
Regards,
Sadiqh -
Where can I download the ReadOutLoud.api file for Adobe X, 10.1.10, running on 64bit Windows 7?
Any help will be very much appreciated.
thank you, and best regards... ...jkashnHi Bernd,
Thanks very much for your reply. Based upon your assertion that "ReadOutLoud.api" is part of the "typical" Adobe Reader installation, I searched for and found how to activate and use it (from the "View" menu). It couldn't be more simple - most operations like this are "really very easy" the *second and subsequent times* that you perform them. :-)))
thanks again, and best regards... ...jkashn
PS: I'm glad that you got the 10 points for your perfectly "Correct Answer"!!! -
Have a brand new dell. Not much on it but Premiere elements 13. Haven't used it for anything else - only 5 days old. I am in Premiere, add vid, render then poof. it says add media where those rendered files were. any help would be appreciated. thank you
bgar
On what computer operating system is your Premiere Elements 13 running on?
What are you (manually) or the project (automatically) setting as the project preset?
(See Edit Menu/Project Settings/General and the readings for Editing Mode, Timebase, Frame Size,
and Pixel Aspect Ratio (even if fields look grayed out).
What are the properties of these source media, including file extension? The brand/model/settings of the camera that recorded the
video may give us this information.
When the source media hit the Timeline for the first time, is there an orange line over their content? Or is there
no colored line and an orange line appears over them only after you have edited them?
Please elaborate on "poof" after rendering the Timeline content by pressing the Render button above the Timeline content with the orange line over it.
a. Media Offline displays?
b. Other?
ATR
Maybe you are looking for
-
ive tried uninstalling and reinstalling...i can watch videos on like windows media player...if anyone can help me i will be right here waiting to work with you...please!!
-
How can I remove the update from my iPhone 4s?
I am not liking the new update to my iPhone 4s, is there any way to remove this update?
-
Can't boot from windows 7 usb installation media
When trying to boot from windows 7 usb installation media no efi boot option availiable. Using "boot from efi file" option whith each and every .efi file on installation media results in a message saying "The selected boot device failed. Press <Enter
-
How do I get pictures from my iPhone to iPadAir?
How do I get my iPhone pictures to iPad Air
-
Copy text - whole page selected
When I try to copy text in my editable region, text from the entire page, including headings, navigation bars, etc., is selceted. Anybody know why? I am sure it has to do with my tags, but can't seem to figure it out. The site is www.vcstormwater.org