SunQuest
 
           PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 13th, 2003, 03:39 PM
clownx clownx is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Texas
Posts: 1 clownx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
variables not posting on localhost php server

Hi, can anybody help me figure out why on a form method=post with action to a php file, will not post the variable on localhost? but when i upload them to my webserver, it works fine! what am I doing wrong?

Reply With Quote
  #2  
Old February 13th, 2003, 05:49 PM
Niall Niall is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 4 Niall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi, could it be, that the problem is register_globals = off ?
Have you tried using $_POST['username'] to get the variables on the localhost server?

May be the local server has a newer version of PHP with the register_globals switched off, which means you can't pass the variables just as $name.

All the best,

Niall

Reply With Quote
  #3  
Old February 14th, 2003, 06:47 AM
jonpass jonpass is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: South East England
Posts: 10 jonpass User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
or...

or perhaps try

method="POST" or method="_POST" sometimes depending on the server that works.

then try $_POST['variablename']

jon

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > variables not posting on localhost php server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway