php_flag register_globals on

 
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support
View previous topic :: View next topic  
Author Message
adrianbell
34SP Newbie
34SP Newbie


Joined: 09 Feb 2002
Posts: 29
Location: Darlington, UK

PostPosted: Mon Oct 07, 2013 4:55 pm    Post subject: php_flag register_globals on Reply with quote
Will I stll be able to add "php_flag register_globals on" to my .htaccess file after the migration to the new server?
Back to top
View user's profile Send private message Visit poster's website
philr
Super Member
Super Member


Joined: 05 Nov 2003
Posts: 990
Location: Exeter

PostPosted: Tue Oct 08, 2013 9:23 pm    Post subject: Reply with quote
I wouldn't count on it.

If you're still running a script that depends on this feature, then it's high time you either updated it or replaced it with something better.

PHP's register_globals feature has been disabled by default for over eleven years now, and was removed altogether in version 5.4 (released last year).

By next July, the only versions of PHP that still support register_globals will be completely retired. So they won't even be getting security fixes.

Good riddance, I say.

What on earth do you need this feature for anyway?
_________________
Phil Ronan
フィリップ・ローナン
Back to top
View user's profile Send private message Visit poster's website
adrianbell
34SP Newbie
34SP Newbie


Joined: 09 Feb 2002
Posts: 29
Location: Darlington, UK

PostPosted: Tue Oct 08, 2013 9:30 pm    Post subject: Reply with quote
Thanks for the reply.
Quote:
What on earth do you need this feature for anyway?

I have no idea, I just know that my guestbook and/or mailform won't work without it. I got them ages ago as freeware, I know zip about programming.

<edit>I've tested it and it would appear to be just my mailform that needs this. I used it because it was the only one that I could remotely figure out what was going on. I remember now that the last time I was moved to a different server my guestbook broke, but it turned out it was just that the file permissions had not carried over with the move, don't know if this is normal.</edit>
Back to top
View user's profile Send private message Visit poster's website
philr
Super Member
Super Member


Joined: 05 Nov 2003
Posts: 990
Location: Exeter

PostPosted: Tue Oct 08, 2013 10:44 pm    Post subject: Reply with quote
The scripts you're using are probably extremely old in that case. I bet the spammers are having a whale of a time with them

Check the sites you obtained them from for updates. If you can't remember where they came from, open the PHP script files inside a plain text editor (like Notepad or whatever it's called); there should be a URL near the top of the file somewhere.

Alternatively, take a look at 34SP's script installers page. FormMail should be able to replace your existing contact form without too much difficulty.

This page has a few links to free guestbook scripts that you could use.
_________________
Phil Ronan
フィリップ・ローナン
Back to top
View user's profile Send private message Visit poster's website
adrianbell
34SP Newbie
34SP Newbie


Joined: 09 Feb 2002
Posts: 29
Location: Darlington, UK

PostPosted: Wed Oct 09, 2013 8:35 pm    Post subject: Reply with quote
Thanks for the links, my guestbook will be okay but it looks like I will need a new mail form.
Back to top
View user's profile Send private message Visit poster's website
philr
Super Member
Super Member


Joined: 05 Nov 2003
Posts: 990
Location: Exeter

PostPosted: Wed Oct 09, 2013 9:46 pm    Post subject: Reply with quote
Let me know if you run into problems. FormMail isn't too hard to set up.
_________________
Phil Ronan
フィリップ・ローナン
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group