Search found 4 matches

by musicmouse
Thu May 30, 2019 3:00 am
Forum: PHP General
Topic: Analyzing a string
Replies: 5
Views: 1457

Re: Analyzing a string

If you don't know what you are talking about, why do you react?
by musicmouse
Tue May 28, 2019 4:23 am
Forum: PHP General
Topic: Analyzing a string
Replies: 5
Views: 1457

Re: Analyzing a string

A tokenizer? That what you might call such a thing when you are in compiler building.

But this can just be a regexp formula.
by musicmouse
Mon May 20, 2019 1:34 am
Forum: PHP General
Topic: Analyzing a string
Replies: 5
Views: 1457

Analyzing a string

I want to analyze an exported sql file. A line looks something like this: (2427, NULL, 'htmlbox', NULL, '2018-12-31') That should be converted into an array with one entry for each field. So like: $myarray = array(2427, NULL, 'htmlbox', NULL, '2018-12-31') As you see some fields are within quotes, o...
by musicmouse
Fri Jan 04, 2019 5:26 am
Forum: PHP coding => Images
Topic: Black and white background with GD library
Replies: 2
Views: 1036

Black and white background with GD library

I have a jpg image with a background that is - depending on the conditions - black or white. As far as I understand from the internet this comes because the image was derived from another format (like png) where this "color" was transparent. Now I have at the moment an image processing routine that ...