AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
Hi, Jason wrote: I have a string that is: Jason Slack and I want it broken at the space so i get Jason and then Slack explode or split can do this. $array = explode( , Jason Slack); Array ( [0] = Jason [1] = Slack ) Greetings from Stuttgart Conny --- Firma Konrad Priemer

AW: AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
Hi, On Sa 06.12.2008 01:30 Jason wrote: Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 Test this: $string = cortland, ny 13045; $search = array(, , ,); # if there is no space after the comma, we make this ;-) $replace = array( , ); $newString =

AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
Oups, sorry mistake by copy paste ;-) On Sa 06.12.2008 01:30 Jason wrote: Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 $string = cortland, ny 13045; $search = array(, , ,); $replace = array( , ); $newString =

[PHP] Get Remote-Image

2008-07-30 Thread Konrad Priemer
Moin, kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht geregelt ein Image on-the-fly von einem Remote-Host per fsockopen auf meinen Server zu ziehen. Irgendwo hab ich da voll die Blockade ;) Mein nichtfunktionierender Versuch: ... ... $out = GET