Re: [PHP] Not working?

2004-01-08 Thread Justin Patrin
Roger Spears wrote: Try this: system(rename('/path/to/new.sh', '/path/to/old.$today')); Actually, it should be this: rename('/path/to/new.sh', '/path/to/old.$today'); -- paperCrane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Not working?

2004-01-08 Thread R'twick Niceorgaw
Hi jason, Quoting Jas <[EMAIL PROTECTED]>: > > system("rename('/path/to/new.sh', '/path/to/old.$today')"); > I don't think this is correct syntax. Either use the php rename function like rename('/path/to/new.sh', '/path/to/old.$today'); or if you want to use system then use system ("rename '

Re: [PHP] Not working?

2004-01-08 Thread Roger Spears
Jas wrote: > I think I must be missing something but this command isn't renaming the > file specified... Pointers, tips appreciated! > > system("rename('/path/to/new.sh', '/path/to/old.$today')"); > > /to directory has permissions set to current user and is also owned by > the current user (test_

[PHP] Re: PHP not working in html

2002-11-07 Thread conbud
Hey there check out this URL http://www.php.net/manual/en/installation.php -Lee "Mike At Spy" <[EMAIL PROTECTED]> wrote in message news:GKEFLEHIPEGIFEECKBNEAEHCGMAA.spycobalt@;spyproductions.com... > > PHP isn't working in my html docs - what changes do I need to make to get it > to do so? Does

Re: [PHP] not working

2001-03-21 Thread Wade DeWerff
Well Im trying to use a template system for pages. php4 bible lists it as sort of a GET method of handling links rather than creating all of the pages, you just use template with includes >What are you wanting to do? Let's assume : > >a. You want soon-to-be-included file names to depend on val

Re: [PHP] not working

2001-03-21 Thread Philip Olson
What are you wanting to do? Let's assume : a. You want soon-to-be-included file names to depend on values passed through the url QUERY_STRING (links). (also, be careful) b. The file containing this code is called home.php Let's slightly modify your code : Test Is that what you're wanting