Re: [PHP] IP Chains

2001-04-24 Thread Michael Hall
I don't understand why you want to connect IPCHAINS to your PHP script. Normally your IPCHAINS (or IPTABLES) firewall would be running anyway, wouldn't it? Maybe I've missed something, but I don't see how the two are linked. I'd have the PHP script check username and password, and if valid, go

[PHP] Want to send email in html format

2001-04-24 Thread George Alexander
Hi, I am working on a newsletter module. What I want to know is that how can we send a newsletter via email to all the subscribers in html format with images in the htm too??? Well I am able to send an html file as attachment using the php mail() function. But I still can't see the images in

Re: [PHP] how do I do this

2001-04-24 Thread Philip Olson
I missed this thread but check out : http://zend.com/zend/tut/drop-down.php regards, philip On Tue, 24 Apr 2001, Adrian D'Costa wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Apr 2001, Andreas Landmark wrote: country the corresponding cities should only be listed

RE: [PHP] Want to send email in html format

2001-04-24 Thread Peter Houchin
have something like mail($address, $subject, $body, $headers \nContent-Type: text/HTML; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit )in your mail mail( -Original Message- From: George Alexander [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 4:37 PM To:

[PHP] sending files by mail

2001-04-24 Thread Calin Rotaru
Hello! I generate a text file from a mysql database. I'm trying to send this file by mail. Is this possible with mail() function ??? I read the documentation, but I didn't find anything yet. Thanks. Calin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] sending files by mail

2001-04-24 Thread David Robley
On Wed, 25 Apr 2001 00:02, Calin Rotaru wrote: Hello! I generate a text file from a mysql database. I'm trying to send this file by mail. Is this possible with mail() function ??? I read the documentation, but I didn't find anything yet. Thanks. Calin You'll need to read the data from

Re: [PHP] how do I do this

2001-04-24 Thread Adrian D'Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks. This is what I was looking for. I will try and hack the example Adrian On Tue, 24 Apr 2001, Philip Olson wrote: I missed this thread but check out : http://zend.com/zend/tut/drop-down.php regards, philip On Tue, 24 Apr

[PHP] Convert a numeric string

2001-04-24 Thread liman
Hi all. How can I convert this: 1250 into this: 10.000.250? I must manage numbers rangin from some million to... well, too much to read them without points (or colons for USA guys). I'm looking in the docs but printf doesn't seem to be able to do that. Thank you. -- Liman - [EMAIL

RE: [PHP] Convert a numeric string

2001-04-24 Thread Jason Murray
I'm looking in the docs but printf doesn't seem to be able to do that. You want http://www.php.net/manual/en/function.number-format.php. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Why is it dangerous to have register_globals on?

2001-04-24 Thread Francois Legare
Francois Legare [EMAIL PROTECTED] -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: April 23, 2001 9:30 PM To: Plutarck Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Why is it dangerous to have register_globals on? Never never never trust user-supplied data

Re: [PHP] Sensitive Information (like CC)

2001-04-24 Thread Niklas Neumann
What's the best (secure?) way of transmitting sensitive information over email? Leave the messages on the server and get them via pop3s. Outlook is capable of pop3 via ssl. Best regards Niklas Neumann -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Why is it dangerous to have register_globals on?

2001-04-24 Thread Geir Eivind Mork
On Monday 23 April 2001 11:56, Greig, Euan wrote: I have read in several places that is dangerous to have register_globals on, but I have not understood the (short) explanations given. Can anyone enlighten me? keep it a rule to either unset any variable that you use or set them with a

RE: [PHP] Sensitive Information (like CC)

2001-04-24 Thread Jason Murray
Leave the messages on the server and get them via pop3s. Outlook is capable of pop3 via ssl. I wouldn't do that - it makes the server a great hack target. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Yes, thanx

2001-04-24 Thread liman
Yes. It was just that. Thankx a lot. -- Liman - [EMAIL PROTECTED] -- 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 administrators, e-mail: [EMAIL PROTECTED]

SV: [PHP] Want to send email in html format

2001-04-24 Thread Martin Oust
is it possible to change the Content-Type and Content-Transfer-Encoding in a mail you recieve??? this way you can convert mails written with html-codes, sent from a mail-program that doesn't support it.. Peter Houchin [EMAIL PROTECTED] skrev i meldingsnyheter:[EMAIL PROTECTED] have

[PHP] Standalone Browser with PHP and/CGI

2001-04-24 Thread John Monfort
Hello everyone, Quick question: I would like to install a standalone web server can run PHP, I'm looking for guidance on how to do this. Basically, I want to add a PHP application on a CD-ROM, for demonstration purposes. I know PHP can be runed as a standalone, but what about

SV: [PHP] Want to send email in html format

2001-04-24 Thread Martin Oust
is it possible to change the Content-Type and Content-Transfer-Encoding in a mail you recieve??? this way you can convert mails written with html-codes, sent from a mail-program that doesn't support it.. Peter Houchin [EMAIL PROTECTED] skrev i meldingsnyheter:[EMAIL PROTECTED] have

SV: [PHP] Want to send email in html format

2001-04-24 Thread Martin Oust
is it possible to change the Content-Type and Content-Transfer-Encoding in a mail you recieve??? this way you can convert mails written with html-codes, sent from a mail-program that doesn't support it.. Peter Houchin [EMAIL PROTECTED] skrev i meldingsnyheter:[EMAIL PROTECTED] have

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Phil Driscoll
When I did the windows installer there was some talk of defaulting to install in 'Program files' (I think Zeev suggested it), but there was a significant body of opinion which thought that there would be problems at least with parts of php with respect to the space in the filename. I just

[PHP] what is better? mysql_connect() or mysql_pconnect()?

2001-04-24 Thread elias
hello... just asking...what is better in this case: i got lots of scripts and almost all of them needs to connect to the DB and some of thems are accessed lots of times what is better to use in such cases: mysql_connect() or mysql_pconnect()... i mean will speed factor play a role when lots and

Re: [PHP] Standalone Browser with PHP and/CGI

2001-04-24 Thread elias
Don't really... know...why don't you try PWS+PHP4 for windows? it will take up like max 50MB on the CDrom and it's easy installable... -elias http://eassoft.cjb.net John Monfort [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello everyone, Quick

[PHP] delete browser-cache

2001-04-24 Thread mohammed oda
hi how can i delete the browser-cache in PHP thanks -- Mohammed Oda Leibniz str. 76 55118 Mainz Tel.06131-638350 GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Andi Gutmans
I don't think there are any problems with the space in the path name. If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on

[PHP] what is better? mysql_connect() or mysql_pconnect()?

2001-04-24 Thread VirtualSolution [Virtualsolution.net]
[PHP] what is better? mysql_connect() or mysql_pconnect()? mysql_pconnect() is better for a web application because is lighter for the server, (the connection is not permanent)

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Zeev Suraski
There shouldn't be any problems with spaces in the name under Windows - I've been using it for years like that... Zeev At 13:02 24/4/2001, Andi Gutmans wrote: I don't think there are any problems with the space in the path name. If there are we are better off finding them and fixing them

Re: [PHP] sending files by mail

2001-04-24 Thread Calin Rotaru
On Tuesday 24 April 2001 03:37, David Robley wrote: On Wed, 25 Apr 2001 00:02, Calin Rotaru wrote: Hello! I generate a text file from a mysql database. I'm trying to send this file by mail. Is this possible with mail() function ??? I read the documentation, but I didn't find anything

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Phil Driscoll
If there are we are better off finding them and fixing them instead of Agreed. However the 'Program files' folder is the standard place where applications that the user runs live. Web scripting things seem to live (at least on NT) in SYSTEMROOT\system32\inetsrv - which is more unpleasant than in

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Svein Roar Nilsen
And I see no reason why we should not be allowed to handle most of the fatal errors we get on our own. Especially annoying is the xslt_process() function that returns something like brbFatal error/b: XML parser error 7: mismatched tag in b/var/www/[...]. As far as I can see, this

php-general Digest 24 Apr 2001 10:12:47 -0000 Issue 646

2001-04-24 Thread php-general-digest-help
php-general Digest 24 Apr 2001 10:12:47 - Issue 646 Topics (messages 49945 through 50040): Question on installation 49945 by: Jason Lam 49986 by: Nashirak Bosk Using input type = 'button rather than input type = 'submit' 49946 by: Martin Cameron 49956 by:

[PHP-CVS] cvs: php4 /ext/ircg ircg.c ircg_scanner.c php_ircg.h

2001-04-24 Thread Sascha Schumann
sas Tue Apr 24 02:40:06 2001 EDT Modified files: /php4/ext/ircg ircg.c ircg_scanner.c php_ircg.h Log: Add support for suppressing the loopback of messages sent using ircg_msg. Add support for nickname escaping Using this technique it becomes

[PHP] how to install Win2K over Linux machine

2001-04-24 Thread howe
Hello, Does anyone know how to uninstall linux completlt, coz i deleted the linux partition the OS still remain Linux...then HANG after that -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] how to install Win2K over Linux machine

2001-04-24 Thread Dominick Vansevenant
First, this is not the list for this question !! Try booting with a dos bootdisk and enter fdisk /mbr first before installing w2k. D. -Original Message- From: howe [mailto:[EMAIL PROTECTED]] Sent: dinsdag 24 april 2001 12:23 To: [EMAIL PROTECTED] Subject: [PHP] how to install Win2K

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Geir Eivind Mork
http://www.php.net/manual/en/features.error-handling.php have you taken a deeper look into this? Well, I have tried... And what kind of problem did you encounter? My problem is that not displaying anything in case of an error is a completely unacceptable solution. I *MUST* return a

[PHP] Countdown in PHP

2001-04-24 Thread george
i need to use PHP to countdown to a certain date, and display the output as time left:days, hours, minutes, seconds The countdown coule be done with javascript, but however it must be done client side TIA -- george chiefmonkey@my_pantswisemonkeydesign.co.uk remove my_pants to

RE: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Marc Boeren
If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Just stating the obvious here, but c:\program files is a

[PHP] Anyone got the new Postgres 7.1 .rpms working?

2001-04-24 Thread Geoff Caplan
Hi I am trying to compile the latest version of PHP to work with the new Postgres 7.1 on RedHat 6.2 I have installed the Postgres library, client and server .rpms without any problems. Then in the php file /ext/pgsql/php_pgsql.h I have changed the #include from postgres.h to postgres_fe.h as

[PHP] PHP accessing the COM port?

2001-04-24 Thread sean
Hi, I was wondering if anyone knew if I could acces the com port via PHP and work with AT commands? Someone has suggested something that MIGHT work - using fopen(com1... sorry I dont know the correct syntax but as soon as I have managed to install php I will give it a try.. in the meantime I

Re: [PHP] Countdown in PHP

2001-04-24 Thread george
I mean server side. What i thought icould do was use a cookie time() but how do I extract the value and display it as day hour minute second format and also how do I change the value of the cookie to reflect the different times someone will log on. For instance by setting the cookie

[PHP] Vote results without refreshing the whole site!

2001-04-24 Thread Mohamedou
Dear all, I have a survey script included in my site. After voting I need the results but without refreshing the whole site just the script must load the new results. Every help will be apreciated Yours Moh _ Do You Yahoo!? Get your

Re: [PHP] PHP 4.0.5

2001-04-24 Thread Martín Marqués
On Mar 24 Abr 2001 01:33, Henrik Hansen wrote: Martín Marqués [EMAIL PROTECTED] wrote: On Lun 23 Abr 2001 22:13, Felix Kronlage wrote: On Mon, Apr 23, 2001 at 03:00:07PM -0700, Dominique Paquin wrote: I asked when the new version of PHP was comming out at the beginning of the

[PHP] Re: Posting to a form

2001-04-24 Thread Adrian D'Costa
I had this problem when I saved the page as a .html rather than a .php Adrian On Mon, 23 Apr 2001, Wade wrote: I'm trying to do the following input type=text tabindex=17 name=Aname value= ? echo strtoupper($Aname); ? But when Aname is multiple words, such as Wade Williams,

Re: [PHP] How to turn off warnings ???

2001-04-24 Thread Christian Reiniger
On Monday 23 April 2001 23:50, Roee Rubin wrote: Hello, I am a newbie to PHP and I am trying to get a number of scripts to work. Whenever I try to execute some code I receive 'warnings', that basically clutter up the screen. Since I am assuming that these are not fatal - is there any way

Re: [PHP] Why is it dangerous to have register_globals on?

2001-04-24 Thread Euan Greig
Now I understand! I hadn't twigged to the danger of _internal_ variables getting overwritten by bogus get/post variables. Thanks to you all. Euan Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Actually it's not dangerous per se. However if

Re: [PHP] PHP accessing the COM port?

2001-04-24 Thread sean
Hi all, me again. I tried accessing the com port using fopen and was denied access... does anyin have any other ideas? I would really like to do this in php rather than VB. here is what I got... Warning: fopen(COM1:,r+) - Permission denied in c:\web\test.php on line 6 Warning: Supplied

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Christian Reiniger
On Tuesday 24 April 2001 12:14, Svein Roar Nilsen wrote: beside, use @ in front of the command to pipe away the current error or stop on-screen display of errors in general. My problem is that not displaying anything in case of an error is a completely unacceptable solution. I *MUST*

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Svein Roar Nilsen
Geir Eivind Mork wrote: http://www.php.net/manual/en/features.error-handling.php have you taken a deeper look into this? Well, I have tried... And what kind of problem did you encounter? The problem is that PHP generates fatal errors too often, and I have not been able to find a

RE: [PHP] How to find the object name in a class?

2001-04-24 Thread Boget, Chris
*sigh* I'm thinking so too ;( Doh! However, I have at least a usable hack around. In the constructor of your class, add: function Class ($object_name) { global $pge; $pge = $object_name; } Then when you use create a new object of that type you must use: $objectname = new

RE: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Boget, Chris
My problem is that not displaying anything in case of an error is a completely unacceptable solution. I *MUST* return a valid XML message in a predefined format. If not, I am violating the standard we are if (@foo_bar (42, 4711) == ERROR_CODE) { PrintXMLErrorMessage (); I do not

[PHP] Error Handling

2001-04-24 Thread Boget, Chris
Is there a good write up out there or can anyone offer some insight to the rest of us as to how error handling should be properly implemented? Yes, PEAR has some error handling routines, but it doesn't have any kind of information as to how it should be properly implemented. I've just finished

[PHP] The page cannot be displayed

2001-04-24 Thread Marcelo Pereira
Hi All, I'm in troubles when I access Horde using win32 clients. This is a aplications built in PHP. I can see (and fill) the form ``horde/imp/login.php'' but when it calls for ``redirect.php'' (this file is at same folder that login.php) then I receive the famous ``this page cannot be

[PHP] Functions.

2001-04-24 Thread Anders Clerwall
Hi, Is there a tutorial of some sort on how I add function sets to PHP4? I've searched the net for more info about this other than what the PHP4.x manual says, and I saw some reference to freshmeat, but I couldn't find that. Any help appreciated, thanks! -- /\ ASCII ribbon | Anders Clerwall *

RE: [PHP] Site Structure

2001-04-24 Thread Matthew M. Boulter
G'day all, I thought I'd mention how I developed my last project and got around some of these problems, bear with me it can be quite complicated. === In the development we had to develop on many different servers, mine

RE: [PHP] Posting to a form

2001-04-24 Thread Matthew Luchak
you can't have whitespace in $valsI would replace the whitespace with _ and vice-versa when you want to ouput the $vals... Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] I'm trying to do the following input type=text tabindex=17 name=Aname value=

[PHP] PHP pl vs. ususal version.

2001-04-24 Thread Scott Fletcher
I noticed when I install the PHP using hte version with pl, like PHP-4.0.4pl1, and compile Apache with this PHP. Apache said it couldn't compile the PHP and doesn't compile it. I struggled with it for a few hours. Then I end up installing PHP-4.0.2 without the pl on it and compile Apache and

Re: [PHP] PHP accessing the COM port?

2001-04-24 Thread Scott Fletcher
You would need to set the file permission to the file itself, COM1. That would be the common errors. Scott [EMAIL PROTECTED] wrote in message 9c3q7s$lu3$[EMAIL PROTECTED]">news:9c3q7s$lu3$[EMAIL PROTECTED]... Hi all, me again. I tried accessing the com port using fopen and was denied

Re: [PHP] PHP accessing the COM port?

2001-04-24 Thread elias
Warning: fopen(COM1:,r+) - Permission denied in c:\web\test.php on line why 'COM1:' and not 'COM1' ? -elias http://eassoft.cjb.net [EMAIL PROTECTED] wrote in message 9c3q7s$lu3$[EMAIL PROTECTED]">news:9c3q7s$lu3$[EMAIL PROTECTED]... Hi all, me again. I tried accessing the com port using

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
I have used the function usort() to sort multi-dimensional arrays before. It might be a challenge to write the comparison function, but it is possible. I use 3-dim arrays all of the time. Makes for a bit cleaner code IMHO. I suppose one thing to consider, is that if you have an enormous 3-dim

Re: [PHP] PHP 4.0.5

2001-04-24 Thread The Doctor
On another front, will PHP 4.0.5 be compilable for a STATIC apache 2.0 Beta? -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] How do I unsubscribe from this list

2001-04-24 Thread Walgamotte, David

[PHP-CVS] cvs: php4 /sapi/apache2filter sapi_apache2.c

2001-04-24 Thread Sascha Schumann
sas Tue Apr 24 05:57:34 2001 EDT Modified files: /php4/sapi/apache2filtersapi_apache2.c Log: Accomodate Apache HTTPD 2.0 API change Index: php4/sapi/apache2filter/sapi_apache2.c diff -u php4/sapi/apache2filter/sapi_apache2.c:1.28

Re: [PHP] PHP pl vs. ususal version.

2001-04-24 Thread Michael Kimsal
Scott Fletcher wrote: I noticed when I install the PHP using hte version with pl, like PHP-4.0.4pl1, and compile Apache with this PHP. Apache said it couldn't compile the PHP and doesn't compile it. I struggled with it for a few hours. Then I end up installing PHP-4.0.2 without the pl

RE: [PHP] How do I unsubscribe from this list

2001-04-24 Thread Jon Haworth
quote src=bottom of every email To unsubscribe, e-mail: [EMAIL PROTECTED] /quote HTH Jon -Original Message- From: Walgamotte, David [mailto:[EMAIL PROTECTED]] Sent: 24 April 2001 14:45 To: [EMAIL PROTECTED] Subject: [PHP] How do I unsubscribe from this list

Re: [PHP] Want to send email in html format

2001-04-24 Thread Charlie Llewellin
One fairly easy way is to use Richard Heyes html mail class available at phpclasses.upperdesign.com I am working on a newsletter module. What I want to know is that how can we send a newsletter via email to all the subscribers in html format with images in the htm too??? -- PHP

[PHP] About sessions !!

2001-04-24 Thread Hassan Arteaga
Hi !! I just begin with PHP( but is the same as ASP ) and testing some examples... loock at the code: Page 1- Session.php ?php session_start(); $myvar = 1; session_register(myvar); ? html head meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=GENERATOR

Re: [PHP] what is better? mysql_connect() or mysql_pconnect()?

2001-04-24 Thread Nikhil Goyal
I believe a good article is at http://www.php.net/manual/en/features.persistent-connections.php elias [EMAIL PROTECTED] wrote in message 9c3fi6$edm$[EMAIL PROTECTED]">news:9c3fi6$edm$[EMAIL PROTECTED]... hello... just asking...what is better in this case: i got lots of scripts and almost all

Re: [PHP] PHP 4.0.5

2001-04-24 Thread Martín Marqués
On Mar 24 Abr 2001 16:34, The Doctor wrote: On another front, will PHP 4.0.5 be compilable for a STATIC apache 2.0 Beta? As far as I know, yes! There is at configure time an option to use apache-2.0. Never used it. saludos... :-) -- El mejor sistema operativo es aquel que te da de comer.

[PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/apache2filter sapi_apache2.c

2001-04-24 Thread Sascha Schumann
sas Tue Apr 24 05:58:53 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/sapi/apache2filtersapi_apache2.c Log: MFH: Accomodate Apache HTTPD 2.0 API change Index: php4/sapi/apache2filter/sapi_apache2.c diff -u

[PHP] FTP problem..

2001-04-24 Thread Chad Day
I'm trying to write a script to ftp the contents of one directory structure onto another server.. I'm having problems recursing the directories, either it a) doesn't do it or b) gets stuck in a loop. Here's the function I'm having the problem with.. function recurseUp() { global

Re: [PHP] About sessions !!

2001-04-24 Thread Yasuo Ohgaki
SID does not work unless you enable trans sid. Regards, -- Yasuo Ohgaki Hassan Arteaga [EMAIL PROTECTED] wrote in message 7F548E90E63BD1118E4600609707771F8BEFAF@goliath">news:7F548E90E63BD1118E4600609707771F8BEFAF@goliath... Hi !! I just begin with PHP( but is the same as ASP ) and testing

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Christian Reiniger
On Tuesday 24 April 2001 14:47, Boget, Chris wrote: My problem is that not displaying anything in case of an error is a completely unacceptable solution. I *MUST* return a valid XML message in a predefined format. If not, I am violating the standard we are if (@foo_bar (42, 4711)

Re: [PHP]PHP script and new window.

2001-04-24 Thread Nikhil Goyal
Plutarck [EMAIL PROTECTED] wrote in message 9c2gdi$170$[EMAIL PROTECTED]">news:9c2gdi$170$[EMAIL PROTECTED]... First of all, I believe since you are using javascript on your button you shouldn't use type=submit. Change it to type=button, which means it will have no effect for browsers that

RE: [PHP] About sessions !!

2001-04-24 Thread Nicolas Guilhot
You should also check if register_globals is set to ON in your php.ini file. Otherwise you can't access you session variable just with $myvar !! And in your code you never increment $myvar, so even if it works, you'll always get 1. Regards, Nicolas Guilhot -Message d'origine- De :

Re: [PHP] Using input type = 'button rather than input type = 'submit'

2001-04-24 Thread Nikhil Goyal
also, using Method = POST will not show the vars in the URL, though it will be passed. Make it METHOD=GET to show it in the URL. N Rene Maldonado [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I think it woulf be better this way: print form

Re: [PHP] PHP 4.0.5

2001-04-24 Thread The Doctor
On Tue, Apr 24, 2001 at 11:01:27AM +0300, Martín Marqués wrote: On Mar 24 Abr 2001 16:34, The Doctor wrote: On another front, will PHP 4.0.5 be compilable for a STATIC apache 2.0 Beta? As far as I know, yes! There is at configure time an option to use apache-2.0. Never used it.

[PHP] Netscape Enterprise Server + PHP ?= possible

2001-04-24 Thread Daniel
Hi! I'm going to use PHP with Netscape Enterprise Server 3.5.1 (HP-UX). Is it possible and what should I do? As I understood from the documentation JSP is only one way. Do not want to believe in it. :-) Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] About sessions !!

2001-04-24 Thread Hassan Arteaga
ok ..register_globals are on !! Ok $myvar always will be 1 ..but when a try to print it is empty !!!..It is just a test about session. Thanks Nicolas !! -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:13 AM To: [EMAIL PROTECTED]

Re: [PHP] Anyone got the new Postgres 7.1 .rpms working?

2001-04-24 Thread Meir Kriheli - MKsoft
- Original Message - From: Geoff Caplan [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 12:33 PM Subject: [PHP] Anyone got the new Postgres 7.1 .rpms working? Hi I am trying to compile the latest version of PHP to work with the new Postgres

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
I don't understand your different definitions: muti-dimensional and array of arrays From the manual: Multi-Dimensional Arrays Multi-dimensional arrays are actually pretty simple. For each dimension of the array, you add another [key] value to the end: Tim Ward wrote: snip What looks like a

[PHP] no fetch

2001-04-24 Thread Wilbert Enserink
Hello everybody, I'm just starting out with php4 and I can use some help. Below is a script I wrote. The dbase connections are allright (i have tested them) , but the final result is 'no fetch'. so something goes wrong in 'mysql_fetch_row' but I don't understand what. Any of you have an idea?

RE: [PHP] Netscape Enterprise Server + PHP ?= possible

2001-04-24 Thread Jon Haworth
I would have thought you could use it as a CGI, if you can't get it running as a module. These manual pages look like they might be of use to you: http://www.php.net/manual/en/install.netscape-enterprise.php http://www.php.net/manual/en/install.hpux.php Cheers Jon -Original Message-

[PHP] db to xls

2001-04-24 Thread Rahul Bhide
Gurus, I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping it to a csv text file and reading into Excel. Is there a better way to do this?? Is there a php function for this ?? Regards ~Rahul -- PHP General Mailing List

[PHP] create bar chart

2001-04-24 Thread Ali
Hello, how it is possible to create a bar chart in php? I appreciate any hint. Ali -- 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 administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] create bar chart

2001-04-24 Thread Rahul Bhide
Ali, You need to install gd library with php . Visit here for a reference tool //www.sourceforge.net/projects/phplot/ bye ~Rahul Ali wrote: Hello, how it is possible to create a bar chart in php? I appreciate any hint. Ali -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Boget, Chris
standard we are if (@foo_bar (42, 4711) == ERROR_CODE) { PrintXMLErrorMessage (); I do not believe the above will work. When using the @ symbol in front of an expression, it makes it so that the error code that is returned is 0. While writing my error handler class, in the

[PHP] Image Processing in PHP

2001-04-24 Thread Michael O'Neal
Hi, I want a client to be able to upload a file to the web server via PHP. Then, I want that image to be processed, scaled, and made into thumbnails and full-size images. Is this possible with the image processing capabilities of PHP, or should I use something like Image Magick to do it

Re: [PHP] create bar chart

2001-04-24 Thread Ali
Hello Rahul, thanks for your reply. I already have got gd library installed. This tool which have mentioned may help me further to create such a bar chart. I will look at it. Regards Ali -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] About sessions !! (fwd)

2001-04-24 Thread johndmiller
try doing the session_register and then $myvar = 1; I think when you do the session_register the value of $myvar gets initialized to null. -- Forwarded message -- Date: Tue, 24 Apr 2001 11:23:17 -0300 From: Hassan Arteaga [EMAIL PROTECTED] To: Php (E-mail) [EMAIL PROTECTED]

Re: [PHP] db to xls

2001-04-24 Thread Calin Rotaru
You can query the oracle database and generate a text file with tab delimiter. Then you can open this file in Excel. Calin On Tuesday 24 April 2001 10:31, Rahul Bhide wrote: Gurus, I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping

Re: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Christian Reiniger
On Tuesday 24 April 2001 16:48, Boget, Chris wrote: standard we are if (@foo_bar (42, 4711) == ERROR_CODE) { PrintXMLErrorMessage (); Wrong back. From: http://php.net/manual/en/function.set-error-handler.php It is important to remember that the standard PHP error

[PHP] including html pages inside an interface

2001-04-24 Thread Romulo Roberto Pereira
Hello! This is the scenario: (a) I have an interface that will be the main interface with the user (b) I have a mail server (Mirapoint) that has a web interface (c) The web interface for the Mirapoint server is inside frames This is the problem: (a) let's say that I log in as a user from

RE: [PHP] Site Structure

2001-04-24 Thread John Huggins
This guy is proof that PHP programmers are a functional clever bunch and PHP does not box us in with too many limits. -Original Message- From: Matthew M. Boulter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 9:16 AM To: Steve Werby; Toby Miller; indrek siitan Cc: PHP

Re: [PHP] db to xls

2001-04-24 Thread Rahul Bhide
Thanks Calin, I have already tried with the csv and the tab delimited text file . I wanted to know a better option bye `Rahul Calin Rotaru wrote: You can query the oracle database and generate a text file with tab delimiter. Then you can open this file in Excel. Calin On Tuesday 24

RE: [PHP] Image Processing in PHP

2001-04-24 Thread Joseph Bannon
I want a client to be able to upload a file to the web server via PHP. Then, I want that image to be processed, scaled, and made into thumbnails and full-size images. Is this possible with the image processing capabilities of PHP, or should I use something like Image Magick to do it

RE: [PHP] Fatal Errors and Error Handling

2001-04-24 Thread Boget, Chris
if (@foo_bar (42, 4711) == ERROR_CODE) { PrintXMLErrorMessage (); Well, we both are right. The snippet I suggested (top of this mail) *will* work, because the @ operator doesn't mess with the return value of the function. That is correct. However, the == ERROR_CODE

Re: [PHP] db to xls

2001-04-24 Thread Andreas Landmark
On Tue, Apr 24, 2001 at 08:37:19PM +0530, Rahul Bhide produced this golden nugget: Thanks Calin, I have already tried with the csv and the tab delimited text file . I wanted to know a better option bye `Rahul Doubt there is a more effective solution with php (unless you write a class/

RE: [PHP] db to xls

2001-04-24 Thread Alok K. Dhir
If you really want to create Excel files directly from php, the attached file (untested) may help. I found this somewhere on the net while looking for the same solution. What I wound up using is the _excellent_ Spreadsheet::WriteExcel module for Perl. We simply call the perl CGI for that

RE: [PHP] db to xls

2001-04-24 Thread Boget, Chris
I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping it to a csv text file and reading into Excel. Is there a better way to do this?? Is there a php function for this ?? What I am doing is using PHP to generate an HTML table in

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Joe Brown
What is the software default path registry key??? I found it once before, when I wasn't looking. Now I'm looking I can't find it. Marc Boeren [EMAIL PROTECTED] wrote in message 7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER... If

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/imap php_imap.c

2001-04-24 Thread Chuck Hagenbuch
chagenbuTue Apr 24 07:17:41 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/imap php_imap.c Log: MFH: fix crash bug in imap_sort (#9908). Index: php4/ext/imap/php_imap.c diff -u php4/ext/imap/php_imap.c:1.62.2.1

[PHP] newbie help with wildcard question

2001-04-24 Thread Publications
Thank you in advance for your response. I have an order form that I would like to drop directly into my shopping cart. The following form and php works great for the first input - part_number - is there a wildcard that I can place at the end of the array so that the cart will pickup all part

  1   2   3   >