[PHP] Re: Impossible???

2005-09-01 Thread John thegimper
Yes, check out the great documentation at http://www.php.net/docs.php
It's available in several languages. Great place to learn the wounderful world 
of php.

 
- Original Message - 
From: Gustav Wiberg [EMAIL PROTECTED]
Newsgroups: php.general
To: PHP General php-general@lists.php.net
Sent: Thursday, September 01, 2005 11:20 PM
Subject: Impossible???


 Hi again!
 
 
 Is this impossible to do in PHP?
 
 
 Dim objNet
 On Error Resume Next
 
 'In case we fail to create object then display our custom error
 
 Set objNet = CreateObject(WScript.NetWork)
 If  Err.Number  0 Then'If error occured then display 
 notice
 MsgBox Don't be Shy.  vbCRLF _
   Do not press No If your browser warns you.
 Document.Location = UserInfo.html
'Place the Name of the document.
 'It will display again
 End if
 
 Dim strInfo
 strInfo = User Name is   objNet.UserName  vbCRLF  _
  Computer Name is   objNet.ComputerName  vbCRLF  _
  Domain Name is objNet.UserDomain
 MsgBox strInfo
 
 Set objNet = Nothing'Destroy the Object to free the 
 Memory
 
 
 /G
 @varupiraten.se

-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: impossible to delete file after 'parse_ini_file'

2002-03-11 Thread Gregory Collette

Running on win nt !



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: impossible to delete file after 'parse_ini_file'

2002-03-07 Thread David Robley

In article [EMAIL PROTECTED], 
[EMAIL PROTECTED] says...
 php script :
 
 ?php
 $ini_array = parse_ini_file(conf/conf.php);
 echo($ini_array[var1]);
 ?
 
 content of conf/conf.php :
 
 [data]
 var1 = xxx
 
 
 After execution of the php script, it is impossible to delete the conf.php
 file.
 
 Any idea ?
 
 greg

If you are running on a Unix type system, the user that your scripts run 
as may not have apropriate file/directory permissions to delete the file.

-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php