php-install Digest 24 Sep 2002 13:57:29 -0000 Issue 1037
Topics (messages 8538 through 8555):
[EMAIL PROTECTED]
8538 by: Bàn
Variable and submit
8539 by: Bàn
8543 by: Peter Houchin
8546 by: Bàn
Submit variable between different pages
8540 by: Bàn
8541 by: Pierre-Alain Joye
Hey I am currently running an apache 1.3.26 and trying to get php 4.2.3 as a cgi
running.
8542 by: Richard Davies
8544 by: Peter Houchin
Install PHP with IIS 5/W2K
8545 by: Pascal S.
Re: [PHP-WIN] Install PHP with IIS 5/W2K
8547 by: Phil Driscoll
Re: im a PHP newbie, please help :D
8548 by: Chris Hewitt
Re: Configure error PHP4.2.3 / Mandrake 8.2
8549 by: Rune Kallhovd
Thanks
8550 by: DAn
Variable Lenght limitation with in PHP/Oracle
8551 by: Marco Voli
Where is php.ini?
8552 by: Stewart Dean
8553 by: Moraes, Fabio
Mysql, PHP and a wrapper
8554 by: Brian.Duke.Level3.com
Re: Configuring PHP
8555 by: Luck
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
----- Original Message -----
From: "PHP Lists Automoderator" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 9:07 PM
Subject: PHP list posting confirmation for [EMAIL PROTECTED]
> Because you are not subscribed to "[EMAIL PROTECTED]"
> using the email address "[EMAIL PROTECTED]", your message
> has been held until you can confirm that you are a real person sending
> mail.
>
> All you have to do in order to have your original message sent is send
> an email to [EMAIL PROTECTED] with the following text (square
> brackets and all):
>
> [confirm: d31f508dff52fa99949b3ebb3e798ec0 [EMAIL PROTECTED]]
>
> which you should be able to do simply by responding to this email.
> (Don't worry, any leading text added for quoting will simply be
> ignored.)
>
> After we have received your confirmation, "[EMAIL PROTECTED]"
> will be added to the list of pre-approved mail addresses for all of
> the PHP mailing lists, your original message will be delivered, and
> future emails from that address will be posted to the list
> automatically.
>
> You will not receive any confirmation of your confirmation -- your
> original message (and any other messages you have sent since then)
> will simply be sent to its original destination (possibly after a
> short delay).
>
> Sorry for the hassle, but the volume of unsolicited commercial
> email sent to PHP mailing lists has made this step necessary.
>
> (Note that the newsgroups available at news://news.php.net/ are
> simply gateways to the mailing lists, which is why you may have
> gotten this email as a result of posting to those newsgroups.)
>
> --- Your original email is below.
>
> Received: (qmail 66581 invoked by uid 1007); 24 Sep 2002 01:07:10 -0000
> Message-ID: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> From: "Bàn" <[EMAIL PROTECTED]>
> Subject: Submit variable between different pages
> Date: Mon, 23 Sep 2002 21:05:32 -0400
> Lines: 8
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> X-Posted-By: 24.58.18.227
>
> Strange, I don't know what is going on with the current version 4.2.3.
> However, with version 4.1.2, I was able to make a variable from one page
> and hit a submit, the next page that processes the submit was able to
> recognize the variable. Unfortunately, version 4.2.3 doesn't allowed
that.
> I'd tried to make the variable global too but NO lucks. So could someone
> please tell me how to get around this problem with the newer version?
>
--- End Message ---
--- Begin Message ---
> Strange, I don't know what is going on with the current version 4.2.3.
> However, with version 4.1.2, I was able to make a variable from one page
> and hit a submit, the next page that processes the submit was able to
> recognize the variable. Unfortunately, version 4.2.3 doesn't allowed
that.
> I'd tried to make the variable global too but NO lucks. So could someone
> please tell me how to get around this problem with the newer version?
--- End Message ---
--- Begin Message ---
check global vars in php.ini bet u that it's off check out the chanages
for that build of php
> -----Original Message-----
> From: Bàn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 24 September 2002 11:33 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Variable and submit
>
>
> > Strange, I don't know what is going on with the current version 4.2.3.
> > However, with version 4.1.2, I was able to make a variable
> from one page
> > and hit a submit, the next page that processes the submit was able to
> > recognize the variable. Unfortunately, version 4.2.3 doesn't allowed
> that.
> > I'd tried to make the variable global too but NO lucks. So
> could someone
> > please tell me how to get around this problem with the newer version?
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
thanks, good call. i'll try again.
"Peter Houchin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> check global vars in php.ini bet u that it's off check out the chanages
> for that build of php
>
> > -----Original Message-----
> > From: Bàn [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 24 September 2002 11:33 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Variable and submit
> >
> >
> > > Strange, I don't know what is going on with the current version 4.2.3.
> > > However, with version 4.1.2, I was able to make a variable
> > from one page
> > > and hit a submit, the next page that processes the submit was able to
> > > recognize the variable. Unfortunately, version 4.2.3 doesn't allowed
> > that.
> > > I'd tried to make the variable global too but NO lucks. So
> > could someone
> > > please tell me how to get around this problem with the newer version?
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--- End Message ---
--- Begin Message ---
Strange, I don't know what is going on with the current version 4.2.3.
However, with version 4.1.2, I was able to make a variable from one page
and hit a submit, the next page that processes the submit was able to
recognize the variable. Unfortunately, version 4.2.3 doesn't allowed that.
I'd tried to make the variable global too but NO lucks. So could someone
please tell me how to get around this problem with the newer version?
--- End Message ---
--- Begin Message ---
On Mon, 23 Sep 2002 21:05:32 -0400
"Bàn" <[EMAIL PROTECTED]> wrote:
> Strange, I don't know what is going on with the current version 4.2.3.
> However, with version 4.1.2, I was able to make a variable from one page
> and hit a submit, the next page that processes the submit was able to
> recognize the variable. Unfortunately, version 4.2.3 doesn't allowed that.
> I'd tried to make the variable global too but NO lucks. So could someone
> please tell me how to get around this problem with the newer version?
http://fr2.php.net/manual/en/language.variables.predefined.php
pa
--- End Message ---
--- Begin Message ---
Hey I am currently running an apache 1.3.26 and trying to get php 4.2.3 as a cgi
running.
When I try to access a php script file via my browser, I get a blank screen if I use
body and html tabs or I can just see the code when without.
Anyways it seems to point to my apache conf as being the problem but I can't see
anything wrong :(
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php /php4/php.exe
Are the any issuses with nt4 or any advise on what I can try next?
Thanks heaps,
Richard
--- End Message ---
--- Begin Message ---
may sound silly but have you stoped and restarted apache?
> -----Original Message-----
> From: Richard Davies [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 24 September 2002 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Hey I am currently running an apache 1.3.26 and
> trying to getphp 4.2.3 as a cgi running.
>
>
> Hey I am currently running an apache 1.3.26 and trying to get php
> 4.2.3 as a cgi running.
>
> When I try to access a php script file via my browser, I get a
> blank screen if I use body and html tabs or I can just see the
> code when without.
>
> Anyways it seems to point to my apache conf as being the problem
> but I can't see anything wrong :(
>
> ScriptAlias /php4/ "c:/php4/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php /php4/php.exe
>
> Are the any issuses with nt4 or any advise on what I can try next?
>
> Thanks heaps,
> Richard
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I installed PHP 4.2.3 using the installer from PHP.net
I can send the test.php file to the php.exe, and I get the right html code.
However, trying to open the same test.php in IE 6 won't produce anything.
The window gets the right title, all html is displayed right, but nothing
between <?php ?> is executed.
I have tried to change most of the settings in Internet Information
Services, the extension .php under configuration is also set to
C:\PHP\php.exe, etc...
What should I look at next?
Thanks,
Pascal
--- End Message ---
--- Begin Message ---
On Tuesday 24 September 2002 5:24 am, Pascal S. wrote:
> I installed PHP 4.2.3 using the installer from PHP.net
>
> I can send the test.php file to the php.exe, and I get the right html code.
>
> However, trying to open the same test.php in IE 6 won't produce anything.
> The window gets the right title, all html is displayed right, but nothing
> between <?php ?> is executed.
>
> I have tried to change most of the settings in Internet Information
> Services, the extension .php under configuration is also set to
> C:\PHP\php.exe, etc...
>
> What should I look at next?
Are you opening the file as c:\php\test.php or as http://localhost/test.php?
If you view source, do you see the php source code?
--
Phil Driscoll
--- End Message ---
--- Begin Message ---
DAn wrote:
>HELP!!
>
>Am I right in thinking that creating a link on a page that reads:
>
>photos.php?pageNum=1
>
>should create a variable named $pageNum with a value of 1?
>
>The problem is that when I try to use the pageNum variable it has no value.
>
>I am having the same problem with forms as well - I cannot retrieve data
>from a form using either GET or POST.
>
If register_globals is off in php.ini then the example you give is
retrieved with
$myvar = $_GET['myvar'};
Posted variables are retrieved with:
$myvar = $_POST['myvar'};
If you still have problems then I suggest you post a simple example to
this list.
HTH
Chris
--- End Message ---
--- Begin Message ---
Well, I realised that linking against a Oracle on Solaris was a bad
idea. Setting ORACLE_HOME to a Oracle version we have running on Linux
solved this problem. (smacking myself on forehead...)
Cheers :-)
Rune Kallhovd wrote:
> +--------------------------------------------------------------------+
> | *** ATTENTION *** |
> | |
> | Something is likely to be messed up here, because the configure |
> | script was not able to detect a simple feature on your platform. |
> | This is often caused by incorrect configuration parameters. Please |
> | see the file debug.log for error messages. |
> | |
> | If you are unable to fix this, send the file debug.log to the |
> | [EMAIL PROTECTED] mailing list and include appropiate |
> | information about your setup. |
> +--------------------------------------------------------------------+
>
> Hi,
>
> Got the above message after configure of PHP4.2.3 on Mandrake 8.2.
> (A search on php.net bug database did not reveal anything helpful.)
>
> $ORACLE_HOME is automounted and running on Solaris 2.6.
> gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
>
> After configuring, 'make' & 'make install' runs fine, but when
> activating libphp4.a for Apache 1.3.26:
>
> ./config.status --enable-module=src/modules/php4/libphp4.a
>
> configure exits with:
>
> /usr/bin/ld: cannot find -lsocket
> collect2: ld returned 1 exit status
--
======= Rune Kallhovd, CORENA Norge AS, =======
= Dyrmyrgt. 35, N-3611 Kongsberg, NORWAY =
= Tlf: +47 32 71 72 17 Fax: +47 32 71 72 01 =
== CORENA Home Page: http://www.corena.com ==
--- End Message ---
--- Begin Message ---
Thanks to everyone who helped with my problem :)
--- End Message ---
--- Begin Message ---
I've difficulties transferring to an Oracle DB values longer than 2000
characters.
A friend of my warned me saying ihe remember some configuration parameter
in php installation which affect the maximum variable lenght allowed by php.
Is this true? And if so, which parameter have I to change or specify?
--
Marco Voli
----
"Se fossimo trattati / Marco Voli [[EMAIL PROTECTED]] | ph.+39-51-6171490
come meritiamo, chi / Supercomputing Group | FAX+39-51-6132198
si salverebbe dalle/ CINECA Interuniversitary Computing Centre
frustate?" / via Magnanelli 6/3 - 40033 Casalecchio (BO) ITALY
Il Matto di Elsinore
--- End Message ---
--- Begin Message ---
I (sys admin) have successfully built php and now the web developer asks me for
a copy of the php.ini...reasonable request. So I browse phpinfo.php and it says
/usr/local/lib.
I go there, but it's not there
I do a find /usr -name php.ini turns up only this:
/usr/php/pear/tests/php.ini
That doesn't seem right....
So I look at the top of the build directory, /usr/php and find:
php.ini-dist
php.ini-recommended
Woul someone enlighten me?
--
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
[EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035
--- End Message ---
--- Begin Message ---
"gmake install" doesnt copy php.ini. you do.
if you didnt copy it yet, you can pick php.ini-dist or php.ini-recommended.
choose one, copy to /usr/local/lib and send it to web developer.
kisses,
---
Fabio Moraes
[EMAIL PROTECTED]
+55 21 3088 9548
> -----Original Message-----
> From: Stewart Dean [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 8:58 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Where is php.ini?
>
>
> I (sys admin) have successfully built php and now the web
> developer asks me for
> a copy of the php.ini...reasonable request. So I browse
> phpinfo.php and it says
> /usr/local/lib.
> I go there, but it's not there
> I do a find /usr -name php.ini turns up only this:
> /usr/php/pear/tests/php.ini
> That doesn't seem right....
> So I look at the top of the build directory, /usr/php and find:
> php.ini-dist
> php.ini-recommended
>
> Woul someone enlighten me?
> --
> ====
> Stewart Dean, Unix System Admin, Henderson Computer Resources
> Center of Bard College, Annandale-on-Hudson, New York 12504
> [EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I'm running apache-1.3.23-14 on a redhat 7.3 system.
I have installed the php-rpm and the php_mysql.rpm from Redhat.
installed php-4.1.2-7.3.4 and php-mysql-4.1.2-7.3.4.
Cannot connect to my mysql-3.23.49-3 database.
If I use "mysql_connect()" only, I get "Fatal error: Call to undefined
function: mysql_connect() in /var/www/html/admin.php on line 9"
elseif I put on my script "include_once(DB/mysql.php)"
I get "Fatal error: Class db_common: Cannot inherit from undefined class
pear in /usr/share/pear/DB/common.php on line 30"
endif. :)
can someone tell me how to preinclude /DB/* functions in my Zend engine so I
do not have to "include_once" in every script.
and if the php rpm needs to be installed how do I do that without breaking
the install of mysql and apache.
-----Original Message-----
From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 3:13 AM
To: Pascal S.; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-INST] Re: [PHP-WIN] Install PHP with IIS 5/W2K
On Tuesday 24 September 2002 5:24 am, Pascal S. wrote:
> I installed PHP 4.2.3 using the installer from PHP.net
>
> I can send the test.php file to the php.exe, and I get the right html
code.
>
> However, trying to open the same test.php in IE 6 won't produce anything.
> The window gets the right title, all html is displayed right, but nothing
> between <?php ?> is executed.
>
> I have tried to change most of the settings in Internet Information
> Services, the extension .php under configuration is also set to
> C:\PHP\php.exe, etc...
>
> What should I look at next?
Are you opening the file as c:\php\test.php or as http://localhost/test.php?
If you view source, do you see the php source code?
--
Phil Driscoll
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
OK, if you don't know, tell me where I'll get answer for this question?
--
Luck
[EMAIL PROTECTED]
www.zonamp3.prv.pl
--- End Message ---