vs
Ich find FML ja generell wunderbar aber diese Form von Selfownage sucht seines gleichen:
Eingeordnet unter: g33k-Humor, lost and found @ WWW
Three guys and a lady were sitting at the bar talking about their professions.
The first guy says " I'm a Y.U.P.P.I.E, you know... Young, Urban, Professional, Peaceful, Intelligent, Ecologist."
The second guy says "I'm a D.I.N.K, you know... Double Income, No Kids."
The third guy says, "I'm a R.U.B, you know... Rich, Urban, Biker."
They turn to the woman and ask her, " What are you? "
She replies: " I'm a WIFE, you know...
Wash, Iron, Fuck, Etc."
Via MCS
PS: Während des Erstellens sind mir wieder 2 Bugs von PotaBlog entgegengehüpft -_- Man sollte keine Updates erzeugen wenn man so verkühlt ist und gleichzeitig es nach 3 Uhr morgens ist...Echt ne Scheiß Idee...
The first guy says " I'm a Y.U.P.P.I.E, you know... Young, Urban, Professional, Peaceful, Intelligent, Ecologist."
The second guy says "I'm a D.I.N.K, you know... Double Income, No Kids."
The third guy says, "I'm a R.U.B, you know... Rich, Urban, Biker."
They turn to the woman and ask her, " What are you? "
She replies: " I'm a WIFE, you know...
Wash, Iron, Fuck, Etc."
Via MCS
PS: Während des Erstellens sind mir wieder 2 Bugs von PotaBlog entgegengehüpft -_- Man sollte keine Updates erzeugen wenn man so verkühlt ist und gleichzeitig es nach 3 Uhr morgens ist...Echt ne Scheiß Idee...
Danke für deine Unterstützung mit SQL letztens, warst echt ne große Hilfe :)
Michi hat mir die Bedeutung von JOINS, CONCAT, und COALESCE gezeigt.
Wurde natürlich postwendend auch hier in PotaBlog teilweise integriert :D
Übrigens: IP2LONG ist auch sehr interssant
Michi hat mir die Bedeutung von JOINS, CONCAT, und COALESCE gezeigt.
Wurde natürlich postwendend auch hier in PotaBlog teilweise integriert :D
Übrigens: IP2LONG ist auch sehr interssant
Eingeordnet unter: SQL, Software-Entwicklung
Das Wetter *motz*
Da is es mal schiach und man nützt die Zeit um seine Motorradausrüstung zu waschen und zu pflegen udn dann is es justament 24h später so schön, dass man am liebsten sofort mim Möpi losdüsen würde. Aber nein, die Ausrüstung hängt tropfend am Kleiderhaken....*motz*
Da is es mal schiach und man nützt die Zeit um seine Motorradausrüstung zu waschen und zu pflegen udn dann is es justament 24h später so schön, dass man am liebsten sofort mim Möpi losdüsen würde. Aber nein, die Ausrüstung hängt tropfend am Kleiderhaken....*motz*
Eingeordnet unter: was mich ärgert...

Altauseersee mit Loser völlig Glatt

Altauseersee mit Loser mit Wellen

Ente? Ente!

Gasthaus Fischerhütte am Toplitzsee in Gössl

Meine Oma auf der Loserhütte auf dem Loser
Um diesen Blogeintrag zu betrachten, geben Sie bitte unten das entsprechende Passwort ein.
Passt!
When serialize()ing an array containing the data of the last created blogpost there was no error at first.
But if the data were fetched from the database and the script tried to unserialize() them the following error occured:
So why is this?
Lets say you have an array with 3 indizes containing 2 strings and one integer.
As you can see the single quote in the second array-element is escaped by a backslash.
If you now serialize the data you get the following string
If this string is now written to the database the backslashes disappears and the field contains the following data:
As the considerate reader might have discovered the length of the highlighted string was first 25 characters and is after inserting into the database 24 characters long.
So if PHP tries to unserialize the string it thinks it has to read 25 characters but there are only 24. This throws the above error.
So how can you circumvent this?
So the backslashes are removed before serializing the data and added afterwards to prevent database malfunctions or errors.
But if the data were fetched from the database and the script tried to unserialize() them the following error occured:
So why is this?
Lets say you have an array with 3 indizes containing 2 strings and one integer.
As you can see the single quote in the second array-element is escaped by a backslash.
If you now serialize the data you get the following string
If this string is now written to the database the backslashes disappears and the field contains the following data:
As the considerate reader might have discovered the length of the highlighted string was first 25 characters and is after inserting into the database 24 characters long.
So if PHP tries to unserialize the string it thinks it has to read 25 characters but there are only 24. This throws the above error.
So how can you circumvent this?
So the backslashes are removed before serializing the data and added afterwards to prevent database malfunctions or errors.
