You know, with the exception of one deadly and unpredictable midget, this girl is the smallest cargo I've ever had to transport. Yet by far the most troublesome. Does that seem right to you?

Early ,'Objects In Space'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Laga - Jul 29, 2007 10:29:09 am PDT #2270 of 25496
You should know I'm a big deal in the Resistance.

I'm holding it right in front of the screen but it still says it can't find it!


NoiseDesign - Jul 29, 2007 10:36:09 am PDT #2271 of 25496
Our wings are not tired

You need to hold it in front of the webcam.


Theodosia - Jul 29, 2007 10:46:52 am PDT #2272 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

I've got MAMP (Mac - Apache - MySQL - PHP) installed on my iBook just fine, and I can run PHPadmin app with queries against MySQL tables just fine. But how do I 'run' a PHP program? Loading the .PHP file into my Firefox browser doesn't seem to work, and of course the stupid instruction book I have (MySQL Weekend Crash Course) doesn't say how you actually i start the model PHP files they supply running.

I can wait until tomorrow and buy a better instruction book, but geez, I feel pretty useless when I don't even have a clue as to how to proceed.


Kevin - Jul 29, 2007 10:53:11 am PDT #2273 of 25496
Never fall in love with somebody you actually love.

Open your Firefox, go to [link]

You go via the web server (Apache) on your laptop (127.0.0.1)


amych - Jul 29, 2007 10:58:53 am PDT #2274 of 25496
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Where are you storing the files? If you're using the version of Apache that comes with the Mac, php is automatically enabled, but you'll need to be sure to store your files in the Sites folder inside your home folder. (It's possible to tweak Apache to use something else, of course, but for now, easiest to go with the default.)

edit: and after that, what Kevin said (which I should've made more clear). But trying to open files that are on the desktop or wherever is the most common mistake I see with this.


Theodosia - Jul 29, 2007 11:03:13 am PDT #2275 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

When I followed Kevin's link, I got an error:

Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1.

MAMP actually does run right on the Mac, and stores the database files under the Applications folder. I can run queries against them just fine, but when I try to open the .PHP file, it gives a screen with obvious errors in it that makes it clear that the boxes are not being filled by the MySQL queries that the PHP is supposed to be running.


Theodosia - Jul 29, 2007 11:04:33 am PDT #2276 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

And damn, I just realized I'm late to meet a friend. Back to this problem later. SIGH


Kevin - Jul 29, 2007 11:14:22 am PDT #2277 of 25496
Never fall in love with somebody you actually love.

Theodosia, when you go into PHPMyAdmin, what does the address bar look like? I don't know how MAMP works, but it might be running on a different port. In which case it's [link] (if 6000 was the port). amych's advice is also very correct.


amych - Jul 29, 2007 11:14:35 am PDT #2278 of 25496
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

It sounds like apache isn't running, if it can't find localhost. But I need to get out of this thread too!


DCJensen - Jul 29, 2007 1:32:22 pm PDT #2279 of 25496
All is well that ends in pizza.

Did you turn on personal web sharing in System Preferences?