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 wOOdy-Soft 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 egrant

  1. egrant

    fwrite-ing an RTF

    Here is an example that may be useful... $filename = file.rtf"; if(!($fp= fopen ($filename, "r"))) die ("Can't open file 1"); $Contents = file_get_contents($filename); fclose ($fp); //Replacefields $newContents = str_replace ($badstring, $godstring, $Contents); // re-save the file as an rtf...
  2. egrant

    fwrite-ing an RTF

    Try str_replace instead... eg: $fdContents = str_replace ($badStr, $goodStr, $fdContents); Hope this helps, Emma
  3. egrant

    Print to PDF - w/out Full Version

    Hello, I have a project where I have users fill out a PDF form from the web. I need them to save it to their computer when done. I tested it on a computer and I cannot 'Save As' or 'Print to PDF' via Acrobat Reader. Apparently you can only do this with the full version of Acrobat? Not...
  4. egrant

    importing data from html form

    Has anyone successfully parsed data from a simple html form to a pdf document? I would like to open the pdf via a submit button on my html form passing an id value through to the pdf that is stored in a hidden field on my html form. Thanks, E
  5. egrant

    form won't submit in frame or iframe

    Hi, I am using Adobe 6. I have created a pdf form in an iframe so I can still display the website navigation menu. Problem: The pdf form will not submit in the frame -it just sits there doesn't re-direct to the php page doesn't process. I have tried to run this file directly out of the...
  6. egrant

    Tab Order

    Go the the pages tab on your naviagtion bar. Right click the page you are trying to change. Choose Page Properties. You will see the tab order choices. Set to specific settings - left to right row by row or left to right column by column. It's really easy - E
  7. egrant

    dynamic/concatenate variable

    That really helps :) Thanks for your reply!
  8. egrant

    dynamic/concatenate variable

    Thanks! Worked like a charm. I understand hash alot better now too! Thanks Again!
  9. egrant

    Formatting currency - with comma

    try looking for the number::format module on cpan. (seach.cpan.org) It worked just fine for me
  10. egrant

    dynamic/concatenate variable

    woops that should be $Counter ++ in my array...
  11. egrant

    dynamic/concatenate variable

    Hi All, I have been researching on this forever and can't find an answer. I need to rename my variable depending on what my counter value is for each total in my query array. For instance I would like a unique Total for each record so I can refer to all the records once I am out of the...
  12. egrant

    dynamic/concatenate variable

    Hi All, I have been researching on this forever and can't find an answer. I need to rename my variable depending on what my counter value is for each total in my query array. For instance I would like a unique Total for each record so I can refer to all the records once I am out of the...
  13. egrant

    trying to access mysql using 'use DBI;' can't get link to database...

    Do you have the permissions to log on w/out username and password? I wouldn't be suprised if you are getting a permission denied error - E
  14. egrant

    Formatting currency - with comma

    Hi All, I need to add a comma to my totals between the thousands ie: convert 1000.00 into 1,000.00 convert 10000.00 into 10,000.00 convert 100000.00 into 100,000.00 I find sprintf will add the decimal, but I can't get it to add the comma. Any help would be great! Em
  15. egrant

    Calculating Time

    Thanks. That should do the trick! You deserve a star ------------------------> * E

Part and Inventory Search

Back
Top