odd url, and difficulty in following the php page flow

Posted by sdfor on Stack Overflow See other posts from Stack Overflow or by sdfor
Published on 2010-03-17T12:24:50Z Indexed on 2010/03/17 12:31 UTC
Read the original article Hit count: 187

Filed under:
|

I'm trying to understand code that I bought so I can modify it.

In the index.php there are picture links:

<a href="test10,10"><img title="" border=1 
src="makethumb.php?pic=product_images/test101.jpg&amp;w=121&amp;sq=N" / ></a>

I don't understand the href since it is not pointing to a page. test10 is an id of a picture. I assumed it was going back to the index.php and the code would extract the test10,10 from the url, but it's not. I know that because I put in trace code as the first line.

The question is, where is the link going to?

I know it that it somewhere in the process it executes a page called profile.php, but nowhere in the source code (doing a global search) is there an explicit call to profile.php.

As a related question, is there a way to profile the code to see what pages it's calling without using xdebug, which for the life of me I can't get working after many hours of trying every suggestion I found here and else where. (I'm using xampp)

thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about html