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.

php on localhost: screwed up linking


Post Reply New Thread Subscribe

 
Thread Tools
Dantana

 
Member Since: Mar 07, 2012
Posts: 1
Dantana is on a distinguished road

Dantana is offline
About a year ago, I wrote a module in PHP for a membership register/login. I was not into MySQL at the time, so the database is a simple text file. Development was done on my website on a remote server using Safari.

I've recently installed MySQL 5.5 and enabled WebServer (MacBook OS 10.6). Having rewritten the registration pages, I proceeded to rewrite the login pages. The first login page is HTML using an input form that passes the info to a PHP page for processing.

The problem is, instead of loading the PHP on my localhost, it redirects to where I had the old module on my website.

I completely rewrote the HTML into a new document, renamed all the pages (including the redirect - action="login.php" changed to action="accept-member.php"). I also installed Firefox but same thing.

Even after changing the "action=" script, the browser still goes looking for "login.php" on my remote website.

This is driving me crazy and has brought my development to a standstill.

To any replies, I'm a SQL newbie.
QUOTE Thanks

Post Reply New Thread Subscribe


« Good way to learn Ruby On Rails??? | Checking a phishing/key-logging site. »
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 09:05 AM
Display Freezes and eventually the computer Dermiroth OS X - Operating System 35 10-26-2010 02:50 PM
Macbook clean install error! thorsonb OS X - Operating System 5 01-17-2010 04:25 PM
Random shutdowns!! thebruiser Apple Notebooks 7 09-08-2008 02:51 AM
Mac Pro keeps crashing when using with KVM. where to start my investigation? AlexUK Apple Desktops 6 06-20-2007 05:50 AM

All times are GMT -4. The time now is 12:13 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?