Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses

WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses

Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-11-30, 08:30 AM   #1
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Fucking PHP


Any guesses on why a php form using 'post' would not work? It has worked just dandy on 3-4 consecutive hosts, but doesn't do anything except reload the page on my newest one. No errors are printed, not even if the form is left blank.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-11-30, 09:39 AM   #2
rich06
Internet! Is that thing still around?
 
Join Date: Oct 2004
Location: French Riviera
Posts: 7
Send a message via ICQ to rich06
i'd guess that it's because on your new host register_globals is off. Does your code rely on register_globals being on?

run phpinfo() to see if it is set to off or on.

what does var_dump($_POST) show when you put it on the top of your script that processes the form data?

hth
rich
__________________
ICQ# 6820996
rich06 is offline   Reply With Quote
Old 2005-11-30, 10:21 AM   #3
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Yup, globals are off. I've got a ticket into my host now to edit my php.ini. I shell'd in and tried to edit it myself, but it said I didn't have permission. Don't know why I have root access if I can't do anything...

var_dump($_POST) produces an error.

Thank you, fingers crossed.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-11-30, 10:33 AM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
in your .htaccess, try

php_flag register_globals on
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-11-30, 10:47 AM   #5
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by cd34
in your .htaccess, try

php_flag register_globals on
You, sir, are far too good to me.

Thanks, Chris - it works like a charm.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-11-30, 12:51 PM   #6
rich06
Internet! Is that thing still around?
 
Join Date: Oct 2004
Location: French Riviera
Posts: 7
Send a message via ICQ to rich06
if your script ain't too complex then try and get it changed to to run in a globals off compliant fashion as that will run fine in both scenarios and will be future proof for when php drops support completely for register_globals....

just a thought

rich
__________________
ICQ# 6820996
rich06 is offline   Reply With Quote
Old 2005-11-30, 03:04 PM   #7
Dr Bizzaro
I'm not interested in the facts, I'm interested in my opinion.
 
Dr Bizzaro's Avatar
 
Join Date: Apr 2003
Location: Chicago
Posts: 1,620
Send a message via ICQ to Dr Bizzaro
Did you try banging or kicking the side of your harddrive?

That use to work on an old TV of mine.
Dr Bizzaro is offline   Reply With Quote
Old 2005-11-30, 03:27 PM   #8
Chop Smith
Eighteen 'til I Die
 
Chop Smith's Avatar
 
Join Date: Apr 2003
Location: Mississippi
Posts: 2,168
Send a message via ICQ to Chop Smith
Damn, I came in here thinking I was going to read a racy story about a new lady with the initials PHP.

In additon to being a smart cocksucker, Sparky has to be a nice guy.
__________________
Chop Smith is offline   Reply With Quote
Old 2005-11-30, 04:06 PM   #9
Agent
You can now put whatever you want in this space :)
 
Join Date: May 2004
Posts: 631
Quote:
Originally Posted by Chop Smith
Damn, I came in here thinking I was going to read a racy story about a new lady with the initials PHP.
I thought it was going to be a post about kids using and getting high off PHP. All the kids are using it these days I hear.
__________________
Brihana.com
Agent is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 03:22 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc