Qvaq

Search for Groups

Create New Group

Hot Groups

New Groups

Recently Active Groups

php

php

Group Members (24)

Bild
pxl
Lai, lai, hei!
Bild
macboysweden
--> www.minpryl.se
Bild
Skalman
Qvaqoholic
Bild
baeck
d(^_^)b
Bild
murtlest
i tyresö
Bild
mezod
,,,, ,,, ,,, , ,,,,!
Bild
Ricky
Är nattkreativ...
Bild
briq
No status set
Bild
slowmove
Click to set status
Bild
PushaJanne
Sovrat
Bild
DvWallin
No status set
Bild
mafjus
Click to set status
Bild
HaraldNotini
No status set
Bild
webprotweets
work
Bild
twomonkies
Jorusåatte...
Bild
wiborn
ehh, va?
Bild
AndreasJohanson
Click to set status
Bild
Techspot
Uppdaterad status?
Bild
projectstew
No status set
Bild
regrunge
Inspired
Bild
Baronen
No status set
Bild
Brinkenfeldt
No status set
Bild
eckberg
No status set
Bild
nygren
No status set

View All Members

Public Messages

Welcome, guest! Please login or register for free to be able to join the php group and participate in the discussions.

  1. murtlest murtlest 2012-06-26 22:56

    (source)

  2. murtlest murtlest 2012-03-05 18:29

    it also has a built in webserver but i will use that

  3. murtlest murtlest 2012-03-05 18:28

    that's the  main thing

  4. murtlest murtlest 2012-03-05 18:28

    new array syntax

  5. pxl pxl 2012-03-05 18:25

    oooh.. major changes/features?

  6. murtlest murtlest 2012-03-05 18:23

    btw php 5.4 is out :)

  7. murtlest murtlest 2012-03-05 18:23

    good solution :)

  8. murtlest murtlest 2012-03-05 18:22

    ah i see

  9. pxl pxl 2012-03-05 17:41

    So if a post doesn't have a custom image set, this little function scans through the post, takes the url to the first image and uses it instead.

  10. pxl pxl 2012-03-05 17:40

    And the wordpress app can't edit/add custom fields.

  11. pxl pxl 2012-03-05 17:40

    We always put the articles main image (the one on the front page) in a custom field to make sure the resizing and caching script can do its thing.

  12. pxl pxl 2012-03-05 17:39

    Haha, actually it is to make sure that we can post content from wordpress mobile apps to bitro

  13. murtlest murtlest 2012-03-05 17:38

    what content are you going to steal now? :p

  14. murtlest murtlest 2012-03-05 17:38

    pretty usable though

  15. pxl pxl 2012-03-05 17:37

    Mainly because I can't read them.

  16. pxl pxl 2012-03-05 17:37

    I god damn hate regular expressions.

  17. murtlest murtlest 2012-03-05 17:27

    :)

  18. pxl pxl 2012-03-05 17:26

    *and some cursing at the regular expressions I came up with this, which works fine:


    function postbild($a)
    {
    $regexp = "/src=[\"\']?([^\"\']?.*(png|jpg|gif))[\"\']?/i";
    preg_match_all($regexp, $a, $bild);
    echo $bild[1][0];
    }


  19. pxl pxl 2012-03-05 17:26

    a hell of a lot of googling and slome

  20. pxl pxl 2012-03-05 12:11

    Let's say the information I want is at the same offset every time.

  21. pxl pxl 2012-03-05 12:11

    Hm, what's the easiest way to extract a chunk of text from a string and put in a variable?

  22. mezod mezod 2011-08-31 23:51

    perchance x)

  23. Skalman Skalman 2011-08-29 18:34

    haha XD

  24. pxl pxl 2011-08-29 18:07

    Omg. Make this happen!

  25. murtlest murtlest 2011-08-29 17:41

    if PHP was british: http://www.addedbytes.com/blog/if-php-were-british/

View more entries...