5 Replies - 4171 Views - Last Post: 18 June 2009 - 10:59 PM Rate Topic: -----

#1 ravindukelum  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-August 07

How to effectively gather computer system information using PHP?

Posted 17 June 2009 - 10:36 PM

I'm building a website on computer spare part store so I need to collect customer computer's hardware info like RAM type,motherboard type ,processor ,PCI,SCSI etc So how can I collect those info using php script and most of the computers are customized and not branded.and want to give recommendation on gathered info how to upgrade their computers.

So I do not need any code help I've seen a PHP class to gather some computer's data yet those not enough.Is it possible to do this and help me to find good guide or recommendation.

eg: I want to collect RAM details and check whether there is any free RAM slot and what kind RAM would be compatible with.



Is This A Good Question/Topic? 0
  • +

Replies To: How to effectively gather computer system information using PHP?

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: How to effectively gather computer system information using PHP?

Posted 18 June 2009 - 04:18 AM

Nope it's not possible. PHP is serverside, and Javascript doesn't have the power/capability to do this.

You could use Flash, I think, I'm not sure however if it's good enough to be able to retrieve computer data like that though either...

The way I'd do it would be to let your customers download a little C# application that will get their data and post it back to your server, simple enough to make and seems like the quickest solution to me :)
Was This Post Helpful? 0
  • +
  • -

#3 Xioshin  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 264
  • Joined: 05-November 08

Re: How to effectively gather computer system information using PHP?

Posted 18 June 2009 - 04:59 AM

View PostMageUK, on 18 Jun, 2009 - 03:18 AM, said:

Nope it's not possible. PHP is serverside, and Javascript doesn't have the power/capability to do this.

You could use Flash, I think, I'm not sure however if it's good enough to be able to retrieve computer data like that though either...

The way I'd do it would be to let your customers download a little C# application that will get their data and post it back to your server, simple enough to make and seems like the quickest solution to me :)



What you want (need) to do is setup a file upload script that tells visitors of your website to go to:

Start > Run > dxdiag
Save All Information
Save file as a .XML file (dxdiag has this support built-in).

You can then write a PHP script to pull the .XML file from the server and use functions to pull data between the certain < > </ > XML tags.
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3105
  • Posts: 10,903
  • Joined: 08-August 08

Re: How to effectively gather computer system information using PHP?

Posted 18 June 2009 - 06:40 AM

View PostXioshin, on 18 Jun, 2009 - 07:59 AM, said:

Start > Run > dxdiag
Save All Information
Save file as a .XML file (dxdiag has this support built-in).

You can then write a PHP script to pull the .XML file from the server and use functions to pull data between the certain < > </ > XML tags.

What's Start? I don't see that under my Apple menu!
Was This Post Helpful? 0
  • +
  • -

#5 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: How to effectively gather computer system information using PHP?

Posted 18 June 2009 - 06:41 AM

View PostCTphpnwb, on 18 Jun, 2009 - 05:40 AM, said:

What's Start? I don't see that under my Apple menu!

He's selling computer parts, not glamorously designed and prettied up calculator parts ;)

Besides, Macs are too perfect to require fixing anyway, arn't they :)

EDIT: This was meant for a "lol" don't start a war :D

This post has been edited by MageUK: 18 June 2009 - 06:45 AM

Was This Post Helpful? 0
  • +
  • -

#6 ravindukelum  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-August 07

Re: How to effectively gather computer system information using PHP?

Posted 18 June 2009 - 10:59 PM

dxdiag doesn't provide more details like RAM type and speed and available slot is it possible to use javascript ora java applet or waht about c# APP?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1