unlink
(PHP 3, PHP 4, PHP 5)
unlink -- Deletes a file
Description
bool unlink ( string filename [, resource context] )
Deletes filename. Similar to the Unix C unlink() function.
Returns TRUE on success or FALSE on failure.
: As of PHP 5.0.0 unlink() can also be used with some
URL wrappers
Hi,
I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want
to run an external program or script with exec(), passthru(),
shell_exec() or system() but I always receive "Access is denied".
If I try with "notepad.exe" it works!
This program or script works if I run it from the Wind
Hi,
I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want
to run an external program or script with exec(), passthru(),
shell_exec() or system() but I always receive "Access is denied".
If I try with "notepad.exe" it works!
This program or script works if I run it from the W
Is there an easy way to overwrite a row (e.g. using replace) if a duplicate key
already exists?
For instance, is there something like ON DUPLICATE KEY REPLACE (as opposed to
UPDATE)?
Or do I have to:
key_exists = query database for key
if (key_exists){
REPLACE...
}
else{
INSERT...
}
T
Hi
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name [(col_name,...)]
VALUES ({expr | DEFAULT},...),(...),...
Or:
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name
SET col_name={expr | DEFAULT}, ...
Or:
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name [(col_name,...)]
S
Hello Dave,
It happens for the different privileges of php executer.
When you run php as a module by Apache. Apache runs under a user which has
no privilege to run those system specific command. You can see error log of
apache.
When you run it yourself from command prompt, you are the executer w
Hi
> I don't know why "notepad.exe" works. may be there is some other issue.
Probably because Notepad has execute permission for the LOCAL_SYSTEM
account, and Apache/PHP is probably running using that account.
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hello,
I am having trouble getting PHP to work with IIS. Every time I get it
installed and then go to change some configuration so it will work with
PHPMYADMIN, it stops working. The test file that I created to show the
phpinfo(); now just displays a blank page. My questions!
1. When install
Hey Matthew,
Did you try this link
http://www.php.net/manual/en/install.windows.manual.php.
This will tell you everything you should know about the IIS setup. And look
through the readers contributions at the end this is where the specific help
is for your problem.
1) When you open up IIS and go
Hey Matthew, I wanted to mention...
When you run the PHP set up you choose the CGI or CLI. So the files are
already set up for it.
In the IIS set up like in the last post the Isapi.dll goes in the filter tab
and cgi.exe goes into the home directory IIS websites as the php extension.
Every time
Hi,
as additional information.
I've to execute a batch file that launch another batch as a domain
privileged user to perform some domain administrative tasks.
Do you have any idea? how can I do that?
Thanks a lot for your help.
Regards
Dave
--
PHP Windows Mailing List (http://www.php.net/)
Hi!
My tip is to don't use PHPMyAdmin to start with. Try something like mysql
control center (google for it, don't remember the url)
In IIS you have to create a site and create a DNS for the same site.. That is
the basics. Other people have sent links to setting up IIS.
Best regards
/Gustav Wib
12 matches
Mail list logo