473,503 Members | 6,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP problem for redhat 9

Dear all,

My php webpages can be ruun normally, However, when they are moved to the
other server with Redhat 9, some following problems about php will occur,

1. when the webpage is linked to other page
http://www.xxx.com/index.php?item=Aboutus,
the "item" variable "Aboutus" is no longer valid, Why? How to tackle such
problem them?
Does the new version of php no longer support such function,

Regards,
Simon

Dec 5 '05 #1
1 1167
"Simon Lee" <si***@yahoo.com> kirjoitti
viestissä:dn**********@nnews.pacific.net.hk...
Dear all,

My php webpages can be ruun normally, However, when they are moved to the
other server with Redhat 9, some following problems about php will occur,

1. when the webpage is linked to other page
http://www.xxx.com/index.php?item=Aboutus,
the "item" variable "Aboutus" is no longer valid, Why? How to tackle such
problem them?
Does the new version of php no longer support such function,

This is by far the most common question about php. It is asked on daily
basis in php-related forums. The thing is, as you suspected, that they've
changed the functionality of that feature. The variables no longer exist by
default, but you use $_REQUEST, $_POST and $_GET to read them. so instead of
$item, you'd use $_GET['item'] in your code. to read more about it, see
http://fi.php.net/register_globals and to change it back the way it worked
in the old server, edit the register_globals setting in your php.ini...

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <an*******************@gmail.com.NOSPAM.invalid>
Dec 5 '05 #2

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

Similar topics

2
2072
by: Tom Loredo | last post by:
Hi folks- I'm about to move from a Solaris 8/SPARC environment to a Dell running RedHat 9. Are there any issues I need to be aware of in bringing my Python code over (mostly scientific...
1
1976
by: Sebastian Knoop-Troullier | last post by:
I'm having a lot of trouble with Python2.3 on Redhat 7.3 As this is a requirement for the new unstable versions of TMDA I am trying to get this up and running. Is anybody else running Python2.3 on...
2
3733
by: Russell E. Owen | last post by:
I'm trying to build Python 2.3.4 from source on a RedHat Enterprise machine for installation in a net-wide accessible directory /net/python. I tried all of the following variants of ./configure...
2
3484
by: tim | last post by:
I was trying to install Oracle on a Linux box with Redhat and got an error message saying the OS had to be Redhat 2.1 or 3.0 (plus some other non-Redhat versions). Does anyone know what I have to...
3
1791
by: Martin | last post by:
Hi where can I get a free copy of My SQL. I'm running Redhat 9.0 on my laptop. I looked at www.mysql.com but was a bit confused as to which package I need to download. Martin
11
2301
by: Daniel E. Fisher | last post by:
> I can't get a rest for a min guys. > > I go away for the weekend and my server is getting this error. > > Fatal error: Call to undefined function: pg_connect() in >...
4
2296
by: D. Dante Lorenso | last post by:
This isn't entirely PG related, but... Does anyone know what the natural upgrade path from RedHat 9 is? I'm wondering if anyone on the PostgreSQL team is working with redhat to package and...
1
1769
by: Uthuras | last post by:
Greetings all, I would like to know whether DB2 6.1 certified to run on RedHat 7.2. I'm unable to find the certified version of DB2 on Redhat platform on the web. Has anyone know any site...
4
2619
by: Uthuras | last post by:
Greetings All, I have situation as such that I need to access the DB2 database reside on a Solaris box. I have DB2 6.1 on my Solaris box. However, my webserver is on Redhat 7.2. Now, I want to...
15
2393
by: Manuel Tejada | last post by:
Hello list This is my situation: My box: Pentium III, Red Hat 9.0 I was working fine with PostgreSQL 7.3.2. Recently I decided to upgrade it to PostgreSQL 7.4 installing the twelve rpms I...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7291
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,...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.