Calling a php function in C

This is a discussion on Calling a php function in C within the C Programming forums, part of the General Programming Boards category; Hi all... Exists a way to perform this operation? I have to call a php page that sends a query ...

  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    14

    Calling a php function in C

    Hi all...
    Exists a way to perform this operation?
    I have to call a php page that sends a query to a server during a computation of my program written in C. Is there a function to do that?
    Alternatively I'm searching for C code to perform an online query (without PHP).

    Thanks a lot

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    libcurl - the multiprotocol file transfer library
    Should be fairly easy to send a query to a site and get the response.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 03:25 AM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  4. Calling a Thread with a Function Pointer.
    By ScrollMaster in forum Windows Programming
    Replies: 6
    Last Post: 06-10-2006, 08:56 AM
  5. Question on function syntax and calling function
    By cbrman in forum C Programming
    Replies: 10
    Last Post: 10-05-2003, 05:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21