Hi, explode and strstr.


Posted on 16th Feb 2014 07:03 pm by admin

Hi, I seem to be confused about the strstr function, eg. i have a string like:
"a.b.c.d.e.f"
"a.b.c.d.e"
I always want it to split at the second "." from the end, so resulting in:
"e.f"
"d.e" respectively
etc...
Please feel free to ask me if you don't understand.
Thanks

No comments posted yet

Your Answer:

Login to answer
213 Like 7 Dislike
Previous forums Next forums
Other forums

[newb] Image hosting help.
Hey there, I'm new to php, I know some basics and i can code PWN, I'm only 14 but I'm interested in

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

Logging and nologging bulk insert
Hi,

oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat n

Not sure why this script is not working?
Hi I am new to php programing and I was trying to make up a simple script like a captcha but I canno

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Anti Spam Code
Ok where do i start? Probably by telling you I have very little working knowledge of PHP and that I

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash