Reputation: 0 Apprentice
- New Members
- Active Posts:
- 7 (0.01 per day)
- 24-October 10
- Profile Views:
- Last Active:
- Sep 06 2012 09:03 AM
- Dream Kudos:
Posts I've Made
Posted 23 May 2012Whenever possible it is good practice to separate content and style. You shouldn't use PHP to bold text or position it (besides, tags like 'b' and 'center' are now deprecated).
I would suggest you inspect the rendered HTML when the clock is functioning properly to determine what markup the module generates. Then simply add a rule to the site's stylesheet to bold the text. Chances are there already is a style rule for module and you will just need to add 'font-weight: bold;'
Posted 18 Apr 2012You should check out the getimagesizefromstring() function. It might be what you're looking for.
 Looks like that function is php5.4. I guess you either need to find/create something parse the raw image contents, or simply write the contents from the database to disk and then do your stuff with that.
I have discovered that getimagesize() will work for me, but only if I use an absolute path to the image file i.e. 'http://localhost/somesite/getimage.php?table=images&field=image&ID=7', if I use the relative path i.e. './getimage.php?table=images&field=image&ID=7', the function call returns NULL.
I am not sure why the different result. getimagesize() works the same for absolute and relative paths for images that are already written to a file. Maybe it is something to do with the fact that the image has to essentially be created from the database and hence the getimage.php file needs to be pre-processed.?
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
dsoppelsa hasn't added any friends yet.