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!
Incidentally, when I try and load my example PHP file, it starts out with
here"; echo "
"; echo "
"; //print list of everyone in users table. $result = >mysql_query("SELECT * from users"); while($row=mysql_fetch_array($result)){ //print_r($row); echo ""; echo $row["fname"] . " " . $row["lname"] . "
"; echo ""; } ?>
...as the header. It's just not loading it. I can open the MAMP widget and see that Apache has a green light, as well as MySQL -- there's no indicator for PHP nor does there seem to be intended to be.
Through the MAMP preferences, I can tell you that the Apache port is definitely 8888.
What's the name and location of your example file?
Daniel, thank you. I looked it up and got so confused I turned to cursing and ice cream. The driver installed and it seems to be okay, though I've yet to actually try scanning anything.
omnis, it sounds like a great idea to me. The only reason not to do it is because it'll cost money to put it in place. You'd have to give them some convincing numbers to show that it would lower their costs over time (not a long time, either) enough to be worth it. If this sort of thing already exists somewhere and is profitable - saves more money than it costs - that'll help your case a lot.
The example file is where the extremely sketchy MAMP documentation insists it should go:
/Applications/MAMP/htdocs/listing6-1.php
The error reads:
Not Found
The requested URL /MAMP/htdocs/listing6-1.php was not found on this server.
Apache/2.0.59 (Unix) PHP/5.2.1 DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7l Server at 127.0.0.1 Port 8888
The URL is
http://127.0.0.1:8888/MAMP/htdocs/listing6-1.php
As I read the above, it looks like PHP is indeed started, from the error message, and filepath is resolving into something that should work.
Except it doesn't.
:: tears hair a little more ::
What do you see when you just go to [link] ? And when you go to [link] ?
And simultaneously in another window, I'm able to run phpMyAdmin SQL commands just fine, open up tables and do operations directly in SQL.
have you tried http: //127.0.0.1:8888/listing6-1.php ?
eta: x-post, of course