Jump to content

wejofost

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Everything posted by wejofost

  1. I have a website that reads Excel csv files ( using Excel reader.php ) and stores the data into a MySql database. This web site was written in 2006 and has worked well ( not every day but quite frequently ) without problems. Now it is failing, even when using previously accepted files saying the file is not .csv material. With the latest issues of MS Office do I require a newer version of Excel/reader.php? Is this the reason it is failing? Wej Parry
  2. Thank you roopurt18. I last used UNIX 10 years ago! but I do remember that find with grep is a cunning bit of software. I have access to a HPUX system so I'll use that. Best regards. Wej Parry
  3. Thank you for your reply. I fully understand that Text Editors can search a slected file for matching data but I have not yet come across a Text Editor that can open directories and search multiple files. The old Windows 2000 professional can search a whole series of directories for data strings within a whole series of files but I can't do that in Vista and Windows 7?
  4. I have over 230 files plus 39 directories ( 3.5Mb ) in my public_html directory and I am looking for where I specified/declared the contents of a variable! I can't for the life of me remember in which web page/directory I set up the contents of that run time variable. ( It was three years ago! ) Can anyone advise me how find that data variable ( Its called $depositrules )?
  5. Thank you all. Oh what a twit!!
  6. Thank you Mike . I have added your suggested line to my test page. I have 4 similar lines in my test page but echo is displaying the code but not displaying results on the screen?? Please look at test page www.theparrys.co.uk/test.html It is something stupid that I am doing ( or not doing more likely )
  7. Very simple problem but got me beat. I am trying to capture and print on the screen the IP address that is looking at my webpage. After a lot of research I believe I have the data but cannot print it in PHP ( in an ASP WRITE RESPONSE type manner) Here is my test page. What am I doing wrong ?! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <body> <?php $page ='Test page'; $ipaddress = $_SERVER['REMOTE_ADDR']; $date = date ("M dS H:i:s"); $message = "$page _ $ipaddress _ $date\n"; $File = "track.txt"; $Open = fopen($File, "a+"); if ($Open){ fwrite($Open, "$message"); fclose ($Open); } <br> print this is a print on the screen statement; <br> print $message; <br> <br> Some test data to see if it can be displayed. $result = "OK"; $update = "Yes"; $updateid = "90094"; echo "result=".$result."\n"; echo "update=".$update."\n"; echo "updateid=".$updateid."\n"; ?> </body> </html>
×
×
  • 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.