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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. peaseblossom

    Copying files from one directory to another

    Thank you very much for the response; however I now have an unusual problem in that when I change the 'to' variable to the last 6 characters in a text file I get a lot clutter at the end; thus my dest variable reads: /home/Dad/hello/cut/78945P<@?????\ so the file created is not 78945P in the...
  2. peaseblossom

    Copying files from one directory to another

    Hi: a real newbie trying to write a utility that copies a file from 1 directory to another; I get a lot of error messages #include <fstream> #include <ios> #include <iostream> using std::cout; int main() { const char* from = "cod.fil"; std::string dir ("/home/Dad/hello/cut/"); const char* to...
  3. peaseblossom

    counting array elements

    Hi there: I am trying to write a program that renames all files beginning IMAG (from my camera) to a more descriptive name. I have written the renaming part but if the file name to which the originating file is renamed already exists then the renaming does not take place - and the IMAG file is...
  4. peaseblossom

    linking to a pdf from a php generated table

    To partially answer my own question: I have used this to return the file, where $file is the text field of the pdf: echo "<td bgcolor = '#CCFF25'><a href='" . $file . "'>Retrieve File</a></td>"; However, it would be a lot cleverer to NOT use the field "1234.pdf" but instead use the index field...
  5. peaseblossom

    linking to a pdf from a php generated table

    Hi there: I am writing a php/mySql site that locates stored pdf documents. There is a lot of data so I have a query that generates an html table from the database, to narrow down the search.Thus the visitor is presented with a table of documents from which to select that required. I have a field...

Part and Inventory Search

Back
Top