FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » by get this format my explode file name like this through php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: by get this format my explode file name like this through php [message #175911 is a reply to message #175908] Sun, 06 November 2011 00:20 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Sat, 05 Nov 2011 18:20:30 +0100, Michael Fesser wrote:

> .oO(Denis McMahon)
>
>> On Sat, 05 Nov 2011 06:34:31 -0700, Balazs Nadasdi wrote:
>>
>>> 2. Why do you use
>>> YYYYMMDDHHMMSS? Unix Timestamp?
>>
>> Conjecture - as he's creating a filename, [...]
>
> I understood it that way that he has a filename and wants to split it
> into its parts as described ("explode"). In this case preg_match() or
> sscanf() might help.

Oh. I thought he was trying to create the filename from the data.

If he wants to get the data from the filename, all he needs is a few
http://uk.php.net/manual/en/function.substr.php surely.

$branch = substr(string,start,length);

etc etc etc

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simple session question
Next Topic: Proxy Probe, an asynchronous proxy checker script
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 12:57:00 GMT 2024

Total time taken to generate the page: 0.05482 seconds