What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [PHP] Regular expressions and Status2FTP

[PHP] Regular expressions and Status2FTP
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. RE: [PHP] Regular expressions and Status2FTP
quote:
Originally posted by Eljay
code:
$xml = simplexml_load_file('details.xml');
$Username = $xml->Username;
$PSM = $xml->PSM;
$Status = $xml->Status;

Hmm... it seems like that XML thing doesn't work too great. Let's see...
quote:
Originally posted by Mattike's PHP Info
PHP Version 4.4.2
Doooh... :P
quote:
Originally posted by -dt-
or use preg_match and use its matches variable to extract the results
Can you give me an example? (A)


BTW, still didn't found a solution to strip the ·$(color) tags... :(
code:
$string = preg_replace("/·\$[0-9]{1,2}/", "", $string);
[OFFTOPIC]300th post! :D[/OFFTOPIC]

This post was edited on 06-25-2006 at 09:28 AM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-25-2006 09:16 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[PHP] Regular expressions and Status2FTP - by Matti on 06-25-2006 at 08:17 AM
RE: [PHP] Regular expressions and Status2FTP - by Matti on 06-25-2006 at 08:25 AM
RE: [PHP] Regular expressions and Status2FTP - by Eljay on 06-25-2006 at 08:28 AM
RE: [PHP] Regular expressions and Status2FTP - by -dt- on 06-25-2006 at 08:29 AM
RE: [PHP] Regular expressions and Status2FTP - by Matti on 06-25-2006 at 09:16 AM
RE: [PHP] Regular expressions and Status2FTP - by Death.Knight on 11-06-2006 at 04:09 AM
RE: [PHP] Regular expressions and Status2FTP - by NiteMare on 11-06-2006 at 04:39 AM
RE: [PHP] Regular expressions and Status2FTP - by Eljay on 11-06-2006 at 05:30 PM
RE: [PHP] Regular expressions and Status2FTP - by NiteMare on 11-06-2006 at 05:32 PM
RE: [PHP] Regular expressions and Status2FTP - by Eljay on 11-06-2006 at 05:36 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On