/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to php/get_image.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-13 20:24:36 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130413202436-0cul4ykvau15515h
forgot something.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
include "db.php";
3
3
header("Content-type: image/png");
4
 
if(isset($_GET['userName']){
 
4
if(isset($_GET['userName'])){
5
5
  $username = $_GET['userName'];
6
6
  $query = "SELECT profileImage FROM Users WHERE loginName = '{$username}'";
7
7
  $tuples = $db->query($query);