So basically. First I'm echoing a variable, then I'm getting a something like this:
+===================================+ | New Account Info | +===================================+ | Domain: auobui.com | Ip: 174.132.240.50 (n) | HasCgi: y | UserName: iub2 | PassWord: teqy%ugana%u | CpanelMod: x3 | HomeRoot: /home | Quota: 500 Meg | NameServer1: ns1.kh3.us | NameServer2: ns2.kh3.us | NameServer3: | NameServer4: | Contact Email: auib@uibfib.com | Package: kh3us_KH1 | Feature List: default | Language: english +===================================+However! In the browser it shows up like:
+===================================+ | New Account Info | +===================================+ | Domain: auobui.com | Ip: 174.132.240.50 (n) | HasCgi: y | UserName: iub2 | PassWord: teqy%ugana%u | CpanelMod: x3 | HomeRoot: /home | Quota: 500 Meg | NameServer1: ns1.kh3.us | NameServer2: ns2.kh3.us | NameServer3: | NameServer4: | Contact Email: auib@uibfib.com | Package: kh3us_KH1 | Feature List: default | Language: english +===================================+And is very difficult to read...the problem is, the data is all stored in one variable, not an array, so I can't pull out bits of data and format. I'm thinking maybe I can use preg_match to lookup "Username:" and then store the consequential data (in this case, iub2) in a variable so I can use it in my script...
Any ideas how I would get this done?


Sign In
Create Account


Back to top









