Jump to content

jimneely

Members
  • Posts

    18
  • Joined

  • Last visited

Contact Methods

  • AIM
    jrnlcn
  • Yahoo
    jimneely

Profile Information

  • Gender
    Not Telling
  • Location
    Durham, NC - USA

jimneely's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for the help. I still can not get the HTML Table to echo out to the browser. It will display the Table Header stuff and that's all. Any suggestions???
  2. Okay I don't mind telling you I am very perplexed on how to read a text file delimited with TAB into a HTML Table using PHP. I don't know where to begin, I have read about 12 examples and get more confused each time. I hope someone can help me. I am looking to read this delimited (TAB) file skipping the first line and reading array's 2,5,6,7,8,9, and 10, then displaying in a HTML Table. Corresponding Headers would be nice. The php file does not work at the present because I am trying to read the array sections by row. Thank You in advance ParseText.php JimTest.txt
  3. No it is not open Yes I went in the security settings and allow all. I do know on another php project I had to add set ini set ('memory limit', '-1'). Which I added here with no change. I have a VBA project and have no problems accessing the text files from the server.
  4. I am have trouble trying to open my ACCESS Database on my company server. I can open my Database on my desktop. I can open the ACCESS Database on the server directly. When I run my php script I get a FATAL Error say Uncaught exception, it is already open exclusively by another user, or you need permission to view its data.
  5. Are () allowed in a directory path string of a variable I have the following. It is not working and the only thing I can think of is the (2) is not being read properly. \\s-fs2\document control\(2) M200\
  6. jimneely

    Zip dll

    OMG I was changing the wrong php ini file. I was changing the php.ini and not the php. Thanks Mac_gyver !!!!!!!!!!
  7. jimneely

    Zip dll

    here I have the php_zip.dll in the c:\php\ext.... I tried moving to C:\php and no results... Apache 2.2 I have the directory set to c:\php\ext with the extension unsemicoloned.. actually I had to add the extension. the 227 error is present in the Apache error log it might be the wrong ini file,,, but I am changing php.ini in my C:\php, I think this is the correct file. What so confusing is this is a no brainer something so easy...
  8. jimneely

    Zip dll

    The php_zip.dll is in c:\php\ext. I have tried moving it to c:\php with no luck. I have put quotes around it and removed with no change. this is so simple what am I missing
  9. jimneely

    Zip dll

    I can not get the php_zip.dll set. here is what I have in my ini extension=php_zip.dll extension_dir = "C:\php\ext" This should work but it does not. I am trying to get PHPExcel to run.
  10. Okay I am new to this so bare with me. I have been trying to suck in a XML file and echo out it's attributes. Here is a example PHP code I am trying to use to do this. I need direction on how to make this work. PLEASE! <?php $xml=simplexml_load_file("Jim.xml"); echo $xml->MachineData->['timeStamp'] . "<br>"; echo $xml->MachineData[0]->['machineID'] . "<br>"; echo $xml->MachineData[0]->['lineID'] . "<br>"; echo $xml->stationName . "<br>"; echo $xml->partNumber . "<br>"; echo $xml->modelNumber . "<br>"; echo $xml->serialNumber . "<br>"; echo $xml->LotNumber . "<br>"; ?> Jim.xml
  11. The html is a index.php that is eof and the ReadTextFile is php. Of the code submitted the first is the ReadTextFile and the second part is the EOF of my main HTML that is index.php. I hope this helps
  12. I have my main page set up as html. I am using php to pull in a text file. I can (on its own) read a text file but when i add the php code to the html it does not work. Help please. <?php /** * * * @version $Id$ * @copyright 2014 */ // Read 14 characters starting from the 21st character //$section = file_get_contents('./people.txt', NULL, NULL, 20, 14); //$section = file_get_contents('C:/users/jneely/desktop/test.txt', true); //$section = file_get_contents('\\s-dmf\data\M200\TM-0731\FunctionTest\Archive\14011623595241162401B.txt', true); $section = file_get_contents('//s-fs2/attachments/test.txt', true); //var_dump($section); echo( $section); ?> My html..... $rightcolumn = <<< EOF <a href="http://example1.com/">QPR</a> <br/><a href="http://example2.com/">Deviation</a> <br/><a href="http://example3.com/">Boundary Samples</a> <br/><a href="http://example4.com/">TPC</a> <br/><a href="http:readtextfile.php">Test</a> <br/><a href="http://example6.com/">Link 6</a> EOF ;
  13. I have a excel spread sheet with information that needs to retrieve and/or put information into data base through web sites. so I need to access the web site search for the information and based on a decisions tree add information into a java script on that web page. IS THIS POSSIBLE TO INTERACT WITH ANOTHER WEB SITE LIKE THIS. I THINK I CAN DO A SEARCH LIKE A BOT TO FIND INFORMATION, BUT TO ADD INFORMATION AS IF I WAS TYPING IN A WEB SITE BUT USING PHP CODE TO DO THIS IS BEYOND ME.
×
×
  • 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.