473,569 Members | 2,799 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 1173
"Simon Lee" <si***@yahoo.co m> kirjoitti
viestissä:dn*** *******@nnews.p acific.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_global s setting in your php.ini...

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

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

Similar topics

2
2073
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 computation)? In particular, I know earlier versions of RH shipped with an "old" Python installed as "python" and that installation of more recent versions...
1
1983
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 RedHat 7.3? I am unable to find an RPM that will install on my RedHat. I run into the following scenario described in the Python FAQ. I know...
2
3738
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 (the first was required for Python 2.3.3 on RedHat 9): ../configure --prefix=/net/python --enable-unicode=ucs4 ../configure --prefix=/net/python...
2
3500
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 do bypass this since I am clearly using a higher version of Redhat.
3
1798
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
2307
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 > /var/www/html/crohns/phpBB2/db/postgres7.php on line 79 Your PHP doesn't have support for PostgreSQL. Look at phpinfo();
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 bundle versions of PostgreSQL for the latest redhat. Is there going to be a RedHat 10? Or are we all supposed to choose a path of RH Enterprise vs...
1
1777
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 that i could use to refer too. I checked the IBM site but there is not much information available regarding certification
4
2632
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 access the database residing on the Solaris box via PHP page. The IBM site has tips on how PHP pages accessing DB2 database. The example given is...
15
2396
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 downloaded from ftp://ftp15.us.postgresql.org/binar...dhat/refhat-9/.
0
7697
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5512
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2113
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 we have to send another system
0
937
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.