User Profile

Collapse

Profile Sidebar

Collapse
phpuser123
phpuser123
Last Activity: Dec 12 '11, 09:34 AM
Joined: Dec 2 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How can I get post paramers from page redirection using ajax?

    I have a page client.php that submits a form and goes to server.php..
    server.php adds some post requests and redirects the page to client.php..
    Is it possible to use ajax here to access the post parameters from server.php ?

    I am a new bie in ajax and php.
    Server redirection = post request to client.php
    How can I use ajax here to prevent the page loading problem..

    client.php
    Code:
    
    
    ...
    See more | Go to post

  • Just a look at this link : jsfiddle.net/ZShEM
    See more | Go to post

    Leave a comment:


  • How to display description, title and image for Facebook sharing via meta tags ?

    This page is suposed to display a title ,description and image as I press the Compartir de facebook.I've used meta tags for the purpose ..However, they are not displayed. Anyone could guide me on how to make this work?

    Code:
    <!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" xmlns:og="http://ogp.me/ns#"
    ...
    See more | Go to post
    Last edited by Niheel; Sep 20 '11, 10:37 PM. Reason: Paste code in code tags.

  • Is it possible to bind javascript events to a shared fan item of someone's wall?

    I wan to share a fanpage to my friend list's wall in Facebook. When the picture of the fanpage is clicked on the friend's wall,how can I trigger a javascript function ?
    See more | Go to post

  • How can I use a personalized voice in my Acapela application?

    I have an application that converts text to speech using Acapella..Inste as of using Acapela's voice list,I want to use a personalized voice..Anyone knows how I can do this?
    See more | Go to post

  • phpuser123
    started a topic What's wrong with this page?

    What's wrong with this page?

    The menus and the text at the bottom are in the div#body tag.. I've set a border of green for this.. The menus and the bottom text should have been within this green border but they are not..
    What's wrong with the codes? Why don't they fit withing the border?
    Code:
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ...
    See more | Go to post

  • How do I display an xhtml file stored on the memory card using platformRequest?

    I want to display an xhtml file called Test.xhtml using PlatformRequest in J2me. I do not know the exact format of the file since it is on mobile phones ..Hpwever I implemented the following code but without much improvement .. It gives me an error local app invalid ..The file is stored in the Memory card E > My Apps>CMS>Test.x html..

    Code:
    this.platformRequest("localapp://gallery/show?folder=E:/My Apps/CMS/Test.xhtml");
    ...
    See more | Go to post

  • What is the best way to design a website from a PSD file ?

    How can I start with designing a website using html and css from a PSD file ?
    See more | Go to post

  • What is the best way to kill a thread in a Timer?

    What is the best way to kill a thread in a timer such that every time the timer runs, it kills the previous thread before starting a new one?

    Code:
    public class MapTimer extends TimerTask{
    
    public void run() {
    
    
            try {
    
                connected = startConnection();
                sendMessage(this.message);
                System.out.println("Sending message111
    ...
    See more | Go to post

  • phpuser123
    started a topic How do I send a message to a bluetooth device?
    in Java

    How do I send a message to a bluetooth device?

    Using the bluetooth API in j2me, I want to send a message to another mobile phone. I have been able to discover devices and services on the corresponding devices. I have also been able to connect to the services however when I try to send a message from the server to the client. The message is written but the client does not seem to receive it ..

    Code:
    public void startServer() throws IOException { UUID uuid = new UUID("1101", false);
    ...
    See more | Go to post
    Last edited by Meetee; Apr 6 '11, 06:16 AM. Reason: missing code tags

  • Has anyone ever faced any prob connect to a bluetooth service using j2me?

    I 've been trying to connect to a bluetooth service using j2me but I am getting a null exception..The client is able to identify devices in the nearby regions but not being able to connect to their service.I am pasting my codes and would be highly obliged if any1 could tell me the reason and if the codes are correct..

    Code:
    //Server
    public  void startServer() {
    
    		System.out.println("server is running...");
    ...
    See more | Go to post

  • Why the command button is not being displayed in my emulator?

    I have already added 5 cammands in a form and I want to add a sixth but It does not display the sixth?

    I am posting my codes below.

    Code:
     public Command getOk_Lastjourney() {
            if (Ok_Lastjourney == null) {
                // write pre-init user code here
                Ok_Lastjourney = new Command("Last Journey", Command.OK, 0);
                // write post-init user code here
    ...
    See more | Go to post

  • Anyone knows how to display a marker using J2MEMap?

    I want to load a map and display a marker on it. However, the map is loaded but the marker is not visible ..Anyone knows what the problem is?
    Code:
          UtilMidp.checkMIDP(this);  //Initialise the utility library...
            m_map=new MapDisplay();
            m_display=Display.getDisplay(this);
            GenericOverlay openStreeMap=new GenericOverlay("OpenStreeMap","http://tile.openstreetmap.org/!z!/!x!/!y!.png");
    ...
    See more | Go to post

  • Which is better SMS,TCP,UDP for communication purposes on mobile phones ?

    I am developing an client server application on mobile phone and I would really appreciate to get some comparisons between each of them ..
    See more | Go to post

  • phpuser123
    started a topic How do I get the image to load ?
    in Java

    How do I get the image to load ?

    The codes below send a request to server and the server sends a response back. Then, the client formats the request and makes it a url that it loads on imageitem. This works fine using the emulator but as I deploy it on my mob, It is able to retrieve the string from my server but as it tries to load the image, it says NegativeArrayEx ception.

    Note:1. I have web already activated on my mob
    2. When I use a static url, it works...
    See more | Go to post
    Last edited by Niheel; Feb 26 '11, 06:01 PM. Reason: gotta close the code tags with [/close]

  • Why the length of image array differs url is static string or returned from a funct?

    Code:
    public void run() {
            try {
                System.out.println("Sending message...");
                stringItem.setText(stringItem.getText() + "1");
                sendMessage("Query,map,$,start,211,Arsenal,!");
               stringItem.setText(stringItem.getText() + "2");
                String unformattedurl = receiveMessage();
                stringItem.setText(stringItem.getText()
    ...
    See more | Go to post

  • phpuser123
    started a topic Why the app gives receive failed message?
    in Java

    Why the app gives receive failed message?

    I am running an app that sends a query to a server and the server returns a string query back. Using the received query, the client formats the string and converts it to URL. Then, loads a map using this url. However, after client receives the string query and formats it, it displays receive failed ..
    Why is it giving this msg?

    Code:
    public void run() {
            try {
                System.out.println("Sending
    ...
    See more | Go to post

  • phpuser123
    started a topic What's the alert box cannot be displayed?

    What's the alert box cannot be displayed?

    I have a function that takes a base url and appends values dynamically from a form.However, the success alert box is not displayed.. What's wrong with these codes and How to sort this?

    Code:
     function validateEncode(url,frm,id){
                   alert(url.toString().length)
                   Form = document.forms[frm].elements;
                        var URL="";
                        var encodedurl;
    ...
    See more | Go to post

  • phpuser123
    started a topic What do I need to use a Google map in J2ME?
    in Java

    What do I need to use a Google map in J2ME?

    What do I need to use a Google map in J2ME?
    See more | Go to post

  • How can I display a full string as a default value in an input text in JSP?

    I want to display my string str as the defaultinput value and when I run ,oly the first part of the word is displayed. It skips everything after the blank space.How do I sort this out?
    <%

    String str="First Second";

    String form="<form name='test'><in put type='text' value="+str+"></form>";
    out.println(for m);
    ...
    See more | Go to post
No activity results to display
Show More
Working...