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 Wanet Telecoms Ltd 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. dinoviapangea

    Query text file with paragraph entries

    I have the following pipe delimited text file called temp.txt , name|date|comment "John Doe"|"22-Apr-08 10:21"|"This is a text file entry. This is a new paragraph in the comment field." I'm trying to query it with the following query, <cfhttp method="Get" url="file_path/temp.txt"...
  2. dinoviapangea

    Displaying a specific line of text, knowing the line number

    I'm a novice Unix person so please bear with me. I have a text file and I know what line I want to display. Say I've created a variable $line that equal a certain line number. I want to display just the line $line. I've tried the following but kept getting a sed: command garbled: set file_row...
  3. dinoviapangea

    Launch popup window while going to next page.

    I want to open a popup window while linking to another page. As follows, <CFOUTPUT> <FORM NAME="temp" ACTION="temp2.cfm" method="POST" enablecab="No"> <input type="submit" name="test" value="Next Page" > </FORM> </CFOUTPUT> When the user clicks on the form link, I not only want them to go to...
  4. dinoviapangea

    Extracint various urls from a string

    I'm trying to extract a list of urls from a string, as below. I can use Find, but that only gives me the position of the first occurance. I need some code to grab the whole word/url of all occurances. Any help would be appretiated Sample String: This is an example text file with various...
  5. dinoviapangea

    Find field names in table

    Is there a way or tag to find out the names of the existing fields in a table if unknown? Thanks, Dino
  6. dinoviapangea

    Count how many lines in a text file

    How can a get the number of lines in a text file? The file may or may not be a queryable file, just any text file. Any suggestions would greatly be appreciated. Thanks, Dino
  7. dinoviapangea

    Action on Selected Pulldown

    I have a pulldown menu as below, <Form Name="Top_Page" Action="Next_Page" Method="Post"> <Select name="item_id"> <OPTION Value = "1" >#item_1_name# <OPTION Value = "2" >#item_2_name# <OPTION Value = "3" >#item_3_name# </Select > </Form> How can I have the form submit when a user...
  8. dinoviapangea

    Replace text in text field when new text is typed.

    I have a text field such as below, <input type="text" name="email" value="Enter an email" size="40" maxlength="100"> I want the "Enter an email" to disappear when a user begins to type their email address. Thanks, Dino
  9. dinoviapangea

    reset single text field

    I have multiple text fields in my form like the following, <Form> <input type="text" name="text_1"><br> <input type="text" name="text_2"><br> <input type="text" name="text_3"><br> </From> How can I put a reset button that will reset only that text field? Such as <Form> <input type="text"...
  10. dinoviapangea

    npasswd compiled for IRIX

    Has anyone successfully compiles npasswd for IRIX 6.5? I'm trying but can't quite get it yet. I figured someone else might or should have done it by now. Thanks
  11. dinoviapangea

    Check max length of text field

    I know this has probably been asked before, but I still can't find the simple answer. I have a input text field that I want to validate to not go over 256 characters. Any suggestions. Thanks
  12. dinoviapangea

    cfml or cfexec? To run .cfm file from unix command line or script

    I've searched, but still haven't found a solution for running a coldfusion file from a unix command line or script. I've read some stuff on cfml and cfexec but no luck yet. When I do run a file using cfexec as in the following; cfexec myfile.cfm I get an error saying cfexec is aldready...
  13. dinoviapangea

    Can I run a coldfusion file from command line

    I want to run a cron job that runs a coldfusion file at a specific time of day. How can i run a coldfusion file from a unix script/command line? Thanks
  14. dinoviapangea

    List files in different system directory

    How can I list the contents of a directory that is not on the server I am using. I know I can use CFDIRECTORY to list contents of any directory on the Coldfusion server but what about another server or system? Thanks
  15. dinoviapangea

    Querying a text file with no column names

    How can I query a text file with no column names, for example: Fred|Flintstone|Bedrock| Betty|Rubble|Bedrock| Barney|Rubble|Bedrock| Spongebob|Squarpants|Bikini Bottom| I can do the query with column headers, for example: fname|lname|location| Fred|Flintstone|Bedrock| Betty|Rubble|Bedrock|...
  16. dinoviapangea

    Subtracting day from current date.

    I'm trying to subtract one day from thet current date. My code is as follows: function howlong(arg) { if (length(arg)==1) { arg = &quot;0&quot; + arg; return arg; } else { arg = arg; return arg; } } myDate = new Date(); dd = myDate.getDate()-1; mm = myDate.getMonth(); yy = myDate.getFullYear()...
  17. dinoviapangea

    plot dynamic line

    Is there a way to create a simple line from variables (x,y)(x,y), from a previous form and have flash create a line from those coordinates?
  18. dinoviapangea

    plot line in html

    Is there a way to plot a line in html? For example, I want to generate a line by giving the (x,y)(x,y) and have html draw a simple line between to points. Thanks
  19. dinoviapangea

    login banner

    Is there a way to display a text banner either on start up or when it gets to the login window? Instead of showing Mac OSX to show a text message in the login window?
  20. dinoviapangea

    Trim IP Address

    I neet to trim a 123.123.123.123 IP address to 123.123.123.0. Any suggestions?

Part and Inventory Search

Back
Top