Home > Archive > PHP Language > July 2004 > problems with chdir()
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
problems with chdir()
|
|
| Nicholas Geraldi 2004-07-23, 3:55 pm |
| I have a script that uses the chdir() function. I know the script works (
works perfectly on my host ), but when I put the script on my server here at
work I get the following error.
Warning: chdir(): No such file or directory (errno 2)
The same script works at my personal host, thats the part that bothers me.
The host here at work is running PHP 4.3.8. Any suggestions about how to get
this to work? or maybe another function that does the same thing as chdir().
Nick
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
| SubSonic 2004-07-23, 3:55 pm |
| Is your home system same OS as work?
If not you may need to see what differences there are between operations.
example windows will not support chmod where as unix will...
"Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
news:41012ec1$1_3@corp.newsgroups.com...
> I have a script that uses the chdir() function. I know the script works (
> works perfectly on my host ), but when I put the script on my server here
at
> work I get the following error.
>
> Warning: chdir(): No such file or directory (errno 2)
>
> The same script works at my personal host, thats the part that bothers me.
> The host here at work is running PHP 4.3.8. Any suggestions about how to
get
> this to work? or maybe another function that does the same thing as
chdir().
>
> Nick
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
| Nicholas Geraldi 2004-07-23, 3:55 pm |
| They are both Linux OS. The work one is Fidora(sp?) and the home one is red
hat.
"SubSonic" <bill@sorry.com> wrote in message
news:ljcMc.182$y6.107@newsfe1-gui.ntli.net...
> Is your home system same OS as work?
> If not you may need to see what differences there are between operations.
>
> example windows will not support chmod where as unix will...
>
> "Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
> news:41012ec1$1_3@corp.newsgroups.com...
([color=darkred]
here[color=darkred]
> at
me.[color=darkred]
> get
> chdir().
>
>
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
| Nicholas Geraldi 2004-07-23, 3:55 pm |
| And just a quick question. Is there a windows function that does the same
thing as chmod()?
"Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
news:41014569$1_3@corp.newsgroups.com...
> They are both Linux OS. The work one is Fidora(sp?) and the home one is
red
> hat.
>
>
> "SubSonic" <bill@sorry.com> wrote in message
> news:ljcMc.182$y6.107@newsfe1-gui.ntli.net...
operations.[color=darkred]
works[color=darkred]
> (
> here
> me.
to[color=darkred]
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
|
| Windows 2000/XP can do chmod() also, not on Win98/Me
Savut
http://www.savut.com
"Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
news:410147cf$1_3@corp.newsgroups.com...
> And just a quick question. Is there a windows function that does the same
> thing as chmod()?
>
> "Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
> news:41014569$1_3@corp.newsgroups.com...
> red
> operations.
> works
> to
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
| Nicholas Geraldi 2004-07-23, 8:55 pm |
|
"Savut" <webki@hotmail.com> wrote in message
news:%teMc.138$oc1.4495@news20.bellglobal.com...
> Windows 2000/XP can do chmod() also, not on Win98/Me
>
> Savut
> http://www.savut.com
>
Thanks, good to know.
Nick
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
| |
| Nicholas Geraldi 2004-07-23, 8:55 pm |
|
"Nicholas Geraldi" <nickgeraldi@taconic.net> wrote in message
news:41012ec1$1_3@corp.newsgroups.com...
> I have a script that uses the chdir() function. I know the script works (
> works perfectly on my host ), but when I put the script on my server here
at
> work I get the following error.
>
> Warning: chdir(): No such file or directory (errno 2)
>
> The same script works at my personal host, thats the part that bothers me.
> The host here at work is running PHP 4.3.8. Any suggestions about how to
get
> this to work? or maybe another function that does the same thing as
chdir().
>
> Nick
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
I got the problem fixed. Thanks for the help =)
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
|
|
|
|
|