Click here to Skip to main content
15,887,596 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Things needed to create a webmail system Pin
Marc Firth17-Jun-09 0:09
Marc Firth17-Jun-09 0:09 
GeneralRe: Things needed to create a webmail system Pin
Syed M Hussain17-Jun-09 5:23
Syed M Hussain17-Jun-09 5:23 
GeneralRe: Things needed to create a webmail system Pin
xiaomahe20-Jun-09 5:01
xiaomahe20-Jun-09 5:01 
GeneralRe: Things needed to create a webmail system Pin
Marc Firth25-Jun-09 2:40
Marc Firth25-Jun-09 2:40 
QuestionI am posting data to another site but it doesnot work... Pin
Khawar Abbas115-Jun-09 0:33
Khawar Abbas115-Jun-09 0:33 
AnswerRe: I am posting data to another site but it doesnot work... Pin
Marc Firth15-Jun-09 3:36
Marc Firth15-Jun-09 3:36 
QuestionPayPals Add To Cart Button for one off items Pin
Member 373991012-Jun-09 21:35
Member 373991012-Jun-09 21:35 
AnswerRe: PayPals Add To Cart Button for one off items Pin
Member 373991013-Jun-09 19:43
Member 373991013-Jun-09 19:43 
I am tryingto use the unlink function but calling it to delete a test file does not work.
I used this simple example


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br />
<html><br />
<head><br />
	<title>Untitled</title><br />
</head><br />
<br />
<br />
<html><br />
<body><br />
<br />
<?php<br />
echo "Loaded";<br />
$myFile = "T1.txt";<br />
unlink($myFile);<br />
?><br />
<br />
</body><br />
</html>


My thinking now is after a successful transaction, where the customer is directed to. I use an onload command that deletes the page that has the add to cart button.

Before I can follow this tact I need to prove the function and so far it does not remove the file. I have tried the full URL of the file I am trying to delete as well.
I haven't done error trapping so that I guess is next. I would not like a customer to see an error message however.

Terry

GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth14-Jun-09 21:54
Marc Firth14-Jun-09 21:54 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:19
Member 373991015-Jun-09 3:19 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 3:32
Marc Firth15-Jun-09 3:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:51
Member 373991015-Jun-09 3:51 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 4:27
Marc Firth15-Jun-09 4:27 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991015-Jun-09 15:02
Member 373991015-Jun-09 15:02 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 0:32
Marc Firth17-Jun-09 0:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 22:07
Marc Firth17-Jun-09 22:07 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991017-Jun-09 22:53
Member 373991017-Jun-09 22:53 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Marc Firth17-Jun-09 22:58
Marc Firth17-Jun-09 22:58 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991018-Jun-09 12:27
Member 373991018-Jun-09 12:27 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth18-Jun-09 21:52
Marc Firth18-Jun-09 21:52 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991018-Jun-09 22:53
Member 373991018-Jun-09 22:53 
QuestionImage Upload Problem Pin
indian2212-Jun-09 1:46
indian2212-Jun-09 1:46 
AnswerRe: Image Upload Problem Pin
Marc Firth15-Jun-09 3:39
Marc Firth15-Jun-09 3:39 
AnswerRe: Image Upload Problem Pin
Syed M Hussain17-Jun-09 5:29
Syed M Hussain17-Jun-09 5:29 
Questionpipeing proc_open() output over a period of time Pin
SalilJain7-Jun-09 6:56
SalilJain7-Jun-09 6:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.