User Profile

Collapse

Profile Sidebar

Collapse
gabboudeh
gabboudeh
Last Activity: May 18 '12, 07:13 PM
Joined: Apr 30 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gabboudeh
    started a topic Phonegap on symbian
    in PHP

    Phonegap on symbian

    Is there any step by step tutorial to get the necessary tools to build and deploy phonegap application nokia.
    I tried all, but there is nothing working.
    The tools are not well described, i visited the phonegap website but it is not helpful.
    Can anyone help me plz.
    Thank you
    See more | Go to post

  • I know rabbit, let me explain.
    In reality all this was a testing, our purpose is to have a standalone
    application for mobile (using html5 and phonegapp for crossplatform purposes) and this application gonna be updated by news posted from the server.
    What is the best method to make this scenario?
    See more | Go to post

    Leave a comment:


  • But, i need the application to be updated by the news without refreshing the page.
    why not having a standalone application using phonegapp platform that will updated from the server just like facebook phone application.
    I hope you got my point of view
    See more | Go to post

    Leave a comment:


  • You was repating the same question and i answered many times that this is a scenario.

    so what is your solution if not Access-Control-Allow-Origin?

    In fact, i need to use html5 mobile application that retrieve data posted on the server. I have a backend that publish for example messages, i need the mobile application (html5) to retrive that data which is normally saved in db.

    What do you think is the best solution...
    See more | Go to post

    Leave a comment:


  • Hey Rabbit, if you don't know the answer plz don't post a reply.
    I repeat: i have an html file, that will be placed outside the htdocs folder, and inside the html an ajax functionality that call a php file inside the htdocs.

    When i run the html it does not return anything.

    The answer was:
    you should put in ur php the following line;
    header('Access-Control-Allow-Origin: *');

    so again, don't...
    See more | Go to post

    Leave a comment:


  • i need to call it from another computer or from a phone
    See more | Go to post

    Leave a comment:


  • I can, and i tried it and succeed.
    But when i place the html for example on the desktop or any folder outside the htdocs, ajax does not succeed in returning a response.
    So it is a PHP, Apache or browswer problem? And how it can be solved.
    Thank you
    See more | Go to post

    Leave a comment:


  • gabboudeh
    started a topic AJAX can't access php from outside xampp folder
    in PHP

    AJAX can't access php from outside xampp folder

    I wrote simple html file that use ajax to get response from a php file.

    The php file is simply echo a string.

    if the html file and the php is placed inside c:/xampp/htdocs and everything work well.

    What i want is to place the html on the desktop and call the php file, it does not return anything.

    i guess it is an apache, xampp confguration, can someone help me plz???
    See more | Go to post
No activity results to display
Show More
Working...