Is there a solution for this that does not use php?