Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM php question

date posted 8th December 2002 23:38

If it is off you can turn it on by changing the php.ini file or via an
.htaccess file.

You can in theory also turn it on via the script itself but by the time
the script actions that request it is too late!.

However.

Ensure that it is turned off and keep it off. If you are learning PHP
get used to it being off, it is safer and better that way and it is
possible that future versions will not allow it to be turned on at all.

If however you are installing existing software then you may have to
turn it on.

BTW: If learning PHP then any book written for a version of PHP 4.2.0 or
below will not be entirely correct for current versions, a common
example is that they often tell you to use commands like
session_register whereas with register_globals being off you should
never use that particular command (according to the latest version of
the manual). So treat sections regarding autoglobals like POST, GET,
SESSION and COOKIE variables with care.

Regards


---
www.galcomp.net - Full Featured Web hosting
www.cvdb.info - Free CV storage and autoresponder


-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] On Behalf Of Darren Beale
Sent: 08 December 2002 22:16
To: [EMAIL REMOVED]
Subject: Re: FN-FORUM php question


> PHP 4.2.3 is installed on the server so I should use $_POST then for
> collecting the data.

Almost certainly yes although FYI create a one liner page, put the
following in it



You'll get lots of useful environment info, and find out if register
globals is actually turned on or not.

;D

--
Darren Beale - Acksys Ltd
Office: 020 8530 1454
Fax: 07092 394822
Mobile: 07711 716197
http://www.acksys.co.uk

* i just made that up




========
Advertise with Freelancers.net +Additions+
http://www.freelancers.net/advert.php


Freelancers and Freelance Jobs:
http://www.freelancers.net

Forum FAQs:
http://freelancers.netrickery.com

To unsubscribe please email:
[EMAIL REMOVED]

If you have difficulties unsubscribing please email:
[EMAIL REMOVED]



Messages by Day
December 31st 2002
December 30th 2002
December 29th 2002
December 28th 2002
December 27th 2002
December 26th 2002
December 25th 2002
December 24th 2002
December 23rd 2002
December 22nd 2002
December 21st 2002
December 20th 2002
December 19th 2002
December 18th 2002
December 17th 2002
December 16th 2002
December 15th 2002
December 14th 2002
December 13th 2002
December 12th 2002
December 11th 2002
December 10th 2002
December 9th 2002
December 8th 2002
December 7th 2002
December 6th 2002
December 5th 2002
December 4th 2002
December 3rd 2002
December 2nd 2002
December 1st 2002


Messages by Month
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000