[PHP] php3 and php4

2003-02-27 Thread Ozete C.Filho
My friends, why this program no function in php4, just in php3? Pessoal, esse algoritmo é conhecido como Dijkstra, ele calcula o melhor caminho entre pontos( num grafo, por exemplo), mas nao consigo rodar ele no php4, so funciona no 3. Alguem sabe me dizer se há algo errado? 2, d => 3); $neigh

Re: [PHP] php3 + HTTP_POST_FILES

2003-02-04 Thread Maxim Maletsky
i get out of the file then ? > > -Original Message- > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 2:06 AM > To: electroteque > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] php3 + HTTP_POST_FILES > > > > No, PHP3 does not support it

RE: [PHP] php3 + HTTP_POST_FILES

2003-02-04 Thread Dan Rossi
EMAIL PROTECTED] Subject: Re: [PHP] php3 + HTTP_POST_FILES No, PHP3 does not support it. http://www.php.net/manual/en/features.file-upload.php";> Note: In PHP versions prior 4.1.0 this was named $HTTP_POST_FILES and it's not an autoglobal variable like $_FILES

Re: [PHP] php3 + HTTP_POST_FILES

2003-02-04 Thread Maxim Maletsky
No, PHP3 does not support it. http://www.php.net/manual/en/features.file-upload.php";> Note: In PHP versions prior 4.1.0 this was named $HTTP_POST_FILES and it's not an autoglobal variable like $_FILES is. PHP 3 does not support $HTTP_POST_FILES. -- Maxim Maletsky [E

[PHP] php3 + HTTP_POST_FILES

2003-02-04 Thread electroteque
is there a way to get this variable in php3 for some reason i cannot acess it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP3 Web Architecture Framework

2003-02-01 Thread Jason Wong
On Saturday 01 February 2003 20:23, karthikeyan.balasubramanian wrote: > I browsed the web for many different web architecture and frameworks. I > found many Interesting but all wants latest version of PHP at least PHP > 4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because

[PHP] PHP3 Web Architecture Framework

2003-02-01 Thread karthikeyan.balasubramanian
Hi, I browsed the web for many different web architecture and frameworks. I found many Interesting but all wants latest version of PHP at least PHP 4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because many clients are using it and i dont want to mess it up. Its a Pain in P

Re: [PHP] php3 to php4 migration woes

2002-07-31 Thread Andrew Brampton
: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 4:20 AM Subject: [PHP] php3 to php4 migration woes > x86-3 being added to access control list > I've recently updgrade my Apache Webserver to > 1.3.26 and opted to upgrade php form 3.x.x to 4.2.2. > I have succesfully bu

[PHP] php3 to php4 migration woes

2002-07-31 Thread Bruce Riddle
x86-3 being added to access control list I've recently updgrade my Apache Webserver to 1.3.26 and opted to upgrade php form 3.x.x to 4.2.2. I have succesfully built it all and things are stable. I have been running the "album" picture database which is included as an example with the php3 distro.

Re: [PHP] .php3 extension?

2002-05-30 Thread The Gabster
Index index.html index.htm index.cgi index.php3 index.php --- > and so on. > > In addition, .php3 should be added to your AddType directive > > AddType application/x-httpd-php .php .php3 .php4 .phtml > > If you cannot access your httpd.conf file on your server, the same &

Re: [PHP] .php3 extension?

2002-05-30 Thread Greg Wright
Apache?) to >support (and run) .php3 extension files? look for AddType application/x-httpd-php .php then change it to look like AddType application/x-httpd-php .php .php3 Regards Greg Wright -- IT Consultant Sydney Australia PH 0418 292020 -- Int. +61 418 292020 Available for Global Contra

Re: [PHP] .php3 extension?

2002-05-30 Thread Nicole Lallande
If you want your home page to be a .php3 file then you must add index.php3 to your DirectoryIndex directive: DirectoryIndex index.html index.htm index.cgi index.php3 index.php --- and so on. In addition, .php3 should be added to your AddType directive AddType application/x-httpd-php .php

Re: [PHP] .php3 extension?

2002-05-30 Thread John S. Huggins
... AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps On Thu, 30 May 2002, The Gabster wrote: >-Hello all... >- >-I have Apache 2.0.35 and PHP 4.2.0 on a win2

[PHP] .php3 extension?

