By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

I'm a C programmer and I need to learn PHP fast. Please help.

P: n/a
Hello,

I have about 7 years programming experience but none of it with PHP. I
got a project to build an IVR with Asterisk and we used a consultant to
help. Now that the project is in production, the company wants to send
me to asterisk developer training. I'm very excited about it except
that the training starts in two weeks and PHP is a prerequisite for the
course. I know C/C++ well so I'm hoping I can get up to speed quickly.

Does anyone know of a good PHP tutorial that does not focus on using it
with the web?

Thank you so much for your help,
-Don

Jul 10 '06 #1
Share this Question
Share on Google+
13 Replies


P: n/a
If you search for "PHP Shell Scripting" on Google you can find a lot of
tutorials. Are you sure that they aren't expecting you to know PHP for
the web? PHP shell scripting is pretty rare.

Here's a decent looking tutorial
http://www.phpbuilder.com/columns/darrell20000319.php3
madwhit wrote:
Hello,

I have about 7 years programming experience but none of it with PHP. I
got a project to build an IVR with Asterisk and we used a consultant to
help. Now that the project is in production, the company wants to send
me to asterisk developer training. I'm very excited about it except
that the training starts in two weeks and PHP is a prerequisite for the
course. I know C/C++ well so I'm hoping I can get up to speed quickly.

Does anyone know of a good PHP tutorial that does not focus on using it
with the web?

Thank you so much for your help,
-Don
Jul 10 '06 #2

P: n/a
madwhit wrote:
Hello,

I have about 7 years programming experience but none of it with PHP. I
got a project to build an IVR with Asterisk and we used a consultant to
help. Now that the project is in production, the company wants to send
me to asterisk developer training. I'm very excited about it except
that the training starts in two weeks and PHP is a prerequisite for the
course. I know C/C++ well so I'm hoping I can get up to speed quickly.

Does anyone know of a good PHP tutorial that does not focus on using it
with the web?

Thank you so much for your help,
-Don
Adam Plocher wrote:
If you search for "PHP Shell Scripting" on Google you can find a lot of
tutorials. Are you sure that they aren't expecting you to know PHP for
the web? PHP shell scripting is pretty rare.

Here's a decent looking tutorial
http://www.phpbuilder.com/columns/darrell20000319.php3

Thank you. Adding the word 'shell' to the search made a world of
difference.

I don't know how the PHP scripts will be used in the training course.
Asterisk is an opensource PBX and does not use the web. It does,
however, support VoIP so that may be the tie in, I don't know. Also, it
does have a manager api, so maybe we'll build a web page to interface
with that.

Either way, I will get up to speed with the language syntax then figure
out how to apply it both ways.

Thank you for your help.
-Don.

Jul 10 '06 #3

P: n/a

madwhit wrote:
Hello,

I have about 7 years programming experience but none of it with PHP. I
got a project to build an IVR with Asterisk and we used a consultant to
help. Now that the project is in production, the company wants to send
me to asterisk developer training. I'm very excited about it except
that the training starts in two weeks and PHP is a prerequisite for the
course. I know C/C++ well so I'm hoping I can get up to speed quickly.

Does anyone know of a good PHP tutorial that does not focus on using it
with the web?

Thank you so much for your help,
-Don
Jul 10 '06 #4

P: n/a
PHP is for web based applications. Asterisk provides an AGI API and
uses PHP to communicate with it. More than likely they will teach you
how to create apps to maintain Asterisk configuration files and
extracting voice mail and other statistics such as CDR.

DO you have a URL for the course? I am interested in taking a formal
Asterisk class?

Thanks

madwhit wrote:
Hello,

I have about 7 years programming experience but none of it with PHP. I
got a project to build an IVR with Asterisk and we used a consultant to
help. Now that the project is in production, the company wants to send
me to asterisk developer training. I'm very excited about it except
that the training starts in two weeks and PHP is a prerequisite for the
course. I know C/C++ well so I'm hoping I can get up to speed quickly.

Does anyone know of a good PHP tutorial that does not focus on using it
with the web?

Thank you so much for your help,
-Don
Jul 10 '06 #5

P: n/a
On 2006-07-10, madwhit <ma*****@gmail.comwrote:
I don't know how the PHP scripts will be used in the training course.
Asterisk is an opensource PBX and does not use the web. It does,
however, support VoIP so that may be the tie in, I don't know. Also, it
does have a manager api, so maybe we'll build a web page to interface
with that.
If i'm not mistaken, most IVR application accept some sort of XML
documents that describe the 'menus and messages' the user has to
navigate through... I'd suppose that PHP is used to generate these
documents...
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Jul 10 '06 #6

P: n/a
ImOk wrote:
PHP is for web based applications. Asterisk provides an AGI API and
uses PHP to communicate with it. More than likely they will teach you
how to create apps to maintain Asterisk configuration files and
extracting voice mail and other statistics such as CDR.

