Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by GBC48

  1. GBC48

    How to save .csv file created on live server to local PC

    Thank you jpadie, I have added the code but still get a completely blank page in the browser. The full code is currently: <?php ini_set("display_errors", true); error_reporting(E_ALL); include_once '../../../2010/gotos/OShoppa.inc.php'; $filename = 'contacts'; $ext = ".txt"; // file extension...
  2. GBC48

    How to save .csv file created on live server to local PC

    I just get a blank screen in the browser.
  3. GBC48

    How to save .csv file created on live server to local PC

    Thank you jpadie, I used your code as is but added ?> at the end but it doesn't run so I am obviously way out of my depth here! What am I doing/not doing?
  4. GBC48

    How to save .csv file created on live server to local PC

    Thanks guys but I clearly have not got this right - the script doesn't run at all now. Can you tell me what I have got wrong? My code: <?php include_once '../../../2010/gotos/OShoppa.inc.php'; $string = "$fieldnames[]"; $filename='contacts'; $ext = "txt"; // file extension $mime_type =...
  5. GBC48

    How to save .csv file created on live server to local PC

    Thank you I have done that and the script just stops. Is there someting I am missing? Best regards, Glenn.
  6. GBC48

    How to save .csv file created on live server to local PC

    I use the following code to write a .csv file from my MySQL database and it works just fin when the db is on my local PC. When I upload everything to the live server I do not get a local copy. How do I modify my code to get the .csv file created on the live server saved on local PC? Thanking...

Part and Inventory Search

Back
Top