Results 1 to 6 of 6
Thread: PHP
Hybrid View
-
21st April 2009 18:41 #1
PHP
,
, , .
$DOCUMENT_ROOT , $_SERVER.
:
:Warning: fopen(DOCUMENT_ROOT/orders.txt) [function.fopen]: failed to open stream: No such file or directory in C:\Sitez\wamp\www\Info\processorder.php on line 67
.:elseif($total>250 && $total<500) echo '<p>: '.$ost30.'%</p>';
elseif($total>500 && $total<1000) echo '<p>: '.$ost40.'%</p>';
elseif($total>1000) echo '<p>: '.$ost50.'%</p>';
?>
<?php
if($total==0) echo '<p align="center"><B><font color="white"> , </b></p>';
?>
<?php
$DOCUMENT_ROOT=$_SERVER['DOCUMENT_ROOT'];
$fp=fopen("DOCUMENT_ROOT/orders.txt","a");
?>
orders.txt, processorder.php.
, , .
-
21st April 2009 18:59 #2
-
21st April 2009 19:25 #3
"root" : str_replace("\\", "/", dirname(dirname(__FILE__)));
-
21st April 2009 19:51 #4
-
22nd April 2009 00:05 #5
-
22nd April 2009 00:25 #6




Reply With Quote


Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in