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...
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...
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.
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...
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
//...
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...
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...
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.
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...
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]...
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?
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.