🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp
Article #483

PHP

#483
From: Sebastijan Vacun
Date: Mon, 02 Jul 2001 23:39
12 lines
1947 bytes
I wonder, how in PHP get n-th character from string

 on my computer (PHP4) works:
 $tmp="string";
 echo $tmp{0};

 but when i put this on server, doesn't work.

 bye, sebastijan

p.s.: server conf is:
Apache/1.3.14 (Unix) PHP/4.0.3pl1 PHP/3.0.17
Technical Details
Message-ID: <9hr11a$air$1@strelovod.uni-mb.si>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!news-hub.siol.net!kanja.arnes.si!news.uni-mb.si!locker

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1066e3,dc52bd5073867b8a,start
X-Google-Attributes: gid1066e3,public
X-Google-Thread: 1102f1,dc52bd5073867b8a,start
X-Google-Attributes: gid1102f1,public
X-Google-Thread: f5910,dc52bd5073867b8a,start
X-Google-Attributes: gidf5910,public
X-Google-Thread: 114592,dc52bd5073867b8a,start
X-Google-Attributes: gid114592,public
X-Google-Thread: fe74c,dc52bd5073867b8a,start
X-Google-Attributes: gidfe74c,public
X-Google-Thread: fa0ae,dc52bd5073867b8a,start
X-Google-Attributes: gidfa0ae,public
X-Google-Thread: 103e02,dc52bd5073867b8a,start
X-Google-Attributes: gid103e02,public
X-Google-Thread: 100750,dc52bd5073867b8a,start
X-Google-Attributes: gid100750,public
X-Google-ArrivalTime: 2001-07-02 16:50:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!news-hub.siol.net!kanja.arnes.si!news.uni-mb.si!locker
From: "Sebastijan Vacun" <sebastijan.vacun@uni-mb.si>
Newsgroups: alt.comp,alt.comp.lang.learn.c-c++,alt.uu.comp.os.linux,comp.infosystems.www.misc,comp.lang.perl.misc,comp.os.ms-windows.misc,hr.comp.programming,hr.comp.programming.www
Subject: PHP
Date: Tue, 3 Jul 2001 01:39:44 +0200
Organization: University of Maribor
Lines: 16
Message-ID: <9hr11a$air$1@strelovod.uni-mb.si>
NNTP-Posting-Host: da0001.ppp.uni-mb.si
X-Trace: strelovod.uni-mb.si 994117482 10843 164.8.240.1 (2 Jul 2001 23:44:42 GMT)
X-Complaints-To: news@uni-mb.si
NNTP-Posting-Date: 2 Jul 2001 23:44:42 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700