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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • 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

  • Http post and Alfresco web script

    Hi all,
    I'm wondering how to send the content of an XFA form into an Alfresco ECM instance. So far, I've been using "email submit buttons" by mail, but I think submitting the xml content directly into an Alfresco space could be feasible without too much trouble.
    I'm trying to adapt the online script fromLiveCycle documentation
    http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=sdkHelp&file=001677.html
    same in version 9 : http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001303.html
    which are about the same docs as the ones on Alfresco wiki (http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload) although LiveCycle is only based on Alfresco AFAIK.
    I don't want to use an HTML form, but directly send my form from my pdf xfa form. I made a small test using a fixed url on an HttpSubmitButton
    http://localhost:8080/alfresco/s/upload?guest=true&fileName=liveCycleDocument&title=myTitl e&description=myDescription&content=myContent
    On Alfresco, the document is created with the correct args values. But I still don't know how to send the real form content to the URL.
    I checked on this document http://partners.adobe.com/public/developer/en/livecycle/lc_understanding_submit_tip.pdf where I discovered I can use a custom submit button to send the datasets, but still cannot get my form xml data.
    I hope someone will have a clue about LiveCycle/Alfresco communication.
    Thx
    Best regards,
    jgrd

    @Srini
    Yes of course :
    in Data Dictionary/Web Scripts (or Web Scripts extensions): create the 3 files
    You may use spaces for package/subpackages:
    - pdfform.post.desc.xml
         <webscript>
         <shortname>pdf form</shortname>
         <description>processing pdf form</description>
         <url>/pdfform</url>
         <authentication>guest</authentication>
         </webscript>
    - pdfform.post.js :
    upload = companyhome.createFile("form." + companyhome.children.length + "." + args.fileName) ;
    upload.properties.content.content = requestbody.content;
    upload.properties.encoding = "UTF-8";
    upload.properties.title = args.title;
    upload.properties.description = args.description;
    upload.save();
    model.upload = upload
    -pdfform.post.html.ftl (freemarker)
    <html>
    <head>
       <title>Test pdf form</title>
      </head>
    <body>
    done !
    </body>
    </html>
    - Register the script by refreshing the page http://localhost:8080/alfresco/s/index
    or with curl -X POST "-uadmin:admin" -d "reset=on" http://localhost:8080/alfresco/s/index (as mentioned by Jeff Potts)
    - try it with from a pdf
    use a plain button, select "Submit", Submit to URL = "http://localhost:8080/alfresco/s/pdfform?guest=true&fileName=myFileName.xml&title=myTitle& description=myDescription", Sumit As = XDP
    Test done with Alfresco 3.3CE, LiveCycle 8.2.1/Adobe 9.3
    Hope all this will is correct as I'm learning web scripts,
    Regards,
    jgrd

  • HTTP POST PHP

    Dear J2me people,
    I'm writing an app for midp 1.0 /2.0. It posts data via http post to a php file on a server. It works in emulators and many actual devices.
    However, I've got this problem on Nokia 6230i and Nokia 6101. The data sends OK (HTTP code 200) but doesn't write to database.
    It seems people have come across similar problems on the forums,
    although haven't posted the solution.
    Thank you very much for your time,
    Mark
    code follows::::::::::::::::::::::
    httpConnection = (HttpConnection)Connector.open(url);
                 httpConnection.setRequestProperty("User-Agent","Profile/MIDP-  1.0 Configuration/CLDC-1.0");
                 httpConnection.setRequestProperty("Content-Language", "en-CA");
       httpConnection.setRequestProperty("CONTENT-TYPE", "application/x-www-form-urlencoded");
                  httpConnection.setRequestProperty( "Connection", "close" );
                          httpConnection.setRequestMethod( httpConnection.POST);
    String req = 4&entries=1&date0=2/12&label0=WriteHere&age0=Write%20Here&wagescale0=8" ;               
            httpConnection.setRequestProperty("Content-Length", Integer.toString( req.length()));
              out = httpConnection.openOutputStream();
                int rlength = req.length();
                for ( int i = 0; i < rlength; i++ )
                    out.write( req.charAt(i));
                in = httpConnection.openInputStream();
                      

    hi mark....
    by any chance could you help me with audio streaming via bluetooth from a handset?
    eventually i would like to mount the application onto a dell axim PDA.
    i hav a bit of code you can look @ which has a about 3/4 errors of which i dont know. im sure there is a truck load of imports to add to this code but im not sure as to which ones.
    please please help if u can, thanks.
    package javax.bluetooth;
    import java.io.DataOutputStream;
    public class firstone {
    public void transfer(DataOutputStream output) {
    try{
    int i = 0;
    int auglis = 50058; //chunk size
    //if it is wav file, we need to edit header:
    // audio[4] = (byte)0x8A;
    // audio[5] = (byte)0xC3;
    // audio[6] = (byte)0x00;
    // audio[7] = (byte)0x00;
    // audio[54] = (byte)0x50;
    // audio[55] = (byte)0xC3;
    // audio[56] = (byte)0x00;
    // audio[57] = (byte)0x00;
    byte[] tmp = new byte[50058];
    int countBytes= 0;
    int headerup = 32; //mp3 header is 32 bytes.
    while(i<50058){
    tmp[i] = audio; //byte array audio is byte array from mp3 file
    i++;
    countBytes++;
    output.writeInt(50058); //write to midlet, that chunk size will be 50058
    output.write(tmp); //write chunk itself
    boolean varam = true; //booleand that will become false, when file ends
    while(varam){
    int tmplen = garums - countBytes; //check if it is not last chunk
    int o=50058;
    if(tmplen>50058){           //if it is not last chunk
    o = 50058;
    } else{
    o = tmplen+headerup; // if it is last chunk
    tmp = new byte[o];
    varam = false; //out while loop will end
    int z = 0;
    while(z<32){                 //write 32 byte header to chunk
    tmp[z] = audio[z];
    z++;
    countBytes++;
    while(z<o){                  //white chunk it self
    tmp[z] = audio[i];
    z++;
    i++;
    countBytes++;
    headerup = headerup +32;
    output.writeInt(o); //white size of chunk (typically 50058)
    output.write(tmp); //white chunk itself
    } catch (Exception e) {}

  • Http posts

    I am developing a LabView interface to insert data into a database with mySQL. I have used the the "example_http_protocols.llb" (the POST vi) as an example which is very good. I have been able to insert data into one column of my database table but I have not been able to add data to all the columns. The mySQL statements are correct since I can update all the columns of my table via a webpage. In the "example_http_protocols.llb", one textbox is used that is named "cccc". What would I need to do if I had two textboxes that needed filled before submitting? If I perform two separate posts, I have two separate insertions into my table. I may be able to change  my php and SQL code, but I'm hoping there's an easy fix. (not buying the toolkit)

    Thanks for the tips. I found an error in my http message. Now everything works fine. In this project I have a website that a user can manually enter and manipulate data in the database as well as having LabView directly update the database. The website posts to a php script that contains mySQL code. My LabView code posts to the php script as well. With how little LabView code it actually takes, I don't know why you would do it differently, unless you wanted an easy way to query the database through LabView. In my case a website works best since not everyone accessing the database will have LabView.

  • HTTP submit pdf form to PHP script

    I have a simple test html form at http://www.radiosport.ca/test/test.html
    It use the POST method to send a name to a php script that prints the input data in the $_POST array and from the raw input data

    Hi,
    Try with a ordinary button and make it a submit button.

  • B1i SN: B1 to http outbound  -- php script

    Hello experts,
    i am trying to implement the above sceanrio. But no matter what i try theres nothing in the post array if i do a var_dump in the php script.
    In the message log in B1i the messages says "success".
    Anybody an idea what do or what to check!?
    Thanks.
    Regards
    Sebastian

    Couple of things jump out at me here:
    1) I would switch to GET requests. POST requests tend to be... peculiar... sometimes. So in your PHP, change it to $_GET and in your MXML, just remove the method="POST" from the HTTPService.
    2) Using proxies versus allowing access. This is a little trickier. I am not sure of your skill level, so I'll just give you my impressions of working with PHP. In general, I use proxies instead of using crossdomain.xml files to allow access. Remember that your development environment's sandbox will allow you to hit any PHP page anywhere to get data. Once deployed, though, you're either going to need a proxy page if you're ihitting a third-party domain or you're going to need a crossdomain.xml file on the target domain that allows access from your SWF.
    3) Make sure you are deploying the SWF file, the wrapper, and the PHP file all on the same server that is running PHP, and that you are using a network request (ie, "http://...") to access the application.
    4) If you're just running the SWF file as compiled from Flex Builder and requesting it as a file resource, then your relative request to the PHP file might not be pointed at the right location. I would adjust this to use a full URL so you are sure you are pointing to the right place.
    hth,
    matt horn
    flex docs

  • 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;
    ?>

  • HTTP POST to PHP server problem

    Hi, im trying post a long string to php from a MIDLET, but i have some problems. When i send the whole String, my php server cant receive the request (i have not any response), but, if the string that i send is 1/5 from the original, the process is successful correctly. have somebody any idea?
    thx

    this is my problem, extracted from another topic on this forum:
    "Hi everyone.
    I have a problem, and hope someone may help me.
    My midlet is uploading sizeable data via http POST.
    I'm using WTK104, since i need MIDP1.0
    The code have been tried on DefaultGrayPhone emulator
    and add-on Nokia's Series 60 Emulator.
    Both emulators chunck data, however in different ways.
    Deafult one simply produces wrong chunk length (possibly a bug),
    Nokia's one always chunks by equal offsets of 2016 bytes.
    I'm not using flushing, just close. All the data is being send
    at once by one output stream write call.
    So I believe (after proper investigation) that MIDP will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and there's no way to override this behaviour.
    Here the main problem appears - Apache refuses to accept chunked encoding in request. The corresposnding message is given in error log
    *chunked transfer encoding forbidden*. The returned code is 411 - Content-Length requred. I see no way to override this behaviour of Apache. I was trying to upload my data into Zope web-server, which is my primary goal, but it doesn't handle chunked request either.
    Has anyone faced the same problem? Who has managed to POST sizeable data from midlet? Which web servers did you use for that?
    Any inputs are highly appreciated!
    Anton"
    Another:
    "> So I believe (after proper investigation) that MIDP
    will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and
    there's no way to override this behaviour.Is this true? When I try to set the content-length headers and then write a large byte[] to the output stream I got from an HttpConnection, the HttpConnection appears to remove the content-length header altogether and automatically sets the transfer-encoding to chunked.
    Note- I am not calling flush on the outputstream, but I am calling httpconnection.getResponseCode, which I believe calls flush on the outputstream.
    Abraham"
    I have the identical problem.

  • 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.

  • 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.

  • PHP script calling another but staying on same page

    Hi,
    Im thinking of writing an additional PHP page, that has a link to another PHP page, to do an insert. On the current PHP page, I have a counter which I would want incrementing after the 2nd PHP script is called, but don't think its possible?
    I'm saying this as I will need an anchor to another script which when called, will load another PHP script - which will do the insert, but take me away from the current page.
    So basically, I want to stay on the first PHP script showing a counter, click to call another PHP script, but all the user will see is a counter increment.
    Here is what I have thought will not work:
    <code>
    echo "<br><span class=\"style1\"><a href=\"./../Test/count.php\"><img src=\"./Up.JPG\"></a>";
    </code>
    Thanks in advance...

    Hi,
    got a bit further now in that i'm calling the php script through Ajax successfully, but, got the issue where i am getting the same value sent to the script (dataString):
    source script:
    <script type="text/javascript" >
    $(function()
    $(".submit").click(function()
      var likeid = $("#likeid").val();
      var dataString = 'likeid='+ likeid ;
      var locurl = "./../Test/it.php?randval="+Math.random();
      $.ajax({
       type: "POST",
       url: locurl,
       data: dataString,
       success: function()
        $('.success').fadeIn(200).show();
        $('.error').fadeOut(200).hide();
      return false;
    </script>
    target script (it.php)
    <?php if(!$_SESSION) { session_start(); } ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <html>
    <head>
    </head>
    <body>
    <?php
    $_SESSION['name']=session_id();
    $sess=session_id();
    $likeid=$_POST['likeid']; <----------------------always the same value
    if($_POST)
      $result2 = mysql_query("INSERT INTO Test (value, sess) VALUES ('$likeid', '$sess')")
      or die(mysql_error());
    ?>
    </body>
    </html>
    what i get is the same value for $likeid on every call from the source script. In the source script i have:
    <form method="post" name="form1">
    <input type="hidden" name="likeid" id="likeid" value="CAR79668"/>
    <a href="#"><img src="./Up.JPG" border="0" class="submit" onclick="change11('CAR79668');"></a>
    <b id="CAR79668" value="2">2</b> </form> </span>
    <form method="post" name="form2">
    <input type="hidden" name="likeid" id="likeid" value="CAR79669"/>
    <a href="#"><img src="./Up.JPG" border="0" class="submit" onclick="change11('CAR79669');"></a>
    <b id="CAR79669" value="2">2</b> </form> </span>
    Why does the same value of CAR79668 get passed to the target script on every call?
    Thanks.

  • Retrieve data/files fro HTTP POST request in On-Demand process

    Hello,
    I would like to integrate https://github.com/blueimp/jQuery-File-Upload to my APEX 4.2 application inside XE11g. I would like to use this kind of jQuery component, multiple file upload, use Drag & Drop, image resize, size limit, filter extensions etc...
    This jQuery component and also others javascript uploaders sends data files to some defined URL. Developer need to build some servlet, php script or something on server side that will read files from HTTP request and stores it somewhere.
    Do you know how to do it in APEX? How can I read data from HTTP POST request in PL/SQL? Now I can only call my On-Demand application process from javascript, but I am not able to read any data from HTTP POST in it.
    Can I do it in APEX, or using MOD_PLSQL?
    I would like to implement this:
    1) some javascript uploader will call some URL of my application and sends HTTP POST with data files
    2) I will read data files from HTTP POST and store them into database
    3) I will create some HTTP response for javascript uploader
    Thank you for some tips

    I know about that existing plugin " Item Plugin - Multiple File Upload"
    But I doesn't work in IE and has only basic features. Licence for commercial use is also needed. I would like to use some existing jQuery plugin. There are many of these plugins with nice features. And only one problem is that I need to create some server side process/servlet/script.. that can recieve HTTP request, get files from it and stores them into DB.

  • I have a problem with a php script for loading dynamic pages using flash as menu bar, but the urls in the flash is not processed by the php script only in firefox

    '''php script:'''
    <?php
    $page = $_GET['page'];
    if ($page)
    include ("inc/".$page.".php");
    else
    include ("inc/home.php");
    ?>
    '''Action script 2.0 in flash:'''
    on(release){
    getURL("index.php?page=new");
    }

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

  • 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>

Maybe you are looking for

  • How to insert Method in ABAP code

    Hi Gurus, Plz tell me how to insert a METHOD in ABAP code as we do in the case of inserting function in ABAP code using PATTERN.Button Rgds rajesh

  • How to transfer shopping cart attachment to PO in SRM5.0

    We ahve a requirement to transfer all shopping cart attachments to the follow on Purchase order in R3. We have a classic inplementation and are using SRM 5.0 system. Is there some configuration or BADIs in SRM-EBP that I can enable to transfer shoppi

  • Redwood CPS - reports

    Is there a way to use parameters and joins inside of the reporting functionality in Redwood CPS?  This is the link definitions-reports. For example, joining jobs and their children and passing a paramenter for date range. Thanks everyone!

  • Print server how to

    Hi all, We are running two Novell 6.5 servers and about 40 Windows 2000/XP clients. Also we've got few network printers, all clients connect to them [printers] via windows add printer feature. This works fine but in order for client to use any printe

  • New computer and iPhone syncing to iTunes

    I bought a new computer and didn't backup old iTunes hard drive . Now iTunes won't sync with my iPhone. It sees it . I followed some instructions , I put all songs back in iTunes via 3rd party, transferred purchases, backup, restore to backup, my pho