[PHP] SSL Authentication and Session Management

2001-07-13 Thread Vinay Kumar
Hello, I want to use SSL for authenting and Session management purpose. I have apache running SSL successfully. Now i want to use PHP for this purpose. How do i do that ??? Please explain in detail. Thanks in advance Vinay -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Web application?

2001-07-13 Thread Christopher Ostmo
Matthew Loff pressed the little lettered thingies in this order... > > I realize this is off-topic a bit... I also use MySQL for all > database-related projects... > > Does anyone have any comments on benchmarks of the new beta of > PostgreSQL vs. MySQL? Postgres appears staggeringly faster i

Re: [PHP] Web application?

2001-07-13 Thread Christopher Ostmo
Inércia Sensorial pressed the little lettered thingies in this order... > I am sorry, maybe going a little off-message here, but what would do you > mean by eliminate 'table-scans'? > > -- What is typically referred to as a "table scan" is any operation that requires scanning of the entire t

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Rasmus Lerdorf
> On 14-Jul-01 hassan el forkani wrote: > > there should not be any problem if your web server is configured to parse > > .inc extentions as PHP, in wich case, even if the file is called > > separately, the server will strip php tags and send normal html output. > > > > Enough already. > Whom sho

RE: [PHP] Printable Report Generator

2001-07-13 Thread John Monfort
> > Ain't no such critter as a page break in html, but you can let the browser > help out. True. But, there is one in XML. You can use XML to insert PRINTABLE page breaks in your documents. That is, you can specify where a page ends, and a new one begins, when the web doc is sent to the printe

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Chris Anderson
how can you hate foo.inc? - Original Message - From: "Don Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 10:39 PM Subject: Re: [PHP] how to hide dbconnect file if its in published directo > > On 14-Jul-01 hassan el forkani wrote: > > there should not be any

Re: [PHP] Strange Bizzare Problem

2001-07-13 Thread rm
Is it possible that your database is ot updating immediately but on a delayed basis..some databases can be set to update on a delayed or immediate basis. If the update varaiables are derived from the database then these will not be updated as well and the redirect will go thru, unless you put in

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Don Read
On 13-Jul-01 Jeff Hill wrote: > Don Read wrote: >> On 13-Jul-01 Jeff Hill wrote: >> > Don Read wrote: >> >> On 13-Jul-01 Jeff Hill wrote: >> >> > I've tried everything I can to pipe a string with mime content to >> >> > metamail, but it fails in every variation of: >> >> > >> >> > exec("echo $mim

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-13 Thread Rasmus Lerdorf
> there should not be any problem if your web server is configured to parse > .inc extentions as PHP, in wich case, even if the file is called > separately, the server will strip php tags and send normal html output. Once again, don't do this. If you write your .inc files assuming they are going

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Don Read
On 14-Jul-01 hassan el forkani wrote: > there should not be any problem if your web server is configured to parse > .inc extentions as PHP, in wich case, even if the file is called > separately, the server will strip php tags and send normal html output. > Enough already. Whom should we flog

Re: [PHP] Re: Confirmation Requester

2001-07-13 Thread Nick Winfield
On Sat, 14 Jul 2001, Dave Freeman wrote: > On 13 Jul 01, at 21:47, Inércia Sensorial wrote: > > > Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That > > would be elegant :-)). > > Yep, that's what I'm planning on - got any references on actually doing it? > I'm still learn

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-13 Thread hassan el forkani
there should not be any problem if your web server is configured to parse .inc extentions as PHP, in wich case, even if the file is called separately, the server will strip php tags and send normal html output. regards At 00:11 10/07/01, Noah Spitzer-Williams wrote: >Hey guys, > > I come

Re: [PHP] Re: Confirmation Requester

2001-07-13 Thread Dave Freeman
On 13 Jul 01, at 21:47, Inércia Sensorial wrote: > Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That > would be elegant :-)). Yep, that's what I'm planning on - got any references on actually doing it? I'm still learning about this sort of stuff and it really helps to see

