Jump to content

tabasca

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tabasca's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thks a lot Zanus, may be the solution of this issue . I will try.
  2. hi guys, I've tryed what you told me. system("net use O: \\\MyNetworkDrive/Diretory mypass/user:myid /persistent:no>nul 2>&1, $rep"); open_dir($rep); And actually, I tart receiving this message : Warning: system() [function.system]: Unable to fork [net use O: \\MyNetworkDrive/Diretory mypass/user:myid /persistent:no>nul 2>&1] in D:\MySites\tpoe.ort\web\dir.php on line 43 Warning: opendir(-1) [function.opendir]: failed to open dir: No error in D:\MySites\tpoe.ort\web\dir.php on line 5 I want to know the meaning of this warning messages and if there is any solution / Thanks
  3. Still nothing yet !!! Any idea ??? Any solution ??? Please Help !
  4. Hi every body, Here is an other issue I met when propgraming : I can't send emails from my localhost server (sure some setting with the SMTP). here is may config. : - Windows XP Pro. - IIS 5.1 - PHP 5.2.13 (ISAPI) php.ini [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail_from = webmaster@localhost ----------------- After I send the email, It goes but directly to the badmail folder and generate the following files: .BAD file with the following content : From: postmaster@mycomputer.mycompany.com To: webmaster@localhost Date: Sun, 11 Jul 2010 10:49:54 +0400 MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="9B095B5ADSN=_01CB20A9DF44970600000005localhost" Message-ID: <RGryWtIIZ0000001f@localhost> Subject: Delivery Status Notification (Failure) This is a MIME-formatted message. Portions of this message may be unreadable without a MIME-capable mail program. --9B095B5ADSN=_01CB20A9DF44970600000005localhost Content-Type: text/plain; charset=unicode-1-1-utf-7 This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. tabasca37@hotmail.com --9B095B5ADSN=_01CB20A9DF44970600000005localhost Content-Type: message/delivery-status Reporting-MTA: dns;localhost Received-From-MTA: dns;w012402 Arrival-Date: Sun, 11 Jul 2010 10:49:54 +0400 Final-Recipient: rfc822;tabasca37@hotmail.com Action: failed Status: 5.0.0 --9B095B5ADSN=_01CB20A9DF44970600000005localhost Content-Type: message/rfc822 Received: from w012402 ([127.0.0.1] RDNS failed) by localhost with Microsoft SMTPSVC(6.0.2600.5949); Sun, 11 Jul 2010 10:49:54 +0400 Date: Sun, 11 Jul 2010 10:49:52 +0400 From: webmaster@localhost Subject: Testing the connection To: tabasca37@hotmail.com Return-Path: webmaster@localhost Message-ID: <W012402IIZS2TRqf69a0000001f@localhost> X-OriginalArrivalTime: 11 Jul 2010 06:49:54.0242 (UTC) FILETIME=[44A3C220:01CB20C5] This only for testing sending a message --9B095B5ADSN=_01CB20A9DF44970600000005localhost-- .BDR file with the following content : Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.". The specific error code was 0xC00402C7. The message sender was <>. The message was intended for the following recipients. webmaster@localhost Now, I'm asking for any help !! Thanks a lot.
  5. Hi, this is my code : <?php function open_dir ($dir_name) { if ($handle = opendir ($dir_name)) { while (($file = readdir($handle)) != false) { if ($file != '.' && $file != '..') if (filetype($dir_name.'/'.$file)== 'dir') { open_dir ($dir_name.'/'.$file); } else { echo "----- ".$dir_name.'/'.$file."<br>"; } } closedir($handle); } } error_reporting(E_ALL); ini_set('display_errors', '1'); //$rep = "c:"; // work fine with this declaration //$rep = "////MyNetworkDrive/Diretory01/"; // dosn't work (see message error) $rep="\\\localhost\\web"; // dosn't work (see message error) open_dir($rep); ?> Error message : Warning: opendir(//localhost/web) [function.opendir]: failed to open dir: Result too large in D:\MySites\tpoe\web\dir.php on line 5
  6. Thks Ken, I forget my config: - IIS server / Win XP - PHP / Mysql the network drive has <Z:> as identif. bat the full path is \\maxserver\mydir Opendir() workd fine with local drives but not with <z:>
  7. hi everybody here, I need some help from an expert. So, I created a website for my company. I want to list a network directory using php script. I use opendir() function but no way. I received a Warning message telling that the result was to large !!! I tryed several combination of "//" and "\\" and the pb still . please help if any :'( thks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.