SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: how echo this

  1. #1
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how echo this

    i don't much about OOP
    can somebody tell me
    how to know the exact path of this url ?

    when i right click on picture for view exact localtion in click on view image

    i don't get the path as mostly we got
    i got
    this link
    http://site.com/hcl/live/icon.php?picture&id=1

    and
    this code show here

    if (isset($_GET['picture']) && isset($_GET['id'])) {

    header('Content-Type: image/gif');

    echo($GLOBALS['operator']->picture(addslashes($_GET['id'])));

    } else {

    etc etc...

    i don't know how to get the exact

    scritp if freeware
    url is this
    http://www.helpcenterlive.com/

    but don't know how to get picture URL

    anybody can help in this

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It seems that the content (binary data) of the image is stored in the database field. If so you wouldn't be able to know the exact path of the image since there is no images are stored in file system. Can you show us the script of $GLOBALS['operator']->picture(addslashes($_GET['id']) method of the class?
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •