Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-17-2009, 08:08 AM Epdq Response Page:
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 960
Name: Darren
Location: England
Trades: 0
Hi,

I'm having problems coding a response page for a EPDQ shopping cart.

the code I have is blow but it just returns a blank page.
Can anyone see anything obvious why this dosn't work?

PHP Code:
<?php
if (!strcmp(getenv("REQUEST_METHOD"),"POST")){
$path="/var/logs"#set your logfile directory path here
$timestamp=date("d-m-y--H-i-s");
$FILE=fopen("$path$timestamp-$oid.txt","a");
fwrite($FILE,"OrderID - $oid\n");
fwrite($FILE,"Transaction Status - $transactionstatus\n");
fwrite($FILE,"Total - $total\n");
fwrite($FILE,"ClientID - $clientid\n");
fwrite($FILE,"Transaction Time Stamp - $datetime\n");
fclose($FILE);
}
?>
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Epdq Response Page:
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07681 seconds with 12 queries