Thanks jpadie! I did some more searching of the PHP manual after reading your reply, and it makes sense now!
PETERV
17" MacBook Pro
Snow Leopard 10.6.7
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.
papadba,
FYI, the reply from CTC is incorrect. I was an original beta-tester for their original SPF/PC product in the late 80's. SPF/PC does, in fact support REXX edit macros as it's only macro language. SPF PRO 5.03 is the last version of CTC's product that uses REXX as their macro language...
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...
Thanks to all. What I did was reinstall PHP. It seems that the original installation must have been missing something, because it all works now. I do, however have two new questions:
jpadie, I'm new to PHP, so I'm learning it as I go along by searching web tutorials. die is what I've found...
Guys, I thought I had already posted a reply to your replies, but thank you both for the informaion. The initial problem was resolved by Don's suggestion to check the php.ini file. I've also removed the 'PROJECT' parameter per ingresman's suggestion, but I'm getting the following error now...
ingresman, I understand. I posted over there because I thought this one might be the wrong place. I didn't know how to close this one, before opening that one. Sorry.
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...
jpadie,
Thank you. This worked (as you probably knew that it would.) I am a little confused, however. I am a novice at this type of programming, but I have been using the 'localhost' literal for months, and it's worked just fine. The problem started a few days ago when Apple released an OS X...
I thought I needed to have the old password to change it. Everything I read said <old password> <new password>. If this isn't the case, would you mind posting the correct syntax for me?
Thanks...
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.