Zydecode Studio

Archive for October, 2006

PNG2SWF batch file

Wednesday, October 18th, 2006

Option Explicit
 
Dim fso: Set fso = CreateObject(”Scripting.FileSystemObject”)
Dim CurrentFolder: Set CurrentFolder = fso.GetFolder(”.\png”)
Dim WShell: Set WShell = WScript.CreateObject(”WScript.Shell”)
 
Dim Files: Set Files = CurrentFolder.Files
Dim File
Dim fileName
Dim objFile
Dim str
 
For Each File In Files
Set objFile = fso.GetFile(File)
fileName = fso.GetBaseName(objFile)
 
str = “C:\progra~1\swftools\png2swf.exe -X 540 -Y 360 [...]

phpMyAdmin CSS/theme not displayed

Wednesday, October 4th, 2006

This little bug is a pain, but luckily only shows up on certain configs…
So far, it seems to be an issue that only surfaces with Apache2.0 and PHP5, on Windows.. and is caused by the chdir(..) call - the main one being phpmyadmin.css.php. Change the “..” to your root directory, and all should be solved.
BTW [...]