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
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 '
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_
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
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
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
6 matches
Mail list logo