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 bkrike 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: *

  • Users: ruffy
  • Content: Threads
  • Order by date
  1. ruffy

    Is what I need Applescript - or what?

    New to the Mac (running on Tiger); Oldtime PC user/developer: Have a question - Have a browser-based pgm and want to integrate it with a softphone package, so that the number in the browser "jumps over" to the softphone, for a one-button dial job. Then have the browser-based pgm log the...
  2. ruffy

    PHP/javascript - Is there an interface to a softphone?

    I'm developing a computer program on my Macbook that runs in a browser. It's written in PHP & javascript. It displays phone numbers to call, one after the other. As of now, I dial my VoIP phone. I'd like to interface with a softphone so that the telephone number in the browser shows up in the...
  3. ruffy

    CSS Form Control - Lining up labels with their fields

    I've got 4 fields in the left side of a form's fieldset, and others on the right. The ones on the right are tabled - and for now I'm not concerned with. The left fields are nested inside label elements, such as: <label>Name<input id='pname' type='text' size='32' /></label> The CSS to control...
  4. ruffy

    Absolute button control by javascript

    My PHP code goes awry when the user hits ENTER after putting the cursor in a form's input field. I'd disable the fields, but I want to enable the user to update the data. But I only want him to update the stuff after he hits the "Update" button. How do I ensure via javascript that nothing...
  5. ruffy

    Something basic in CSS seems missing

    I have this input field in my opening page markup: <input id='que1' size='20' value='$q1' /> and made its value over 20 characters to test this CSS styling: #que1 {overflow: visible;} Tested it in FF and Safari, and it won't overflow to display its entire contents. Do you see why not?
  6. ruffy

    Mysql import - Where do I go wrong?

    I use phpMyAdmin 2.10.0.2 to administer Mysql 5.0 My PHP version is 5.2.1. Always "affected rows" ends up to be only 1, when I have over 300 rows in my datafile. Can you tell me where my import procedure goes wrong? Here's what I do to populate a table. After choosing the database in the left...
  7. ruffy

    Convert mysql date to &quot;Days Ago&quot;.

    How do I take a Mysql date, after I retrieved it into $mysqldate, and convert it to a number that represents "days ago"?
  8. ruffy

    From Javascript to PHP to Mysql - a time variable.

    I want to trap the TIME an event started, to insert it into a MySql table. In my javascript, I wrote: start = new Date( ) starttime = start.getTime( ); When I do that my alert shows a 13 digit number. (OK, I guess). But now I need to INSERT that time into a MySql table. So I send it...
  9. ruffy

    2 ways to Set an Attribute - Why the difference?

    1) Why does the script below work, when the commented line, that supposedly does the same thing, does not? 2) In fact, am I wrong, to think that the commented line is the "more correct" way to go? ------------------------------------------------------- var int=self.setInterval("clock()",50)...
  10. ruffy

    Need to make a global change - across columns

    I have my data wrapped in quotes all over the place in a table. Would like to do what text-editors allow you to do via Find and Replace, namely, a global change, across all columns. Is this possible in Mysql? (5.0)
  11. ruffy

    Problem with mysql_fetch_assoc()

    I have code that fills variables for replacement into the contents of a .tpl file, and then echoes the result. Here's the code that determines the $p1 value: <?php ... $myinfo = mysql_fetch_assoc($result); // fetch the 1st prospect if ($myinfo["filler1"] == NULL) { $p1 =...
  12. ruffy

    A bad IF statement - But why??

    I thought the IF statement was simple enough, yet my code keeps slamming into an error at the bottom of this php code - and I don't know why. I hope I'm not too embarrassed when I find out. <?php $conn = mysql_connect('localhost:8888', 'root', 'root'); if (!$conn) die('Could not connect: ' ...
  13. ruffy

    New laptop for tcler: Windows or MAC ?

    What laptop would best suit a tcl/tk programmer? The new Windows laptops sport the Vista OS, and MACs have the Tiger OS. Is one any better than the other? Please help me make an educated decision with which to go? Thanks
  14. ruffy

    Multipurpose PHP Page - Prevention of Data Abuse

    ....................... My multipurpose PHP page shows all feedback letters to the website - by default. At the bottom of this page an <a> element lets the user recall this page – only now the page only displays the form for user feedback. Simple "If" logic accomplishes this (Either display all...
  15. ruffy

    When PHP interferes with the DOM (dilemma)

    Here's my problem. My multipurpose PHP page has "If" logic around a FORM element, to prevent the FORM from display unless the user hits a "Send Feedback" button. But the user can retrieve and re-submit his data numerous times - simply by hitting the browser's "back" button and resubmitting the...
  16. ruffy

    MYSQL from PHP - Installation on Windows2000 issue

    I newly installed on my WIN2000 box PHP 5.2 and MySql 5. The installations went successfully. I can manipulate Mysql from the command line; I can run many non-mysql scripts in PHP; But PHP will not connect to Mysql. It croaks on mysql_connect(); ( Fatal error: Call to undefined function...
  17. ruffy

    PHP5 Install Failed on WIN2K

    I run a WIN2000 box with IIS. To upgrade to PHP5 I uninstalled php4 and tried to install php5 as follows: -------------------------------------------------------- Unzipped into my PHP directory --> D:\php5 Copied php.ini-recommended to C:\winnt renamed to php.ini Added the PHP directory to...
  18. ruffy

    How do I PREVENT TIMEOUT ?

    Running on my own computer/server, I'm running into the problem of timing out. I've tried set_time_limit(999999999) and have similarly updated the PHP.INI file - but the system seems to ignore these limits. Looking for a helpful idea. Thanks.
  19. ruffy

    LOST my CONTROL PANEL!

    Perhaps after I visited a website that tried to usurp privileges, I do not have access to a CONTROL PANEL anymore! Luckily I still have RegCleaner to work with if I want to uninstall something. I think perhaps some of my admistrator rights have been taken from me and that's why I don't see the...
  20. ruffy

    ONKEYUP and ONCHANGE events

    As a user types into a textfield, another field generates a new number to reflect each additional letter. For example, &quot;c&quot; yields 1, &quot;ca&quot; yields 3 and &quot;cat&quot; regenerates the number field to, say, 9. The user sees this update as he types in his string. For this we...

Part and Inventory Search

Back
Top