+ Reply to Thread
Results 1 to 6 of 6

Thread: Teaching myself PHP -> Question on variables

  1. #1
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Teaching myself PHP -> Question on variables

    Hey guys, I know there's a lot of coding pros on here so I thought this would be the best place to ask this question

    I was wondering, is there any way to pull variables off the user's computer such as the computer name, their username, profile location etc? Like the variables you would use in cmd?

    I know it's probably unlikely, or at least a complex process... does anyone know if this is possible?

    Thanks

  2. #2
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: Teaching myself PHP -> Question on variables

    Unless the PHP script is running on that computer, no. Besides, that would be a huge privacy problem if it was available, would you really want anyone on the internet taking all your computer info?

  3. #3
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Teaching myself PHP -> Question on variables

    Quote Originally Posted by lemon-tree View Post
    Unless the PHP script is running on that computer, no. Besides, that would be a huge privacy problem if it was available, would you really want anyone on the internet taking all your computer info?
    Hmm I suppose you're right. Thanks

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Teaching myself PHP -> Question on variables

    You can use cookies/sessions if you want to retain some state between calls to the server.
    Nothing is always absolutely so.

  5. #5
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Teaching myself PHP -> Question on variables

    Jotform.com is able to identify users who keep returning even if they wipe their cache, temporary files and cookies without asking the user for a username... I would like to know how...

    But, would cookies and sessions not be lost after a history wipe?

    I should also note I use a dyn IP, so I don't think its an IP identification either.
    Last edited by Fearghal; 06-11-2010 at 11:35 AM.

  6. #6
    brutetal is offline x10Hosting Member brutetal is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    23

    Re: Teaching myself PHP -> Question on variables

    Jotform.com uses cookies to store data.

    The ISP records what ip you have at the time and what you change to unless you change providers of course.

    A history wipe will only wipe cookies if the option is selected to or they simply expire.
    Sessions are based on server/website settings when they will be deleted not on the user's computer.

+ Reply to Thread

Similar Threads

  1. Online Teaching Job
    By priyaa161 in forum Off Topic
    Replies: 9
    Last Post: 03-31-2010, 08:16 AM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. Quick question: session variables and functions (PHP)
    By Salvatos in forum Programming Help
    Replies: 2
    Last Post: 10-08-2008, 11:55 PM
  4. [php] variables
    By taekwondokid42 in forum Programming Help
    Replies: 4
    Last Post: 04-14-2008, 04:44 PM
  5. PHP Variables
    By ScottyB in forum Programming Help
    Replies: 8
    Last Post: 03-23-2008, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers