Re: [PHP] how do I use "<" and "<" with eval()?

2001-10-31 Thread Stefan Rusterholz
- Original Message - From: "John A. Grant" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 11:51 PM Subject: [PHP] how do I use "<" and "<" with eval()? > I'm not having an easy time understanding the discussion > in the doc for eval(). > > I want to read th

[PHP] Week of month

2001-10-31 Thread Sheni R. Meledath
Hello: Is there any way to find out the week of the month. Today is in the first week of month. That is, a function like weekofmonth() which displays 1 today & 2 next week. thanks Sheni R Meledath [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

[PHP] Secure transfer

2001-10-31 Thread Morten Winkler Jørgensen
Hi php'ers I'm about to build a site that allows payment with credit card. Of cause the card number, expiration date etc. should be secured when transfered. How do I do that? I've been looking at the OpenSSL functions in php, but they seem to be unsatisfying. Kind regards, Mor

Re: [PHP] text into web db interface

2001-10-31 Thread David Robley
On Thu, 1 Nov 2001 14:51, AAustin wrote: > Hi > > Is there a php technique, app, code example..., where users can enter > normal formatted text with paragraphs etc and the '' or ' ' tags > (and even 'table') are entered so the text looks ok on an php page. > This will then mean the end user does

Re: [PHP] run php in commandline

2001-10-31 Thread Jason G.
I just did that tonight. Lookup the predefined variables in the manual. $argc gives a count of the arguments $argv is an array of the arguments Ex: php -q myscript.php Apple Orange $argc == 3 $argv[0] == 'php -q myscript.php' or something like that $argv[1] == 'Apple' $argv[2] == 'Orange' -Ja

Re: [PHP] sending email to php script

2001-10-31 Thread David Robley
On Wed, 31 Oct 2001 22:04, Adrian D'Costa wrote: > On Mon, 29 Oct 2001, David Robley wrote: > > On Sat, 27 Oct 2001 03:23, JSheble wrote: > > > A while ago an email came through here about how to parse out email > > > message from a php script. The thing that was mostly of interest > > > to me is

RE: [PHP] defending PHP mail function

2001-10-31 Thread Jason G.
I've just been watching the posts regarding this issue. I can see the following: You SHOULD test it on *nix JUST to narrow down the problem. You ask for help from all the *VERY NICE* people on this list, and then WILL not do what they say will help??? If you do not like the php smtp implementat

[PHP] print on printer

2001-10-31 Thread Luz Lopez
Hi All I have a php that access to database and show the values in the browser, But I need add hte option of print on printer, but that only print the table with values. Somebody can help me? Thanks in Advanced, Regards, _ Ge

[PHP] run php in commandline

2001-10-31 Thread JIM
hi all, i want to know how i can feed a parameter into a php script in commandline? eg. php getdata.php apple orange so, i want to get use of "apple" and "orange"... any help pls! jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] run php in commandline

2001-10-31 Thread JIM
hi all, i want to know how i can feed a parameter into a php script in commandline? eg. php getdata.php apple orange so, i want to get use of "apple" and "orange"... any help pls! jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] question about variables...

2001-10-31 Thread Jason G.
READ THE MANUAL. variable variables $i=1; $sName = "seat$i"; $value = $$sName; At 04:40 PM 10/31/2001 +1100, sc wrote: >Hey all; > >If i have a variable say, $seat and i want to go through variables with a >number, ie. $seat1 , $seat2 etc. how would i go about it? i have one setup >where $p in

Re: [PHP] show png in the browser

2001-10-31 Thread Jason G.
Ever consider reading the online manual? First, say header("Content-type: image/png"); Second, create image. third use ImagePNG() function fourth, destroy image. fifth, go directly to the php script that generates the image, then you will see PHP generated errors. -Jason Garber IonZoft.com At

Re: [PHP] need coments...

2001-10-31 Thread Jason G.
Second comment is that we are not a review board for specific products. At 10:40 PM 10/30/2001 +0300, you wrote: >Good day! > >I try to wrote Web-interface for DNS. Only simple test version now. I'd like >to listen your comets to make real good and useful thing. mail me you >coments >please > >G

[PHP] Re: paypal instant notification

2001-10-31 Thread CC Zona
In article , [EMAIL PROTECTED] (Sondra Russell) wrote: > They have provided a perl sample script (see below). > > Mostly I'm just trying to figure out how to replicate the whole > "receiving", "sending", and "receiving again" thing in PHP. Most of tha

[PHP] Re: Dynamic update of content

2001-10-31 Thread Galkov Vladimir
Good day! Well... you can recive access to any tag on HTML page form java-script with code like this: here will be text from selected option . function some_event() { objH1 = document.all["razdel"]; objSelector = document.all["selector"]; objH1.innerT

[PHP] Dynamic update of content

2001-10-31 Thread Martin
Some time ago I asked for help regarding techniques to provide dynamic update of content on a PHP-page. Someone mentioned a javascript routine which I've forgotten. Anyone here might have a clue? What I want to do is that User selects and option from a option box, and depending on what that se

RE: [PHP] sending email to php script

2001-10-31 Thread Jason Murray
> > You'll also need to compile php as a standalone, and put as > > the first line of your php script > > > > #!/path/to/php -q > > What if we need both version?? There's nothing stopping you running both. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: [PHP] sending email to php script

2001-10-31 Thread Adrian D'Costa
On Mon, 29 Oct 2001, David Robley wrote: > On Sat, 27 Oct 2001 03:23, JSheble wrote: > > A while ago an email came through here about how to parse out email > > message from a php script. The thing that was mostly of interest to me > > is the ability to send an email to a php script, I guess thr

[PHP] text into web db interface

2001-10-31 Thread AAustin
Hi Is there a php technique, app, code example..., where users can enter normal formatted text with paragraphs etc and the '' or ' ' tags (and even 'table') are entered so the text looks ok on an php page. This will then mean the end user does not need to know a smattering of html code just to en

[PHP] paypal instant notification

2001-10-31 Thread Sondra Russell
Hi guys! I'm going to use paypal with my site, and they have a cool "instant notification" feature which sends, to a page I preassign, information about a transaction as it happens. My script is supposed to: a) receive this information (as a "post") b) send it back to them with a sort of "is t

RE: [PHP] Text DB's & bbs lists

2001-10-31 Thread Jack Dempsey
Hi Arsen, I think that'd be a lot of work, and I'm not sure I understand why you can't use MySQL? I suppose you could do it, but i think you'll find once starting it, that its not worth the time it'll need... Jack -Original Message- From: ArsenKirillov [mailto:[EMAIL PROTECTED]] Sent: W

[PHP] Detecting Languages...

2001-10-31 Thread Arcadius A.
HEllo ! I have a website designed in several languages (En , Fr , Cz) My question is : How to detect the language setting of the the visitor's PC in order to redirect him to a specified content ? Thanks ... Arcad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Crating program for access parallel

2001-10-31 Thread Luz Lopez
Hi all I am creating a program PHP that will be access int the web for many persons, this aplication will be permit to insert registry on a data base Postgresql, When a person this inserting a registry I need to block that table so that another user cannot to access the data base. Exists some

Re: [PHP] Problems inserting single quote into Oracle database

2001-10-31 Thread Kevin Dewsnup
Thanks David, I set magic_quotes_sybase to "On" (even though I'm using oracle) and that did the trick. php.ini ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = On I was able to insert data with an apostrophie into the database from a form and the data looks

[PHP] Text DB's & bbs lists

2001-10-31 Thread ArsenKirillov
does anybody hear about board(bbs or phorum) written oin php wihout using any kind of SQL DB ? I think of developing one in text db (separated by | fields in one line) Did anybody think of this is good idea ? (i have problem in my country - stupid admins can't run MySQL to be such stable as php4.)

Re: [PHP] Re: Where are lists of PHP's predefined constants andkeywords?

2001-10-31 Thread Philip Olson
More specifically, 'empty' is a language construct and not a function. Other constructs are unset, isset and, well, there are others :) For example: $arr = array('mysql_connect' => 'foo', 'unset' => 'bar', 'empty' => 'ooh'); print $arr[mysql_co

RE: [PHP] WindowsXP, PHP4 and MS SQL functions

2001-10-31 Thread Andrew Kirilenko
Hello! Have you specified path to extensions? In my case: extension_dir = c:/apps/php/extensions/ Best regards, Andrew Kirilenko. > -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 1:41 AM > To: PHP User Group > Subject: [PHP] Win

[PHP] Need Mortgage Leads?

2001-10-31 Thread justjumping
Are you a Mortgage Office in need of leads? We receive refinance requests direct from borrowers throughout the United States daily! Whether your office services one state or multiple states, our leads will meet your needs! A few features of our program: *Leads are exclusive

Re: [PHP] Where are lists of PHP's predefined constants and keywords?

2001-10-31 Thread Mike Eheler
Don't forget true, false, and null. :) A good place to look might be to grab a syntax definition file for some sort of popular editor (like textpad), and just go through it. Not the best way, for sure. The best place to look easily is http://www.php.net/manual/en/ Mike Johnson, Kirk wrote:

[PHP] php filling apache error log with copies of the server environment

2001-10-31 Thread Liam Hoekenga
Hey - My php installation is filling my apache error log with copies of the piece of the environment that PHP knows as HTTP_SERVER_VARS. It seems to be caused by imap functions. doesnt do it... but if i do I get a bunch of: REDIRECT_nokeepalive=1 REDIRECT_STATUS=200 REDIRECT_URL=/test.php R

[PHP] Re: Where are lists of PHP's predefined constants and keywords?

2001-10-31 Thread CC Zona
In article <01A4B59FD1EBD311838100A0C98BE0D9AD5D91@chef>, [EMAIL PROTECTED] (Kirk Johnson) wrote: > The manual at http://www.php.net/manual/en/language.types.array.php mentions > that "empty" and "default" are "special keywords". Does anyone know of any > lists of PHP's predefined constants and

[PHP] MSSQL functions

2001-10-31 Thread Brandon Orther
Hello, Since I am not able to get msssql functions running. Can someone please give me instructions on exactly what I need to do to get the functions werking? Thanks Brandon

[PHP] WindowsXP, PHP4 and MS SQL functions

2001-10-31 Thread Brandon Orther
Hello, I am trying to get php4 to use mssql function under WindowsXP. I don't know if this is a problem or not. I uncommented the extensions line in the php.ini file that says: extension=php_mssql.dll But when I try to use mssql_connect it says call to undifiened function. Does anyone know a

[PHP] Re: how do I use "<" and "<" with eval()?

2001-10-31 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John A. Grant) wrote: > I tried this code: > function somefunc($text,$n) > { > for($i=0;$i<$n;$i++){ > echo $text; > } > } > $string='xxx zzz'; > eval($string); > ?> > > but I get > "P

[PHP] how do I use "<" and "<" with eval()?

2001-10-31 Thread John A. Grant
I'm not having an easy time understanding the discussion in the doc for eval(). I want to read this string from a file: xxx zzz and then "run" it. I tried this code: zzz'; eval($string); ?> but I get "Parse error: parse error in eval.php(11) : eval()'d code on line 1 Do I h

RE: Re[3]: [PHP] split array in 2 halfs

2001-10-31 Thread Matthew Loff
More generally, this should work: $smallarray1=array_slice($bigarray, 0, sizeof($bigarray) / 2); $smallarray2=array_slice($bigarray, sizeof($bigarray) / 2); I haven't tested it though... -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 4:32 PM

[PHP] Re: parsing a string

2001-10-31 Thread John A. Grant
"Yz James" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey John, > something like this might work: > > > $string = "This is a string with an embedded image [bird.gif,this is a > bird]"; > > $string = preg_replace("/\[(.*?\.)(gif|jpg),(.*?)\]/i", " alt=\"\\3

Re: [PHP] parsing a string

2001-10-31 Thread John A. Grant
"Dl Neil" <[EMAIL PROTECTED]> wrote in message 042101c157f6$4cd9fb90$c014100a@jrbrown">news:042101c157f6$4cd9fb90$c014100a@jrbrown... > Two inter-dependent problems: > 1 a means of identifying a cipher within the text > 2 a means of replacing the cipher with HTML code Succinctly stated. >

Re: [PHP] parsing a string

2001-10-31 Thread John A. Grant
"Mike Eheler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Beyond that, why not keep it conforming to HTML, and use an tag, > for example: > > This is some text . > > That way if you need to view the page "as-is" in a browser or whatever, > it'd still look f

[PHP] basic mcrypt questions

2001-10-31 Thread Scott
I'm working on my first shopping cart web application (done in php) and have started to look into ways to secure it. After reading up a little bit on mcrypt I have some basic questions about it: 1. If I use mcrypt to encrypt user input before storing it in a database, do I have to use it in

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread Liz Fulghum
Correction: $count = count($array); $count = $count/2; $count = round($count,0); "Liz Fulghum" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You could also grab the midpoint of the array: > > $count = round(count($array), 0); > > then populate your new arra

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread Philip Olson
You may find this helpful: $arr = array('a','b','c','d','e'); $second_half = array_splice($arr,floor(sizeof($arr)/2)); print_r($arr); // Array ( [0] => a [1] => b ) print_r($second_half); // Array ( [0] => c [1] => d [2] => e ) In the above, $second_half will be one la

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread Liz Fulghum
You could also grab the midpoint of the array: $count = round(count($array), 0); then populate your new arrays by using a foreach loop: $x = 0; foreach($array as $key => $value) { if ($x <=$count) { $array1[] = $value; } else { $array2[] = $value; } $x++; } "D

Re: [PHP] A way to simulate modem speeds?

2001-10-31 Thread Brent Rieck
On Wed, 2001-10-31 at 10:23, Michael Hall wrote: > I'm looking for a way to clamp down a network machine (we're on a T1) to > modem speeds (28 to 52 K) for testing purposes. > > Is there software (preferably for Windows) that would do this? Better yet, > would this software be free? I've not us

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread DL Neil
Or do you really want: First array: 1 3 5 Second array 2 4 6 Corresponding to the two columns across the screen, and controlled by the same iteration index? =dn - Original Message - From: "Daniel Harik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 01 November 2001 07:25 Subject:

Re: Re[3]: [PHP] split array in 2 halfs

2001-10-31 Thread Mike Frazer
Don't forget that you should clear out that memory space, especially if it's an array of arrays or an array of objects or something along those lines: unset($bigarray); Just good programming practice, that's all. I doubt it would ever be a problem on today's servers, but it's still a good idea.

Re[3]: [PHP] split array in 2 halfs

2001-10-31 Thread Mark
$smallarray1=array_slice($bigarray,0,3); $smallarray2=array_slice($bigarray,3,3); On Wed, 31 Oct 2001 23:25:55 -0800, Daniel Harik wrote: >Want to split it in half > >1 Big array: > >1 >2 >3 >4 >5 >6 > >Want to make > > >1 Small array: > >1 >2 >3 > >2 Small array: >4 >5 >6 > >Thank You > > -- M

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread Jim Lucas
take a look at the manual http://www.php.net/manual/en/function.array-slice.php it will show you the right way to do it jim - Original Message - From: "Daniel Harik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 11:25 PM Subject: Re[2]: [PHP] split arra

Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread Daniel Harik
Want to split it in half 1 Big array: 1 2 3 4 5 6 Want to make 1 Small array: 1 2 3 2 Small array: 4 5 6 Thank You -- 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 administr

Re: [PHP] split array in 2 halfs

2001-10-31 Thread Jack Dempsey
Based on what criteria? if you just want to split the array at element 30, you could use array_splice to get the necessary data... - Original Message - From: "Daniel Harik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 2:16 AM Subject: [PHP] split array in 2

[PHP] split array in 2 halfs

2001-10-31 Thread Daniel Harik
Good evening I was wondering how can I split, array that has 60 elements in it, into 2 arrays with 30 elements each? Thank You very much and have a good night :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP] spliting results into 2 colomns

2001-10-31 Thread Daniel Harik
I't just came into my mind, if 1 simple split that arrey in to 2 arrays, it would be much simplier and wouldn't need second loop, i just wanted to know how can i split 1 array in 2 arrays Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Andrew Hill
Kraa, Sorry for the confusion; we should have that component available by the end of the week. Best regards, Andrew > -Original Message- > From: Kraa de Simon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 2:50 PM > To: '[EMAIL PROTECTED]'; Php-General (E-mail) > Subjec

RE: [PHP] PHP and qmail

2001-10-31 Thread Nathan Cassano
If you have installed Qmail and removed Sendmail create symlinks to the qmail sendmail wrapper and you should not have to edit you php.ini. Read the qmail INSTALL file for more. # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail -Original Me

[PHP] Re: $ENV{'REMOTE_ADDR'}

2001-10-31 Thread Liz Fulghum
if ($REMOTE_ADDR=="127.0.0.1") { do something } elseif ($REMOTE_ADDR=="remote.somewhere.com") { do something else } else { eeks! its the end } List of all the predefined variables: http://www.php.net/manual/en/language.variables.predefined.php -- Liz Fulghum -

[PHP] PHP and qmail

2001-10-31 Thread Suleyman Kuran
Hi list, I have recently installed qmail-1.03 now what settings should I make in php.ini file to send email with mail() function. Thanks.

[PHP] $ENV{'REMOTE_ADDR'}

2001-10-31 Thread jtjohnston
In perl I do something like this: if (!($ENV{'REMOTE_ADDR'} =~ /\b(132\.210)/)) or ... $ENV{'REMOTE_HOST'} PHP is not Perl. So how do I parse the user's remote address or host to display one thing if IP = 127.0.0.1, another if = 209.247.2.3 another if host = "remote.somewhere.com

[PHP] Re: File upload

2001-10-31 Thread Liz Fulghum
Your files are being uploaded to the pre-defined temporary directory. $userfile contains the name of the temporary file the file was uploaded as. After you run all the checks on the file to make sure its valid, you should use copy() to move the file to its permament home in your file system, then

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
Hi, The problem is that a Progress 9.1c is not available at openlinksw.com for: Client: Linux glibc2.1 (x86) Server: UnixWare 7 (x86) Only Progress 8.3b is supported. So you are saying that a setting in the .ini files or some environment variable could be missing. I will have a look at it. T

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Andrew Hill
Kraa, I'm not sure why the two sample apps are using different connection calls; It's not terribly relevant - both are legal. Driver manager and driver are not typically dependent on each other, no. The fact that the connection fails in odbctest is probably due to a missing parameter that iODBC

Re: [PHP] A way to simulate modem speeds?

2001-10-31 Thread Shane Wright
duno about for windows, but there's quite a bit around on packet shaping for Linux and *BSD which amounts to the same thing - could be worthwhile sticking an old server in the middle with some different rules on different ports (i.e. port 81 set up for 14k4 equiv, 82 for 28k8 equiv, etc..) so

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
. Thank you Kurt, The day for the server to be move from Cal to Fla is the 31st (today) I would image that it is somewhere in transit at the present time... Will send you an email with another address you can respond to... Thanks for all of your help Mike "Kurt Lieber" <[EMAIL PROTECTED]

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
Hi Andrew, I'm using the Merant DataDirect 3.6 Progress SQL92 ODBC drivers and they seem to be working fine when I try their test C program. I can connect to the Progress database en retrieve data. I'm using their driver manager as well (--with-custom-odbc). The test C program uses: SQLConnect

Re: [PHP] A way to simulate modem speeds?

2001-10-31 Thread Duncan Hill
On Wed, 31 Oct 2001, Michael Hall wrote: > I'm looking for a way to clamp down a network machine (we're on a > T1) to modem speeds (28 to 52 K) for testing purposes. Well, mod_throttle on the server side will do this for you. Client side.. hrum. A linux box with bandwidth controls, a packetee

[PHP] A way to simulate modem speeds?

2001-10-31 Thread Michael Hall
I apologize for the only-vaguely-PHP-related nature of this, but I'm endlessly impressed with the knowledge here. I'm looking for a way to clamp down a network machine (we're on a T1) to modem speeds (28 to 52 K) for testing purposes. Is there software (preferably for Windows) that would do this

RE: [PHP] Re: Weird caching problem with PHP4/Apache -- THE SAGA CONTINUES

2001-10-31 Thread René Fournier
Yes! That's it! I added that srand function, and it works great. Thanks! ..Rene > -Original Message- > From: Tamas Arpad [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 10:58 AM > To: René Fournier > Cc: Php-General > Subject: Re: [PHP] Re: Weird caching problem with PH

Re: [PHP] defending PHP mail function

2001-10-31 Thread Jason Brooke
> Really? No good at all, huh? I would think that would answer the question > right there if it was an SMTP problem or a problem that lies elsewhere. If > you take SMTP out of the equation, and the problem still occurs, then you > know that's not the issue. If the problem does go away, then you

Re: [PHP] Re: Weird caching problem with PHP4/Apache -- THE SAGA CONTINUES

2001-10-31 Thread Tamas Arpad
On Wednesday 31 October 2001 18:18, René Fournier wrote: > Here's what I've got, starting at the top... > > == > header ('Expires: Mon, 26 Jul 1997 05:00:00 GMT');// Date in > the past header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' > GMT'); //

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 09:08 am, you wrote: > It doesn't do much good to test on a nix box because what I'm looking > for is a solution to a PHP/SMTP problem. Really? No good at all, huh? I would think that would answer the question right there if it was an SMTP problem or a problem that

RE: [PHP] Re: Weird caching problem with PHP4/Apache -- THE SAGA CONTINUES

2001-10-31 Thread René Fournier
Here's what I've got, starting at the top... == Title [SNIP] [SNIP] > == Here's why I think it's PHP4: If I look at these pages on my local machine (WinME, Apache 1.3.20, PHP4.06 module, MySQL 3.23.14 (not

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
OK. here's why I think it's in PHP's SMTP support: There is an address that fails in 4.06 yet functions in 4.04 - exactly the same code, same SMTP server, same .ini, everything the same. I wouldn't question the class if I hadn't tested my own code and settings first. I've been trying to trac

[PHP] Re: defending PHP mail function

2001-10-31 Thread Manuel Lemos
Hello, > Matthew Luchak wrote: > > Recently I have had to defend the use of PHP in light of a number of > screw-ups with the mail function in 4.0+. It seems that some email If you are using Windows, that seems to be a problem that the mail() function implementation does not handle SMTP servers

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 08:40 am, you wrote: > for now it's PHP that's in question AFAIK, this is the first I've ever heard of probelms with mail() not sending to perfectly valid email addresses. Scalability issues and other performance problems, sure, but that's a different animal. Gi

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
>Well hey, if mail() won't send to those addresses, what's wrong with us >testing them? :-) ;) >Can you send to those addresses from a regular email client? If so, can you >do it from the command line with your MTA? Of course I am talking about valid addresses, in fact there is at least one

RE: [PHP] defending PHP mail function

2001-10-31 Thread Jon Haworth
Well hey, if mail() won't send to those addresses, what's wrong with us testing them? :-) Can you send to those addresses from a regular email client? If so, can you do it from the command line with your MTA? jon@maya~$ sendmail [EMAIL PROTECTED] hello there . Cheers Jon -Original Messa

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 08:16 am, you wrote: > The addresses I know about are clients that are already a little peeved > with me so I can't send them out for testing but I have found at least 4 > addresses that will "not work" (no error message, just dead air) with > Mail(). It is something

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
The addresses I know about are clients that are already a little peeved with me so I can't send them out for testing but I have found at least 4 addresses that will "not work" (no error message, just dead air) with Mail(). It is something about the string of letters that does it because if I tr

RE: [PHP] defending PHP mail function

2001-10-31 Thread Jon Haworth
I'd be interested to see an example of an address that will "not work" Which MTA are you using? On which OS? More info! (obPeeve): Please don't post in HTML. Cheers Jon -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: 31 October 2001 16:04 To: Php-General

Re: [PHP] defending PHP mail function

2001-10-31 Thread ReDucTor
thats wierd it added blank infront of it all...wierd it might have been the smtp server its self that had rules or something... - Original Message - From: "Matthew Luchak" <[EMAIL PROTECTED]> To: "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 2:09 AM Subjec

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 07:45 am, turtle wrote: > Glad we could help. Also, you can re-write the above so you don't have to define two sets of tags by doing the following: "; ?> Not a big deal here, but if you start writing multiple lines of HTML code, you probably don't want to enc

RE: [PHP] defending PHP mail function

2001-10-31 Thread Nathan Cassano
My favorite email libraries are .. SMTP class http://www.phpguru.org/download.php?script_id=10 And working in conjunction with SMTP class .. HTML Email Class http://www.phpguru.org/download.php?script_id=4 -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: Wedn

Re: [PHP] defending PHP mail function

2001-10-31 Thread Jason Brooke
Which addresses won't work? - Original Message - From: "Matthew Luchak" <[EMAIL PROTECTED]> To: "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 2:04 AM Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a n

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
WIN 2000 Blankwhat os was it?!?!? -- 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] defending PHP mail function

2001-10-31 Thread ReDucTor
Blankwhat os was it?!?!? - Original Message - From: Matthew Luchak To: Php-General (E-mail) Sent: Thursday, November 01, 2001 2:04 AM Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+.

[PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
Title: Blank Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+.  It seems that some email addresses will simply "not work" with mail.  I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347&single=

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
. Thank you for the heads up on using like. I was wondering since there will be 2 similar variables from each page var1 var2 (identical except for the number). I programmed in DataFlex for about 6 years back in the late 80's early 90's but have not done anything db wise in over 8 years I st

RE: [PHP] User Authentication against remote authentication serve r [ LDAP ]

2001-10-31 Thread Johnson, Kirk
Thanks very much, Stig, very helpful! We are just scouting the technology right now, so my more precise questions will come later ;) We will be using SSL. Given that, it looks to me like "decision maker" mode is the way to go? Kirk > -Original Message- > From: Stig Venaas [mailto:[EMAIL

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
. Thanks to Kurt and Justin for the help offered on this simple (now that it is working) problem. I do not know where my stumbling block was but after a good nights rest and some coffee this morning I have this and the GetImageSize function incorporated.. I will list the code incase someone find

[PHP] Re: PHP-arnings

2001-10-31 Thread Julio Nobrega
Yeah, I got these kind of warning when I set error_reporting(E_ALL); Anyway, this shouls do it: The point is when you get 'non defined var', just define it before, even empty (i.e, $x = '') or check it with isset();.. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/pro

[PHP] problems with pages generated by Apache's AddLanguage directive

2001-10-31 Thread Clint Gilders
Hi Just yesterday I installed Apache 1.3.22/PHP 4.0.6 to replace an ancient install of Apache 1.3.9/PHP 3.0.12. This is on FreeBSD 3.2. I have several sites which display content in different languages using Apache's AddLanguage, and LanguagePriority directives (page.php.en, pa

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 02:32 am, you wrote: > So, I'd recommend giving that a try. From my understanding (limited) of > MySQL, use = in the case of $id=2, and LIKE in the case of firstName > LIKE "justin". Um...you *can* do that, but I don't think you want to. Using LIKE means that MySQL

[PHP] Re: setting member variables out of class

2001-10-31 Thread Mike Frazer
I believe you would be getting a number echoed to the screen or dumpfile, but you want the values, correct? $telefono is declared as an array. Calling an echo statement on an array won't give you the values of the array elements. In order to have them all printed to screen, try: foreach ($tele

[PHP] Distributed Data Base

2001-10-31 Thread Luis Corea
Hello, I want to Know how can I save information on a Data Bse that will be access for many persons at the same time. I use Postgressql Thanks. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PH

Re: [PHP] Re: I rest my case

2001-10-31 Thread Mike Frazer
Apache has a high learning curve. PHP isn't terribly hard to pick up on if you already know the basics of programming. Also, you may want to check out the newsgroup comp.infosystems.www.servers.unix for help with Apache if you continue to have problems. It appears from all the info you gave us

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Andrew Hill
Kraa, The 01000 error is a 'General Error', probably at connect time. This suggest that your DSN settings might be bad or not being passed into PHP. Is your DSN named "results" and is that the one you are using in your tests? Also, are you setting your environment variables as appropriate? e.g.:

[PHP] Re: Bug ? Script download problem if user abort download

2001-10-31 Thread Gianluca Morello
I retry using the following snuppet: ... while (!connection_aborted() && !feof($fp) ) { echo fread($fp, 1000); } but nothing change. I try also with connection_status() and ignore_user_abort(false) but nothign change. If the user abort the download progress, the php process hang.

[PHP] Re: Array of classes

2001-10-31 Thread Mike Frazer
Try something like this (you'll need to populate it afterward): $this->array = array(); Then populate it with the data. Mike Frazer "Andrzej Roszkowski" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi! > > I have to create array of classes. > > When I

RE: [PHP] setting member variables out of class

2001-10-31 Thread Matt Williams
> Hello, > I want to set member variables out of their class. The code class is: > > > class translator { > > var $nombre; > var $departamento; > var $despacho; > var $telefono; > var $correo_electronico; > var $pagina_personal; > > function translator(){ > $nombre = array("Nombre","Nam

RE: [PHP] PEAR DB Results

2001-10-31 Thread Jeremy Allen
Based on the snippet you have sent us you need to at least start by enclosing your column names in your accesses to the associative array containing your results. Each line just use print_r or var_dump: while($row = $result->fetchRow(DB_FETCHMODE_ASSOC)) { print_r($row); } This will sh

Re: [PHP] PHP-arnings

2001-10-31 Thread nico_oreka
If defined ($x) ??? If !empty ($x) ??? ...Well ... - Original Message - From: Martín Marqués <[EMAIL PROTECTED]> To: Harald Witt <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 3:43 PM Subject: Re: [PHP] PHP-arnings > On Mié 31 Oct 2001 11:17, you wrote:

  1   2   >