Custom PHP Script to Post to Reader Extender

Hello all,
What APIs are available to post data using an HTTP request to the reader extensions server and then have a response back of the PDF that is extended? Is there any documentation?

After more searching I found where the errors were being logged.
2012-09-04 13:24:40,292 INFO  [org.apache.axis.EXCEPTIONS] (http-0.0.0.0-8080-5) AxisFault:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
     {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
     at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1180)
     at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
     at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsgString(RESMsgSet.java:198)
     at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsg(RESMsgSet.java:256)
     at com.adobe.livecycle.readerextensions.ReaderExtensionsService.applyUsageRights(ReaderExtensionsService.java:180)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
     at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:227)
     at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
     at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
     at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
     at org.jboss.ejb.Container.invoke(Container.java:1092)
     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
     at $Proxy238.doSupports(Unknown Source)
     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:104)
     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:158)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
     at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)
     at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod(AdobeAxisServiceProvider.java:222)
     at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
     at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
     at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java:43)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:57)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
     at java.lang.Thread.run(Thread.java:662)
     {http://xml.apache.org/axis/}hostname:medusa
     {http://xml.apache.org/axis/}isRuntimeException:true
java.lang.NullPointerException
     at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
     at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
     at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java:43)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:57)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
     at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
     at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1180)
     at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
     at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsgString(RESMsgSet.java:198)
     at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsg(RESMsgSet.java:256)
     at com.adobe.livecycle.readerextensions.ReaderExtensionsService.applyUsageRights(ReaderExtensionsService.java:180)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
     at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:227)
     at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
     at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
     at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
     at org.jboss.ejb.Container.invoke(Container.java:1092)
     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
     at $Proxy238.doSupports(Unknown Source)
     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:104)
     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:158)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
     at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
     at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)
     at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod(AdobeAxisServiceProvider.java:222)
     at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
     at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
     ... 35 more

