Search results

  1. cGamez010

    struggling to parse xml

    hi again, having trouble here parsing the following xml into multiple (1/2) dimensional array... <?xml version="1.0" encoding="ISO-8859-1"?> <root> <statmonths name="list_consumerst10months"> <month text="January 2010" value="2010-01" selected="selected" /> <month text="December 2009"...
  2. cGamez010

    upgrade php version

    okay folks, i'll be off here for a while, the site has gone to official implementation :D
  3. cGamez010

    having trouble setting up phpMailer 5.1

    as far as i know it is not illegal, or someone would have told me in the ticket i have. well this site is moving onto the live server now anyways, with mysql and non-gmail smtp mail so no more worries there :) Edit: as far as i know it is not illegal, or someone would have told me in the ticket...
  4. cGamez010

    upgrade php version

    it might also have something to do with a php call that is not supported on x10hosting... attached are the php files for the mailer - with usernames and passwords masked, please let me know if anything in there might be causing this ajax mailer malfunction. i've checked the db connection, table...
  5. cGamez010

    upgrade php version

    strange, they allow test mails to be sent from my pc with xamp 1.7.2 just not x10hosting... its the correct login info too, the account is set up for public access ie to log in and use it at various locations. 0o
  6. cGamez010

    upgrade php version

    they are... i've just finish checking the includes in the phpmailer directory i have too. i really believe it might be due to gmail usesing port 465 to send mail, a nonstandard mail port. this site, due to being in the development and testing phases - uses gmail as a mail server.
  7. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    i'll give it a try on the next project, and read your tips tomorrow when i get up. for this project i'd rather stick with what i am familiar with. however, trying to get more than 1 lead processed, there is another one of those proverbial horizon to horizon brick walls and i don't see the doors...
  8. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    ah, thanks for pointing that out misson (hehe i sometimes don't read too well :/)- and that those with attributes get skipped. i've fixed the script with || props[a].attributes in that if statement. however it is supposed to join the last 3 lead properties into tarr (which includes all the...
  9. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    the problematic area is in red. it gets the inner values, just not the attribute properties for some reason (tags service, supplier and region in the xml. i'd prefer to keep the xml parsing to one function.
  10. cGamez010

    upgrade php version

    they are all correct, my personal email address is used to and from. i get the error messages if i get a response, thing is here i dont get any! it starts the loading sequence and posts to the ajax handler - then it never returns. yet the exact same code works on my pc (localhost)... lemme go...
  11. cGamez010

    upgrade php version

    actually that function is copy and paste from a previous version of php mailer to load a text template. this function used to be included in the phpmailer package, but is not anymore so i included it in the page. Edit: i believe i can come right without binary. Edit: and no, that did not make a...
  12. cGamez010

    upgrade php version

    well the business logic in the request_handler.php is to match associated suppliers, iterate through the list and load an html template, replacing certain keywords with values and sending each time. then it sends a response to the consumer. it could be the getFile php function, here it is -...
  13. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    AJAX: Issue Resolved, feel welcome to help with generating the array nonetheless :) that for is ended though. i don't trust any ide unfortunately... :happysad: try the latest code where i marked the ifs and fors with comments. :biggrin: i still get the error. :eek4: Edit: ps: i don't...
  14. cGamez010

    upgrade php version

    are there any other php versions available that i can use? it seems phpmailer won't work on the current version. and i don't see errors.
  15. cGamez010

    upgrade php version

    sorry i did not request it be turned on. please read. i wish to append "which it is" to that sentence. i see the php version can only be changed once i request it be enabled, and that is what i am attempting to do here.
  16. cGamez010

    upgrade php version

    hi i wish to change the php version on my account please. nothing to do with register_globals as that needs to be off.
  17. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    no i am not slacker :happysad: the begin if, begin for, end for and else have been marked with comments :) will look into it mission :) Edit: mission: strange, i've repasted the function, marked the loops and ifs with comments now and i still don't see whats wrong. it really seems to be a...
  18. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    i've been through w3schools myself... i can't see the source of the error as it has to be one of those misplaced errors... i'll add some comments to try make it easier. the problem that i face now is different cos i have changed my approach to the parsing. i don't get where that error comes from? 0o
  19. cGamez010

    AJAX: battling to parse the xml data. Please Help!

    AJAX: unrelated syntax error. Please Help! hi, i still struggle with xml parsing, it's kinda like quantum physics in my opinion. :P here is the xml that i need to parse, there is always an order with leads as children. these leads have various properties, and the last 3 properties have...
  20. cGamez010

    having trouble setting up phpMailer 5.1

    thats meant to be so, mr. xgreenberetx - my AJAX script is in debugging mode so it alerts the source xml and sql queries made. here are the lines that do that, usually they are commented. they are in the alertContents() function in Part 1/6 - containing the first bit of javascript. as i said...
Top