Atli's Profile User Rating: *****

Reputation: 3735 Guru
Active Posts:
6,494 (3.84 per day)
08-June 10
Profile Views:
Last Active:
User is offline Yesterday, 09:10 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:
PHP, Databases, Web Development
Icon   Atli has not set their status

Posts I've Made

  1. In Topic: Outputting Images from blob data

    Posted 24 Jan 2015

    Glad you solved it :)

    View Postbluedalmatian, on 24 January 2015 - 11:40 AM, said:

    ... but if I turn output buffering off I cant set the Content-Type header!

    This is the red flag, by the way, in case anybody else reading this is having the same problem.

    The fact that the header function fails tells us that output has already been sent, thus corrupting the image. If you need output buffering to set headers (including setting cookies), output is being sent already.

    This is one upside of clearly separating business logic from output generation, like is done by all half-decent frameworks. The logic is happening first, and then the output is generated.
  2. In Topic: Mysql, php, browser based game Complete modifi help needed

    Posted 23 Jan 2015

    View PostBaahoot, on 23 January 2015 - 02:02 PM, said:

    This dont even use a 920 style set up.

    I don't get this reference. You mean the 960 grid framework?
  3. In Topic: Outputting Images from blob data

    Posted 23 Jan 2015

    Have you tried changing the Content-Type to "text/plain", and just skimmed through the output?
    Often errors like these are caused by warnings and notices being dumped into the output, which are usually pretty obvious in the raw output.
  4. In Topic: Pack() method in java

    Posted 22 Jan 2015


    Did you read what the docs have to say about it?
  5. In Topic: LIKE % alternative

    Posted 22 Jan 2015

    View Postrjgagui, on 21 January 2015 - 11:26 PM, said:

    sir Atli, i searched on trigger but update after insert on same table is not allowed using triggers, creating another table just to hold the fullname i think would not be an option.. :whatsthat:

    You don't have to actually execute an UPDATE statement inside the trigger. If you do a BEFORE INSERT/BEFORE UPDATE trigger, you should be able to simply edit the NEW.fieldName property inside the trigger, and the value you set there would be saved with the other data.

    Something along these lines, for example:
    CREATE TRIGGER patient_before_insert BEFORE INSERT ON patient
        SET NEW.searchableName = CONCAT(NEW.lname, ' ', NEW.fname, ' ', NEW.mname);

My Information

Member Title:
D.I.C Lover
28 years old
September 5, 1986
Full Name:
Atli Ţór Jónsson
Years Programming:
Programming Languages:
Mainly: PHP, SQL (MySQL, MSSQL, PostgreSQL), Web Development, (HTML, CSS, Javascript, jQuery).

Additionally: C#, VB.NET, Java, Node.js, ActionScript 3, LUA, C/C++, Python.

Contact Information



  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    Anuraj23 Icon

    24 Nov 2012 - 00:43
  2. Photo

    Atli Icon

    21 Sep 2012 - 03:19
    Hey lyster. Please post questions like that in the forums. That's what they're there for.
  3. Photo

    lyster Icon

    21 Sep 2012 - 00:40
    i just can't figure out what are the possible tables,,i want to know normalization well..u_u
  4. Photo

    lyster Icon

    21 Sep 2012 - 00:34
    hi there mr. atli..i hope you could give me some advices and idea on how to make an erd on my mini mortuary_system,thanks god bless you..
    by the way im a student of a state college here in the philippines.
  5. Photo

    kimimimi Icon

    26 Aug 2012 - 00:37
    please help me
  6. Photo

    xenoslash Icon

    19 Jul 2012 - 23:35
    You are quite possibly the most helpful member of the community. I wish I could +1 you more than once for every long (and useful!) post you make.
  7. Photo

    Maryam.m Icon

    23 Jun 2012 - 10:52
    hey i understood what should i do!!!
    i'm so happy :D :D
  8. Photo

    polyosis Icon

    11 Jun 2012 - 16:49
    I would like to thank you on your advice with my site path and installation problems, you are most kind my friend.
  9. Photo

    Atli Icon

    14 Apr 2012 - 05:22
    Yea it seems to like you, Dimitri ;)
  10. Photo

    DimitriV Icon

    08 Apr 2012 - 19:20
    Your avatar… it blinked at me.
  11. Photo

    Atli Icon

    06 Nov 2011 - 19:49
    Hehe. Thanks guys :)
  12. Photo

    Dogstopper Icon

    06 Nov 2011 - 19:19
    Lookin' a little blue there. Cheer up man! You're a mod! Congratz!
  13. Photo

    codeprada Icon

    06 Nov 2011 - 18:34
    It's about time. Congrats on reaching blue status.
  14. Photo

    n00l3 Icon

    05 Sep 2011 - 12:59
    Happy birthday! :D
  15. Photo

    cupidvogel Icon

    03 Sep 2011 - 23:06
    I can't seem to like your reply to my jQuery post an hour ago (fantastic explanation it was), because the Javascript in my browser is somewhat malfunctioning. I will like it later, ok?
  • (2 Pages)
  • +
  • 1
  • 2