|
Strange Apache / PHP prblem
|
| Author |
Message |
smacker
Member
  
Posts: 234
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Country: 
|
Strange Apache / PHP prblem
I've this billing script. Where you can choose a customer, products, and make invoices. There are two submit buttons in the form. One to preview the invoice. Wich is sent as download in pdf format. The other one sends the invoice as an email attachment to the customer.
If yo try to send the invoice after previewing it dowloads the php file and sends the invoice twice. Its really strange. I don't know if its an php issue or an apache issue.
It's making me nuts.
I would be very happy if someone could give me some advice.
|
|
| 09-14-2007 07:34 AM |
|
 |
tina1
Member
  
Posts: 120
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Country: 
|
RE: Strange Apache / PHP prblem
Could you show us the code? My guess is that the preview caches the pdf somewhere, and the actual submit caches it in the same place, so when it comes time to email it, it sends both attachments.
|
|
| 09-14-2007 09:24 AM |
|
 |
Dhanraj
Member
  
Posts: 50
Group: Registered
Joined: Nov 2007
Status:
Offline
Reputation: 0
Country: 
|
RE: Strange Apache / PHP prblem
Show us the script.If there is a problem,it should definitely've a solution.
|
|
| 11-17-2007 09:57 PM |
|
 |