PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 11th, 2013, 09:23 PM
p_grahambel p_grahambel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 14 p_grahambel New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 h 4 m 24 sec
Reputation Power: 0
PHP5 - Hard disk total space!!!!!

Hi i have a problem.. how can i see computers hard disk total space in the network using php?
Comments on this post
Jacques1 disagrees: not again ...
PaulGer disagrees!

Reply With Quote
  #2  
Old March 11th, 2013, 09:51 PM
acray acray is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 21 acray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 59 sec
Reputation Power: 0
http://lmgtfy.com/?q=php+harddisk+space

Reply With Quote
  #3  
Old March 11th, 2013, 10:00 PM
p_grahambel p_grahambel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 14 p_grahambel New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 h 4 m 24 sec
Reputation Power: 0
Quote:
Originally Posted by acray
http://lmgtfy.com/?q=php+harddisk+space




that one is for your hardisk only. thats not working in the network.

Reply With Quote
  #4  
Old March 11th, 2013, 10:02 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 464 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 58 m 41 sec
Reputation Power: 216
You have already asked this in another thread and were given several ideas of ways to do this.
OTHER THREAD

Reply With Quote
  #5  
Old March 11th, 2013, 10:09 PM
p_grahambel p_grahambel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 14 p_grahambel New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 h 4 m 24 sec
Reputation Power: 0
Quote:
Originally Posted by DonR
You have already asked this in another thread and were given several ideas of ways to do this.
OTHER THREAD




yap but i dnt understand it further more. i want more ideas.

Reply With Quote
  #6  
Old March 11th, 2013, 10:09 PM
acray acray is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 21 acray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 59 sec
Reputation Power: 0
posted one more idea in your other thread.

Reply With Quote
  #7  
Old March 11th, 2013, 10:09 PM
p_grahambel p_grahambel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 14 p_grahambel New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 h 4 m 24 sec
Reputation Power: 0
Quote:
Originally Posted by acray
posted one more idea in your other thread.



more and more.

Reply With Quote
  #8  
Old March 11th, 2013, 10:22 PM
acray acray is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 21 acray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 59 sec
Reputation Power: 0
Just noticed that other thread was closed. I agree with the other posters that your looking for others to make the solution for you rather than provide pointers.

But since I already said I would share an idea...

If you have shell access to both the local web server and the network server, mount a volume from your network server to a folder on your local web server.

Then call disk_free_space ( "path/to/remote/volume/mounted/as/local/folder" )

I'm not sure it would work, but it's worth a shot.

NOTE: SSH sessions and mounting volumes are no trivial task for someone who's never done it before. It's likely not worth your time to ask follow up questions unless you've spent quite a bit of time reading already written tutorials/man pages and come back with specific questions, asked in the appropriate forum.

Reply With Quote
  #9  
Old March 11th, 2013, 10:23 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 464 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 58 m 41 sec
Reputation Power: 216
From your other thread that was CLOSED
Quote:
Originally Posted by E-Oreo
You cannot determine how much disk space a remote machine on the network has without involving some type of networking protocol. There is no single function in any programming language that will do this for you. Posts 7 and 17 contain suggestions for ways of programming this, but every solution to this problem will involve quite a bit more than just calling a single function. No one on this board will write the code for you.

You can research the recommended solutions and pick one to implement. If you run into problems with the implementation, you can create another thread and ask for assistance with that specific implementation. If you create another thread for this, please indicate specifically which approach you have decided to take, and post at least an initial attempt at writing the code for it.


You should probably expect this thread to be closed soon...as you don't seem to have taken any of the other IDEAS seriously AND just seem to want to continue to ask for MORE and MORE instead of acting upon any of the other Ideas.

Reply With Quote
  #10  
Old March 11th, 2013, 11:48 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,944 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 10 h 16 m 54 sec
Reputation Power: 7053
Here is a list of questions you must ask yourself to determine which approach you can use to solve this problem:
1) What operating systems are the remote systems running?
2) What operating system is the system with the PHP script running?
3) What services are already available on the remote systems (ex: HTTP, SSH, SMB, PowerShell, NFS, etc.)
4) What services or programs are you allowed to install on the remote systems?

We cannot answer those questions for you. A solution to this problem cannot be programmed without knowing the answers.

If the answer to 3 and 4 is none, then you cannot solve this problem.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #11  
Old March 12th, 2013, 03:38 AM
Jacques1's Avatar
Jacques1 Jacques1 is online now
pollyanna
Click here for more information.
 
Join Date: Jul 2012
Location: Germany
Posts: 1,874 Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 2 h 47 m 52 sec
Reputation Power: 813
Quote:
Originally Posted by p_grahambel
more and more.


You are the f*cking Count Dracula of help vampires ...

I don't think anybody can help you. There just isn't any progress on your part. People keep telling you things and making suggestions, but all you ever do is cry for help.

I'm sorry, but we cannot help you learning. If you just cannot understand the basics of your operating system, why not ask a more experienced collegue or friend to help you with your task? That's certainly better than starting the same useless discussion all over again.
Comments on this post
paulh1983 agrees: lol..
PaulGer agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP5 - Hard disk total space!!!!!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap