[PHP] Re: Credit Card script that really works...

2001-07-13 Thread elias
Go to http://www.webberdev.com and search for a credit card script! I found one that is very good! and I'm using it. Dhaval Desai [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! Well I jsut downloaded the credit card script from this website:

Re: [PHP] Re: Mcrypt fails to run

2001-07-13 Thread Christopher Ostmo
Gigi pressed the little lettered thingies in this order... Hi, Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt. Regards, --Gildas. -- /-*-\ | Systèmes Technologies | Tél: +33 2 96438787 |

[PHP] Problem with mail subject

2001-07-13 Thread umesh DESHMUKH
Hi Gurus, I am using PHP4, I am using mail function which has Japanese subject, I am using 'iso-2022-jp' charser for japanese mail body. The problem the Japanese subject is seen corrupted, can anyone pls. tell me what should I do to change the charset of Subject to 'iso-2022-jp' so that the

Re: [PHP] Strong typing?

2001-07-13 Thread Adam
why can't you just use plan simple HTML to do it??? rather than make a larger hassle for your self ie strong howdy /strong ??? yes that is valid HTML :) Peter why do i get the idea that's not what they meant... -Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] field values in multipart/form

2001-07-13 Thread Erick Calder
Hi, I'm running PHP 4.0.4pl1 on a RedHat 7.0 box. I have the following problem: when using ENCTYPE=multipart/form for a FORM, PHP receives the values of fields with a prepended \n e.g. with: PRE ? if ($f1) { echo test: /$f1/; exit; } ? /PRE FORM ENCTYPE=multipart/form INPUT TYPE=TEXT

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
if you install mysql on a windoze machine then you can administer ANY mysql database going through the socket. i do it all the time. Steve -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 19:15 To: Matthew Loff Cc: 'Steve Brett'; 'Steph';

[PHP] php/webmail question

2001-07-13 Thread Adrian D'Costa
Hi, I am writing a webmail in php using pop3 as the ones I downloaded do not do what I want. Assuming I am able to connect and get the list of messages and sizes. Now I have a couple of attachments on some mails. When I read the message it just displays the base64 encoded message (trying to

[PHP] postgres and php

2001-07-13 Thread Derek
anyone know how I force a case insensitive search through a postgres database. I've got a search looking for 'something like '%something%' but this won't find 'SOMETHING'...if you know what I mean!? Thanks in advance for any help Derek -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
if you install mysql on a windoze machine then you can administer ANY mysql database going through the socket. Okay, for a development this may be fine, but I still fail to see how a tool that runs on your own computer (no matter if it's a Windows tool, or a Linux tool) can help you

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
i'm sorry but i seem to be completely missing your point. mysql accepts incoming requests on a specific socket (can't remember which one, but postgresql is 5432) and therefore where you are is not an issue. i administer databases via a modem connection that sit on servers somewhere in the

[PHP] Read and write

2001-07-13 Thread Francois Boucher
I need to read in a binary file. (the file is write in c++ and contain integer, interger,char(10),char(10) ) So I need to read this and write it in normal caracters. So I try: $fp = fopen(data_bin.dat,rb); $data[] = fread($fp,4); $data[] = fread($fp,4); $data[] = fread($fp,10); $data[] =

[PHP] mysql error

2001-07-13 Thread andreas \(@work\)
hi all, my script was now working for month but now suddenly get this error: The table 'SQL90cb_0' is full SELECT DISTINCT t1.id,t1.textd FROM tblEntry AS t1,tblTopic AS t2 ORDER BY t2.named,t1.textd anyone know whats the problem ? thank you andreas

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
i'm sorry but i seem to be completely missing your point. mysql accepts incoming requests on a specific socket (can't remember You mean port, don't you? one, but postgresql is 5432) and therefore where you are is not an issue. Well, the issue is, that normally, connects to mysql are NOT

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
i'm sorry but i seem to be completely missing your point. Yeah, seems like so :) mysql accepts incoming requests on a specific socket (can't remember You mean port, don't you? one, but postgresql is 5432) and therefore where you are is not an issue. Well, the issue is, that normally,

[PHP] forms and IP numbers

2001-07-13 Thread Marc van Duivenvoorde
A friend of mine found a bug in my messageboard code, this way he can post with other (than in my database) nicknames from a local form. Now I want to have the formhandler do a check from where the form is sent. If it is not sent from my own webserver it has to display an error message.

Re: [PHP] Read and write

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
Put quotes around rb, but I don't think you need the b. Also, are the integers always char(4)? /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Francois Boucher [EMAIL

Re: [PHP] forms and IP numbers

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
This would be just as bad, as he could open up a socket faking a referer. What you really need are data integrity checks inside the script which posts to the message board on your server. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
-Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: 13 July 2001 10:57 To: Steve Brett; Alexander Skwar; Steve Brett; Matthew Loff; Steve Brett; 'Steph'; [EMAIL PROTECTED] Subject: RE: [PHP] Alternative to phpMyAdmin i'm sorry but i seem to be

[PHP] O'Reilly Open Source Conference

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
As the conference date draws nearer, I'd like to try and get familiar with some of the other list members who'll be attending. What sessions or tutorials are you looking forward to? What's your background with PHP, MySQL, or other open source technologies? What company, if any, will you be

AW: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Sebastian Stadtlich
one, but postgresql is 5432) and therefore where you are is not an issue. Well, the issue is, that normally, connects to mysql are NOT allowed from any arbitrary host. Normally, in safe setups, network connections to mysql are not possible. And if they are, you need to specify a

[PHP] session problem using headers

2001-07-13 Thread David Allen
Hi, I am having problems with sessions. With cookies turned on it works fine. Turn off cookies it fails. I have tried both header(Location: input.php?=SID); header(Location: input.php?PHPSESSID=.PHPSESSID); to pass the session id to the programme input.php but neither works. The first lines

Re: [PHP] How to force a file download

2001-07-13 Thread Philip Murray
Try sticking in a Header(Content-Disposition: attachment; filename=\$filename\); It should work with IE5.5, but it's hard to tell with Internet Explorer as it changes from version to version. - -- - - - Philip Murray - Senior Systems Engineer [EMAIL

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

2001-07-13 Thread Christodoulou Demetris
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 name expression in an HTML form then what i get on the server is the string variable $expression

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

2001-07-13 Thread Christodoulou Demetris
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 name expression in an HTML form then what i get on the server is the string variable $expression

[PHP] $B$4M;;q$N$40FFb(B

2001-07-13 Thread $B%"%]%m4k2h(B
$B!&!&!&(B $B:#F|$N;q6b7+$j$G$*:$$j$NJ}$O(B $B!&!&!&(B http://www.justinmail.net/ma02/pa01.htm $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&!&(B $B#1#0#0K|1_$^$G$4M;;qCW$7$^$9!#(B $B.@Z

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Egan
On Fri, 13 Jul 2001 11:15:52 +0100, Steve Brett [EMAIL PROTECTED] wrote: one of the guys i work for has an account with a service provider that gives mysql databases as part of his package. he has an account and password that is supplied when using mysql-front to connect to his database. Does

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
That is correct. .domain.com is the correct way to do it. (make sure you have the leading dot.) You are having some other problem. Jeremy On Fri, 13 Jul 2001, the following spilled from the mind of david jarvis: Date: Fri, 13 Jul 2001 09:36:14 -0400 From: david jarvis [EMAIL PROTECTED]

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
for example this code: setcookie('cookie_name', 'cookie_val', time()+3600, '/', '.domain.com'); results in this HTTP header: Set-Cookie: cookie_name=cookie_val; expires=Fri, 13-Jul-01 15:14:25 GMT; path=/; domain=.domain.com Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988

[PHP] count number of form fields?

2001-07-13 Thread Jaxon
Hi, Can someone give me an example of how to count the number of form fields entered? E.g. let's say I have three dropdown lists, the first is mandatory, and the second two are optional. I want to be able to tell my target php script how many of the dropdowns are populated. thanks in advance!

[PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Peter Clarke
Conor McTernan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey all, I've been using apache, php and mysql on win32 for a while now, and I have recently decided to move over to linux *yay*, so i got myself a copy of Suse 7.1 personal edition. i now have

[PHP] Re: postgres and php

2001-07-13 Thread Peter Clarke
Derek [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... anyone know how I force a case insensitive search through a postgres database. I've got a search looking for 'something like '%something%' but this won't find 'SOMETHING'...if you know what I mean!?

Re: [PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Conor McTernan
Peter I think I have tohse lines i nmy httpd.conf. although they might read: AddType application/x-httpd-php4 .php AddType application/x-httpd-php-source .phps or something like that, i'll make sure to check it when I get back from work. I was going to install it as a DSO, but

Re: [PHP] count number of form fields?

2001-07-13 Thread py
A multiple dropdown lists will produce an array is you put [] when naming the list. You than need to count how many elements you have in the array. py p.s. it could be done in javascript as well, but it's so easy in php :) - Original Message - From: Jaxon [EMAIL PROTECTED] To: [EMAIL

[PHP] Problem with is_file function on WinNT and apache HELP!

2001-07-13 Thread Antony Cleave
I am trying to dynamically generate an image gallery from a directory iof images. To do this I am using the following code while (false!==($file = readdir($handle))) { if ((is_file($file))) { echo .. Link info here }

Re: [PHP] Problem with is_file function on WinNT and apache HELP!

2001-07-13 Thread ReDucTor
http://www.evilwalrus.com/download_agree.php?codeEx=304 is a good example of using directory handles, works in windows... - Original Message - From: Antony Cleave [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 1:17 AM Subject: [PHP] Problem with is_file function on

RE: [PHP] Upcoming wrox php/flash book?

2001-07-13 Thread Andrew Chase
Also, PHP's .SWF generating capabilities aside, PHP could also be used to generate included text on the fly - I forget the exact command, but I know you can define the contents of a variable from an external file in Flash. This would lend itself to updating a newsfeed or What's New blurb within a

[PHP] Pb with MP3 streaming with Flash Object swfmovie()

2001-07-13 Thread octopussy
Hi all, I'm trying to make some MP3 streaming with my Apache Web Server and PHP since I discovered the instruction streammp3($filename) in the swfmovie object. But can't make it work! Anybody else tryied to use this feature or did I miss something? Octopussy! ? // Streaming MP3 Test $mp3_file =

[PHP] Query in Enum Field in MYSQL

2001-07-13 Thread Diego Riaño
Hi everybody I have a problem with an ENUM fiel in a MySQL DB: I want to order alphabetically the options in the ENUM fiel in a query. How can I do That? Thanks in advances Diego Ria;o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Upcoming wrox php/flash book?

2001-07-13 Thread infoz
Yep, the Flash 4/5 LoadVariables function will let you call a PHP script that sends the data back as URL encoded variables. Works great! - Tim http://www.phptemplates.org - Original Message - From: Andrew Chase [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 11:43

[PHP] Regex Help

2001-07-13 Thread Sheridan Saint-Michel
I am trying to write a script that needs a list of all the images in an HTML file. I am trying this code if (eregi ((img.+src=)(.+)[\s],$buffer, $regs )) { echo $regs[2]BRBR; } The problem, however is that when it looks at IMG SRC=images/Logo.gif ALT=Only Child Club - The

RE: [PHP] Thumbnail Generation from DB Stored Images.

2001-07-13 Thread scott [gts]
Here is my code to turn a directory full of *files* into thumbnail images. im sure you can adapt it to your own needs... the code is a bit long-winded, but it was my first attempt at writing thumbnail code, so forgive me ;) // example call to the function make_thumbs('./pictures/cavern/',

[PHP] GD help

2001-07-13 Thread Angerer, Chad
I am having some problems generating images with GD. I am using GD 1.6.2 and trying to create a .png image. I know it works. I have created just a generic graphic without trying to put variables into it and am hoping someone can help me on this one. Here is some code snippet // here is my

RE: [PHP] Strong typing?

2001-07-13 Thread scott [gts]
and as far as i know, perl's 'strict mode' has absolutely nothing to do with typing of variables... use strict; will force you to define all variables with my $var; or local $var; before you assign values to them or try and use them... but it doesnt do anything about enforcing typing... in

RE: [PHP] Algorithm for repeating calendar events

2001-07-13 Thread Matthew Loff
That's a good question, Michael-- I don't really know if libmcal can be used on Win32... Is it made to be compiled under VC++? If it can't, you should be able to achieve similar results by storing events in a DB, and using the Date_Calc class: http://www.phpinsider.com/php/code/Date_Calc/

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Matthew Loff
Unfortunately, it doesn't -- you bring up a good point. 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. I don't suppose there's any way on Win32 to use an SSH tunnel, is there? -Original

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

2001-07-13 Thread scott [gts]
you could easily write yourself a typing function to take care of all that (as someone suggested previously) using the same familiar syntax as you want to use in the function definition. function pay($fromaccount, $toaccount, $amount, $memo) { $good = checkInput($fromaccount, int, $toaccount,

RE: [PHP] Enabling short tags in PHP 4.0.6

2001-07-13 Thread scott [gts]
what do the tags look like? ? ? or % % the first is a short tag the second is an asp style tag maybe you're looking at the wrong option in the 'ini' file. -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:17 PM To: Coulee Web;

RE: [PHP] Re: How to maintain a variable between PHP pages (sessions?).

2001-07-13 Thread scott [gts]
sessions or cookies is the way you probably want to go. you could pass the variable around to each and every form, but that is a pain in the ass, and extremely prone to errors. on the first page, where you check the user's ability to use attachments, you could simply set a cookie

[PHP] Export to Excel

2001-07-13 Thread Jorge Alvarez
One of my clients is requesting me to export some data from PHP-generated pages to MS Excel files. I have no clue on how to do such export with PHP. I'm using PHP/Apache/Linux Mandrake. What options do I have? Your help is very appreciated. Regards, Jorge Alvarez -- Let your screen saver

[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: ==

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

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

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 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.

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

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] 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

[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 name

[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

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]

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 the

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: [PHP]

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: A HREF=nextpage.php??=SID? 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-

[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

[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

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,

[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 (pERROR: Update Query Failedp$queryBR) ; if ($verbose) {

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

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. I ran

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

[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

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

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

2001-07-13 Thread Johnson, Kirk
? // compare 5 to the max value of an integer if (5 -2147483647) { print This is; } else { print Nothing ; } // knock a digit off the max and compare again if (5 -214748364) { print weird; } else { print unusual; } ? I get nothing unusual Kirk -Original Message- From:

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 it

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 is

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'

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 after

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,

[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 |

[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

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: /img\s*src=([^ ]*)/ note: \s = whitespace and the [^ ] means any nonspace character... the only issue remaining that you might find s or 's around the string matched into the

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 recent version of

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 - - - - - - - - - - - - - - - - - -

[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

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

[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

[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

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

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

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 in

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, but I do

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

[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

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 declarations?

[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? --

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) ; what about

[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] 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 think the

[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)

[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

  1   2   >