2002-05-30 Thread The Gabster
Hello all... I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works fine, etc. The question I have, how can I configure PHP (or Apache?) to support (and run) .php3 extension files? Thanks a lot, Gabi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread Nicolas Costes
OTECTED]> > Cc: "PHP ((E-mail))" <[EMAIL PROTECTED]> > Sent: Wednesday, May 29, 2002 10:32 AM > Subject: Re: [PHP] php3 / php4 vars - Submitted form doesn't work > > > Le Mercredi 29 Mai 2002 16:15, vous avez écrit : > > > Not really. You still p

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread Nicolas Costes
Le Mercredi 29 Mai 2002 17:00, Philip Olson a écrit : > > So my question is : Are there differences between > > PHP3 and PHP4, in the manner of passing variables to > > a script ??? > > Sort of. There are many factors for using data from > outside of PHP, such as forms. For example, let's > assu

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread Philip Olson
> So my question is : Are there differences between > PHP3 and PHP4, in the manner of passing variables to > a script ??? Sort of. There are many factors for using data from outside of PHP, such as forms. For example, let's assume: Within test.php will be our information,

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread 1LT John W. Holmes
MAIL PROTECTED]> Cc: "PHP ((E-mail))" <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 10:32 AM Subject: Re: [PHP] php3 / php4 vars - Submitted form doesn't work > Le Mercredi 29 Mai 2002 16:15, vous avez écrit : > > Not really. You still pass variables through GET, PO

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread Nicolas Costes
Le Mercredi 29 Mai 2002 16:15, vous avez écrit : > Not really. You still pass variables through GET, POST, or COOKIE data. How > you access the value is different based on your configuration and the PHP > version. It's different for different versions of PHP4, too. Do you have a > specific questio

Re: [PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread 1LT John W. Holmes
ssage - From: "Nicolas Costes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 9:23 AM Subject: [PHP] php3 / php4 vars - Submitted form doesn't work > > Er, ... Well, that mail seemed too long :-) > > So my question is : Are

[PHP] php3 / php4 vars - Submitted form doesn't work

2002-05-29 Thread Nicolas Costes
Er, ... Well, that mail seemed too long :-) So my question is : Are there differences between PHP3 and PHP4, in the manner of passing variables to a script ??? Thanx for your help ... -- ( °> Nicolas Costes //\\ IUT de La Roche / Yon / \/ ) [EMAIL PROTECTED] `-<< http://luxregina.fre

[PHP] PHP3 file on PHP4 server

2002-03-18 Thread kip
Hi, The extension of my PHP files are saved as .php3 on the server and they were worked properly before. As the hosting server upgrade to PHP4 server, those .php3 files seem don't work and only display the blank page. Anybody know what problem is it? And how to config this problem? Thanks Kenny

[PHP] php3/php4 difference

2002-02-22 Thread toni baker
$numresult=mysql_query($sql) or die( "4 QUERY ERR $sql"); echo "numresult = $numresult"; $numrows=mysql_num_rows($numresult); mysql_free_result($numresult); echo "You have selected " .$numrows ." record(s)."; When I run the script above on php4 windows I get the following result: numr

Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread dimok
TED]> Sent: Wednesday, December 19, 2001 11:09 PM Subject: [PHP] PHP3 NOT being parsed for SSI!! HELP!! > Folks, > > I have a serious problem and i don't know what to do. > > We have a fixed template for each intranet page. > Now the template consists of a header, a

Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread Steve Edberg
If you're using PHP as an Apache module, you can use virtual() - http://www.php.net/manual/en/function.virtual.php - to include the dynamic parts; vcstatic includes could be handled by virtual() or just a normal PHP include()/require(). - steve At 11:09 PM -0800 12/19/01, Th

[PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-19 Thread Thomas Edison Jr.
Folks, I have a serious problem and i don't know what to do. We have a fixed template for each intranet page. Now the template consists of a header, a left navigation and a footer. The body would contain my pages content. What we are doing at present is that the header, the left navigation

[PHP] PHP3 file upload

2001-10-22 Thread rpruitt
This is from the manual -- Possible file upload attack: filename '$userfile_name'."; } ?> This uploads the file into the correct temp directory, it recognizes the filename, etc., but it won't copy it. I only can achieve the error message. I need to use PHP3 for this, I'm obviousl

[PHP] php3 -> php4

2001-07-31 Thread Liviu POPESCU
I have a lot of php scripts developed with php3. I've installed php4 and I get some warnings when I evaluate variables there are not set (are empty). In php3 there was no problem (no warning). If I modify the code by using empty($var) or isset($var) it's ok, but there are lots of such issues. How

Re: [PHP] php3 extension

2001-07-24 Thread Phil Driscoll
On Tuesday 24 July 2001 15:53, Phil Spitler wrote: > Can anyone tell me how to turn on .php3 extensions in PHP on Win2000? I've > looked in the php.ini file and can't seem to find it. > In the internet services manager (or whatever it's called in W2K) add a script mapping for .php3 which is the

[PHP] php3 extension

2001-07-24 Thread Phil Spitler
Can anyone tell me how to turn on .php3 extensions in PHP on Win2000? I've looked in the php.ini file and can't seem to find it. Thanks! Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] php3 and php-4.0.5

2001-07-04 Thread Brave Cobra
Depends of course of which server you use. Which one is it? Brave Cobra - Original Message - From: "Ramón Alvarez Rayo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 04, 2001 8:01 PM Subject: [PHP] php3 and php-4.0.5 I had some sites that

[PHP] php3 and php-4.0.5

2001-07-04 Thread Ramón Alvarez Rayo
I had some sites that uses php3 but i did a upgrade to php-4.0.5, after that my web server doesn´t works with files .php3, how can i make to recognize .php3 please i need your help. thanks. Saludos fraternos, *** Ramón Alva

Re: [PHP] PHP3

2001-06-21 Thread Steve Edberg
The PHP version plays no part in this, since the SELECT statement below is passed directly to MySQL. And, yes, this should work on that MySQL version - it's a pretty simple statement. Were you experiencing a problem with it? If so, post the relevant PHP code & the error message you're getting.

RE: [PHP] PHP3

2001-06-21 Thread Jason Murray
> Does "Select a.field, b.field from table_one a, table_two b > where a.id = b.id" work in PHP3/MySQL 3.22.32? Seems like valid SQL, why wouldn't it work? > Client's running PHP3, and I'm on 4. Cool, can I have a cut of your consulting fee then please :) Jason -- PHP General Mailing List (h

[PHP] PHP3

2001-06-20 Thread William Poarch
Hi, Does "Select a.field, b.field from table_one a, table_two b where a.id = b.id" work in PHP3/MySQL 3.22.32? Client's running PHP3, and I'm on 4. thanks. - - - - - - - - - - Scott Poarch www.globalhost.com - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] php3 vs php4 and ini_get