DO you have a URL for the course? I am interested in taking a formal
Asterisk class?

Thanks
Digium offers many different levels of training for Asterisk.
http://www.digium.com/en/training/
Maybe I'll see ya there :-)

Jul 10 '06 #7

P: n/a
On Mon, 10 Jul 2006 17:45:40 -0400, Gary L. Burnore wrote:
>>If you search for "PHP Shell Scripting" on Google you can find a lot of
tutorials. Are you sure that they aren't expecting you to know PHP for
the web? PHP shell scripting is pretty rare.

No, it's not. We do it all the time for reporting, performance monitoring
and sysadmin tasks.
The fact that you do it all the time doesn't mean it's popular among the
PHP community.

In fact I also use it for writing CLI apps/utilities but I accept it's not
popular to do it.

Or are you just trolling?

Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Jul 11 '06 #8

P: n/a
Andy Jeffries wrote:
On Mon, 10 Jul 2006 17:45:40 -0400, Gary L. Burnore wrote:
>>>If you search for "PHP Shell Scripting" on Google you can find a lot of
tutorials. Are you sure that they aren't expecting you to know PHP for
the web? PHP shell scripting is pretty rare.

No, it's not. We do it all the time for reporting, performance monitoring
and sysadmin tasks.


The fact that you do it all the time doesn't mean it's popular among the
PHP community.

In fact I also use it for writing CLI apps/utilities but I accept it's not
popular to do it.

Or are you just trolling?

Cheers,
Andy

Andy,

Actually, I know quite a few people to do a lot of PHP scripting. It
has several advantages over basic shell scripting. I would agree it's
popular in much of the PHP community.

Or are you just trolling?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 11 '06 #9

P: n/a
On Tue, 11 Jul 2006 08:00:34 -0400, Jerry Stuckle wrote:
>>>PHP shell scripting is pretty rare.

No, it's not. We do it all the time for reporting, performance
monitoring and sysadmin tasks.

The fact that you do it all the time doesn't mean it's popular among the
PHP community.

In fact I also use it for writing CLI apps/utilities but I accept it's
not popular to do it.

Or are you just trolling?

Actually, I know quite a few people to do a lot of PHP scripting. It has
several advantages over basic shell scripting.
I agree, two of the major advantages are common language for all
development and common classes for business objects. Those are the main
two reasons I do it.
I would agree it's popular in much of the PHP community.
I still disagree it's popular in general within the PHP community. I
agree it's a good practice; I do it; I can
Or are you just trolling?


--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Jul 11 '06 #10

P: n/a

Frickin' GNOME reassigned Q to be send now for some reason, I typed a Q in
my post and it sent it!!! :-(
I would agree it's popular in much of the PHP community.
I still disagree it's popular in general within the PHP community. I
agree it's a good practice; I do it; I can quite believe you do it; I can
quite believe others do it - I don't think it's popular.
Or are you just trolling?
Jerry, I think you know me better than that...

I asked that of Gary because someone posted "it's rare" and he replied
with "no it's not, we do it all the time". The fact that he/his
company/his friends do it all the time doesn't refute a comment that it's
rare.

Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Jul 11 '06 #11

P: n/a
Andy Jeffries wrote:
Frickin' GNOME reassigned Q to be send now for some reason, I typed a Q in
my post and it sent it!!! :-(

>>I would agree it's popular in much of the PHP community.


I still disagree it's popular in general within the PHP community. I
agree it's a good practice; I do it; I can quite believe you do it; I can
quite believe others do it - I don't think it's popular.

>>Or are you just trolling?


Jerry, I think you know me better than that...

I asked that of Gary because someone posted "it's rare" and he replied
with "no it's not, we do it all the time". The fact that he/his
company/his friends do it all the time doesn't refute a comment that it's
rare.

Cheers,
Andy

Andy,

Yes, I know you. I was just harassing you a little :-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 11 '06 #12

P: n/a
On Tue, 11 Jul 2006 17:33:09 -0400, Jerry Stuckle wrote:
>Jerry, I think you know me better than that...
<snip - Andy biting on a jibe>
Yes, I know you. I was just harassing you a little :-)
In that case mate, I owe you one - watch out for any trolls that seem
almost non-troll-like, just enough to get you to bite ;-)

I'll get yer back!!!

Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Jul 12 '06 #13

P: n/a
Andy Jeffries wrote:
On Tue, 11 Jul 2006 17:33:09 -0400, Jerry Stuckle wrote:
>>>Jerry, I think you know me better than that...


<snip - Andy biting on a jibe>
>>Yes, I know you. I was just harassing you a little :-)


In that case mate, I owe you one - watch out for any trolls that seem
almost non-troll-like, just enough to get you to bite ;-)

I'll get yer back!!!

Cheers,
Andy

You can try. But you won't beat the master! :-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 12 '06 #14

This discussion thread is closed

Replies have been disabled for this discussion.