Forum

php global variables??

Neil-C

Neil-C

Messages count : 11
Likes count : 0
Registration : 20 December 2007
Contact in PM
Hi im new to php and having problems with a script i am writing.

i have this line of code

$SERVER["PHP_SELF"];

however when i run the script i am getting this error:

Notice: Undefined variable: SERVER in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\manage.php on line 7



i have tried setting the register_globals to On in php.ini and various other things but cant seem to get this to work, do i need to edit anything in the Apache Server settings, really getting me frustrated! :mad2

Connecting tech talent

Free-Work THE platform for all IT professionals.

Its contents and its IT job board are 100% free of charge for contractors and freelancers.

Free-workers
Resources
About
Recruiters area
2024 © Free-Work / AGSI SAS
Follow us

FreelanceUK has moved to Free-Work

We would like to welcome you to Free-Work, an international platform dedicated to supporting IT freelancers and contractors with their professional journeys in the tech industry.

FreelanceUK news, guides and resources, including the forum, have now moved to Free-Work, where we will continue to report on everything from tax issues and market demand to freelancing tips and technology trends. You can also search the latest IT contracts and freelance tech job opportunities on our jobs page.

💡 Good to know: Your forum profile remains the same. To login, nothing could be simpler, all you need to do is use your email linked to your FreelanceUK account and your password.

Enjoy your visit!

The Free-Work team

FreelanceUK