[PHP] string replace

2001-01-16 Thread Tait Grove

How can I strip everything past a certain character in a string?

i.e.:

$foo = "test.gif";

// strip past the .gif

$foo = "test";

// again

$foo2 = "test.jpeg";

// strip past the .jpeg

$foo2 = "test";


Tait



[PHP] Automated Scripts

2001-01-15 Thread Tait Grove at DIGITAL

I need to run a script that renames a file and deletes an old one then ships it to 
another server every monday at a certain time I know this is possible, but what is 
the technology called? Does PERL or PHP have the ability to do this? Can I get CRON 
objects to run PHP source code?

PLEASE HELP!!!


-Tait



[PHP] Automated Scripts

2001-01-15 Thread Tait Grove at DIGITAL

I need to run a script that renames a file and deletes an old one then ships it to 
another server every Monday at a certain time I know this is possible, but what is 
the technology called? Does PERL or PHP have the ability to do this? Can I get CRON 
objects to run PHP source code?

PLEASE HELP!!!

-Tait