• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging a CGI with XCode, is it possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a CGI with XCode, is it possible?


  • Subject: Re: Debugging a CGI with XCode, is it possible?
  • From: Cameron Hayne <email@hidden>
  • Date: Sat, 28 Jan 2006 14:21:39 -0500

On 28-Jan-06, at 7:07 AM, Robert Dell wrote:
out of curiosity, this was something i was considering... writing a real program and putting it in the spot for a web based cgi so when somebody asked for cgi-bin whatever it would run that instead of a perl script.

what would be needed to acomplish this? anybody got any code for just a cgi app to print hello to the user's web page?

This is rather off-topic for the Xcode list, so let's get this over with fast.
A Perl script is a real program. I guess what you meant was a program written in a compiled language.
Here's a CGI program written in C:


#include <stdio.h>

int main()
{
    printf("Content-Type: text/html\r\n");
    printf("\r\n");
    printf("Hello World!\n");
    return 0;
}

--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Debugging a CGI with XCode, is it possible?
      • From: "D. Walsh" <email@hidden>
References: 
 >Debugging a CGI with XCode, is it possible? (From: Eyal Redler <email@hidden>)
 >Re: Debugging a CGI with XCode, is it possible? (From: Daniel Jalkut <email@hidden>)
 >Re: Debugging a CGI with XCode, is it possible? (From: Robert Dell <email@hidden>)

  • Prev by Date: Re: Debugging a CGI with XCode, is it possible?
  • Next by Date: building bundle error
  • Previous by thread: Re: Debugging a CGI with XCode, is it possible?
  • Next by thread: Re: Debugging a CGI with XCode, is it possible?
  • Index(es):
    • Date
    • Thread