🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.php
1 messages
1 total messages Started by peters Tue, 04 Sep 2001 08:50
strpos i wersje php
#2148
Author: peters
Date: Tue, 04 Sep 2001 08:50
20 lines
1346 bytes
Witam.
Ja sobie radzicie z funkcja strpos, ktora dziala zaleznie od wersji php

// in PHP 4.0b3 and newer:
$pos = strpos($mystring, "b");
if ($pos === false) { // note: three equal signs
// not found...
}
// in versions older than 4.0b3:
$pos = strpos($mystring, "b");
if (is_string($pos) && !$pos) {
// not found...
}

chcialbym napisac skrypt, ktory dzialalby naiezaleznie od wersji php.

--
pozdrawiam, peters
peters@poczta.onet.pl
http://peters.republika.pl  (strona Petersa dla elektroników)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads