Jump to content

web2000

Members
  • Posts

    39
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

web2000's Achievements

Member

Member (2/5)

0

Reputation

  1. Hello Friends, I am trying to read some of the parameters out of the below Array, but i am getting a little out of my depth and could really do with some help. I am simply trying to display the part "The Tracking Member Code sent is invalid. It must be unique at least during 24 hours" in an echo statement. Any help is appreciated... Array ( [PaymentResult] => Array ( [Result] => 1000 [Message] => Invalid arguments. One or more arguments have invalid values. Please review the parameters sent [TrackingMemberCode] => 79932 [TransactionId] => 0 [TransactionGuid] => 00000000-0000-0000-0000-000000000000 [TransactionDateTime] => 2013-01-22T20:03:44.2532028Z [Cdc] => Array ( [CdcEntry] => Array ( [Name] => ErrorInformation [items] => Array ( [CdcEntryItem] => Array ( [0] => Array ( [Key] => ErrorCode [Value] => 1000001 ) [1] => Array ( [Key] => ErrorMessage [Value] => The Tracking Member Code sent is invalid. It must be unique at least during 24 hours ) ) ) ) ) ) )
  2. Hello, I am looking for an online number plate builder something like http://www.robcurry.co.uk/plate-builders.php Has anyone done anything like this or can help about the best way of designing? Thanks
  3. Perfect it did work, sorry i has the text voucher instead of coupon so didnt work. Thank you very much for your help
  4. Hi, Thanks for that, it didnt work for some reason? The code was perfect but it doesnt seem to work with anything with Discount Voucher on its own or with Discount Voucher then Something after it. Any ideas why? The code now looks like below, Thanks if($check_total['title']!='Total:' and $check_total['title']!='Credit:' and strpos($check_total['title'], 'Discount Voucher')===true and $check_total['title']!='Vat:')
  5. Hello, I have the following PHP statement: if($check_total['title']!='Total:' and $check_total['title']!='Credit:' and $check_total['title']!='Discount Coupon' and $check_total['title']!='Vat:') It is a very simple If then else statement, what i need is where it is and $check_total['title']!='Discount Coupon' I need it to be a like parameter as there may be other text after the Discount Coupon part, i tried LIKE with the % but i think this only relates to mysql. Any help would be great thanks
  6. Thank you for the code. That works and sends the document to the browser correctly. The only issue is that it doesnt open the actual file on the local server it sends it to the browser instead. Is their a way of doing the above, but when it is send to the client it is using the version on the host machine rather than caching it on the clients machine. Thanks very much though i am much further than where i was
  7. Hi, Yes that is what i would like to do, the client machine has word, but it seems the word visible function opens it on the host machine rather than the client machine, is their a way to show the word file it has just opened on the client machine rather than loading it up on the host machine? Thanks for your help.
  8. Here is the code $word = new COM("word.application") or die("Unable to instantiate Word"); $template_file = "C:/Webspace/landlordletter.doc"; $word->Documents->Open($template_file); $word->Documents[1]->SaveAs($doc); $word->visible = 1;
  9. Hello, I am using the COM function in PHP to open and create word documents locally on my intranet server here. It works great when you use it on the host system but when you use it on another machine locally that isnt the host it worked fine, but it opens the word document on the host machine rather than the client machine. Can anyone help as to how to open the word document on the client machine? Thank you.
  10. Is there no simple way of just putting the whole page in to word?
  11. Hi, I have a simple html page, and i want to export the whole page to word. How is this possible please? Thank you so much in advance
  12. Can anyone help? Is it something like /n??
  13. I have the following code: $xml_output .= "\t\t<location>http://pjs.com/" . $row['beat'] . "</location>\n"; I get an error with it though, and it seems to be at this part <location>http://pjs.com/" As soon as i type in the // after the http: it all goes wrong, is there a release character needed maybe for the //
  14. Thanks for the advice guys, how can i actually just delete a session? Is there a way or do i have to set a timeout on the sesssion before it will go away?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.