Users Viewing This Thread
 1 Guest(s)
amatorbalikci.net

Post Reply  Post Thread 
Strange Apache / PHP prblem
Author Message
smacker
Member
***


Posts: 234
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #1
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
Find all posts by this user Quote this message in a reply
tina1
Member
***


Posts: 120
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #2
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
Find all posts by this user Quote this message in a reply
Dhanraj
Member
***


Posts: 50
Group: Registered
Joined: Nov 2007
Status: Offline
Reputation: 0

Country:
Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: