Jump to content

Can someone please tell me what this is?


needhelp70

Recommended Posts

On two recent visits to Yahoo Personals, I found the following string of text:

// doesn't come to here //apd_set_pprof_trace(); /* added by Shu for performance evaluation.


I've researched the

//apd_set_pprof_trace(); /*

part of it and found that it appears to be related to PHP or Advanced PHP Debugger - even though I've read what I could find about it, I still don't get it... or more importantly understand what it is for... could someone please tell me?

Link to comment
Share on other sites

looks like someone at yahoo improperly commented out his debugging lines from the program.

'//' starts a comment line, while '/*' and '*/' delimit comments.  based on the '/*' at the end of that code, i'm guessing the developer mis-matched the comment delimiters (ie. used */ "COMMENT" here for debugging /*).

[b]EDIT:  hitman has faster typing.[/b]
Link to comment
Share on other sites

Everytime you visit ANY page on the internet the server knows your IP...it's has to be able to, other wise it wouldn't know who to send the information back to when you request the page.

If the server knows your IP, then the programmer can acess it.  It is used for a variety of applications...look at your posts in this thread...notice in the bottom right of each one an ip address is there?  That's your IP.  I can't see it, but you can.  I can see mine, but you can't.

In php, you can access the IP of the requesting computer by using $_SERVER['REMOTE_ADDR'].
Link to comment
Share on other sites

a web server automatically grabs your IP and whatnot when you make a request regardless; if you want to avoid a server knowing your IP address, you'll have to stop using the internet.  it is whether or not people do anything with it that is the issue.

in this case, the developer is not logging any information other than what environment you are viewing the site with, and any circumstances that could have led to a parsing problem.  so in a word, yes, it does trace who is viewing that page.  not your PERSONAL info though, simply your computer info for their own debugging information.  this is what debugging is, and it is not a malicious habit.  it is meant to track how errors occur, and consequently fix it (or clean up one's code, as hitman says).

[b]EDIT:  hitman types faster again, but i'm hoping my explanation helps as well.[/b]
Link to comment
Share on other sites

This all kind of makes sense... my little brother just called and I explained it to him and he said that it was Java script and that it was just a fluke that I could even see it on the web page... that it was the programmers "inner-notes".  Things that us regular viewers are not supposed to see.  He assured me that it was nothing to be concerned about and that it was nothing that could cause harm to my computer or that someone was trying to "maliciously" trace who was viewing that particular page. He explained the whole IP address thing more thoroughly to me also.  (which I get)

That's basically the same thing you guys were saying, right?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.