2001-05-20 Thread Dennis Gearon
I love ini_get() for instance, for finding "include_path". Is there anyway to find "include_path" in php3, since ini_get() is for >= php4? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

[PHP] php3 to php4

2001-05-14 Thread Keneth
I have PHP3 and mysql installed, I tried to upgrade it to PHP4. After installation, but I still have php3 running, could anyone tell me how to do it? Besides, I couldnt find libphp4.so and I couldnt add it into httpd.conf please advice! Keneth -- PHP General Mailing List (http://www.php.net/

[PHP] php3 to php4

2001-05-14 Thread Keneth
I have PHP3 and mysql installed, I tried to upgrade it to PHP4. After installation, but I still have php3 running, could anyone tell me how to do it? Besides, I couldnt find libphp4.so and I couldnt add it into httpd.conf please advice! Keneth -- PHP General Mailing List (http://www.php.net/

Re: [PHP] php3 work partially

2001-04-25 Thread Philip Olson
In httpd.conf modify/adjust a line in similar fashion to : AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp regards, philip On Wed, 25 Apr 2001, Mauricio Alarcon wrote: > Hello > I update my server from php 3.016 to php 4.0.4pl1 and it's work > partially

[PHP] php3 work partially

2001-04-25 Thread Mauricio Alarcon
Hello I update my server from php 3.016 to php 4.0.4pl1 and it's work partially, because some of file called php3 that work perfect in php 3.0.16 now dont'w show anything, How can I solve this problem? Any Ideas? Thanks -- Mauricio Alarcon Rincon Webmaster - Webdepot Linux Registered User # 1

Re: [PHP] PHP3 and PHP_SELF

2001-04-17 Thread Dan Lowe
Tried this on a host running 3.0.16: Worked just fine. -dan Previously, Alan Ward said: > Does the variable $php_self work in PHP3? I am helping a friend with some > forms, and their host still uses PHP3. -- If man evolved from monkeys and apes, why do we still have monkeys and apes?

[PHP] PHP3 and PHP_SELF

2001-04-16 Thread Alan Ward
Does the variable $php_self work in PHP3? I am helping a friend with some forms, and their host still uses PHP3. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

Re: [PHP] PHP3 & PHP4 in apache?

2001-04-16 Thread Brian Clark
Hi Matthew, @ 6:24:49 PM on 4/16/2001, Matthew Mueller wrote: > Can anyone tell me if it is possible to statically build php3 and > php4 modules into an apache binary? I tried, but kept getting all > these errors from ld about multiply-defined functions such as: > ld: fatal: symbol `second_arg_

[PHP] PHP3 & PHP4 in apache?

2001-04-16 Thread Matthew Mueller
Hi, Can anyone tell me if it is possible to statically build php3 and php4 modules into an apache binary? I tried, but kept getting all these errors from ld about multiply-defined functions such as: ld: fatal: symbol `second_arg_allow_ref' is multiply-defined: (file modu

Re: [PHP] PHP3 - Instalation

2001-04-03 Thread David Robley
On Tue, 3 Apr 2001 02:05, Marcelo Pereira wrote: > > Hi all [again], > > I'm becoming crazy installing PHP3 on my system I had already been > using PHP but with no postgresql support, now I need it and I done: > > get php3-3.0.18.tar.gz > untared it > ./configure --with-pgsql > ./make > ./ma

Re: [PHP] PHP3: suppressing error messages

2001-04-02 Thread Richard Lynch
eneral Sent: Sunday, April 01, 2001 11:30 PM Subject: [PHP] PHP3: suppressing error messages > How can I prevent error messages from being displayed and sent to a log file > instead? > > -- > === > Patrick Dunford,

[PHP] PHP3 - Instalation

2001-04-02 Thread Marcelo Pereira
Hi all [again], I'm becoming crazy installing PHP3 on my system I had already been using PHP but with no postgresql support, now I need it and I done: get php3-3.0.18.tar.gz untared it ./configure --with-pgsql ./make ./make install The INSTALL file says to add -LoadModules libphp3m

[PHP] PHP3: suppressing error messages

2001-04-01 Thread Patrick Dunford
How can I prevent error messages from being displayed and sent to a log file instead? -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ Now to him who is able to do immeasurably more than all we ask

[PHP] php3 & php4

2001-03-30 Thread Brooks, Ken
Is there any reason why I shouldn't run php3 and php4 on the same server? I have php3 using .php3 files and php4 using .php .phtml and .php4 files. Thanks, Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

[PHP] php3, files and Apache

2001-03-26 Thread xxx
Hello Guys, Anybody can help to write script in php3 that will send to browser chosen file from server's directory to which Apache does not have access. It is important that klient's browser, depending on file type, could save it to disk or display (eg. text or graphics). Will be gratefull fo

[PHP] PHP3 and Oracle 8.1.6

2001-02-26 Thread Bob Kakalec
I am trying to install and configure PHP3 with Oracle 8.1.6 and am receiving the following error when I run $ make In file included from functions/php3_oci8.h:53, from internal_functions.c:53: /stuff/oracle/product/8.1.6/rdbms/demo/oci.h:1659: ociextp.h: No such file or directory

Re: [PHP] .php3 in PHP4?

2001-02-17 Thread Tim Frank
Or you could just put them all on one line like AddType application/x-httpd-php .php .php3 .php4 .phtml if you prefer. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<&l

Re: [PHP] .php3 in PHP4?

2001-02-17 Thread Ifrim Sorin
Hello, I think this is rather a Web server issue. In Apache, just add in your conf file a line for each extension : AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x

[PHP] .php3 in PHP4?

2001-02-17 Thread Jeff Gannaway
Can I configure PHP4 for to process .php .php4 .php3 and .phtml ?? I'm a first timer to configuring the PHP engine, so a few detials on how to would be appreciated as well. Thanks, Jeff Gannaway ___ 2001 Wall Calendars * Art, Jazz, Blu

Re: [PHP] PHP3 + Sessions?

2001-01-30 Thread Sean Kennedy
Thank you, I will. - Original Message - From: Devta Singh <[EMAIL PROTECTED]> To: Sean Kennedy <[EMAIL PROTECTED]>; PHP Mailing List <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 4:13 AM Subject: Re: [PHP] PHP3 + Sessions? > Use this: > http://www

Re: [PHP] PHP3 + Sessions?

2001-01-30 Thread Devta Singh
t; <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 12:28 PM Subject: [PHP] PHP3 + Sessions? I was wondering if there are any functions in php3 that would allow me to play with sessions. In the docs at the php site, most if not all the

[PHP] PHP3 + Sessions?

2001-01-30 Thread Sean Kennedy
I was wondering if there are any functions in php3 that would allow me to play with sessions. In the docs at the php site, most if not all the functions they have listed there were added in php4, but my server is still setup with php3. Any help is appreciated! Sean Kennedy

RE: [PHP] PHP3 vs PHP4?

2001-01-11 Thread Maciek Uhlig
script. :-) Maciek > -Original Message- > From: ncook [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 11, 2001 10:16 PM > To: Php List > Subject: [PHP] PHP3 vs PHP4? > > > Which is better php3 or php4? Why? Are there pluses and minuses to each? > > Doe

Re: [PHP] PHP3 vs PHP4?

2001-01-11 Thread jeremy brand
.com On Thu, 11 Jan 2001, ncook wrote: > Date: Thu, 11 Jan 2001 14:15:56 -0700 > From: ncook <[EMAIL PROTECTED]> > To: Php List <[EMAIL PROTECTED]> > Subject: [PHP] PHP3 vs PHP4? > > Which is better php3 or php4? Why? Are there pluses and minuses to each? > &

[PHP] PHP3 vs PHP4?

2001-01-11 Thread ncook
Which is better php3 or php4? Why? Are there pluses and minuses to each? Does php4 offer features that are useful for everyday web scripting? --- .:: Nathan Cook office: 208.343.3110 email: [EMAIL PROTECTED] pager: 208.387