Similar Messages

  • Receiving Script Error only on Reader extended PDF

    I'm working with a user who created a Livecycle PDF.  They have formulas to sum rows and columns.  Everything works fine in preview mode.
    However the PDF starts throwing an error when I reader extend it.  I'm not sure why or what I need to do to fix it.
    Script failed (language is formcalc; context is xfa[0].form[0].form1[0].Table2[0].Row3[4].NumerciField8[1])
    script=$=Row3[0].NumericField2+Row3[1].NumericField3[1]
    Error accessor 'Row3[1].NumericField3[1]' is unknown.
    Script failed (language is formcalc;context is
    xfa[0].form[0].form1[0].Table2[0].Row5[9].NumericField41[0])
    script=$=Row3[2].NumericField8+Row4[4].NumericField60+xfa.resolveNode("#
    subformSet.#subform[13].NumericField8")=Row5[3].NumericField8+Row5[8].NumericField8
    Error accessor 'Row3[2].NumericField8' is unknown.
    Script failed (language is formcalc;context is
    xfa[0].form[0].form1[0].Table2[0].Row5[9].NumericField41[1])
    script=$=Row3[2].NumericField8[1]+Row4[4].NumericField61+xfa.resolveNode(
    "#subformSet.#subform[13].NumericField8[1]")+Row5[3].NumericField8[1]+
    Row5[8].NumericField8[1]
    Error access 'Row3[2].NumericField8[1]' is unknown

    I think it is fixed.  I deleted the formulas and re-entered them.  I also renamed the fields to something more descriptive rather than the default assigned in the form.  That seems to be working.
    If you are really curious a current broken copy is available at:  http://www.mdt.mt.gov/publications/docs/grants/MDT-TPL-003-GRANT_APP.pdf
    I haven't published the updated version as I want the user to test it prior to release.

  • Populate fields from a php script

    Hi,
    I am trying to populate text fields from a PHP script right into Acrobat Reader.
    Lets not talk about database just yet, I just want to know how to take a variable in PHP right to the livecycle designer form.
    I have seen many things like submitform(), using http posts, etc but I cant get it to work.
    Thank you in advance.

    If you want to fill the LiveCycle Designer form, then you need to render it with the datafile.
    The datafile can be an XML file or a webservice or Database.
    You cannot directly fill the PDF from a PHP script. What you can do is, have a LiveCycle Process created in Workbench and then invoke the Process from PHP application by passing the information. The Livecycle process will merge the data with the template and return the PDF to the client application.
    There is an other feature in Acrobat PRO that you can import an XML file directly into a PDF but that is a manual effort. You can not link that to a PHP Script.
    Thanks
    Srini

  • Sending string to php script using HttpConnection, OutputStream, POST

    I am currently building an imode application using DoJa 2.5 standards and the problem I'm having is that when I send a string to a php script using a HttpConnection object and an OuputStream object via Http POST method, It does not seem to be sent at all. You'll probably understand a little better if you read the following code:
    * main.java
    * DATE : 2005/12/19 14:47
    import com.nttdocomo.ui.IApplication;
    import com.nttdocomo.ui.Display;
    import com.nttdocomo.util.Phone;
    import com.nttdocomo.io.HttpConnection;
    import java.io.*;
    import javax.microedition.io.*;
    import com.nttdocomo.net.URLEncoder;
    * main
    * @TetraCON
    public class main extends IApplication
         // Declareer een object van de klasse Gebruiker
         public Gebruiker gebruiker;
         // Declareer een object van de mainpanel klasse
         private MainPanel mainPanel;
         public void start()
              //Maak object van Gebruiker aan met het sim_nr van de simkaart
              gebruiker = new Gebruiker(Phone.getProperty("terminal-id"));
              /* Testing... *************/
              System.out.println(gebruiker.getSim_nr());
              // Declareer een nog niet ingestelde HttpConnection
              HttpConnection con = null;
              OutputStream out = null;
              InputStream is = null;          
              try
                   // Stel de parameters van de HttpConnection in en krijg er een object van
                    //con = (HttpConnection)Connector.open( IApplication.getCurrentApp().getSourceURL() + "validate-terminal.php", Connector.READ_WRITE, true);
    /* Testing.... ****************/
    con = (HttpConnection)Connector.open( IApplication.getCurrentApp().getSourceURL() + "validate-terminal-test.php", Connector.READ_WRITE, true);
                   con.setRequestMethod(HttpConnection.POST);
                   con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                   // Declareer een OutputStream en link deze aan de HttpConnection
                   out = con.openOutputStream();
                   // Zet het te versturen sim_nr in de buffer van de OutputStream
                   out.write((URLEncoder.encode("sim_nr=" + gebruiker.getSim_nr())).getBytes());
                   // Sluit de OutputStream
                   out.close();
                   // Maak verbinding met de server en verstuur het sim_nr
                   con.connect();
                   // Declareer een InputStream en link deze aan de HttpConnection
                   is = con.openInputStream();
                   // Declareer een byte array van 20 bytes om de data in op te vangen
                   byte[] b = new byte[200];
                   // Roep de read methode van de InputStream aan om de data in de byte array te zetten
                   is.read(b);
                   // Sluit de InputStream
                   is.close();
                   // Sluit de verbinding
                   con.close();
                   // Geef de gebruikersnaam uit de byte array aan het attribuut van gebruiker of geef geen toegang
    /* Testing..... **********************/
                   System.out.println(new String(b));
              catch(Exception e)
                   System.out.println(e.toString());
                   try
                        if(out != null) out.close();
                        if(is != null) is.close();
                        if(con != null) con.close();
                   catch(Exception e2)
                        System.out.println("Exception: " + e2.toString());
              // initialiseer het mainpanel
              mainPanel = new MainPanel();
              // Geef het mainPanel weer
              Display.setCurrent(mainPanel);
    }The data I'm trying to submit does not show up in the $_POST variable in PHP as it should.
    Is there anybody out there who can tell me what I'm doing wrong?

    Hi Antoni, you can delete the 'mx:request' section and pass
    the 'registrationModel' object into the send parameters.
    Code should be:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    public function submitForm():void {
    formSender.cancel();
    formSender.send(registrationModel);
    //formSender.showBusyCursor = true;
    Alert.show("Your request has been send successfully.", "Send
    Report", Alert.OK , this);
    //resetForm();
    private function getResultOk(r:Number,event:Event):void{
    if(!r){
    Alert.show('Error sending data!!');
    return;
    Alert.show( String(this.formSender.lastResult) );
    ]]>
    </mx:Script>
    <mx:HTTPService id="formSender"
    url="
    http://www.yourdomain.com/mailer.php"
    method="POST" showBusyCursor="true" useProxy="false"
    result="getResultOk(1,event)"
    fault="getResultOk(0,event)" >
    </mx:HTTPService>
    <mx:Model id="registrationModel">
    <firstname>{firstname.text}</firstname>
    <lastname>{lastname.text}</lastname>
    <email>{email.text}</email>
    <position>{position.text}</position>
    </mx:Model>
    <mx:Form width="100%" height="100%">
    <mx:TextInput id="firstname" text="pepe"/>
    <mx:TextInput id="lastname" text="lopez"/>
    <mx:TextInput id="email" text="[email protected]"/>
    <mx:TextInput id="position" text="director"/>
    <mx:Button label="send" click="submitForm()"/>
    </mx:Form>
    </mx:Application>
    And php...
    <?
    echo 'OK: Vars received:'.count($_POST)."\n";
    foreach($_POST as $k=>$v){
    echo $k.'='.$v."\n";
    exit;
    ?>

  • Help: Sending HTTPService request using POST to a php script

    Hello all,
    I need help in learning the proper method of communicating to php scripts from flex 3. I am very new to flex 3, php and web development. Thanks!
    What I am trying to do is as follows:
    1. User drags and drops a few items in a list control
    2. user clicks a button to send these keywords to server php script
    3. server will form a query based on the words sent and retrieve records and send them back
    Here is what I have done so far:
    1. When I send a request to server without any parameters, I amable to receive the request and query the database and send results in xml format
    current issues I am facing:
    1. I am gathering the list of entries in list control as follows:
    <*** this function is callled when user decides to send request to server ***>private function startsearch():void {
       var i:int;
       var myAC:ArrayCollection = ArrayCollection(SelCtypes_id.dataProvider);
       var nct:XML = new XML("<contenttypes></contenttypes>");
       // add contenttype child now
       for (i = 0; i<myAC.length; i++) {
        nct.appendChild(XML(<contenttype>{myAC[i].toString()}</contenttype>));
       var params:Object = new Object();
       params.contenttypes = nct.toXMLString();
       getsearchresults.send(params);
    <*** my http service entry****>
      <mx:HTTPService id="getsearchresults"
       method="post"
      url="http://localhost/search_xml.php"
      result="handlesearchresultsXml(event)"
      contentType="application/xml" />
    This is what I see in flex debugger just when the request is sent out:
    -> just before gersearchresults.send(params) call:
    params.contenttypes = "<contenttypes>
      <contenttype>AVI</contenttype>
      <contenttype>SWF</contenttype>
    </contenttypes>"
    <*** within the HTTPrequest send function, I see th following in debugger ***>
    message.contentType="application/xml"
    message.body = paramsToSend shows "<contenttypes>&lt;contenttypes&gt;
    &lt;contenttype&gt;AVI&lt;/contenttype&gt;
    &lt;contenttype&gt;SWF&lt;/contenttype&gt;
    &lt;/contenttypes&gt;</contenttypes>"
    This looks like my XML object is again formatted by an out <contenttypes> tag and the string is converted to be HTML safe (i.e. &lt, &gt notation).
    It looks like I am not doing something right with my params formation to XML and HTTPservice is reformatting it to be some form of XML (I do not know XML well either :-)
    My questions:
    1. What am I doing wrong?
    2. If there is a good example where I can send multiple parameters from flex client to php server and get data back where the request parameters will beof the form...
    <query>
    <type1>
         <type1val>value1</type1val>
         <type1val>value2</type1val>
    </type1>
    <type2>
         <type2val>value3</type2val>
         <type2val>value4</type2val>
    </type2>
    </query>
    Thanks for your help!

    Hi, I'm having a problem with a similiar issue :/
    I'm getting the error #1010 (A term is undefined and has no properties):
    at flexGraph/httpResultHandlerUserInfo()
    at flexGraph/__userInfoXML_result()
    etc.
    I removed some parts of the code so it's easier to read, if you can help me. I'm trying to populate a datagrid with info from a database, according to the alias I choose in the ComboBox. I get the error when I pick an alias from the ComboBox.
    <mx:Script>
         <![CDATA[
         import mx.collections.ArrayCollection;
         import mx.rpc.events.FaultEvent;
         import mx.rpc.events.ResultEvent;
         import mx.events.DropdownEvent;
         [Bindable] private var usersInfo:ArrayCollection;
         private function httpResultHandlerUserInfo(event:ResultEvent):void{
              usersInfo = event.result.users.user;
         private function chooseUserCB(event:DropdownEvent):void{
              userInfoXML.send();
    ]]>
    <mx:HTTPService id="userInfoXML" url="http://www.mysecondplace.org/flex/userInfo.php"
    result="httpResultHandlerUserInfo(event)"
    useProxy="false" method="POST">
    <mx:request xmlns=""><alias>{usersAliasCB.selectedItem.alias}</alias></mx:request>
    </mx:HTTPService>
    <mx:ComboBox id="usersAliasCB"
    x="10" y="10"
    labelField="alias"
    close="chooseUserCB(event)"/>
    <mx:DataGrid id="testing"
    x="10" y="100"
    dataProvider="{usersInfo}"/>
    Here's an example from the PHP file:
    $query_user = "SELECT * FROM users WHERE alias='.$_POST["alias"].'";
    Help me please

  • PDF to Reader Extended Script

    Hello all,
    I'm looking for a script that can automatically save a X amount of PDF forms as Reader Extended, that way users can fill them in and save a completed copy for their records.
    Thanks in advance to all for your help!

    Cannot be done. Acrobat does not permit automation of the Reder-extending operation; it's a workflow only supported by the LiveCycle (ADEP) server product range.

  • HTTP POST to a php script

    I have a java applet and I need to write to a file, since I can't do that directly, I am calling a php script to write to the file. Here is the relevant code in the .java file
    URL myURL=null;
    URLConnection urlConn=null;
    DataOutputStream printout=null;
    DataInputStream input=null;
    try{
         myURL=new URL(getCodeBase(),"writeFromFile.php");
         }catch(Exception easidghih){JOptionPane.showMessageDialog(null,"WRITETOFILE");}     
    try{
         urlConn=myURL.openConnection();
         }catch(Exception w){JOptionPane.showMessageDialog(null,"openConnection()");w.printStackTrace();}
    try{urlConn.setDoInput(true);
         urlConn.setUseCaches(false);
    catch(Exception a){JOptionPane.showMessageDialog(null,"Exception here");}
    try{
         urlConn.setDoOutput(true);
         PrintWriter out=new PrintWriter(urlConn.getOutputStream());
         out.println("File="+username+"P.txt"+"&text="+(Long.toString(number)));
         out.close();the text of the php file, "writeFromFile.php" is below.
    <HTML>
    <BODY>
    <?php
    print "BOB";
    $File=$_POST["File"];
    $text=$_POST["text"];
    $filename=$File;
    $fp=fopen($filename,"w");
    $string=$text;
    $write=fputs($fp,$string);
    fclose($fp);
    ?>
    </BODY>
    </HTML>The file writing works fine when I have a separate file with a form to fill out in HTML. But when I run the java applet it gives no errors, but the file writing doesn't work.

    have made a php file what will display a number,
    <?
    $brush_price = 5;
    $counter = 10;
    echo "<table border=\"1\" >"."\n";
    echo "<tr><th>Quantity</th>"."\n";
    echo "<th>Price</th></tr>"."\n";
    while ( $counter <= 100 ) {
        echo "<tr><td>"."\n";
        echo $counter;
        echo "</td><td>"."\n";
        echo $brush_price * $counter;
        echo "</td></tr>"."\n";
        $counter = $counter + 10;
    echo "</table>"."\n";
    ?>no i want to get the tables with java
    import java.io.*;
    import java.net.*;
    class URLConnect
       void connection()
         try
         int taken;
         String fileName = "C:/abhishek/connected.txt";
         FileWriter fileWriter = new FileWriter( fileName );
          BufferedWriter bufferedWriter = new BufferedWriter( fileWriter );
          URL url = new URL"http://192.168.1.102/rapidclaims/httpsdocs/test/abhishek/abhi/while.php");
          URLConnection urlconnection = url.openConnection();
          System.out.println("url is: " + url+"\n");
          System.out.println("Type is: " + urlconnection.getContentType()+"\n");
            int length = urlconnection.getContentLength();
            System.out.println("Length is: " + length+"\n");
            InputStream in = urlconnection.getInputStream();
            int i=0;
            while ((taken = in.read()) != -1)
              System.out.print((char) taken);
              bufferedWriter.write(taken );
            bufferedWriter.close();
          catch (Exception ee)
           System.err.println("Got an exception!!!! ");
           ee.printStackTrace();
    class display
      public static void main (String[] args)
        try
           URLConnect test1= new URLConnect();
            test1.connection();
        catch (Exception ee)
        System.err.println("Got an exception!!!! ");
         ee.printStackTrace();
    }but no success . earlier it was working to extract out the strings
    plesase anybody know help with a suitable source code[/code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Reader Extended Features not available in downloaded PDF

    I've posted a form on my website with Reader Extended Features enabled so it can be "Ink Signed". Finding that the extended features are not available in browser Reader plugins, I created a link to the PDF with PHP that allows it to be downloaded, then opened with the standalone version of Reader, but still get the message "This document contained certain rights to enable special features in Adobe Reader. The document has been changed since it was created and these rights are no longer valid. Please contact the author for the original version of this document." If I open my original local copy of the PDF it still has Extended Features enabled. What's changing in the downloaded copy?
    Created in Acrobat Pro 9, opened in Reader 9.3.4
    Thanks for any insight.

    Bernd--thanks for your interest. I found that the problem was the PHP script that I was using to force the PDF to download instead of open in the browser plugin. I used several variations of the script with the same results--seemed to be altering the contents of the PDF which cancelled the Reader Extended Features. A solution that I found was to add
    <FilesMatch "\.(pdf)$">
      ForceType application/octet-stream
      Header set Content-Disposition attachment
    </FilesMatch>
    to the .htaccess file. Since I only wanted one PDF (not all of them on the site) to be affected, I put it and the .htaccess file in a subdirectory and linked to it there. The PDF now downloads with Reader Extended Features intact.

  • PHP script...where do I put my variables???

    I'm working on a PHP script and I've got the fill in parts working but just cannot get my head around the drop down menu and radio buttons.  I tried typing in the drop down menu pieces in the "$body" part of it but then all it did was send me everything.  If the sender only wants one thing from the drop down menu, I only want to see what the customer wanted.  Not what is in all the menu.  From email to phone seems to work good but I guessed at the pull down "service menu" and also the Name through Comments works in the body portion as well but those pull down and radio parts are not sending.  I don't even know what an EOD is and what to type in there or the results part as well.  Please help!!
    <?php
    /* Email Variables */
    $emailSubject = 'contactformprocess.php';
    $webMaster = '[email protected]';
    /* Data Variables */
    $email = $_POST['email'];
    $name = $_POST['name'];
    $comments = $_POST['comments'];
    $phone = $_POST['phone'];
    $service = $_POST['Web Design'];
    $budget = $_POST['RadioGroup1_0'];
    $body = <<<EOD
    <br><hr><br>
    Name: $name <br>
    Email: $email <br>
    Phone: $phone <br>
    Comments: $comments <br>
    EOD;
    $headers = "From: $email\r\n";
    $headers .= "Content-type: text/html\r\n";
    $success = mail($webMaster, $emailSubject, $body,
    $headers);
    /* Results rendered as HTML */
    $theResults = <<<EOD
    <html>
    <head>
    <title>sent message</title>
    <meta http-equiv="refresh" content="2;URL=http://thegoldenspindle.com/Contact.html">
    <style type="text/css">

    Ok, here's the full script:  and the contact page is  http://thegoldenspindle.com/Contact.html    The red is what I added that makes the whole script not send or work.  I take them out and the script works again. 
    <?php
    /* Email Variables */
    $emailSubject = 'contactformprocess.php';
    $webMaster = '[email protected]';
    /* Data Variables */
    $email = $_POST['email'];
    $name = $_POST['name'];
    $comments = $_POST['comments'];
    $phone = $_POST['phone'];
    $service = $_POST['service'];
    $budget = $_POST['budget'];
    $body = <<<EOD
    <br><hr><br>
    Name: $name <br>
    Email: $email <br>
    Phone: $phone <br>
    Service: $service <br />
    Budget: $budget <br />
    Comments: $comments <br>
    EOD;
    $headers = "From: $email\r\n";
    $headers .= "Content-type: text/html\r\n";
    $success = mail($webMaster, $emailSubject, $body,
    $headers);
    /* Results rendered as HTML */
    $theResults = <<<EOD
    <html>
    <head>
    <title>sent message</title>
    <meta http-equiv="refresh" content="2;URL=http://thegoldenspindle.com/Contact.html">
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    color: #fec001;
    text-decoration: none;
    padding-top: 200px;
    margin-left: 150px;
    width: 800px;
    -->
    </style>
    </head>
    <div align="center">Thank you for your email.  You will be contacted a soon as possible!</div>
    </div>
    </body>
    </html>
    EOD;
    echo "$theResults";
    ?>
    OK, here is my Contact Page script as well if this helps. 
    <!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=ISO-8859-1" />
    <title>Contact The Golden Spindle</title>
    <style type="text/css">
    <!--
    body {
    background-color: #000;
    background-image: url(Background-BLACK.jpg);
    background-repeat: repeat;
    margin-left: 0%;
    margin-right: 0%;
    margin-top: 0%;
    margin-bottom: 0%;
    body,td,th {
    font-size: x-small;
    color: #FFF;
    a:link {
    color: #E8E8E8;
    margin: 0px;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    color: #E8E8E8;
    a:hover {
    color: #9DF99B;
    cursor: auto;
    filter: Invert;
    text-decoration: none;
    a:active {
    text-decoration: none;
    color: #930;
    .style32 {
    font-size: x-large;
    text-transform: none;
    .style33 {
    font-size: large;
    font-family: Arial, Helvetica, sans-serif;
    .style35 {
    font-family: Arial, Helvetica, sans-serif;
    color: #FFF;
    .style36 {font-size: small; font-family: Arial, Helvetica, sans-serif; }
    .style39 {font-size: small}
    .style47 {font-size: x-large;
    color: #c7a317;
    .style48 {font-size: large;
    font-family: Arial, Helvetica, sans-serif;
    color: #BBBBBB;
    .style49 { color: #c7a317;
    font-size: small;
    .style153 {
    font-size: 14px;
    color: #F2E69A;
    font-family: Arial, Helvetica, sans-serif;
    .style154 {
    font-size: 15px;
    color: #F2E69A;
    font-family: Arial, Helvetica, sans-serif;
    .style157 {color: #726D49}
    .style158 {font-size: 12px}
    .style159 {font-family: Arial, Helvetica, sans-serif; color: #F2E69A;}
    .style40 {color: #BBBBBB}
    .style56 {color: #F2E69A}
    .style65 {font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
    #MenuBar1 li .goldensettings.MenuBarItemSubmenu .goldensettings {
    font-size: 16px;
    #MenuBar1 li .MenuBarSubmenuVisible li {
    font-size: 0px;
    #MenuBar1 li .MenuBarSubmenuVisible li {
    font-size: 16px;
    color: #3CC;
    #y {
    font-size: 0px;
    #box {
    font-size: 2px;
    #Box2 {
    font-size: 2px;
    #box3 {
    font-size: 2px;
    #box4 {
    font-size: 2px;
    #box5 {
    font-size: 2px;
    #box6 {
    font-size: 2px;
    #box7 {
    font-size: 2px;
    #box8 {
    font-size: 2px;
    #box9 {
    font-size: 2px;
    #box10 {
    font-size: 2px;
    #box11 {
    font-size: 1.2px;
    #box12 {
    font-size: 1.2px;
    #box14 {
    font-size: 1.2px;
    #box16 {
    font-size: 1.2px;
    #box17 {
    font-size: 1.2px;
    #box18 {
    font-size: 1.2px;
    #box20 {
    font-size: 1.2px;
    #box21 {
    font-size: 1.2px;
    #box22 {
    font-size: 1.2px;
    #bx1 {
    font-size: 5x-small;
    #x {
    font-size: 1px;
    #x1 {
    font-size: 1px;
    #bx3 {
    font-size: 1px;
    #bx6 {
    font-size: 1px;
    #bx6 {
    font-size: 1px;
    #bx7 {
    font-size: 1px;
    #bx8 {
    font-size: 1px;
    #bx9 {
    font-size: 1px;
    #MenuBar1 li .MenuBarSubmenuVisible li a {
    font-family: Arial, Helvetica, sans-serif;
    #MenuBar1 li .MenuBarSubmenuVisible li a {
    font-family: Arial, Helvetica, sans-serif;
    #MenuBar1 li a {
    font-family: Arial, Helvetica, sans-serif;
    -->
    </style>
    <style type="text/css">
    <!--
    .style351 {font-family: Arial, Helvetica, sans-serif}
    -->
    </style>
    <style type="text/css">
    <!--
    .style156 {font-size: 15px;
    color: #F2E69A;
    font-family: Arial, Helvetica, sans-serif;
    .none {
    color: #CCC;
    -->
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body link="#33CC66" alink="#FFFFFF">
    <blockquote>
      <blockquote>
        <table width="547" border="0" align="center">
          <tr>
            <th width="541" height="93" bordercolor="#000000" scope="col"><div align="left" class="style32">
                <table width="541" height="68" border="0" align="center" cellspacing="0" bordercolor="0">
                  <tr>
                    <th width="531" height="66" scope="col"><img src="Golden-Spindle-LOGO.png" width="512" height="218" /></th>
                  </tr>
                </table>
            </div></th>
          </tr>
        </table>
      </blockquote>
    </blockquote>
    <table width="1073" height="40" border="1" align="center" cellspacing="0" bordercolor="#1F252D" background="Blue-Bar-Flame008.png">
      <tr>
        <th width="1067" height="36" align="center" valign="middle" scope="col"><table width="912" border="0" align="center">
          <tr>
            <td width="906" align="center" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
              <li>
                <div align="center"><a href="index.html">HOME</a></div>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">SERVICES</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">3D Texturing</a>
                    <ul>
                      <li><a href="3D Texturing.html">Stills</a></li>
                      <li><a href="Electroplating.html">Electroplating</a></li>
                      <li><a href="Hologram.html">Holograms</a></li>
                    </ul>
                  </li>
                  <li><a href="3D Composite.html">3D Composite</a></li>
                  <li><a href="#" class="MenuBarItemSubmenu">Water</a>
                    <ul>
                      <li><a href="Ocean.html">Ocean</a></li>
                      <li><a href="Fluid Reactions.html">Fluid Reactions</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">2D Work</a>
                    <ul>
                      <li><a href="Composites.html">Composite</a></li>
                      <li><a href="Face Morphing.html">Face Replacement</a></li>
                      <li><a href="Photo Restore.html">Photo Restoring</a></li>
                      <li><a href="Touchups.html">Touch Ups</a></li>
                      <li><a href="2D Animation.html">2D Animation</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Visual Effects</a>
                    <ul>
                      <li><a href="Chroma Key.html">Chroma Key</a></li>
                    </ul>
                  </li>
                  <li><a href="Video Editing.html" class="goldensettings">Video Editing</a></li>
                  <li><a href="#" class="MenuBarItemSubmenu">Cloth &amp; Materials</a>
                    <ul>
                      <li><a href="Flag Blowing.html">Flag</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Ad Design</a>
                    <ul>
                      <li><a href="Brochures.html">Brochures</a></li>
                      <li><a href="Magazine.html">Magazine</a></li>
                      <li><a href="Box Design.html">Box &amp; Print</a></li>
                      <li><a href="Infomercial.html">Infomercials</a></li>
                    </ul>
                  </li>
                  <li><a href="Logos.html">Company Logos</a></li>
                  <li><a href="#" class="MenuBarItemSubmenu">Planets &amp; Space</a>
                    <ul>
                      <li><a href="Earth.html">Earth</a></li>
                      <li><a href="Planets &amp; Space.html">Moon</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Camera Techniques</a>
                    <ul>
                      <li><a href="Nasa Cam.html">NASA cam</a></li>
                      <li><a href="Hand Cam earth.html">Hand Cam</a></li>
                    </ul>
                  </li>
                  <li><a href="Graphics &amp; Webdesign.html">Web Design</a></li>
                  <li><a href="Business Cards.html">Business Cards</a></li>
                </ul>
              </li>
              <li><a href="REEL.html">DEMO REEL</a></li>
              <li><a href="Graphics &amp; Webdesign.html">WEB DESIGN</a></li>
              <li><a href="Animation.html">ANIMATION</a></li>
              <li><a href="Contact.html">CONTACT ME</a></li>
            </ul></td>
          </tr>
        </table></th>
      </tr>
    </table>
    <br />
    <table width="1073" border="0" align="center" cellspacing="0">
      <tr>
        <td align="right"><img src="Labels-Contact-video.png" alt="" width="497" height="19" /></td>
      </tr>
    </table>
    <br />
    <br />
    <form id="form2" name="form2" method="post" action="contactformprocess.php">
      <table width="1166" height="167" border="0" align="center" cellpadding="4" cellspacing="0">
        <tr>
          <td width="211" align="right"><label for="name">Name:</label></td>
          <td width="933"><input name="name" type="text" id="name" size="35" maxlength="80" /></td>
        </tr>
        <tr>
          <td align="right"><label for="email2">Email:</label></td>
          <td><input name="email" type="text" id="email2" size="35" maxlength="90" /></td>
        </tr>
        <tr>
          <td height="25" align="right"><label for="phone">Phone:</label></td>
          <td><input name="phone" type="text" id="phone" size="35" maxlength="12" /></td>
        </tr>
        <tr>
          <td height="22" align="right"><label for="Service Needed:">Service Needed:</label></td>
          <td><input name="Service Needed:" type="text" id="Service Needed:" size="35" maxlength="35" /></td>
        </tr>
        <tr>
          <td height="4" align="right">Budget:</td>
          <td><input name="Budget:" type="text" id="Budget:" size="35" maxlength="50" /></td>
        </tr>
        <tr>
          <td height="5" align="right"><label for="comments">Comments:</label></td>
          <td><textarea name="comments" id="comments" cols="33" rows="5"></textarea></td>
        </tr>
        <tr>
          <td height="13" align="right"><label for="clear"></label>
          <input type="reset" name="clear" id="clear" value="Reset Form" /></td>
          <td align="left"><label for="submit"></label>
          <input type="submit" name="submit" id="submit" value="Submit" /></td>
        </tr>
        <tr>
          <td> </td>
          <td align="right"> </td>
        </tr>
      </table>
    </form>
    <p><br />
    </p>
    <table width="391" height="20" border="0" align="center" bordercolor="#000000">
      <tr>
        <th width="381" scope="col"><div align="left" class="style351">
          <div align="center"><a href="About me.html">About Me</a><a href="REEL.html"></a> | <a href="Graphics &amp; Webdesign.html">Graphic &amp; Web Design</a> | <a href="Animation.html">Animation</a> | <a href="Video Editing.html">Video Editing</a> | <a href="Resume Video.pdf">Video Resume</a></div>
        </div></th>
      </tr>
    </table>
    <table width="422" height="36" border="0" align="center" bordercolor="#000000">
      <tr>
        <th width="412" height="30" scope="col"><div align="left" class="style351">
          <div align="center"><span class="style40"><a href="Contact.html">Contact</a> | Leavenworth, KS  | [email protected]<br />
          </span></div>
          <span class="style40">
            <label></label>
            </span>
          <div align="center" class="style40">&copy; 2009 The Golden Spindle, LLC. All Rights Reserved. </div>
        </div></th>
      </tr>
    </table>
    <p> </p>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

  • Running PHP script from Java apps

    Hi,
    I have a PHP application that opens up a template (MS Word) invoice file, inserts some information in the file (eg. today's date, customer name) and then saves it as a new Word file. My questions are as follows.
    1- How can I call this script from my Java application. Please not that I want to be able to pass parameters (eg. custome name read from a DB) from my Java app. to this script.
    2- Is it possible to print already saved MS Word documents from Java? If so, how?
    3- Is it possible to do what my PHP script is doing in pure Java? I couldn't find a simple way of doing this, that's why I used PHP but I would like to do this in Java if I can.
    thanks in advance,
    Mete

    Don't reply here. Go here instead.
    http://forum.java.sun.com/thread.jsp?forum=54&thread=479160&tstart=0&trange=15
    Cross-listed
    Sorry, I thought this didn't post before.

  • Webserver on DMZ cannot send email via php script using SMTP (cisco firewall pix 515e)

    Hello,
    I have two web servers that are sitting in a DMZ behind a Cisco Firewall PIX 515e. The webservers appear to be configured correctly as our website and FTP website are up. On two of our main website, we have two contact forms that use a simple html for to call a php script that uses smtp as its mailing protocol. Since, I am not the network administrator, I don't quite understand how to  read the current configurations on the firewall, but I suspect that port 25 is blocked, which prevents the script from actually working or sending out emails.  What I've done to narrow the problem done is the following: I used a wamp server to test our scripts with our smtp servers settings, was able to successfully send an email out to both my gmail and work place accounts. Currently, we have backupexec loaded on both of these servers, and when I try to send out an alert I never receive it. I think because port 25 is closed on both of those servers.  I will be posting our configuration. if anyone can take a look and perhaps explain to me how I can change our webservers to communicate and successfully deliver mail via that script, I would gladly appreciate it. our IP range is 172.x.x.x, but it looks like our webservers are using 192.x.x.x with NAT in place. Please someone help.
    Thanks,
    Jeff Mateo
    PIX Version 6.3(4)
    interface ethernet0 100full
    interface ethernet1 100full
    interface ethernet2 100full
    nameif ethernet0 outside security0
    nameif ethernet1 inside security100
    nameif ethernet2 DMZ security50
    enable password GFO9OSBnaXE.n8af encrypted
    passwd GFO9OSBnaXE.n8af encrypted
    hostname morrow-pix-ct
    domain-name morrowco.com
    clock timezone EST -5
    clock summer-time EDT recurring
    fixup protocol dns maximum-length 512
    fixup protocol ftp 21
    fixup protocol h323 h225 1720
    fixup protocol h323 ras 1718-1719
    fixup protocol http 80
    fixup protocol rsh 514
    fixup protocol rtsp 554
    fixup protocol sip 5060
    fixup protocol sip udp 5060
    fixup protocol skinny 2000
    no fixup protocol smtp 25
    fixup protocol sqlnet 1521
    fixup protocol tftp 69
    names
    name 12.42.47.27 LI-PIX
    name 172.20.0.0 CT-NET
    name 172.23.0.0 LI-NET
    name 172.22.0.0 TX-NET
    name 172.25.0.0 NY-NET
    name 192.168.10.0 CT-DMZ-NET
    name 1.1.1.1 DHEC_339849.ATI__LEC_HCS722567SN
    name 1.1.1.2 DHEC_339946.ATI__LEC_HCS722632SN
    name 199.191.128.105 web-dns-1
    name 12.127.16.69 web-dns-2
    name 12.3.125.178 NY-PIX
    name 64.208.123.130 TX-PIX
    name 24.38.31.80 CT-PIX
    object-group network morrow-net
    network-object 12.42.47.24 255.255.255.248
    network-object NY-PIX 255.255.255.255
    network-object 64.208.123.128 255.255.255.224
    network-object 24.38.31.64 255.255.255.224
    network-object 24.38.35.192 255.255.255.248
    object-group service morrow-mgmt tcp
    port-object eq 3389
    port-object eq telnet
    port-object eq ssh
    object-group network web-dns
    network-object web-dns-1 255.255.255.255
    network-object web-dns-2 255.255.255.255
    access-list out1 permit icmp any any echo-reply
    access-list out1 permit icmp object-group morrow-net any
    access-list out1 permit tcp any host 12.193.192.132 eq ssh
    access-list out1 permit tcp any host CT-PIX eq ssh
    access-list out1 permit tcp any host 24.38.31.72 eq smtp
    access-list out1 permit tcp any host 24.38.31.72 eq https
    access-list out1 permit tcp any host 24.38.31.72 eq www
    access-list out1 permit tcp any host 24.38.31.70 eq www
    access-list out1 permit tcp any host 24.38.31.93 eq www
    access-list out1 permit tcp any host 24.38.31.93 eq https
    access-list out1 permit tcp any host 24.38.31.93 eq smtp
    access-list out1 permit tcp any host 24.38.31.93 eq ftp
    access-list out1 permit tcp any host 24.38.31.93 eq domain
    access-list out1 permit tcp any host 24.38.31.94 eq www
    access-list out1 permit tcp any host 24.38.31.94 eq https
    access-list out1 permit tcp any host 24.38.31.71 eq www
    access-list out1 permit tcp any host 24.38.31.71 eq 8080
    access-list out1 permit tcp any host 24.38.31.71 eq 8081
    access-list out1 permit tcp any host 24.38.31.71 eq 8090
    access-list out1 permit tcp any host 24.38.31.69 eq ssh
    access-list out1 permit tcp any host 24.38.31.94 eq ftp
    access-list out1 permit tcp any host 24.38.31.92 eq 8080
    access-list out1 permit tcp any host 24.38.31.92 eq www
    access-list out1 permit tcp any host 24.38.31.92 eq 8081
    access-list out1 permit tcp any host 24.38.31.92 eq 8090
    access-list out1 permit tcp any host 24.38.31.93 eq 3389
    access-list out1 permit tcp any host 24.38.31.92 eq https
    access-list out1 permit tcp any host 24.38.31.70 eq https
    access-list out1 permit tcp any host 24.38.31.74 eq www
    access-list out1 permit tcp any host 24.38.31.74 eq https
    access-list out1 permit tcp any host 24.38.31.74 eq smtp
    access-list out1 permit tcp any host 24.38.31.75 eq https
    access-list out1 permit tcp any host 24.38.31.75 eq www
    access-list out1 permit tcp any host 24.38.31.75 eq smtp
    access-list out1 permit tcp any host 24.38.31.70 eq smtp
    access-list out1 permit tcp any host 24.38.31.94 eq smtp
    access-list dmz1 permit icmp any any echo-reply
    access-list dmz1 deny ip any 10.0.0.0 255.0.0.0
    access-list dmz1 deny ip any 172.16.0.0 255.240.0.0
    access-list dmz1 deny ip any 192.168.0.0 255.255.0.0
    access-list dmz1 permit ip any any
    access-list dmz1 deny ip any any
    access-list nat0 permit ip CT-NET 255.255.0.0 192.168.220.0 255.255.255.0
    access-list nat0 permit ip host 172.20.8.2 host 172.23.0.2
    access-list nat0 permit ip CT-NET 255.255.0.0 LI-NET 255.255.0.0
    access-list nat0 permit ip CT-NET 255.255.0.0 NY-NET 255.255.0.0
    access-list nat0 permit ip CT-NET 255.255.0.0 TX-NET 255.255.0.0
    access-list vpn-split-tun permit ip CT-NET 255.255.0.0 192.168.220.0 255.255.255
    .0
    access-list vpn-split-tun permit ip CT-DMZ-NET 255.255.255.0 192.168.220.0 255.2
    55.255.0
    access-list vpn-dyn-match permit ip any 192.168.220.0 255.255.255.0
    access-list vpn-ct-li-gre permit gre host 172.20.8.2 host 172.23.0.2
    access-list vpn-ct-ny permit ip CT-NET 255.255.0.0 NY-NET 255.255.0.0
    access-list vpn-ct-ny permit ip CT-DMZ-NET 255.255.255.0 NY-NET 255.255.0.0
    access-list vpn-ct-tx permit ip CT-NET 255.255.0.0 TX-NET 255.255.0.0
    access-list vpn-ct-tx permit ip CT-DMZ-NET 255.255.255.0 TX-NET 255.255.0.0
    access-list static-dmz-to-ct-2 permit ip host 192.168.10.141 CT-NET 255.255.248.
    0
    access-list nat0-dmz permit ip CT-DMZ-NET 255.255.255.0 192.168.220.0 255.255.25
    5.0
    access-list nat0-dmz permit ip CT-DMZ-NET 255.255.255.0 LI-NET 255.255.0.0
    access-list nat0-dmz permit ip CT-DMZ-NET 255.255.255.0 NY-NET 255.255.0.0
    access-list nat0-dmz permit ip CT-DMZ-NET 255.255.255.0 TX-NET 255.255.0.0
    access-list static-dmz-to-ct-1 permit ip host 192.168.10.140 CT-NET 255.255.248.
    0
    access-list static-dmz-to-li-1 permit ip CT-DMZ-NET 255.255.255.0 CT-NET 255.255
    .248.0
    access-list vpn-ct-li permit ip CT-NET 255.255.0.0 LI-NET 255.255.0.0
    access-list vpn-ct-li permit ip CT-DMZ-NET 255.255.255.0 LI-NET 255.255.0.0
    access-list vpn-ct-li permit ip host 10.10.2.2 host 10.10.1.1
    access-list in1 permit tcp host 172.20.1.21 any eq smtp
    access-list in1 permit tcp host 172.20.1.20 any eq smtp
    access-list in1 deny tcp any any eq smtp
    access-list in1 permit ip any any
    access-list in1 permit tcp any any eq smtp
    access-list cap4 permit ip host 172.20.1.82 host 192.168.220.201
    access-list cap2 permit ip host 172.20.1.82 192.168.220.0 255.255.255.0
    access-list in2 deny ip host 172.20.1.82 any
    access-list in2 deny ip host 172.20.1.83 any
    access-list in2 permit ip any any
    pager lines 43
    logging on
    logging timestamp
    logging buffered notifications
    logging trap notifications
    logging device-id hostname
    logging host inside 172.20.1.22
    mtu outside 1500
    mtu inside 1500
    mtu DMZ 1500
    ip address outside CT-PIX 255.255.255.224
    ip address inside 172.20.8.1 255.255.255.0
    ip address DMZ 192.168.10.1 255.255.255.0
    ip audit info action alarm
    ip audit attack action alarm
    ip local pool ctpool 192.168.220.100-192.168.220.200
    ip local pool ct-thomson-pool-201 192.168.220.201 mask 255.255.255.255
    pdm history enable
    arp timeout 14400
    global (outside) 1 24.38.31.81
    nat (inside) 0 access-list nat0
    nat (inside) 1 CT-NET 255.255.0.0 2000 10
    nat (DMZ) 0 access-list nat0-dmz
    static (inside,DMZ) CT-NET CT-NET netmask 255.255.0.0 0 0
    static (inside,outside) 24.38.31.69 172.20.8.2 netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.94 192.168.10.141 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.71 172.20.1.11 dns netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.93 192.168.10.140 netmask 255.255.255.255 0 0
    static (DMZ,inside) 24.38.31.93 access-list static-dmz-to-ct-1 0 0
    static (DMZ,inside) 24.38.31.94 access-list static-dmz-to-ct-2 0 0
    static (inside,outside) 24.38.31.92 172.20.1.56 netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.91 192.168.10.138 netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.90 192.168.10.139 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.72 172.20.1.20 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.73 172.20.1.21 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.70 172.20.1.91 netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.88 192.168.10.136 netmask 255.255.255.255 0 0
    static (DMZ,outside) 24.38.31.89 192.168.10.137 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.74 172.20.1.18 netmask 255.255.255.255 0 0
    static (inside,outside) 24.38.31.75 172.20.1.92 netmask 255.255.255.255 0 0
    access-group out1 in interface outside
    access-group dmz1 in interface DMZ
    route outside 0.0.0.0 0.0.0.0 24.38.31.65 1
    route inside 10.10.2.2 255.255.255.255 172.20.8.2 1
    route inside CT-NET 255.255.248.0 172.20.8.2 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
    timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
    timeout uauth 0:05:00 absolute
    aaa-server TACACS+ protocol tacacs+
    aaa-server TACACS+ max-failed-attempts 3
    aaa-server TACACS+ deadtime 10
    aaa-server RADIUS protocol radius
    aaa-server RADIUS max-failed-attempts 3
    aaa-server RADIUS deadtime 10
    aaa-server LOCAL protocol local
    aaa-server ct-rad protocol radius
    aaa-server ct-rad max-failed-attempts 2
    aaa-server ct-rad deadtime 10
    aaa-server ct-rad (inside) host 172.20.1.22 morrow123 timeout 7
    aaa authentication ssh console LOCAL
    aaa authentication http console LOCAL
    aaa authentication serial console LOCAL
    aaa authentication telnet console LOCAL
    http server enable
    http 173.220.252.56 255.255.255.248 outside
    http 65.51.181.80 255.255.255.248 outside
    http 208.65.108.176 255.255.255.240 outside
    http CT-NET 255.255.0.0 inside
    no snmp-server location
    no snmp-server contact
    snmp-server community m0rroW(0
    no snmp-server enable traps
    floodguard enable
    sysopt connection permit-ipsec
    sysopt connection permit-pptp
    crypto ipsec transform-set 3des-sha esp-3des esp-sha-hmac
    crypto ipsec transform-set 3des-md5 esp-3des esp-md5-hmac
    crypto dynamic-map dyn_map 20 match address vpn-dyn-match
    crypto dynamic-map dyn_map 20 set transform-set 3des-sha
    crypto map ct-crypto 10 ipsec-isakmp
    crypto map ct-crypto 10 match address vpn-ct-li-gre
    crypto map ct-crypto 10 set peer LI-PIX
    crypto map ct-crypto 10 set transform-set 3des-sha
    crypto map ct-crypto 15 ipsec-isakmp
    crypto map ct-crypto 15 match address vpn-ct-li
    crypto map ct-crypto 15 set peer LI-PIX
    crypto map ct-crypto 15 set transform-set 3des-sha
    crypto map ct-crypto 20 ipsec-isakmp
    crypto map ct-crypto 20 match address vpn-ct-ny
    crypto map ct-crypto 20 set peer NY-PIX
    crypto map ct-crypto 20 set transform-set 3des-sha
    crypto map ct-crypto 30 ipsec-isakmp
    crypto map ct-crypto 30 match address vpn-ct-tx
    crypto map ct-crypto 30 set peer TX-PIX
    crypto map ct-crypto 30 set transform-set 3des-sha
    crypto map ct-crypto 65535 ipsec-isakmp dynamic dyn_map
    crypto map ct-crypto client authentication ct-rad
    crypto map ct-crypto interface outside
    isakmp enable outside
    isakmp key ******** address LI-PIX netmask 255.255.255.255 no-xauth no-config-mo
    de
    isakmp key ******** address 216.138.83.138 netmask 255.255.255.255 no-xauth no-c
    onfig-mode
    isakmp key ******** address NY-PIX netmask 255.255.255.255 no-xauth no-config-mo
    de
    isakmp key ******** address TX-PIX netmask 255.255.255.255 no-xauth no-config-mo
    de
    isakmp identity address
    isakmp nat-traversal 20
    isakmp policy 10 authentication pre-share
    isakmp policy 10 encryption 3des
    isakmp policy 10 hash sha
    isakmp policy 10 group 2
    isakmp policy 10 lifetime 86400
    isakmp policy 20 authentication pre-share
    isakmp policy 20 encryption 3des
    isakmp policy 20 hash md5
    isakmp policy 20 group 2
    isakmp policy 20 lifetime 86400
    isakmp policy 30 authentication pre-share
    isakmp policy 30 encryption 3des
    isakmp policy 30 hash md5
    isakmp policy 30 group 1
    isakmp policy 30 lifetime 86400
    vpngroup remotectusers address-pool ctpool
    vpngroup remotectusers dns-server 172.20.1.5
    vpngroup remotectusers wins-server 172.20.1.5
    vpngroup remotectusers default-domain morrowny.com

    Amit,
    I applaud your creativity in seeking to solve your problem, however, this sounds like a real mess in the making. There are two things I don't like about your approach. One, cron -> calling Java -> calling PHP -> accessing database, it's just too many layers, in my opinion, where things can go wrong. Two it seems to me that you are exposing data one your website (with the PHP) that you may not want expose and this is an important consideration when you are dealing with emails and privacy and so on.
    I think the path of least resistance would be to get a new user account added to the MySQL database that you can access remotely with your Java program. This account can be locked down for read only access and be locked down to the specific IP or IP range that your Java program will be connecting from.
    Again I applaud your creativity but truly this seems like a hack because of the complexity and security concerns you are introducing and I think is a path to the land of trouble. Hopefully you will be able to get a remote account set up.

  • Custom Calculation Script - Multiplication IF

    Hey Adobe peeps, need help here. I'm not a programmer by any stretch of the imagination, but I am resourceful, BUT I have yet to find a concrete answer for this, nor can I get any of my test formula's to work.
    I have a fillable PDF that is used in a field service environment where employees track their time. I want them to be able to input the data in i.e. hours*rate and it automatically populate the price/cost. Now this is very easy to do with the built in product function, but the problem here is that they have multiple fields to fill out. See below.....
    So basically the "Extended Price" field depends on what they enter into either the "Days", "ST Hours", "Rate, "OT Hours" or "Rate" fields.
    The calculation should be based on 2 of the 5 fields being filled out. For example, here are the 3 possible scenarios:
    Scenario 1: SP Extended Price1=SP Days1*SP ST Rate1
    Scenario 2: SP Extended Price1=SP ST Hours1*SP ST Rate1
    Scenario 3: SP Extended Price1=SP OT Hours1*SP OT Rate1
    They won't ever fill out any more than 2 of the fields so it needs to be an 'if' type of function. I've spent hours on this already, like I said, I'm not a programmer.
    Please help.

    If they really won't be filling in more than one of those sets of fields, the custom calculation script could be:
    (function () {
        // Get the field values, as strings
        var s1 = getField("SP Days1").valueAsString;
        var s2 = getField("SP ST Rate1").valueAsString;
        if (s1 && s2) {
            event.value = +s1 * +s2;
            return;
        var s3 = getField("SP ST Hours1").valueAsString;
        if (s2 && s3) {
            event.value = +s3 * +s2;
            return;
        var s4 = getField("SP OT Hours1").valueAsString;
        var s5 = getField("SP OT Rate1").valueAsString;
        if (s4 && s5) {
            event.value = +s4 * +s5;
            return;
        // If none of these apply, set the field to blank
        event.value = "";

  • Send PDF form to e-mail as attachment with a PHP script on the server

    Hi,
    For several days I've been searching though the internet looking for a solution, a quite simple one in my opinion, but I got a little desperate not getting any result I want.
    Okay. The Situation.
    I have a PDF form to order sandwiches and drinks.
    The PDF has serveral area's and columns where customers fill in the amount of the products they would like to order.
    At a position of a field, the kitchen can almost blindly see what products a customer ordered.
    Therefore, when someone fills in the form, I want to send the filled PDF by e-mail to the kitchen's e-mail adress. And important: the PDF in the kitchen's mailbox should be completely identical to the form the customer filled in.
    So, I have an Order button in my form. I set the action as 'Submit a form'.
    In the settings under 'Enter a URL for this link' I used just some PHP mailer script I also use on my website contact form.
    IF I check 'HTML' under 'Export Format' the PHP mailer works fine. I receive an HTML e-mail listed the ordered products.
    BUT
    I do want the original filled PDF in my mailbox instead of an HTML e-mail.
    So, for 'Export Format' I checked 'PDF The Complete Document'.
    But then my PHP mailer script doesn't work anymore.
    It gives errors like 'no valid e-mail adres' , etcetera etcetera.
    Who has a solution?
    Who has a working standard PHP script for me what just sends the kitchen an empty mail with the original PDF as attachment?!
    There is no need to use any database or other more complex functionality. Just mail the filled PDF.

    You can submit whole PDF format as long as you enable usage rights on the PDF.
    Normally Adobe Reader users can only submit the data, XFDF, FDF, XDP, XML.
    To enable usage rights on the PDF you will need to use Adobe Acrobat Std/Pro.
    As for the PHP Script; it depends on your PHP web server capabilities.
    The script will be slightly different, if the server uses PHP Mail or PHP PEAR.
    Just attach the submission to an email and send.
    If the client is submitting the form from a standalone pdf reader app, you can also respond with a success or failure FDF \status message; otherwise, you can redirect to a success / failure URL.
    For more information and online examples:
    http://www.pdfemail.net/examples/

  • Connecting my Email form to the PHP script to send to my email question

    How do I connect my form that a customer fill out to my php script?  I have my php script named contactformprocess.php. 

    anybody help?

  • PHP scripts with a $_SERVER['HTTP_REFERER'] directive inside, no longer work in v16.

    I made a PHP script some time ago, before v16 came out and now that I have upgraded (good thing I did), notice that the $_SERVER['HTTP_REFERER'] directive no longer works. What my script does is, see if a user came in from a website (Facebook for example) and redirects them to the appropriate page. This is no longer the fact and I am not happy at all with this. How do I know FF 16 is at fault? Because, my script still works in IE7 and other web browsers. What have you done?????

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

Maybe you are looking for

  • Right Way

    Hi, I am trying to create a screen in which * On the left hand side I have a list of activities * On the right side I have a Calendar control. I should be able to drag the activity icon and drop it on to the calendar. To do this I need to create a Ca

  • Uploading data from a windows mobile device to a server using GPRS

    I want to upload data from a java application in pda (a Windows Mobile 6.1 device) to a server using a GPRS connection.My application uses a IBM weme VM. I want to know whether I can do this in Java itself,because otherwise I would have to resort to

  • [solved] Gnome3 - installation issues (missing lib / missing bin)

    Hi everyone, i tried to install Gnome 3 from testing. However i ran into some problems. Problem 1: While installing I get some "gtk-update-icon-cache: command not found" errors. They come from install scripts that are executed while upgrading. I am 1

  • POWERBOOK FREEZES...HAS ANYONE  FOUND THE SOLUTION?

    Hi, I just bought a Powerbook a week ago and there have been some randomly system freezes. Since I bought it there have been about 5 freezes. My powerbook its a 15in G4 1.67ghz with 1.5gb ram. I have noticed that when this happens I have the airpot c

  • ALV Without Row Selection

    Good Morning, I've created a report using <b>REUSE_ALV_GRID_DISPLAY</b>. I want to exclude de boxes for row selection in the left of the grid, how can i do that? This should be basic... Best Regards, Pedro Gaspar