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 Chriss Miller 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: peterv12
  • Content: Threads
  • Order by date
  1. peterv12

    Newbie needs Apache Test Certificate help!

    I am running a web server on my localhost using XAMPP. I'm running on a MacBook Pro using OS X 10.6.7. I've searched the web looking for information, but found nothing that helps. I want to establish an https session, and from what I understand, I need to configure Apache to use the test...
  2. peterv12

    MySQL Workbench - Can't connect to MySQL databases

    I'm having trouble with MySQL workbench on Snow Leopard. I use XAMPP to connect to MySQL, and it works perfectly, and connecting from the terminal command prompt works perfectly as well. When I attempt to connect using MySQL workbench, however, I get the following error: "Failed to Connect to...
  3. peterv12

    fetch vs. fetch_object in PDO, which to use when?

    I've searched the PHP documentation, and can't find an answer for this. When coding PHP using PDO, what is the difference between using fetch and using fetch_object? Everything I've read about them seems to say they do exactly the same thing. Thanks, Peter V.
  4. peterv12

    Parse error: syntax error, unexpected T_Class in Box.php

    I'm attempting to learn OOP PHP using a tutorial I found on the web. I'm running the code in an OS X terminal. The code is: <? php class Box { var $contents; function Box($contents) { $this->contents = $contents; } function get_whats_inside() { return...
  5. peterv12

    PHP Can't connect to MySQL

    I'm trying to connect to a MySQL database, PROJECT1, using a PHP script. This works perfectly in OS X, but when I run this in Kubuntu Linux, the first echo statement executes, displaying "before link....", then nothing happens. It should display the "after link...." echo statement. <?php //...
  6. peterv12

    Connection script not working....

    I'm not sure if this should be in the MySQL section, or the PHP, so if it should be elsewhere please let me know. I have a small PHP/MySQL project. It has a PHP front end that connects to a MySQL database. It works perfectly on OS X, but when I attempt to run the script on Kubuntu Linux, it...
  7. peterv12

    Can't connect to machine on LAN

    I'm running a small home network, with 3 Windows XP Pro SP3 machines and one OS X Snowleopard MacBook Pro. I've run this network for a few years, but one of the XP machines hard drives died, so I had to replace it and reinstall XP. I've added it back onto the network, but now it asks for a...
  8. peterv12

    SPFSE on XP SP3

    Has anyone had any success in getting REXX edit macros to work on SPFSE? I have SPF PRO 5.03, but SE changed to use C instead of REXX. MARK MACDONALD posted about a year ago that he had gotten REXX working, so I'm hoping someone can help me out. Thanks, Peter V.
  9. peterv12

    How to make a Unique Multiple column (from multiple tables) Index

    I have a small database with 2 tables. One is mybooks, one is myauthor. What I want to do is create a unique multiple column index from columns in each table. What I'd like is essentially this: From books table: Title From authors table: Name New Unique Index: Title+Name Where the New...
  10. peterv12

    PHP/MYSQL connection problem on OS X Snow Leopard

    I have a MYSQL database that I process using a PHP front-end. These run on a MacBook Pro using OS X Snow Leopard 10.6.4. This worked fine until a few days ago when I did a system update. At that point, I started getting the following message: Warning: mysql_connect() [function.mysql-connect]...
  11. peterv12

    Is there any way to display the passwords in the user table?

    I have a few old mysql databases and have forgotten the user passwords. I know that I can delete the old users and recreate them, but is there a way that I can display what their current passwords are in a readable form?
  12. peterv12

    Can't log into XP from OS X - password problem

    I'm running a home network with 3 Windows XP Professional SP3 machines, named server0, server1, and server2. From server0 I can login to both server1 and server2. From server1 I can only log into server2. From server 2 I can only log into server 1. Whenever I attempt to login to server 0...
  13. peterv12

    How to assign the contents of a variable to an array

    I have a variable that contains the following: var1 = "01","02","03","04" I want to put the contents of that variable into an array. I'm new to Ruby, so this is something I haven't tried before, and I don't know if it can be done. I tried: a1 = Array.[](#{var1}) thinking that that would...
  14. peterv12

    Java Exception for an invalid login to MySQL server?

    I'm new to java, so please be kind. I've written a little java script that displays a login screen, with username and password. It works fine, except when an invalid username or password is entered. It just blows up (as expected). What I'd like to know is if there is some way to code a...
  15. peterv12

    How to use MySQL DBI with Ruby

    I'm attempting to install the MySQL DBI for Ruby in Kubuntu Linux. I'm running the extconf.rb script to install it, and I get the following errors. Unfortunately, I have no idea what they mean or how to fix them. Can someone please help me out? Thanks... peterv@MBP17K10<930>$: ruby...
  16. peterv12

    DBD Module - version mismatch

    I have a version mismatch for the DBD module: Mon Apr 19 09:43:29 EDT 2010 /Library/Perl/DBD-mysql-4.011 -> peterv@MBP17.local<515>$: db.pl | tee ~/DBI_Mismatch.log DBI object version 1.609 does not match $DBI::VERSION 1.608 at /opt/local/lib/perl5/5.10.1/darwin-multi-2level/DynaLoader.pm line...
  17. peterv12

    DBD Module - can't install, can anyone help me out?

    I've been trying for days to install the DBI & DBD modules for Perl & MySQL. I finally got the DBI module installed, but not the DBD. Below is the output from the makefile script. Can anyone help me figure out how to fix the problems? I'm a newbie at this, and I really need to get it to...
  18. peterv12

    MySQL - How to stop it and uninstall.

    I need to uninstall MySQL from OS X Snow Leopard. When I tried to shut down the server using "sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist" it closed my terminal window. I restarted terminal, and found MySQL was still running. Can anyone tell me how to stop the server...
  19. peterv12

    Anyone know how to upgrade from 5.8 to 5.010 on OS X?

    I'm running Perl 5.8.9 on OS X Snow Leopard, and I want to upgrade to the latest Perl, version 5.010. I've searched the web for directions, and have found none. Since I've never upgraded a Perl installation, I'd like to get directions from someone who really knows how to do it. If you know...
  20. peterv12

    How can I modify UNIQUE key on this table?

    I have a books table that I created using this script: CREATE table MYBOOKS (bookid INT NOT NULL PRIMARY KEY AUTO_INCREMENT, authorid INT NOT NULL, title VARCHAR(60) NOT NULL, isbn VARCHAR(13), type VARCHAR(20) NOT NULL, cover_type VARCHAR(10) NOT NULL, pages INT, copyright YEAR...

Part and Inventory Search

Back
Top