Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14712 > unrolled thread

learn php

Started bysirishas1911@gmail.com
First post2014-12-16 06:01 -0800
Last post2014-12-20 19:15 +0100
Articles 5 — 5 participants

Back to article view | Back to comp.lang.php


Contents

  learn php sirishas1911@gmail.com - 2014-12-16 06:01 -0800
    Re: learn php "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-16 15:33 +0100
      Re: learn php Jerry Stuckle <jstucklex@attglobal.net> - 2014-12-16 09:50 -0500
    Re: learn php adam <adam@lostwire.net> - 2014-12-16 08:53 -0600
      Re: learn php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-20 19:15 +0100

#14712 — learn php

Fromsirishas1911@gmail.com
Date2014-12-16 06:01 -0800
Subjectlearn php
Message-ID<b7c484d2-123d-410b-96d7-a5701e6a4c16@googlegroups.com>
hi check my php tutorial at www.phptrain.blogspot.com by studying this tutorial u will get understanding of basics of php

[toc] | [next] | [standalone]


#14713

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2014-12-16 15:33 +0100
Message-ID<m6pfsb$tkf$1@solani.org>
In reply to#14712
sirishas1911@gmail.com wrote:

> hi check my php tutorial at www.phptrain.blogspot.com by studying
> this tutorial u will get understanding of basics of php

I doubt so.

| The semicolon is a seperator and is used to distinguish  or seperate
| one php script from another

| php.ini is present in C:\xampp\php folder

You may consider getting a basic understanding of PHP first, before
writing "tutorials".

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#14714

FromJerry Stuckle <jstucklex@attglobal.net>
Date2014-12-16 09:50 -0500
Message-ID<m6pgs0$cmq$1@dont-email.me>
In reply to#14713
On 12/16/2014 9:33 AM, Christoph M. Becker wrote:
> sirishas1911@gmail.com wrote:
> 
>> hi check my php tutorial at www.phptrain.blogspot.com by studying
>> this tutorial u will get understanding of basics of php
> 
> I doubt so.
> 
> | The semicolon is a seperator and is used to distinguish  or seperate
> | one php script from another
> 
> | php.ini is present in C:\xampp\php folder
> 
> You may consider getting a basic understanding of PHP first, before
> writing "tutorials".
> 

Christoph,

I looked at his "tutorials".  So wrong on so many points.  I hope
newbies DON'T read it; they'll get a lot of wrong ideas.

The OP is obviously new to PHP but trying to show his "expertise".
Unfortunately, he's doing himself a great disfavor.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#14715

Fromadam <adam@lostwire.net>
Date2014-12-16 08:53 -0600
Message-ID<toudnTuUzJHh2g3JnZ2dnUVZ8mWdnZ2d@bt.com>
In reply to#14712
On 2014-12-16, sirishas1911@gmail.com <sirishas1911@gmail.com> wrote:
> hi check my php tutorial at www.phptrain.blogspot.com by studying this 
> tutorial u will get understanding of basics of php
Yesss but no

|A php program contains
|1.html tags
Every script? I'm sure I have some scripts without above.

|2.plain text
|3.php scripts
Agree, all are written in plain text and in most of the cases my php scripts 
contain php scripts.

|In a php program server side php scripts are writtern inside a php block
|A scrpting block can be placed anywhere in document and any number of times
|A standard php scripting block always starts with <?php and ends with ?> which 
|is understandable for any web server that
|supports php
closing tag is not always necesarry, and also, not every PHP script is written 
for http/web server context.

In general, poorly written this blog is, not yet ready to be advertised IMHO.
A.

[toc] | [prev] | [next] | [standalone]


#14781

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2014-12-20 19:15 +0100
Message-ID<1732084.k2By8v9I7r@PointedEars.de>
In reply to#14715
adam wrote:

> |In a php program server side php scripts are writtern inside a php block
> |A scrpting block can be placed anywhere in document and any number of
> |times A standard php scripting block always starts with <?php and ends
> |with ?> which is understandable for any web server that
> |supports php
> closing tag is not always necesarry, […]

The *final* “?>” is actually recommended against except in PHP markup 
templates (see, e.g., the PEAR Coding Standards), because writing it can 
produce unwanted output (e.g., whitespace).

And because business logic and presentation should not be mixed, there 
should not be a need to generate output that way in anything but a markup 
template.

-- 
PointedEars
Zend Certified PHP Engineer
Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web