Find Jobs
Hire Freelancers

Convert Piece of Powershell code to PHP

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
Hi, I need to convert this piece of code to a working .PHP code: Function Get-WowzaStreamStats{ $webclient = new-Object [login to view URL] $[login to view URL] = new-Object [login to view URL]("user", "password", "") [xml]$xml = $[login to view URL]("http://wowza-ip:8086/connectioncounts") for ($i=0; $i -lt $[login to view URL]; $i++) { $Node = @{} $[login to view URL] = $[login to view URL][$i].SessionsTotal $[login to view URL] = $[login to view URL][$i].Name $[login to view URL] = $[login to view URL][$i].SessionsFlash $[login to view URL] = $[login to view URL][$i].SessionsSmooth $[login to view URL] = $[login to view URL][$i].SessionsRTSP $[login to view URL] = $[login to view URL][$i].SessionsCupertino $StreamStats = new-Object PSObject -Property $Node Write-Output $StreamStats } } The output of the function is an object. So you can use it in the pipeline. For example you can type: Get-WowzaStreamStats | Where-Object {$[login to view URL] –eq ‘[login to view URL]’} -- So i have an array or something to get all the 6 nodes array[node 1, node 2, etc ] or something like that so i can refer to it easily, example: list[1]== result of $Node.TotalConnections. Any question just ask me ;) Thank You
Project ID: 6137402

About the project

2 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello I guess what you want is just convert a xml file to an object or an array. Please provide me the xml url and let me study it and show you a demo .................................................................. Best Regards Bill
$30 USD in 1 day
5.0 (47 reviews)
6.3
6.3
2 freelancers are bidding on average $40 USD for this job
User Avatar
I'm writing this to show in interest in your job opening regarding to the job. I think I'll be the best suited for this work. I'll give you 100% quality work I am IT professional with 8 years of experience as Graphic Designer, Adobe Photoshop expert, Joomla, magenta, OS Commerce, BigCommerce, WooCommerce, Advanced Drupal Commerce, PHP/MySQL/JavaScript- Wordpress (i.e. Convert any format into WordPress, creation/modification of themes and plugins)- PSD to HTML/CSS/WordPress conversion- Google Maps API integration (i.e. Store locator, property/real estate search)- I have great expertise with Almost All Shopping carts like Opencart, Integration SSL Certificate, X-cart cart , Zen-cart, Interspire Shopping cart , CS cart, pinnacle shopping cart, one shopping cart. I also experience in SEO field. I am expert in on page SEO and off page SEO. Here is an overviewof on page so and off page SEO Let me know if you have any regards or queries for your project.
$49 USD in 1 day
4.9 (6 reviews)
4.0
4.0

About the client

Flag of PUERTO RICO
Mayaguez, Puerto Rico
5.0
13
Payment method verified
Member since Aug 29, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.