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
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
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
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
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
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
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
: <[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
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.
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
&
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
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
...
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
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:
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
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
> 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,
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
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
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
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
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
$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
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
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
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
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
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
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
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
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
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
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.
> 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
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
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
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/
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/
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
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
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?
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
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_
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
.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?
>
&
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
60 matches
Mail list logo