DRJ478, thanks, you were right, there was not any "real" problem, they were just warnings.
I know that there are problems with registering globals, but it's an intranet application and the security is not the highest priority.
Thanks again!
hullaballoo
Hi!
I've just upgraded my php4 server to php 5, and I have some problems with the session and global variables.
The error message:
Notice: Undefined variable: <variable name> in <file>
Perhaps I forgot to set up something in the php.ini.
Register_globals is on.
Does anyone have some idea...
You're very kind that you help me, but anything I do, it doesn't work :(
I've tried your version -> The same error message..
Don't we need to set something up in the php.ini to enable the access to the file system?
The main problem is to move a file from the webserver to the database server...
Hi!
In this example, the 'c:' and 'z:' drives are network drives or local drives?
I tried both versions:
1. c: local drive on the client machine z: remote drive, mapped in the client machine.
2. c: local drive on the webserver, z: remote drive, mapped in the server machine
None of them...
I've also tried that.
if(!rename($filename, "../../../orashared/$filename"))
{
echo "failed to move file!";
}
It worked in the web document root of the php server.
But as I said, the file movement should happen between two network drives. I'd like to copy a file from the php...
It's php 4.0, Windows XP.
The file movement should happen between network drives.
I've tried this:
$output= shell_exec('cmd.exe /c move c:\\test.doc x:\\');
echo "<pre>$output</pre>";
But nothing happens.
If I try this:
$output= shell_exec('cmd.exe /c type c:\\test.doc');
It works.
The...
Hi!
I'd like to call a batch file from php, which moves a file from a location to another.
But I can't make it... :(
Could someone help me, please?
Thanx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.