Scripts Archive

swapeCaster


swapeCaster is a free video/music podcasting script.
All you have to do is unzip the files in your web server, put your music/video files under the “files/” directory.
Point your podcast program (iTunes) to the place where you have the feed.php file and it will automatically generate podcast feed.
Configuration:
Just edit the lines in feed.php file to match [...]

favicon2png


Here is a script to download the favicon.ico files from a website and save it as a png file.
You must have imagemagick installed on your server to convert the ico file to png.
 
<!— html code —->
<form action="?" method="post">
<input id="site" name="site" type="text"
value="<?php echo $_POST['site']; ?/>" />
<input type="submit" />
</form>
 
< ?php
//— favicon2png by Alireza Balouch @ swape.net 2008
 
if($_POST[’site’] [...]

swapeForm


Here is an easy php 5 class to make dynamic form table.
I made this class to make dynamic forms. With this class you don’t have to write html code for form and a table.
Here is how to use this class:
 
< ?php
include(’swapeForm.php’);
 
$form = new swapeForm();
$form->add(’Name’); // adding input
$form->setAttrib(’id’ , ‘formName’); // adding atributes to [...]

Swape WebTools


Swape WebTools is set of a javascripts. Unlike other web2.0 this is not going to be a big project and the code is going to be small as possible to prevent unnecessary loading time.
This is not as powerful as Dojo or jQuery or other projects.
It is written very easy for those who also want to [...]

Swape Gallery Light


SGL is a php5 script to display pictures. This Album script finds all the pictures in a directory under ./pictures/ and list up recursively and write it to xml file. This script makes menus based on directories.
All you have to do is putt your pictures in ./pictures/ directory.
You can organize your pictures by category, by [...]