Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 865105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:35:20+00:00 2026-05-15T09:35:20+00:00

I am trying to send a word/text from my iphone application to php page,

  • 0

I am trying to send a word/text from my iphone application to php page, any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:35:20+00:00Added an answer on May 15, 2026 at 9:35 am

    You might do it with an asynchronous call.

    // Prepare the URL
    NSString myWord = @"YOUR_WORD";
    NSString *urlString = [NSString stringWithFormat:@"http://<YOUR_DOMAIN>/<YOUR_FILE>.php?word=%@", myWord];
    NSURL *url = [NSURL URLWithString:urlString];
    
    // Get the data from the URL
    NSURLRequest *request = [[NSURLRequest alloc] initWithURL: url];
    // If you want to get an answer from this call then send "self" as delegate 
    // (and implement few NSURLConnectionDelegate methods), 
    // otherwise send "nil".
    NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
    [connection release];
    [request release];
    

    You might also send the word synchronously:

    // Prepare the URL
    NSString myWord = @"YOUR_WORD";
    NSString *urlString = [NSString stringWithFormat:@"http://<YOUR_DOMAIN>/<YOUR_FILE>.php?word=%@", myWord];
    
    // Get the data from the URL
    NSError *error;
    NSData *aData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:urlString] options:2 error:&error];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

am trying send an array to php file using $_POST ,still always getting an
I`m trying to send simple html page with form data to user with GET,
I am trying to send emails from smtps (secure smtp) using Indy and the
I am trying to send data as a model from an html form to
I am trying to send the MS Word document to a Webservice through SOAP.
Im trying to send a mail from a asp.net script, but im getting this
I am trying to pass a word (for example: laptop) from android to JSP.
Trying to send a PHP email the easy way but I cannot work out
Trying to send an array from: <select name='galaddvenn[]' class='sel_add vl hidden' multiple='multiple'> <option value='53'>name1</option>
Trying to send 3rd party scripts over an SSL or SPDY connection is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.