473,387 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Globals

Hi,

I just purchased my first Mac which I will be using as a standaone web
development machine. It shipped with Apache 1.3, but being a longtime
windows user I can't seem to figure out how to turn on the Global
variables, or even find the configuration files. I'm currently running
PHP 5.0.4.

Any help would be greatly appreciated as I am going insane trying to
figure this out.

Thanks for your help,

Kevin
Dec 21 '05 #1
2 1195
Global variables that you might want to use are enabled by default. If
you want to use the global variables that have been disabled since
4.2.0, you might want to refer to
http://www.php.net/manual/en/languag...predefined.php

Steve Doria
http://blog.stevedoria.net/

Kevin Cloutier wrote:
Hi,

I just purchased my first Mac which I will be using as a standaone web
development machine. It shipped with Apache 1.3, but being a longtime
windows user I can't seem to figure out how to turn on the Global
variables, or even find the configuration files. I'm currently running
PHP 5.0.4.

Any help would be greatly appreciated as I am going insane trying to
figure this out.

Thanks for your help,

Kevin

Dec 21 '05 #2
Hi Steve,

Thanks, I think I am so used to this being way more difficult than it
shouild (i.e. windows), that I am over thinking everything.

Again, thanks for the help,

Kevin
Steve Doria wrote:
Global variables that you might want to use are enabled by default. If
you want to use the global variables that have been disabled since
4.2.0, you might want to refer to
http://www.php.net/manual/en/languag...predefined.php

Steve Doria
http://blog.stevedoria.net/

Kevin Cloutier wrote:
Hi,

I just purchased my first Mac which I will be using as a standaone web
development machine. It shipped with Apache 1.3, but being a longtime
windows user I can't seem to figure out how to turn on the Global
variables, or even find the configuration files. I'm currently running
PHP 5.0.4.

Any help would be greatly appreciated as I am going insane trying to
figure this out.

Thanks for your help,

Kevin

Dec 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: lawrence | last post by:
I get the impression that most people who are using objects in their PHP projects are mixing them with procedural code. The design, I think, is one where the procedural code is the client code, and...
5
by: Frostillicus | last post by:
I'm trying to use array_multisort to sort by one of the dimensions of an array stored in $GLOBALS like this: array_multisort($GLOBALS, SORT_STRING, SORT_DESC); Each "row" in $GLOBALS contains...
7
by: John | last post by:
Hi, I'm looking for the best way to deal with globals in PHP. As a 'C' software developer, I would normally avoid all globals and not have any at all, but use structs and pass everything in...
3
by: Robert Dodier | last post by:
Hello, I'm interested in introducing new variables into the environment of a Python interpreter or program. In reading through old posts to this newsgroup, I see there is an often-repeating...
2
by: tedsuzman | last post by:
----- def f(): ret = 2 exec "ret += 10" return ret print f() ----- The above prints '12', as expected. However,
45
by: It's me | last post by:
I am new to the Python language. How do I do something like this: I know that a = 3 y = "a" print eval(y)
2
by: DFS | last post by:
Not sure whether it's bad programming practice or not, but I have a module of globals I declare in each system: Global ws As Workspace Global db As Database Global td As TableDef Global rs As...
2
by: xml0x1a | last post by:
How do I use exec? Python 2.4.3 ---- from math import * G = 1 def d(): L = 1 exec "def f(x): return L + log(G) " in globals(), locals() f(1)
5
by: Steven W. Orr | last post by:
I have two seperate modules doing factory stuff which each have the similar function2: In the ds101 module, def DS101CLASS(mname,data): cname = mname+'DS101' msg_class = globals() msg =...
1
by: cokofreedom | last post by:
if __name__ == '__main__': print "Globals (For Loop):" try: for i in globals(): print "\t%s" % i except RuntimeError: print "Only some globals() printed\n" else: print "All globals()...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.