RE: [PHP] unexpected include parse error
| From: | Ford, Mike [LSS] | Date: | Tue, 27 Jan 2004 11:35:42 +0000 |
| Subject: | RE: [PHP] unexpected include parse error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175889@lists.php.net to get a copy of this message | ||
On 27 January 2004 05:18, Shawn McKenzie wrote:
> >
> > PS I'm on my windows apache server but the forward slash seems to
> > work in php & that keeps it portable. I tried it both ways.
Yes -- PHP internally translates between / and \ on Windows, precisely for portability reasons.
Thus, you can write your code using / and port it easily between Windows and *n*x systems -- this is
a boon if, like me, you do development work on a Windows server but have a *n*x server for your live
site.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211