How to include Php Files in SrcView and Release Build

Dumb question
For a long time I have been manually copying any changes to my php files from the debug to the release folder manually. I know they can be linked so they do so on compile (and I am hoping also included in srcview) but never took the time to figure out what the proceedure is.
About time I guess Suggestions?

What I have been doing is creating a new folder in your src maybe like "scripts" or something.  Then you can create a .php file in there and when you double click to open it should open your default .php editor.  Now when you do a release build it will include the folder "scripts" in your bin-release.
Then do something like
<s:HTTPService id="my_http_service" url="./scripts/script.php" result="my_http_service_resultHandler(event)" resultFormat="e4x">
The only problem I have run into is when testing locally you will need to have a copy on a server, unless you have apache running locally.
Hope this helps!

Similar Messages

  • How to include .php file in .shtml using SSI

    Hi,
    I've just finished with my "Contact Us form" for my website and have some issues with running it. I have a .shtml file http://mydomain.com/contact-us.shtml in wich I'd like to include a contact us form file http://mydomain.com/includes/ContactUs.php. Now, having my web page "contact-us" as a *.shtml file with ContactUs.php file included, I can run the form but I can't send any emails.  If I would change contact-us.shtml in contact-us.php the form runs perfect but, I can't use other includes on that file as logo, header, footer etc. How could I include an .php file in a .shtml file and runing both the included .php script and includes themself?
    Thank You!

    Keep it simple.
    Your html file uses syntax like "<!--#include file=".header" -->" to include an SSI file. Your server requires either (1) that the html file have the .shtml extension or (2) you twiddle with an .htaccess file to cause the server to parse ALL html files for SSIs. The latter is generally not a good idea.
    PHP files are already processed on the server. You include SSI files the same way, but the syntax is a little different: "<?php include (".header"); ?> ".

  • How to include .jar files in coldfusion code 

    To Integrate our cfm code with paypal jar files we do the
    following steps with our local coldfusion server ,and to run and
    integrate the paypal Java SDK jar files, I think we need to do the
    same process on the server, can you suggest any thing to do the
    following setting for my domain on the server, without setting the
    class path in coldfusion administrator.
    The ColdFusion application server must be configured to know
    the location of the PayPal JAR
    files, and your ColdFusion Markup (CFM) pages must be
    configured with the absolute path to
    the PayPal API certificate for the PayPal API user on whose
    behalf the calls are made.
    1. Install the PayPal Java SDK “Installing the
    SDK”.
    2. Copy a subset of the Java SDK JAR files to a location
    accessible by the ColdFusion
    application server. The JAR files are in SDK_root\lib and
    their exact names are as
    follows:
    – bcmail-jdk14-128.jar
    – bcprov-jdk14-128.jar
    – paypal_base.jar
    – paypal_stubs.jar
    sax2.jar
    – xerces.jar
    – xpp3-1.1.3.4d_b4_min.jar
    – xstream.jar-1.1.3.jar
    3. With the ColdFusion Application Server Administrator, add
    the absolute path of the
    location you determined in Step 2 to the Java and JVM
    CLASSPATH environment variable.
    4. Restart the ColdFusion Application Server.
    Suggest me how to include .jar files without setting
    classpath.

    > Suggest me how to include .jar files without setting
    classpath.
    Copy them to {CF_HOME}\lib, where {CF_HOME} is, for example,
    C:\CFusionMX7. Restart Coldfusion.

  • How to include external files in JSP

    hi,
    How to include external files like image or javascript in to jsp pages.
    I am using MVC frame work. So i have to use request dispatcher. While calling the pages trough dispatcher the external files are missing from the output. Also am using tomcat as server,web.xml(deployment descriptor ) is also configured.
    regards
    sree

    When you use the request dispatcher, the relative path for all your ressources becomes the relative path of your calling serlvet and not the JSP/servlet that you call. Make sure to use the full relative path such as:
    /PATH_TO_YOUR_DIRECTORY/myRessource.ext
    NOT
    SOME_DIRECTORY/myRessource.ext
    Jeff

  • How to include the file name as an XML field

    Hi,
    I'm using a file adapter for process a flat file and convert it into an XML. Does anybody knows how to include the file name into an XML field.
    Ex.
    I process the file named <b>XXIMN21022007.txt</b> and I need an XML like:
    <MT_FILE>
    <field1></field1>
    <field2></field2>
    <field3></field3>
    <filename><b>XXIMN21022007.txt</b></filename>
    </MT_FILE>
    Regards
    Gonzalo

    Just go for dynamic configuration.
    Check the sender file adapter to write the filename in the header (as explained in Michal's blog) and then read that header in some mapping.
    U can use that even in simple message mappings.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    Your code for the filename tag would be something like:
    <i>DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        “http://sap.com/xi/XI/System/File”,
        “FileName”);
    return conf.get(key);</i>
    Regards,
    Henrique.

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • How to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 using ftp

    how to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 device using ftp through Ethernet

    Hello
    For using FTP function in LabVIEW, I recommend you to check this document: FTP Basics
    Also, take a look at FTP Browser.vi, which is available at the Example Finder.
    To edit a XML file, try to use VIs in XML palette. Maybe Write to XML.vi helps you.
    Post your current VI if possible.
    Regards
    Mondoni

  • How to include .js file into validater-rules.xml

    iam doing project using struts.
    i have .js file for client side validation.how to include .js file into struts validate-rules.xml so that i can use those validation in my project.
    without writing any class.
    is there any way

    copy + paste from my book...............
    Enabling Client-Side Validations
    In addition to providing a framework for simplifying server-side form data validations, Validator provides an easy-to-use mechanism for performing client-side validations. Each validation routine defined in the validator-rules.xml file optionally specifies JavaScript code that can be run in the browser (client side) to perform the same validations that take place on the server side. When run on the client side, the validations will not allow the form to be submitted until they have all passed.
    To enable client-side validation, you have to place the HTML Tag Library's javascript tag in each JSP for which you want validation performed, as shown here:
    <html:javascript formName="logonForm"/>
    The javascript tag requires that you use the formName attribute to specify the name of a <form> definition from the validation.xml file, as shown here, for which you want validations performed:
    <form name="logonForm">
    <field property="username" depends="required">
    <arg0 key="prompt.username"/>
    </field>
    <field property="password" depends="required">
    <arg0 key="prompt.password"/>
    </field>
    </form>
    All the validations that you have specified for the <form> definition to run on the server side will be run on the client side.

  • How can i upload files in servlets and also using jsp

    means that uploading files(.doc) or any files by using servlets and jsps

    yawmark wrote:
    saichand wrote:
    means that uploading files(.doc) or any files by using servlets and jsps
    [http://www.google.com/search?q=How+can+i+upload+files+in+servlets+and+also+using+jsp]
    ~Good topic titles are indeed brilliant search keywords. It's sad to see that it won't even come in the mind of the topicstarters to Google it before posting the topic.

  • Hello, I recently bought an iPad Air. Can anyone Please tell me How can in Transfer files like photos and videos from my win 8 computer to ipad ?

    Hello, I recently bought an iPad Air. Can anyone Please tell me How can in Transfer files like photos and videos from my win 8 computer to ipad ?

    Sync photos to iPad
    http://support.apple.com/kb/ht4236

  • What is the primary difference between Debug and Release build?

    I'm coming from the world of VS, where there's a clear distinction between a Release and Debug builds. In Xcode I can't seem to see how two are different and how would I benefit from, say, a Debug build. Can someone explain this for me?

    The differences between the Xcode debug and release builds are similar to the differences you'll find on any other system, though the Xcode interface might not present them as obviously. Basically, a debug build preserves all kinds of information that was developed during compilation but is no longer necessary at runtime. The presence or absence of this information (e.g. symbol tables and mappings which provide the original name of each source code variable and the source code line number corresponding to each instruction), becomes increasingly obvious as you use gdb and other debugging tools.
    We normally would never want to release a debug version (in the iOS case, of course, it would never be accepted) because the binary is usually much larger and the performance will probably be compromised as well. For example, a typical debug build will have many perfomance optimizations turned off because these can make debugging more difficult. It's also common to enable "assert" statements in a debug version. These will bring the program down rather than giving the user any options or attempting recovery.
    For more info specific to Xcode, see [Build Configurations|http://developer.apple.com/library/ios/documentation/DeveloperTo ols/Conceptual/XcodeBuildSystem/400-BuildConfigurations/build_configs.html#//appleref/doc/uid/TP40002692-SW7] in the +Xcode Build System Guide+. To get into lower level details, refer to the gcc docs, maybe starting with [3.9 Options for Debugging Your Program or GCC|http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html]. You might also want to take a look at your Target Build Options for the Debug configuration (Project->Set Active SDK->Use Base SDK and Project->Edit Active Target->Build). There's a one-to-one mapping between many of these settings and the gcc options.
    \- Ray
    p.s.: Didn't mean to repeat Xnav's points. As usual, I was still editing long after he posted! To clarify one difference: Selecting the Edit Active Target menu item gets you to the same place as double clicking on the icon for the active target in the Targets group of the Groups & Files tree. - R
    Message was edited by: RayNewbie

  • Difference between Build and Release Build

    Hi,
    I was curious if some one could guide me to an article/discussion where I can understand the difference between normal build of a Flex project and release build of the same using Flash Builder 4.5.
    I am currently writing an ANT script for my project and I have completed the script to Build the project. But I would like to know, how to achieve a release build of my application using ANT.
    I googled on the same but could not find anything constructive which can explain the exact difference between the two builds.
    Thank you,
    Bhargav

    Hi,
    I was curious if some one could guide me to an article/discussion where I can understand the difference between normal build of a Flex project and release build of the same using Flash Builder 4.5.
    I am currently writing an ANT script for my project and I have completed the script to Build the project. But I would like to know, how to achieve a release build of my application using ANT.
    I googled on the same but could not find anything constructive which can explain the exact difference between the two builds.
    Thank you,
    Bhargav

  • How to Use PHP Files and .tpl files

    I have taken a course and it includes a resource section with templates that I can use. These templates are squeeze page ones and inside the folder are index.php, config.php and a whole lot of .tpl files that open up in empty Stickies on my Mac.
    Can someone explain how to use these files. When I open them in Dreamweaver I see code related to the php files but I can't browse the index.php file in a browser to see what the so called sqeeze page looks like.
    Yikes I'm really lost here.
    thanks
    John

    ORA-06401, 00000, "NETCMN: invalid driver designator"
    Cause: The login (connect) string contains an invalid driver designator.
    Action: Correct the string and re-submit.
    The //ip:port/sid connect string will only work with 10g clients.
    Check your tnsnames.ora file. Does the file have control characters or missing carriage-return characters ? (Maybe you ftp'd the file from a unix box ?)
    I would suggest that you create a new tnsnames.ora - hand edit it (don't copy the old one). If you have sqlplus client - try using it to connect to the remote DB first.
    The instructions for connection to a local or remote DB are all the same (when using plain OCILogon) because the connection is made over TCP.

  • How to include resource files in the application and how to retrieve ?

    Hi,
    I want to include resource file in my application jar file and retrieve data from the file ......Is there any way for it? How i create these resources files and how i include them?.........Which classes shall i use for retrieving the data from these files?.........Any kind of help would be appreciated........Iam using NetBeans IDE 6.1,CLDC1.0 and MIDP 2.0........Thanx,in advance..........

    How i create these resources files and how i include them?How you create the files will depend on what resources you need to include.
    [How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]
    db

  • How to include header files from different directories?

    Hi,
    Sorry for the newb question, but I can't figure this out. I'm trying to compile a simple piece of code (C++) that uses header files in a directory different from the Project directory; header files are in /opt/csw/postgresql/include/pqxx. I've tried a few different things, adding that directory to the include directives under Resource Files, add existing files from a folder, etc etc. Whenever I try to build, dmake bails with status -1. I can't seem to get this working, can someone explain how to use header files from different directories?
    Thanks,
    SlowToady

    Header files are usually specified relative to a base directory. If the base directory is not a system directory -- /usr/include or the compiler installation directory -- add a command-line directive
    -I path/to/base/dirfor each such directory.
    The path can be absolute, such as
    -i /opt/csw/postgresql/includeor relative, such as
    -I ../../my/includeIn your source code, specify the header file relative to the base directory, and be sure to use quotes, not angle brackets. Example:
    #include "header.h"  // right
    #include <header.h>  // wrongThe angle brackets are used for system headers, like <iostream> or <stdlib.h>.
    The rules above are common to all compilers on Unix and Linux, and generally to all C and C++ compilers.
    For more details, read about the -I option in the C++ Users Guide. You can find the guide by pointing your browser to the "docs" directory in the compiler installation, or go here:
    http://docs.sun.com/app/docs/doc/819-5267
    All command-line options are described in Appendix A.

Maybe you are looking for

  • How can I remove the icons from my personal toolbar (I don't need them, words are fine, and they take up too much space)?

    I shorten the names of sites in the properties box to allow me to get a lot of them in my toolbar, and they no longer fit because of all the icons. Personally, I hate icons and don't understand why everyone has trouble with words, a trusted and highl

  • IMac or Mac Pro

    I have asked this question before and I'll be honest - I was sorta confused with some of the responses so I am back with what I hope are better thought out questions. I am torn between the iMac 3.06 and the Mac Pro 2.66 4-core. I am not a pro but thi

  • Types of special G/L transactions and their relationship to the GL

    Dear all, I don't understand about the difference between three types of special GL transaction ( Free offsetting entry, statistical offsetting entry, and Noted items ) and their relationship to the GL. Please tell me about accounting entries, accoun

  • .jpgs selection and watch slideshow

    I have an issue that was brought up. I need to have 2 things on the finished dvd. 1. I need to have the ability to select .jpg images from the dvd to download on a computer to print off. 2. I also need this to have the ability to show the slideshow t

  • Safari Pop up buttons / javascript

    I want to be able to select a specific item in a list of a pop up button in safari, i can do it by using a repeat statement and get value of button, with key codes simulating down arrow. This is tediously slow to the say the least. When i go view sou