[PHP] Paths for Extensions Solved

2001-07-13 Thread Johnny Nguyen
I either needed to add c:\php\dlls to my path or i had to copy libsasl.dll into c:\winnt\system32 in order for my extensions to work. My extension dir looked like this: ; Directory in which the loadable extensions (modules) reside. extension_dir = c:\php\extensions\ now gd and ldap show up when

[PHP] copying files to dynamic directory

2001-07-13 Thread Vincent Chew
Is it possible to copy a file to a dynamically created directory? Does anyone know how to put text onto multiple images with only one input? I want to generate images for javascript rollovers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] Web application?

2001-07-13 Thread Inércia Sensorial
I am sorry, maybe going a little off-message here, but what would do you mean by eliminate 'table-scans'? -- Julio Nobrega. You're asking me will my love grow, I don't know. "Christopher Ostmo" <[EMAIL PROTECTED]> wrote in message news:3B4F343A.18504.2376C59B@localhost... > As Rasmus stated

[PHP] Re: Confirmation Requester

2001-07-13 Thread Inércia Sensorial
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That would be elegant :-)). -- Julio Nobrega. You're asking me will my love grow, I don't know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] Error Message with sessoin variables [solved]

2001-07-13 Thread Johnny Nguyen
Thanks. c:\temp took care of it. now if i can only get the extensions to work. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Error Message with sessoin variables. Windows plataform?

Re: [PHP] encryption methods?

2001-07-13 Thread Christopher Ostmo
Butler, Shaun pressed the little lettered thingies in this order... > check out the crypt() function > > http://www.php.net/manual/en/function.crypt.php > > if you don't care about decrypting the password this works fine. > > --Shaun > Umm... You've misunderstood something. The reason why y

[PHP] Confirmation Requester

2001-07-13 Thread Dave Freeman
Hi All I'm really not sure if this is php or, perhaps, javascript. I have a php application in development. On one page I have a list of information extracted from a mysql database. I have links beside each line to edit or delete that informaiton (which calls a php function to carry out the

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Hank Marquardt
www.php.net/popen ? ... or am I missing something? On Fri, Jul 13, 2001 at 07:52:51PM -0400, Jeff Hill wrote: > Don Read wrote: > > On 13-Jul-01 Jeff Hill wrote: > > > Don Read wrote: > > >> On 13-Jul-01 Jeff Hill wrote: > > >> > I've tried everything I can to pipe a string with mime content to >

RE: [PHP] Best Choice

2001-07-13 Thread MRossland
I'm not sure of any open source projects that match what you're asking for, but I still recommend PHP. I get the impression that you are new to programming. If so, I do recommend PHP. At least in my case, PHP came easier than Perl or Python, probably because PHP is primarily designed for use on t

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
Don Read wrote: > On 13-Jul-01 Jeff Hill wrote: > > Don Read wrote: > >> On 13-Jul-01 Jeff Hill wrote: > >> > I've tried everything I can to pipe a string with mime content to > >> > metamail, but it fails in every variation of: > >> > > >> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w

Re: [PHP] Error Message with sessoin variables.

