New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Localhost help...


Post Reply New Thread Subscribe

 
Thread Tools
zbowles

 
Member Since: Mar 02, 2012
Posts: 2
zbowles is on a distinguished road

zbowles is offline
I'm learning how to play with MySQL and PHP. I noticed when I was writing $hostname, $username, $password that my hostname using MAMP was too long in the browser. I'd like it to just be Localhost. not http://localhost:8888/MAMP/?language=English

Does anybody know I can change it?
QUOTE Thanks
dekan

 
dekan's Avatar
 
Member Since: Mar 16, 2007
Posts: 756
dekan is a jewel in the roughdekan is a jewel in the rough

dekan is offline
Where are you "writing" $hostname? And what is it too long for? Not sure if I understand this right.

The first thing I can see in your URL is that you could change your port from 8888 to the standard port 80. That way it doesn't have to be typed into the URL anymore.

Hope that helps!

QUOTE Thanks
zbowles

 
Member Since: Mar 02, 2012
Posts: 2
zbowles is on a distinguished road

zbowles is offline
MAMP defaults to that name that describes port location and my language. A friend of mine went into Terminal once an renamed it. I would just like not to type the whole address because I am lazy. So lazy, in fact, that I'm willing to spend hours finding out how to do this.
QUOTE Thanks
dekan

 
dekan's Avatar
 
Member Since: Mar 16, 2007
Posts: 756
dekan is a jewel in the roughdekan is a jewel in the rough

dekan is offline
Hum.. I'm using XAMPP (apache friends - xampp) which just defaults to port 80 so it's just "http://localhost" when going to my local site.

What happens if you change the port and go to localhost in your browser? I wouldn't think you always have to add the language...

QUOTE Thanks

Post Reply New Thread Subscribe


« Iweb and Rss | web hosting »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Kext causing kernel panic? Need help troubleshooting, please. paolobrolin OS X - Development and Darwin 6 12-02-2011 10:05 AM
Display Freezes and eventually the computer Dermiroth OS X - Operating System 35 10-26-2010 03:50 PM
Macbook clean install error! thorsonb OS X - Operating System 5 01-17-2010 05:25 PM
Random shutdowns!! thebruiser Apple Notebooks 7 09-08-2008 03:51 AM
Mac Pro keeps crashing when using with KVM. where to start my investigation? AlexUK Apple Desktops 6 06-20-2007 06:50 AM

All times are GMT -4. The time now is 02:25 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?