FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Are there C libraries that are comparable to the PHP libraries?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Are there C libraries that are comparable to the PHP libraries? [message #169708] Thu, 23 September 2010 17:55 Go to next message
Michael is currently offline  Michael
Messages: 9
Registered: September 2010
Karma: 0
Junior Member
If I decide to do my server side work using C and CGI is there a set
of C libraries comparable to PHP? I'm going to need to do e-commerce
among other things, and am concerned that there may not be much
available for C.
Re: Are there C libraries that are comparable to the PHP libraries? [message #169709 is a reply to message #169708] Thu, 23 September 2010 18:13 Go to previous messageGo to next message
matt[1] is currently offline  matt[1]
Messages: 40
Registered: September 2010
Karma: 0
Member
On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
> If I decide to do my server side work using C and CGI is there a set
> of C libraries comparable to PHP? I'm going to need to do e-commerce
> among other things, and am concerned that there may not be much
> available for C.

This is a question for a C newsgroup.
Re: Are there C libraries that are comparable to the PHP libraries? [message #169710 is a reply to message #169708] Thu, 23 September 2010 18:31 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Michael wrote:
> If I decide to do my server side work using C and CGI is there a set
> of C libraries comparable to PHP? I'm going to need to do e-commerce
> among other things, and am concerned that there may not be much
> available for C.

Most PHP libraries are shims to C libraries anyway, so yes, basically.

You can certainly code up C acess to mysql for example.

I think the only other stuff I have used that's a bit out of the
ordinary is graphic manipulative stuff, and that's all available in C too.

Theres a few HTML specific string handling things that you might need to
replicate, but not a huge job really.
Re: Are there C libraries that are comparable to the PHP libraries? [message #169711 is a reply to message #169709] Thu, 23 September 2010 18:31 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
matt wrote:
> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>> If I decide to do my server side work using C and CGI is there a set
>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>> among other things, and am concerned that there may not be much
>> available for C.
>
> This is a question for a C newsgroup.

So how would any C newsgroup lurjker know what PHP libraries contain?

Tosser
Re: Are there C libraries that are comparable to the PHP libraries? [message #169713 is a reply to message #169708] Thu, 23 September 2010 19:22 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/23/2010 1:55 PM, Michael wrote:
> If I decide to do my server side work using C and CGI is there a set
> of C libraries comparable to PHP? I'm going to need to do e-commerce
> among other things, and am concerned that there may not be much
> available for C.

As Matt said, this is a question for a C language newsgroup.

But I have no idea why you would want to use a language not made for web
services over one which was specifically created for it. Do you use a
hammer to pound in a screw, also?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Are there C libraries that are comparable to the PHP libraries? [message #169716 is a reply to message #169708] Thu, 23 September 2010 19:37 Go to previous messageGo to next message
felix is currently offline  felix
Messages: 2
Registered: September 2010
Karma: 0
Junior Member
* Michael <MichaelDMcDonnell(at)yahoo(dot)com>:
> If I decide to do my server side work using C and CGI is there a set
> of C libraries comparable to PHP? I'm going to need to do e-commerce
> among other things, and am concerned that there may not be much
> available for C.

If you are willing to stick with ONE webserver, you could use the apache
module API. Of course, this is kind of low level, but combining it with
some libraries like e.g. PCRE (depending on what you actually need), it
could be useful.

If you are interested in webservices, there's Axis for C, see here:
http://ws.apache.org/axis2/c/

But, generally speaking, most of the time there's no real reason to use
a low level language like C for these things. There's already a wide
variety of languages/platforms made especially for web- and enterprise
applications, including PHP, but if you are looking for alternatives,
maybe consider C# with ASP.NET or Java/JSP or even Ruby, perl (mod_perl
for apache), python, ...

Regards,
Felix

--
Felix Palmen (Zirias) + [PGP] Felix Palmen <felix(at)palmen-it(dot)de>
web: http://palmen-it.de/ | http://palmen-it.de/pub.txt
my open source projects: | Fingerprint: ED9B 62D0 BE39 32F9 2488
http://palmen-it.de/?pg=pro + 5D0C 8177 9D80 5ECF F683
Re: Are there C libraries that are comparable to the PHP libraries? [message #169718 is a reply to message #169710] Thu, 23 September 2010 20:09 Go to previous messageGo to next message
Michael is currently offline  Michael
Messages: 9
Registered: September 2010
Karma: 0
Junior Member
On Sep 23, 11:31 am, The Natural Philosopher <t...@invalid.invalid>
wrote:
> Michael wrote:
>> If I decide to do my server side work using C and CGI is there a set
>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>> among other things, and am concerned that there may not be much
>> available for C.
>
> Most PHP libraries are shims to C libraries anyway, so yes, basically.
>
> You can certainly code up C acess to mysql for example.
>
> I think the only other stuff I have used that's a bit out of the
> ordinary is graphic manipulative stuff, and that's all available in C too..
>
> Theres a few HTML specific string handling things that you might need to
> replicate, but not a huge job really.

Thanks very much for your reply. Yes, MySQL is easy in C, the problem
is the e-commerce routines. I've tried to find them on the Web without
success. Any ideas?
Re: Are there C libraries that are comparable to the PHP libraries? [message #169719 is a reply to message #169718] Thu, 23 September 2010 20:14 Go to previous messageGo to next message
felix is currently offline  felix
Messages: 2
Registered: September 2010
Karma: 0
Junior Member
* Michael <MichaelDMcDonnell(at)yahoo(dot)com>:
> Thanks very much for your reply. Yes, MySQL is easy in C, the problem
> is the e-commerce routines. I've tried to find them on the Web without
> success. Any ideas?

As there is (to my knowledge) no PHP module called "e-commerce", maybe
you should name what exactly you mean by that term.

Regards,
Felix

--
Felix Palmen (Zirias) + [PGP] Felix Palmen <felix(at)palmen-it(dot)de>
web: http://palmen-it.de/ | http://palmen-it.de/pub.txt
my open source projects: | Fingerprint: ED9B 62D0 BE39 32F9 2488
http://palmen-it.de/?pg=pro + 5D0C 8177 9D80 5ECF F683
Re: Are there C libraries that are comparable to the PHP libraries? [message #169731 is a reply to message #169711] Fri, 24 September 2010 08:48 Go to previous messageGo to next message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma: 0
Senior Member
On 23 Sep, 19:31, The Natural Philosopher <t...@invalid.invalid>
wrote:
> matt wrote:
>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>> If I decide to do my server side work using C and CGI is there a set
>>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>> among other things, and am concerned that there may not be much
>>> available for C.
>
>> This is a question for a C newsgroup.
>
> So how would any C newsgroup lurjker know what PHP libraries contain?
>
> Tosser

The converse is also true

(Do I need to put Wanker here in order to match your Tosser?)
Re: Are there C libraries that are comparable to the PHP libraries? [message #169732 is a reply to message #169731] Fri, 24 September 2010 09:01 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Captain Paralytic wrote:
> On 23 Sep, 19:31, The Natural Philosopher <t...@invalid.invalid>
> wrote:
>> matt wrote:
>>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>>> If I decide to do my server side work using C and CGI is there a set
>>>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> among other things, and am concerned that there may not be much
>>>> available for C.
>>> This is a question for a C newsgroup.
>> So how would any C newsgroup lurjker know what PHP libraries contain?
>>
>> Tosser
>
> The converse is also true
>

But that wasn't the question.

He didnt ask 'how many C libraries are replicated in PHP?' did he?

> (Do I need to put Wanker here in order to match your Tosser?)

No, just keep on staring at Jennifer Lopez' pikkies
Re: Are there C libraries that are comparable to the PHP libraries? [message #169738 is a reply to message #169732] Fri, 24 September 2010 12:28 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/24/2010 5:01 AM, The Natural Philosopher wrote:
> Captain Paralytic wrote:
>> On 23 Sep, 19:31, The Natural Philosopher <t...@invalid.invalid>
>> wrote:
>>> matt wrote:
>>>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>>> > If I decide to do my server side work using C and CGI is there a set
>>>> > of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> > among other things, and am concerned that there may not be much
>>>> > available for C.
>>>> This is a question for a C newsgroup.
>>> So how would any C newsgroup lurjker know what PHP libraries contain?
>>>
>>> Tosser
>>
>> The converse is also true
>>
>
> But that wasn't the question.
>
> He didnt ask 'how many C libraries are replicated in PHP?' did he?
>
>> (Do I need to put Wanker here in order to match your Tosser?)
>
> No, just keep on staring at Jennifer Lopez' pikkies

And TNP can't read, either. He doesn't even understand the question!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Are there C libraries that are comparable to the PHP libraries? [message #169744 is a reply to message #169711] Fri, 24 September 2010 15:06 Go to previous messageGo to next message
matt[1] is currently offline  matt[1]
Messages: 40
Registered: September 2010
Karma: 0
Member
On Sep 23, 2:31 pm, The Natural Philosopher <t...@invalid.invalid>
wrote:
> matt wrote:
>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>> If I decide to do my server side work using C and CGI is there a set
>>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>> among other things, and am concerned that there may not be much
>>> available for C.
>
>> This is a question for a C newsgroup.
>
> So how would any C newsgroup lurjker know what PHP libraries contain?
>
> Tosser

How would any PHP newgroup know what C libraries are available?

Douchebag
Re: Are there C libraries that are comparable to the PHP libraries? [message #169748 is a reply to message #169744] Fri, 24 September 2010 15:17 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
matt wrote:
> On Sep 23, 2:31 pm, The Natural Philosopher <t...@invalid.invalid>
> wrote:
>> matt wrote:
>>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>>> If I decide to do my server side work using C and CGI is there a set
>>>> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> among other things, and am concerned that there may not be much
>>>> available for C.
>>> This is a question for a C newsgroup.
>> So how would any C newsgroup lurjker know what PHP libraries contain?
>>
>> Tosser
>
> How would any PHP newgroup know what C libraries are available?
>
> Douchebag

Dearest Douchebag,

How would a newsgroup know anything at all?

Its only after all a bit of software on multiple machines.
Re: Are there C libraries that are comparable to the PHP libraries? [message #169751 is a reply to message #169748] Fri, 24 September 2010 15:50 Go to previous messageGo to next message
matt[1] is currently offline  matt[1]
Messages: 40
Registered: September 2010
Karma: 0
Member
On Sep 24, 11:17 am, The Natural Philosopher <t...@invalid.invalid>
wrote:
> matt wrote:
>> On Sep 23, 2:31 pm, The Natural Philosopher <t...@invalid.invalid>
>> wrote:
>>> matt wrote:
>>>> On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>>> > If I decide to do my server side work using C and CGI is there a set
>>>> > of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> > among other things, and am concerned that there may not be much
>>>> > available for C.
>>>> This is a question for a C newsgroup.
>>> So how would any C newsgroup lurjker know what PHP libraries contain?
>
>>> Tosser
>
>> How would any PHP newgroup know what C libraries are available?
>
>> Douchebag
>
> Dearest Douchebag,
>
> How would a newsgroup know anything at all?
>
> Its only after all a bit of software on multiple machines.

And now that we've gone completely OT and are attacking grammar, I'm
going to ignore this "lurjker." Idiot.
Re: Are there C libraries that are comparable to the PHP libraries? [message #169754 is a reply to message #169751] Fri, 24 September 2010 17:13 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/24/2010 11:50 AM, matt wrote:
> On Sep 24, 11:17 am, The Natural Philosopher<t...@invalid.invalid>
> wrote:
>> matt wrote:
>>> On Sep 23, 2:31 pm, The Natural Philosopher<t...@invalid.invalid>
>>> wrote:
>>>> matt wrote:
>>>> > On Sep 23, 1:55 pm, Michael<MichaelDMcDonn...@yahoo.com> wrote:
>>>> >> If I decide to do my server side work using C and CGI is there a set
>>>> >> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> >> among other things, and am concerned that there may not be much
>>>> >> available for C.
>>>> > This is a question for a C newsgroup.
>>>> So how would any C newsgroup lurjker know what PHP libraries contain?
>>
>>>> Tosser
>>
>>> How would any PHP newgroup know what C libraries are available?
>>
>>> Douchebag
>>
>> Dearest Douchebag,
>>
>> How would a newsgroup know anything at all?
>>
>> Its only after all a bit of software on multiple machines.
>
> And now that we've gone completely OT and are attacking grammar, I'm
> going to ignore this "lurjker." Idiot.

Smart move, Matt.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Are there C libraries that are comparable to the PHP libraries? [message #169756 is a reply to message #169751] Fri, 24 September 2010 19:48 Go to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
matt wrote:
> On Sep 24, 11:17 am, The Natural Philosopher <t...@invalid.invalid>
> wrote:
>> matt wrote:
>>> On Sep 23, 2:31 pm, The Natural Philosopher <t...@invalid.invalid>
>>> wrote:
>>>> matt wrote:
>>>> > On Sep 23, 1:55 pm, Michael <MichaelDMcDonn...@yahoo.com> wrote:
>>>> >> If I decide to do my server side work using C and CGI is there a set
>>>> >> of C libraries comparable to PHP? I'm going to need to do e-commerce
>>>> >> among other things, and am concerned that there may not be much
>>>> >> available for C.
>>>> > This is a question for a C newsgroup.
>>>> So how would any C newsgroup lurjker know what PHP libraries contain?
>>>> Tosser
>>> How would any PHP newgroup know what C libraries are available?
>>> Douchebag
>> Dearest Douchebag,
>>
>> How would a newsgroup know anything at all?
>>
>> Its only after all a bit of software on multiple machines.
>
> And now that we've gone completely OT and are attacking grammar, I'm
> going to ignore this "lurjker." Idiot.

It's not my fault if every time you open your mouth you put your foot a
little further in it.

No one is attacking grammar at all.

You merely ignore it.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: EDI files and PHP
Next Topic: Authentication code creation for google analytics API in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 20:28:50 GMT 2024

Total time taken to generate the page: 0.03313 seconds