User Profile

Collapse

Profile Sidebar

Collapse
lilbit02
lilbit02
Last Activity: Apr 7 '08, 01:31 PM
Joined: Nov 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lilbit02
    started a topic UDP Client help
    in Java

    UDP Client help

    Hello,

    I need help getting this accomplished. I think I'm close but I get confused because I'm a novice at java.
    I'm trying to implement a ping client that accepts the hostname and the port. I have to send packets across with the following: PING, the sequence number which is the packet numbers 0-9, the time the packet was sent and CLRF. When each packet goes over it has to wait 1 sec for a reply.

    Now one of my...
    See more | Go to post

  • lilbit02
    started a topic Validation help

    Validation help

    Hi,

    I have a form that utilizes validation as most do via javascript. This form worked totaly fine until I needed to add a dynamic div now the validation doesn't work. It does work for the first dropdown but nothing there after. I always get the error saying [form object] is null or not an object. I need help trying to figure out how to access the ojects in this form.

    Now in my body I have a <form> and it's name...
    See more | Go to post
    Last edited by acoder; Feb 27 '08, 08:59 AM. Reason: split code tags

  • lilbit02
    replied to PHP and XML help
    in PHP
    The concept was to get the information out of the xml file and store into the string $content. Using string replace I replace the information in the string that has [user], [pass], [given] and [family] with the information that came in from the form.
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to PHP and XML help
    in PHP
    The file has this already pre formatted XML. Let me put the XML here for you:

    [PHP]
    <?xml version="1.0"?>
    <atom:entry xmlns:atom="htt p://www.w3.org/2005/Atom" xmlns:apps="htt p://schemas.google. com/apps/2006" version="1.0"/>
    <atom:categor y scheme="http://schemas.google. com/g/2005#kind" term="http://schemas.google. com/apps/2006#user"/>...
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to PHP and XML help
    in PHP
    no I didn't go that route. I just use string replace. To insert the appropriate values.
    See more | Go to post

    Leave a comment:


  • lilbit02
    started a topic PHP and XML help
    in PHP

    PHP and XML help

    This is my delimna. I'm trying to post information over to google. The code POSTS in these scenarios...if I define all the variables inside of the script and put the appropriate values in the XML and send the data over and if I read the data from a .csv file into an array and put the approriate values in the XML and send it over to google.

    Now being that that's the case. I needed to create an interface for my code so now I post user...
    See more | Go to post
    Last edited by ronverdonk; Feb 26 '08, 04:24 PM. Reason: correcting code tag enclosure

  • lilbit02
    replied to Appending csv data to an Array
    in PHP
    thank you so much that really helped my understanding.
    See more | Go to post

    Leave a comment:


  • lilbit02
    started a topic Appending csv data to an Array
    in PHP

    Appending csv data to an Array

    Hi,

    I want to grab data from a .csv file and add all the data to the array. I have the part where I'm grabbing the data from the .csv file but the array issue I haven't totally figured out.

    Currently, I'm not adding all the data just the last row of data to the array and need help trying to add all the data to the array. Can someone please help me accomplish this. This is what I have:

    [PHP]
    global...
    See more | Go to post

  • lilbit02
    started a topic Sending header and GET
    in PHP

    Sending header and GET

    This is what I need to accomplish. I'm using Google's Provisional API and I'm trying to retrieve a list of users I already have created.

    I need to send to Google

    Content-type: application/atom+xml
    Authorization: GoogleLogin auth=your-authentication-token

    As headers in PHP. I also need to send a Get request to the page: https://www.google.com/a/feeds/{domain}/user/2.0 and I'm totally lost as to how...
    See more | Go to post

  • lilbit02
    started a topic POST in HTML

    POST in HTML

    How can I send a post in HTML like this:


    GET URL HTTP/1.1
    Host: host
    Content-Type: application/atom+xml
    Authorization: Login auth=<Auth token>
    See more | Go to post

  • lilbit02
    replied to SMTP Email in Java
    in Java
    Nevermind I Got It To Work.
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to SMTP Email in Java
    in Java
    I did get my code to compile and run. I also established a connection with the mail server but I can't seem to get an email sent. Can someone please help.

    Code:
    import java.io.*;
    import java.net.*;
    
    public class EmailAgent
    {
       public static void main(String[] args) throws Exception
       {
          // Establish a TCP connection with the mail server.
          
          Socket TCPConnection
    ...
    See more | Go to post

    Leave a comment:


  • lilbit02
    started a topic SMTP Email in Java
    in Java

    SMTP Email in Java

    I'm trying to figure this out with out any Java experience. I'm trying to write a program that will send a SMTP email. I was given a shell and I do know how to establish a connection. My next question is how do I Send MAIL FROM command, Send RCPT TO command, Send DATA command, Send message data and End with line with a single period. Will this be just a matter or printing this information? Someone please help me figure this out.

    ...
    See more | Go to post

  • lilbit02
    replied to Formatting
    in PHP
    Now that's a good question. Don't know. What do you suggest I do?
    See more | Go to post

    Leave a comment:


  • lilbit02
    started a topic Formatting
    in PHP

    Formatting

    Hello All,

    Thanks for any help you can give in advance. This is what I'm trying to do...I have entries going into a database. The entries can be UP to 1500 words. I want the query results from the database to be formatted for publishing in a book. For instance, every 5-8 sentences is a paragraph, at every new paragraph you indent, if one entry is less than a paragraph (i.e. 10 words) continue the next entry where the last entry left...
    See more | Go to post

  • lilbit02
    started a topic dynamic div

    dynamic div

    Hey,

    What I'm trying to do is, based on a user selection from a drop down, dynamically show a div and it's contents. This is a short version of what I'm doing so code is missing.

    I have the select with the onChange
    [CODE=html]<select id="program" tabindex="2" onChange="revea l(choice)" name="program">
    [/CODE]


    Then I have the div with the...
    See more | Go to post
    Last edited by gits; Dec 12 '07, 07:18 AM. Reason: fix code tags

  • lilbit02
    replied to Sending server response with CURL
    in PHP
    Ok. I'll do that. I send an email blast telling the vendors if they post from a to add that hidden value to their posts. Thanks so much for your help!!!! You don't know how happy and helpful you have been to me!!!!
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to Sending server response with CURL
    in PHP
    You know what I misread what you said. The vendors post to me. My script is the script that is suppose to handle everything.
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to Sending server response with CURL
    in PHP
    Firstly, let me say thiank you soo much for helping me!!! No one has been able to help me with this.

    Now that's my issue. I know that's how you do it but I have to print out a confirmation page.

    I'm on a windows server. PHP and windows they have their fights.
    Some of the vendors just post to the URL and others need a confirmation because the information is posting from a form. So one of the issues is if I code...
    See more | Go to post

    Leave a comment:


  • lilbit02
    replied to Sending server response with CURL
    in PHP
    Yes this is correct. Can you help?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...