2001-07-13 Thread Inércia Sensorial
Windows plataform? I was getting this error and solved by creating a dir named 'tmp', so create: c:\tmp That's where the session files will be stored... I think it's configurable in php.ini. -- Julio Nobrega. You're asking me will my love grow, I don't know. "Johnny Nguyen" <[EMAIL PRO

[PHP] Re: Using an image as a reset button on a PHP script

2001-07-13 Thread Inércia Sensorial
From the html 4.1 manual (only saying this cause I don't know if it will work on agents that only support previous html versions)... Reset -- Julio Nobrega. You're asking me will my love grow, I don't know. "Brandon Orther" <[EMAIL PROTECTED]> wrote in message 01aa01c10be5$5d32ef40$5a52a04

[PHP] Adding to an array within while loop

2001-07-13 Thread Mike Gifford
Hello, I'm trying to get around a database problem that I'm having in which multiple authors are producing (almost - the authors are listed as different) duplicate returns within a bibliography. What I've done is query the database and produce a list of duplicates using something like this (t

RE: [PHP] Passwords and SSH port forwarding (was: Alternative to phpMyAdmin)

2001-07-13 Thread Matthew Loff
Excellent tip, Hank! I didn't know SSH tunneling was that easy, I haven't had the necessity to use SSH at all yet. -Original Message- From: Hank Marquardt [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 6:42 PM To: Egan Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Passwords and SS

[PHP] Best Choice

2001-07-13 Thread RL Autry
Hello we have read through the FAQ's: and so forth as directed when joining and still need an answer to the following. Background: We are wanting to redesign a members area on our website, we thought using PHP/MySQL. We want the members to be able to join (sign-in) and complete course material

Re: [PHP] Passwords and SSH port forwarding (was: Alternative to phpMyAdmin)

2001-07-13 Thread Hank Marquardt
Works just fine ... as does postgres -- ssh -N -2 -f -C -c blowfish -L3306:yourdatabase.server.here:3306 [EMAIL PROTECTED] or the other usual tricks work too ... like going through a firewall (fyi ... clear text on the *other* side of the firewall): ssh -N -2 -f -C -c blowfish -L3306:db_behind

[PHP] Passwords and SSH port forwarding (was: Alternative to phpMyAdmin)

2001-07-13 Thread Egan
On Fri, 13 Jul 2001 12:28:37 -0400, "Matthew Loff" <[EMAIL PROTECTED]> wrote: >> Does mysql-front encrypt the password before it travels the net? >It does support the compressed client/server protocol, which would make >it harder to intercept-- but encryption is not an option yet on the >client.

[PHP] File Paths in PHP.ini on Win2000 w/ Apache

2001-07-13 Thread Johnny Nguyen
I've got the following lines in my php.ini in my C:\WinNT dir. ; ; Paths and Directories ; ; include_path= ; UNIX: "/path1:/path2" Windows: "\path1;\path2" doc_root= ; the root of the php

[PHP] Strange Bizzare Problem

2001-07-13 Thread Somazx Interesting
I'm running into this really odd, seemingly illogical problem: Background: This is an on-line course made up of lots of pages, some have forms, some don't. The pages which have forms all submit to single php script (called submit.php) which processes the submitted form, placing the submitted

Re: [PHP] Using an image as a reset button on a PHP script

2001-07-13 Thread Mark Maggelet
On Fri, 13 Jul 2001 14:46:41 -0700, Brandon Orther ([EMAIL PROTECTED]) wrote: >Hello, > >I am making a script at the moment and want to use images instead of >the >usual buttons. Does anyone know how I can use the image as a reset >button? >Thank you, > >--

Re: [PHP] Web application?

2001-07-13 Thread Rasmus Lerdorf
Nothing wrong with MySQL. My comment was not specific to any particular database. It was just a general comment that any database-backed web site will have the database as the bottleneck and any little optimizations you try to do at the scripting level is not going to matter much in the grander

Re: [PHP] Using an image as a reset button on a PHP script

2001-07-13 Thread Jason Bell
A quick search on the web found that you have to output some javascript to handle that take a look at http://www.idocs.com/tags/forms/index_famsupp_142.html (Caveat: I only found the information by going to google and searching on "html image reset button" I have not studied it, or tried it.

Re: [PHP] Using an image as a reset button on a PHP script

2001-07-13 Thread Aaron Bennett
Aside from doing 2 tricky... well... tricks. You can't.. Standard HTML (to my knowledge) does not support the ability to have a reset button be set to an image. only those large gray Cadillac sized hideous buttons. Now, with that said.. there are 2 ways you can do it. ;-) Client Side - If you us

Re: [PHP] Web application?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
It all depends on your application, the use it receives, your server hardware (mainly RAM), and your MySQL/PHP configurations. For 90% of web applications, and 90% of the loads they receive, any confiuguration of MySQL would be fine. But describe your scenario and we should be able to let you kno

Re: [PHP] Web application?

2001-07-13 Thread Yves Gauvreau
Is that to say that mySQL is not a good choice in this situation? If you would be so kind. Why would mySQL be the bottleneck and why PHP would not? Regards. Yves Rasmus Lerdorf wrote: > Should be fine. Chances are your bottleneck will be your database, not > PHP. > > -Rasmus > > On Fri,

Re: [PHP] Web application?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
Should be fine, but if your main script is HUGE, say, 1MB (hey, it's possible, if all HTML was inline :-) then you should consider breaking it up to seperate files and include()'ing them. Require() is just as bad as having them inline, in terms of memory usage, but include() replaces them only if

Re: [PHP] Web application?

2001-07-13 Thread Yves Gauvreau
Is that to say that mySQL is not a good choice in this situation? If you would be so kind. Why would mySQL be the bottleneck and why PHP would not? Regards. Yves Rasmus Lerdorf wrote: > Should be fine. Chances are your bottleneck will be your database, not > PHP. > > -Rasmus > > On Fri,

[PHP] Using an image as a reset button on a PHP script

2001-07-13 Thread Brandon Orther
Hello, I am making a script at the moment and want to use images instead of the usual buttons. Does anyone know how I can use the image as a reset button? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6

[PHP] Error Message with sessoin variables.

2001-07-13 Thread Johnny Nguyen
I place at the top of my page and get this Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m (2) in w:\apache\loginform.php on line 1 Can somebody help? Do I need to make any changes to php.ini to get sessions working? Regards, Johnny -- PHP General Mailing List (htt

Re: [PHP] Web application?

2001-07-13 Thread infoz
I do this on several large high-traffic sites, as part of a content-management system, and it works fine. If you also use a script cache product (Zend Cache or APC) and a cacheing template engine (cough, cough) together in this kind of environment, you should see excellent results, with the data

Re: [PHP] Web application?

2001-07-13 Thread Rasmus Lerdorf
Should be fine. Chances are your bottleneck will be your database, not PHP. -Rasmus On Fri, 13 Jul 2001, Yves Gauvreau wrote: > Hi, > > The question is this: Say I have a large main script that handles most > of the request if not all, I wonder what are the effect of this approach > on perform

[PHP] Web application?

2001-07-13 Thread Yves Gauvreau
Hi, The question is this: Say I have a large main script that handles most of the request if not all, I wonder what are the effect of this approach on performance in a situation where we have a fair number of concurrent users? Situation: Server: P4 1300, Linux (RH 7.1), Apache, MOD_PHP, myS

Re: [PHP] Variable name declarations?

2001-07-13 Thread Rasmus Lerdorf
> Does anyone else have any thoughts on this? error_reporting = E_ALL in your php.ini file and PHP will warn you whenever you use an unitialized variable. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

[PHP] How to unsubscribe

2001-07-13 Thread Lara J. Fabans
I hope you all enjoy this as much as I did. Lara Subject: How to unsubscribe from the list. :) You see, all of those "to unsubscribe, do this." instructions at the bottom of the emails sent through this list are wrong. We only put those there to confuse everyone so that they will never leave

[PHP] Re: Export to Excel

2001-07-13 Thread Tim Frank
Jorge, I pieced together a way to do this from other suggestions I found on the mailing list and elsewhere. This is more of a trick to get Excel to think it has an Excel file, but it doesn't truly generate an Excel file. Thanks to Excel versions 97 and up (don't recall 95) havin

RE: [PHP] Variable name declarations?

2001-07-13 Thread scott [gts]
> -Original Message- > From: Matthew Aznoe [mailto:[EMAIL PROTECTED]] > Subject: [PHP] Variable name declarations? > > However, I do have one complaint about PHP that seems to have a tendency to > bite me far too often, and that is the lack of variable declaration. While > I do not thi

[PHP] PLZ HELP! php won't compile:( PLZ HELP

2001-07-13 Thread alexus
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m ysql/ --with-imap --enable-versioning --enable-ttrack-vars --with-ldap --ena ble-gd=../gd-1.8.4 --with-png=../libpng-1.0.11 --with-jpg=../jpeg-6b --with- zlib-dir=../zlib-1.1.3 this is my configuration line.. i dont get

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Don Read
On 13-Jul-01 Jeff Hill wrote: > Don Read wrote: >> On 13-Jul-01 Jeff Hill wrote: >> > I've tried everything I can to pipe a string with mime content to >> > metamail, but it fails in every variation of: >> > >> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", >> > $met_res) ; >>

[PHP] --with-imap-ssl

2001-07-13 Thread alexus
i've tryed --with-imap-ssl in my configure line and i got this.. . checking for SSL support in IMAP... yes configure: error: This c-client library does not support SSL. Recompile or remove --with-imap-ssl from configure line. su-2.05# what needs to be done in order to make it work? -- PHP

Re: [PHP] Variable name declarations?

2001-07-13 Thread Zak Greant
Hi Matthew, Set your error_reporting level to E_ALL. The parser will then report the use of undeclared variables. --zak - Original Message - From: "Matthew Aznoe" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 2:22 PM Subject: [PHP] Variable name declarat

[PHP] Variable name declarations?

2001-07-13 Thread Matthew Aznoe
I have to agree that strong typing is not a good fit with PHP. It really limits the flexibility of the language that is, at least to me, one it its strongest appeals. Often, strong typing can be overly restrictive, and free typing, when combined with good comments and documentation which shoul

Re: [PHP] encryption methods?

2001-07-13 Thread Butler, Shaun
check out the crypt() function http://www.php.net/manual/en/function.crypt.php if you don't care about decrypting the password this works fine. --Shaun On Friday 13 July 2001 15:26, Johnson, Kirk wrote: > One approach to password security is to put the passwords in a file outside > Document Ro

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
Don Read wrote: > On 13-Jul-01 Jeff Hill wrote: > > I've tried everything I can to pipe a string with mime content to > > metamail, but it fails in every variation of: > > > > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", > > $met_res) ; > > what about "/bin/echo ..." Nope, b

RE: [PHP] HTTP Authorization

2001-07-13 Thread Don Read
On 13-Jul-01 Tom Malone wrote: > Call me stupid, because this may be a stupid question, but I have searched > all over for the answer and cannot find it. > > How can you get the username and password from HTTP_AUTH_USER or another > environment variable in PHP? I need to determine who is logging

RE: [PHP] encryption methods?

2001-07-13 Thread Johnson, Kirk
One approach to password security is to put the passwords in a file outside Document Root, then include that file in your scripts when you need a password. Kirk > -Original Message- > From: Adrian Teasdale [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 1:10 PM > To: [EMAIL PROT

RE: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Don Read
` On 13-Jul-01 Jeff Hill wrote: > I've tried everything I can to pipe a string with mime content to > metamail, but it fails in every variation of: > > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", > $met_res) ; > what about "/bin/echo ..." Regards, -- Don Read

[PHP] HTTP Authorization

2001-07-13 Thread Tom Malone
Call me stupid, because this may be a stupid question, but I have searched all over for the answer and cannot find it. How can you get the username and password from HTTP_AUTH_USER or another environment variable in PHP? I need to determine who is logging in so I can connect to the correct databa

[PHP] Converting from paradox DB to mysql

2001-07-13 Thread Robert Mena
Hi, Does anybody knows how can I convert from a Paradox DB to mysql ? I've searched freshmeat.net but pxtools gives me core dump and unixODBC seems to be "just" the driver (i.e I'd have to write a convertion tool). Thanks. __ Do You Yahoo!? Get p

Re: [PHP] Export to Excel

2001-07-13 Thread Reuben D Budiardja
Hmm, I tried it, and my excel 2k could not read it either. I even change the echo to fwrite, and delete all the headers. What did you do to your source code? just copy it or did you modify it? Could you possibly send it to me off list? Thanks Reuben D. Budiardja On Friday 13 July 2001 01:36 pm

[PHP] encryption methods?

2001-07-13 Thread Adrian Teasdale
Hi all Encryption is not something that I have had dealings in with PHP. I have a potential client who wants to have customer account information (8000 records) stored on the internet (minus credit card information) and I was wondering what options I have for encryption. My concern is that by s

Re: [PHP] GD help

2001-07-13 Thread jeremy brand
Hi Chad, You can follow my example at: http://www.nirvani.net/software/image_create/ Hope this helps. Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - -

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I'll bet it did! Sorry, nothing unusual here, good luck. > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:50 PM > To: php > Subject: RE: [PHP] peculiar behaviour of large integers with > "<" and ">" > > > i guess you've got a more rec

RE: [PHP] Regex Help

2001-07-13 Thread Erick Calder
Sheridan, I didn't test this in PHP, I'm more familiar with the Perl Regex, but this might work for you, play with it: /mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 9:04 AM To: [EMAIL PROTECTED] Subject:[PHP] Regex Help I am trying to write a script that needs a list of a

[PHP] POST data is lost on PHP CGI after shmat() failed. [4.0.5, Linux]

2001-07-13 Thread Steven Haryanto
I have two CGI PHP installation on my Linux system. One of them is a vanilla build (all defaults except --prefix and --with-config-file-path, and the other is built with the .spec file from rpms.arvin.dk). POST method does not work with the arvin PHP CGI binary, while it works ok with the vanilla

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
i guess you've got a more recent version of PHP than i do... For me, it prints out "This is printed" but not "This is not printed", which made my eyebrows touch the ceiling when i first saw that... > -Original Message- > From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] > Sent: Friday, J

[PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
I've tried everything I can to pipe a string with mime content to metamail, but it fails in every variation of: exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", $met_res) ; I can successfully write the mime string to a tmp file, and then: exec(" cat /tmp/mime_mail | /usr

RE: [PHP] Session Variables and Redirecting

2001-07-13 Thread Johnson, Kirk
You should be able to do exactly what you want, I do this myself. I am wondering if you are hitting a bug that is present in PHP in versions prior to 4.0.6, where $someflag and$HTTP_SESSION_VARS["someflag"] do not reference the same value. Try changing two lines in your code to read as below, inst

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I am running 4.0.6. Nothing prints to the screen using a cut and paste of the code below. > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:25 PM > To: php > Subject: RE: [PHP] peculiar behaviour of large integers with > "<" and ">" > >

Re: [PHP] Export to Excel

2001-07-13 Thread Aaron Bennett
Interesting... I have excel2k, and it worked fine for me... The only thing i can think of is maybe some extra garbage you get when it generates the file... maybe headers? -- Aaron Bennett [EMAIL PROTECTED] - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Brady Hegberg'"

[PHP] Session Variables and Redirecting

2001-07-13 Thread Johnny Nguyen
I've done this on other platforms ASP,Cold Fusion, but I need to know what's the best way to do it on PHP. 1. grab username and password from POST vars. 2. select count(*) from users where username = '$username' and password='$password'... something along these lines 3. if that user exists and pa

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
after reading thru the PHP site some more, i found a little note mentioning a problem with the way negative integers are handled in v4.0.6... what version are you using? what do you see when you run this code? if (5 < -2147483647) { print "This is printed."; } if (5 < -214748364) { print "This

RE: [PHP] Export to Excel

2001-07-13 Thread Boget, Chris
> Here's something I found on the PHP Code Exchange: > Generate Excel files from PHP by Christian Novak on > 2000-11-25 11:47:24 (v for 4.0) is 1974 bytes. > Small function library to generate Excel files/stream > directly from PHP. > http://px.sklar.com/code.html?code_id=488 > I haven't tried i

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I get nothing unusual Kirk > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:08 PM > To: php > Subject: [PHP] peculiar behaviour of large integers with "<" and ">" > > > Has anyone come across this before? > > // compare 5 to th

RE: [PHP] Export to Excel

2001-07-13 Thread Brady Hegberg
Here's something I found on the PHP Code Exchange: Generate Excel files from PHP by Christian Novak on 2000-11-25 11:47:24 (v for 4.0) is 1974 bytes. Small function library to generate Excel files/stream directly from PHP. http://px.sklar.com/code.html?code_id=488 I haven't tried it out...it do

[PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
Has anyone come across this before? // compare 5 to the max value of an integer if (5 < -2147483647) { print "This is"; } // knock a digit off the max and compare again if (5 < -214748364) { print "weird"; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

RE: [PHP] which php shopping cart is this?

2001-07-13 Thread Jerry Lake
Never mind that last message, It is The Exchange Project http://theexchangeproject.org/catalog/default.php? Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: [EMAIL PROTECTED]

Re: [PHP] which php shopping cart is this?

2001-07-13 Thread James W Greene
Actually is is TEP at www.theexchangeproject.org JG - Original Message - From: "Jerry Lake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 2:02 PM Subject: RE: [PHP] which php shopping cart is this? > I think that is opencart, or openshop something > like that.

RE: [PHP] which php shopping cart is this?

2001-07-13 Thread Jerry Lake
I think that is opencart, or openshop something like that. I ran across it at www.hotscripts.com a while back. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: [EMAIL PROTECTE

Re: [PHP] which php shopping cart is this?

2001-07-13 Thread py
You should ask them! My guess is phpshop?? py - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 6:46 PM Subject: [PHP] which php shopping cart is this? > Greetings! > > Which php-based shopping cart is being used at this site? > http:/

[PHP] mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-13 Thread David Wartell
Im using PHP 4.0.6 install on Solaris x86 with mysql 3.23.39. The following code causes mysql_query to return false, but the database update works! $query .= "WHERE User_Name = '$User_Name[$i]'" ; $sth = mysql_query($query) or die ("ERROR: Update Query Failed$query") ; if ($verbose) {

RE: [PHP] The need for strong typing...

2001-07-13 Thread Merio, Quinn
I was going to suggest this too. I like doing any sort of transactions or complex business logic using components whether they be servlets, com objects, etc. I would take advantage of the ability to integrate different technologies. Also, it helps using a compiled language for the bus logic, bec

[PHP] ODBC to MS-Access View?

2001-07-13 Thread Hankley, Chip
I'm trying to connect up w/ an Access database one of our db administrators set up. The Access file has an "adp" extension...the data is housed in a view, (essentially a read-only dump of some MS SQL Server tables). I've set up the file as a System DSN in ODBC (WinNT) When I issue the following

[PHP] which php shopping cart is this?

2001-07-13 Thread pyz
Greetings! Which php-based shopping cart is being used at this site? http://shop.t-shirtoutlet.com/catalog/ Thanks! Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com/ -- PHP General Mailing List (h

RE: [PHP] session problem using headers

2001-07-13 Thread scott [gts]
you're passing the PHPSESSID incorrectly, it seems you must do something like this: or header("Location: nextpage.php?$SID"); what you're doing now will go to page "input.php?=SID" instead of "input.php?938sa9fa98f7daf987a9s" (or similar) > -Original Message- > From: David Allen [

RE: [PHP] Re: How to convert a string into a mathematical expression?

2001-07-13 Thread scott [gts]
be *extremely* careful. eval() is like spawning another PHP interpreter... it'll execute *any* code that you give it. people could type in unlink(); and such commands and really trash your webserver. > -Original Message- > From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] > Subject: [PH

RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
stat() > -Original Message- > From: Randy Johnson [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 4:09 PM > To: scott [gts]; php > Subject: RE: [PHP] forms and IP numbers > > > I would like to pull the date and time of the creation of a file via a php > script and compare it to

Re: [PHP] Re: Export to Excel

2001-07-13 Thread Marius Andreiana
How do you deal with numeric fields which start with 0 ? Excel takes the 0s out. Thanks, Marius Andreiana -- You don't have to go to jail for helping your neighbour http://www.gnu.org/philosophy/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Re: Export to Excel

2001-07-13 Thread Philip Hallstrom
Instead of the comma-separated suggestions mentioned in other posts, I'd recommend using a tab-separated file so that you don't have any confusion for entries such as addresses that might look like "Seattle, WA". The other reason is that it's *really* hard to enter a TAB in an HTML form so it's j

[PHP] Re: How to convert a string into a mathematical expression?

2001-07-13 Thread Philip Hallstrom
Take a look at the eval() function. On Fri, 13 Jul 2001, Christodoulou Demetris wrote: > Hi list. > I have string variables that contain mathematical expressions. These > strings are submitted through forms. > For example if a user inserts the following-> 1+cos(0.3)*x into a text field > with

RE: [PHP] forms and IP numbers

2001-07-13 Thread Randy Johnson
I would like to pull the date and time of the creation of a file via a php script and compare it to the current time. How do I do this? TIA Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
no offense, but that's a bad kludge for the problem. however, if you really want to do that, you could try checking $SERVER_NAME and $HTTP_REFERER and other enviornment variables like that... what would be easier (and better practise) to do is to verify that the incoming username is valid...

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread scott [gts]
like you said... as long as the database provider accepts connections from outside, you can administer it from anywhere. if the provider doesn't accept incoming connections, no amount of tools and software will work for you. > -Original Message- > From: Alexander Skwar [mailto:[EMAIL PRO

RE: [PHP] Export to Excel

2001-07-13 Thread Neil Kimber
Dump to file as comma separated and then load into Excel. Excel reads comma separated files. In the file open dialog you can select file type to be .txt (csv). If you want to be really sick then you can set up an ODBC connection to a comma separated file and then use MSQuery inside Excel. Anothe

Re: [PHP] Export to Excel

2001-07-13 Thread BELL, JASON (PB)
You could try writing the data out to a comma seperated file, and then offer the file for download. Excel understands these files, and they are plaintext, therefore easy to create. Jason Bell "Jorge Alvarez" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > One of my clients is

RE: [PHP] Export to Excel

2001-07-13 Thread Kurt Lieber
Easiest way is to export the data into comma-delimited format. (.csv files) Excel can import those no problem. So, you would write a php function that created a simple text file that looked like: Fieldname1,fieldname2,fieldname3 Data1,data2,data3 Etc. And excel can open that kind of file right

Re: [PHP] Enabling short tags in PHP 4.0.6

2001-07-13 Thread Coulee Web
Thank you - that did the trick! The php.ini file WAS in the wrong folder. Too bad the ./configure command doesn't know where to put it! Ralph Guzman wrote: > > Are you sure you have the php.ini file in the right directory? When looking > at phpinfo() make sure php.ini is located where the "Confi

[PHP] Post processing Perl output through PHP

2001-07-13 Thread tau
Hi all, I am having a knightmare trying to get some PHP into the output of a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple filters, which would be perfect when it's out, but not yet obviously. I've tried calling the CGI PHP from inside Perl in a few ways: == #!/usr/bi

  1   2   >