[PHP] open_basedir
Hi! Using Apache 2, MySQL ver. 4.0.15a, PHP 4.2.3 (NW6.5 sp1 - Netware \ Novell). I'm developing PHP files with Dreamweaver8 (Adobe-Macromedia). Trying to view a file (quote_insert.php) in a browser, it displays at: http://www.kalmanovitz.co.il/DW8_PHP_MySQL_tutorial/admin/quote_insert.php the following warning \ error: Warning: open_basedir restriction in effect. File is in wrong directory in Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 1 Fatal error: Failed opening required '../Connections/seasonAdmin.php' (include_path='.;sys:/php/includes') in Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 1 while line 1 is: ?php require_once('../Connections/seasonAdmin.php'); ? If I'm changing the l ine 1 to: ?php require_once('Connections/seasonAdmin.php'); ? without the ../ characters and copy the quote_insert.php file to DW8_PHP folder it works OK. How can I solved the problem without removing the ../ and moving the file? I changed the PHP file to begin with the following code (added paths to every directory \ folder that is involved):. Now the PHP file to begin with the following code: ?php echo nl2br("Original include path:\n"); echo ini_get('include_path').nl2br("\n\n"); ini_set('include_path',ini_get('include_path').';Applic:/HTDocs/DW8_PHP/admin;Applic:/HTDocs/DW8_PHP/Connections;Applic:/HTDocs/DW8_PHP/'); echo nl2br("New include path:\n"); echo ini_get('include_path').nl2br("\n"); require_once('Applic:/HTDocs/DW8_PHP/Connections/seasonAdmin.php'); ? You can see the display at http://www.kalmanovitz.co.il/DW8_PHP /admin/quote_insert.php The displayed warning \ error message says: Original include path: .;sys:/php/includes New include path: .;sys:/php/includes;Applic:/HTDocs/DW8_PHP/admin;Applic:/HTDocs/DW8_PHP/Connections;Applic:/HTDocs/DW8_PHP/ Warning: open_basedir restriction in effect. File is in wrong directory in Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 8 Fatal error: Failed opening required 'Applic:/HTDocs/DW8_PHP/Connections/seasonAdmin.php' (include_path='.;sys:/php/includes;Applic:/HTDocs/DW8_PHP/admin;Applic:/HTDocs/DW8_PHP/Connections;Applic:/HTDocs/DW8_PHP/') in Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 8 Cananyone see \ find what is wrong? TIA Nanu Nanu KalmanovitzTechnologiesTel.: 972-3-5523542 Celular: 050-5843879Kalmanovitz Bros. computerization promotion Ltd.P.O.Box 3434 Holon 58133 Israelwww.kalmanovitz.co.ilBEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Nanu Kalmanovitz TEL;WORK:972-3-5523542 ORG:;Technologies TEL;PREF;FAX:972-3-5512204 EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED] N:Kalmanovitz;Nanu END:VCARD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP is OK in IE but not in Netscape
Hi The http://www.kalmanovitz.co.il/hello.php file appears OK in M$-IE but not in Netscape 7.0. How can I fix it? TIA Nanu
Re: [PHP] PHP is OK in IE but not in Netscape
Thanks all! Ok, I will forget Netscape, what other popular browsers beside M$-IE works with M$-Windows? TIA Nanu Zareef Ahmed [EMAIL PROTECTED] 22/12/2005 11:30:21 - Original Message - From: Nanu Kalmanovitz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, December 22, 2005 4:22 AM Subject: [PHP] PHP is OK in IE but not in Netscape Hi The http://www.kalmanovitz.co.il/hello.php file appears OK in M$-IE but not in Netscape 7.0. Strange... Can you post the code, Well I check it with firefox it fine there. How can I fix it? TIA Nanu PHP Expert Consultancy in Development http://www.indiaphp.com Yahoo! : consultant_php MSN : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi!
Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP MySQL all 3 on same server but different volumes. I created the file named hello.php by copying and pasting the following text to notepad and put it in my web server root directory I:\HTDocs: Example 2-1. Our first PHP script: hello.phphtml: head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html When I am accessing the site with IE browser at the http://www.kalmanovitz.co.il/hello.php URL address I can see a blank page. The other pages are shown correctly. Any Idea how to fix it and continue with the tutorial? TIA Nanu