Re: [PHP] Dynamically Rename Images

2009-05-03 Thread Andrew Hucks
Thanks, but I solved the problem another way. http://codepad.org/6juIkECZ. On Sun, May 3, 2009 at 3:02 PM, Michael A. Peters wrote: > Andrew Hucks wrote: >> >> Got this error: >> >> Fatal error: Cannot instantiate non-existent class: finfo in on >> line 6 > > You need the pecl-FileInfo module. >

Re: [PHP] Dynamically Rename Images

2009-05-03 Thread tedd
At 10:19 PM -0400 5/2/09, Andrew Hucks wrote: Is it possible to rename images dynamically? Images are nothing more than files. Load in the file, rename it as you want, and save. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mail

Re: [PHP] Dynamically Rename Images

2009-05-02 Thread Michael A. Peters
Andrew Hucks wrote: Is it possible to rename images dynamically? Say that I had something like image1.png, and I don't want to rename it on the server. I'm working on an image rotater for a forum that doesn't allow anything but image files as signatures. Here's my code so far: '; ?> I used m