[PHP] Problems sending mails with PHP

2001-10-29 Thread Bruno
Yesterday everything was working fine, but today I got to my office and my PHP couldn't send mails anymore. I get the next message in the apache log : sh: sendmail -t -i: command not found I've tried to change the php.ini mail section to point to the exact sendmail path, but I get the same

[PHP] Problem with From: and Reply to:

2001-10-29 Thread Per Hugosson
Hi, I´m using php to send form data from our web page. When a visitor fills in the form he adds his email address, but I cant get it to show up in the From:-line. Instead I get From: Apache... which is totally wrong of course. Our auto-reply goes to [EMAIL PROTECTED] instead of to the senders

[PHP] Re: Problems sending mails with PHP

2001-10-29 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Bruno) wrote: Yesterday everything was working fine, but today I got to my office and my PHP couldn't send mails anymore. I get the next message in the apache log : sh: sendmail -t -i: command not found I've tried to change the php.ini

[PHP] Re: Problem with From: and Reply to:

2001-10-29 Thread CC Zona
In article p05100304b802cdc3b801@[212.247.198.195], [EMAIL PROTECTED] (Per Hugosson) wrote: I cant get it to show up in the From:-line. Instead I get From: Apache... which is totally wrong of course. Our auto-reply goes to [EMAIL PROTECTED] instead of to the senders adress. What do I

[PHP] Parse Error

2001-10-29 Thread Alberto
Parse error: parse error, expecting `T_VARIABLE' in /sdr/httpd/Prisa/DATA/private/libs/captura/valores.php on line 18 ? / // // Trabaja con valores/indices // / include(/sdr/httpd/Prisa/DATA/private/libs/db/db_sql.lib); class val_valores { / //

Re: [PHP] Parse Error

2001-10-29 Thread Alexander Weber
Just use var $VAL_ID; Names of variables always start with a $ sign. Alberto wrote: Parse error: parse error, expecting `T_VARIABLE' in /sdr/httpd/Prisa/DATA/private/libs/captura/valores.php on line 18 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Parse Error

2001-10-29 Thread james . fairbairn
might be a syntax error in the .lib file you are including (missing ;, possibly)... let me know. -Original Message- From: Alberto [mailto:alberto arround [EMAIL PROTECTED]] Sent: 29 October 2001 10:14 To: [EMAIL PROTECTED] Subject: [PHP] Parse Error Parse error: parse error, expecting

RE: [PHP] Parse Error

2001-10-29 Thread james . fairbairn
oops, missed that one! -Original Message- From: Alexander Weber [mailto:[EMAIL PROTECTED]] Sent: 29 October 2001 10:08 To: Alberto Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Parse Error Just use var $VAL_ID; Names of variables always start with a $ sign. Alberto wrote: Parse

[PHP] Re: Parse Error

2001-10-29 Thread Valentin V. Petruchek
Try this: var $VAL_ID; var $VAL_TICKER; var $VAL_ID_FEED; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP changing my JavaScript??

2001-10-29 Thread Moloko
Hi All, got a strange problem with a PHP include file that contains all my JavaScript functions. This file is included on every page in my site and contains some image swap behavious amongst other things. The first time I go into the site, however, I get all sorts of JavaScript errors which I

[PHP] Function not found

2001-10-29 Thread De Necker Henri
Where can i find the code for the array_search() function in php4.I do have php4 but the function isnt found.The in_array() function is found. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Problem with From: and Reply to:

2001-10-29 Thread Richard Heyes
?php mail([EMAIL PROTECTED], Press Picture Download, From: $emailadress\n X-Originating-IP: [$REMOTE_ADDR]\n Content-Type: text/plain; charset=iso-8859-1\n Reply-To: $emailadress\n\n Name: $name\n Company: $company\n Adress: $adress\n Email: $emailadress\n Business: $business\n Send info:

[PHP] Re: PHP changing my JavaScript??

2001-10-29 Thread _lallous
it happened to me when i enter the page for the very first time and I use session_start() I suggest to make the page reload itself w/ a parameter so that the first pass to the site will screw the javascript and then automatically 2nd pass (which is self called) is okay. Moloko [EMAIL

Re: [PHP] php.ini executable

2001-10-29 Thread Phil Driscoll
On Sunday 28 October 2001 11:05 pm, jtjohnston wrote: Has anyone made a Windows executable to configure the php.ini? ... just asking, before I find myself doing it myself. The windows installer version of the php distribution configures php.ini, but only deals with the bare minimum settings

Re: [PHP] Delivering NAMED pdf files

2001-10-29 Thread George Pitcher
Thanks to all who offered suggestions. I have now solved the problem. Realising that what was actually happening was the offered filename being the same as the php script name, I built a routine which checks to see if a script with the desired filename.php exists and if not it copies my script

php-general Digest 29 Oct 2001 12:06:36 -0000 Issue 963

2001-10-29 Thread php-general-digest-help
php-general Digest 29 Oct 2001 12:06:36 - Issue 963 Topics (messages 72659 through 72706): SSI 72659 by: Gary 72665 by: Christian Dechery 72666 by: Gary Re: Breaking a string 72660 by: speedboy Re: php-mysql question 72661 by: David Robley Re:

[PHP] Re: Problems sending mails with PHP

2001-10-29 Thread Bruno
Yes, I restarted the apache web server. ¿I suppose this is enough, no? Bruno Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Bruno) wrote: Yesterday everything was working fine, but today I got to my

RE: [PHP] SSI

2001-10-29 Thread Patrick Dunford
The virtual( ) function is the same as #include on Apache If you're running a script, you may need to simulate the CGI variables as they aren't automatically available to a script that you would normally run with the #exec SSI directive. = Patrick Dunford,

[PHP] RE: Array

2001-10-29 Thread Tim Ward
This seems way too complicated. I do this sort of thing all the time from a mysql db. I've no idea where you're getting the data from but if it was from a mysql db I'd just do $result = mysql_query(SELECT field1, field2, field3, field4 FROM tablename WHERE condition); while ($array =

[PHP] Email limit

2001-10-29 Thread Richard Baskett
What is the limit to the amount of emails you can send out at once.. or in a for loop, to php's mail function? Rick -- 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

[PHP] GD GIF or PNG Detect Part 2

2001-10-29 Thread Chris
I received good advice from my previous question: Before creating a graphic, I would like to detect what type of graphic files are supported. For example if GD is enabled and GIF Support is available I'll create an GIF image. I know phpinfo() will tell me this but I don't want to burden the user

RE: [PHP] GD GIF or PNG Detect Part 2

2001-10-29 Thread Daniel Reichenbach
However when there are no GD libraries installed the following error is thrown: Fatal error: Call to undefined function: imagetypes()… Any suggestions to prevent the error message being thrown. Are there other methods to detect the presence GD libraries before testing for GIF or PNG

Re: [PHP] Email limit

2001-10-29 Thread Matt Friedman
I imagine that's only limited by your available bandwidth. If you try to send emails out faster than your bandwidth will allow you'll get a slowdown on your email server. I use sleep() between each email to lessen the load on the server. Matt. - Original Message - From: Richard Baskett

Re: [PHP] Sending two attachments

2001-10-29 Thread Jason G.
I believe one of your boundarys has -- at the end. According to the RFC dealing with this subject, stick -- on the end of only the last boundary. -Jason Garber IonZoft.com At 02:13 PM 10/12/2001 +0530, Sharat Hegde wrote: Hello, I am trying to send multiple attachments by email from

[PHP] Session handling with cookies??

2001-10-29 Thread Andy
Hello, I have developed a member login system with cookies. Now I have the prob, that the session stayes existend when the browser is closed. This could couse a problem in Internet caffes for example. As second thing, I have realized, that it depends on the clients clock!! I am sending a cookie

[PHP] best linux choice for php / mysql ???

2001-10-29 Thread webmaster
I've been using PHP/mySQL on my web host's site for a year or so, and I now need to create my own installation ... Given my relatively limited linux background, which distribution woud I find easiest to install? I'll be needing PHP, mySQL, and PDFlib ... I've done my homework, I've studied

[PHP] PHP templates vs XML

2001-10-29 Thread DL Neil
In an on-again-off-again desultory style, I keep trying to find the time to study template systems - and quite separately see if I can find a practical use for XML. The idea of a template system is that the HTML code/presentation of the final view to the user/browser, can be devised/maintained

[PHP] Displaying please wait

2001-10-29 Thread DL Neil
Is there someone 'up' on the way Apache works who can offer some comment please? Th how do I display 'please wait' question was asked by someone (else) last week. The standard answer is no - server-side PHP assembles an HTML page, and when it is completed the whole page is transmitted from

[PHP] Database tags ala Lasso

2001-10-29 Thread Sverre Johan Tøvik
Hi, For the futurists around here: Is there any chance that php will include database tags ala Lasso? For those who don't know what I mean, here's an axample (not quite correct Lasso code, but it should get the point across): [db select=somedb] [db query=sql] table [record]

RE: [PHP] php/Oracle db connection

2001-10-29 Thread toni baker
After running openlink.sh and the set command the following variables or set: ODBCINI=/usr/local/src/bin/odbc.ini ODBCINSTINI=/usr/local/src/bin/odbcinst.ini OLDPWD=/home/httpd/html/ronsdev OPTERR=1 OPTIND=1 ORACLE_HOME=/home/oracle/OraHome1 ORACLE_SID=data1 However when odbctest I still get

[PHP] fopen for ftp transfers

2001-10-29 Thread Scott
Hi- I am attempting to transfer files from one server to another via ftp. I am wondering if this is the best method to transfer files within PHP or should I seek other methods. Here is the way I am doing it now: $sendfile = fopen(ftp:user:[EMAIL PROTECTED]/testfile, w); Thanks -- PHP

[PHP] protecting files

2001-10-29 Thread WebDev
Hi what is the script that was mentioned a while back that you use to allow apache access to a directory that has all world/group access turned off. It think the discussion was protecting mysql information on a shared server. I know this is a popular topic, sorry. I did check the archives but

[PHP] parsing XML turorials, suggestions

2001-10-29 Thread bill
Need to get started parsing XML documents. I've developed a program to write them XML a database, but now I need to read them to obtain, for example, the (cdata) value of title which is nested inside book, etc. What's the best place to start? Does DOMXML have a future? Tutorials?

[PHP] I cannot figure this one out! I'm going crazy! :)

2001-10-29 Thread Richard Marks
mebbe you can figure out why this dont work! :) Parse error: parse error, expecting `')'' in /(PATH NOT SHOWN TO PUBLIC,SORRY) /www.gzmsoftware.f2s.com/php/fractal.php on line 2 ? function box( int $im,int $x,int

Re: [PHP] I cannot figure this one out! I'm going crazy! :)

2001-10-29 Thread Rasmus Lerdorf
You don't put type declarations in PHP functions. ie. get rid of all the int things there on line two. -Rasmus On Mon, 29 Oct 2001, Richard Marks wrote: mebbe you can figure out why this dont work! :) Parse error: parse error, expecting `')'' in /(PATH NOT SHOWN TO PUBLIC,SORRY)

RE: [PHP] I cannot figure this one out! I'm going crazy! :)

2001-10-29 Thread Mark Roedel
-Original Message- From: Richard Marks [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 9:49 AM To: [EMAIL PROTECTED] Subject: [PHP] I cannot figure this one out! I'm going crazy! :) mebbe you can figure out why this dont work! :) Parse error: parse error, expecting

[PHP] Where does mysql keep the records data

2001-10-29 Thread PHP Mail
On my system the mysql and test databases are created in /var/db/mysql/ I created a database called publish and it likewise was stored in /var/db/mysql/publish. I needed to start over with the work on publish so I deleted the publish directory. #rm -R /var/db/mysql/publish. BUT after

[PHP] Re[2]: [PHP-DB] Performance problems in NC

2001-10-29 Thread WebDev
Hello, Andy I have been trying to solve the same problem. But after some testing I have found that it is not only db access that causes the lag, it seems to be when submitting forms. I wrote a very simple test script have a form reload itself. In IE it happens almost instantly, but in NC it

[PHP] hmm, thanks, but now i have even more troubles :\

2001-10-29 Thread Richard Marks
thanks, but go here, and see what it does now. http://www.gzmsoftware.f2s.com/php/fractal.html can ya help mee? thanks, Sincerely, GZM Software® WebMaster [EMAIL PROTECTED] http://www.gzmsoftware.f2s.com

Re: [PHP] Where does mysql keep the records data

2001-10-29 Thread Kurt Lieber
On Monday 29 October 2001 07:51 am, you wrote: I needed to start over with the work on publish so I deleted the publish directory. #rm -R /var/db/mysql/publish. Um, not that it's PHP-related, but... You should use drop database instead of manually removing the file. mysql drop database

[PHP] arg, this is crazy :\ - i dont get it, is the variable, uhm, NOT GLOBAL or something?

2001-10-29 Thread Richard Marks
what in the world is wrong here? ? Header (Content-type: image/png); $img = imagecreate ($width,$height); $color = imagecolorallocate ($img,$tx_r,$tx_g,$tx_b); $pixel_color = imagecolorallocate

Re: [PHP] protecting files

2001-10-29 Thread Kurt Lieber
On Monday 29 October 2001 07:37 am, you wrote: what is the script that was mentioned a while back that you use to allow apache access to a directory that has all world/group access turned off. I php-cgiwrap. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] and now i get

2001-10-29 Thread Richard Marks
hmm I found out that I had to add global $img; in my functions, but dangit now I get this error! br bFatal error/b: Cannot break/continue 1 levels in b/(MY PATH)/www.gzmsoftware.f2s.com/php/fractal.php/b on line

Re: [PHP] Where does mysql keep the records data

2001-10-29 Thread Henrik Hudson
To delete a database, the best thing to do is login to your mysql DB directly, ie: mysql -u root -p (the root user is the MySQL root, not the sytem root) and supply the password at the prompt. Then do: DROP DATABASE publish; This will delete it correctly. Something that I do is put all

Re: [PHP] arg, this is crazy :\ - i dont get it, is the variable,uhm, NOT GLOBAL or something?

2001-10-29 Thread Rasmus Lerdorf
Please read http://us.php.net/manual/en/language.variables.scope.php On Mon, 29 Oct 2001, Richard Marks wrote: what in the world is wrong here? ? Header (Content-type: image/png); $img = imagecreate

Re: [PHP] and now i get

2001-10-29 Thread Rasmus Lerdorf
You can't 'break' out of a function. You need to use 'return'. You might want to try one of the many irc channels instead. This mailing list really isn't for line-by-line debugging of your scripts. -Rasmus On Mon, 29 Oct 2001, Richard Marks wrote: hmm I found out that I had to add global

Re: [PHP] PHP templates vs XML

2001-10-29 Thread php
On Mon, 29 Oct 2001 14:02:32 -, you wrote: The idea of a template system is that the HTML code/presentation of the final view to the user/browser, can be devised/maintained quite separately from the PHP code required to pull data out of the back-end db/processing/whatever. Correct? The

[PHP] Problem with very big array !

2001-10-29 Thread Nicolas Guilhot
Hi guys, I have an sql query returning a result of nearly 150 000 rows. I use the PEAR DB::getAll method to retrieve this result as an array which is very big indeed (about 300Mb). I can't use the MySQL LIMIT statement because I need to do sorting stuff on the result array. My concern is that

[PHP] Re: Excel to MySQL

2001-10-29 Thread Mike Frazer
Dump the Excel DB to a text file and use the string parsing functions. Working with two large databases will suck up most of your system resources; working with a large text file one line at a time and one database one record of a time may be a little slower but it is going to be a million times

[PHP] is there a way of using fnctl locks from php?

2001-10-29 Thread Richard Hollis
flock does not work because works differently. is there a way to access fnctl locking directly from php? -- 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,

[PHP] how to pass true/false or no argument

2001-10-29 Thread John A. Grant
I've written several functions with optional string parameters. They work fine. But I've never written one that accepts an optional bool parameter and I'm now confused. I would like to have this: somefunction(hello); somefunction(hello,false); somefunction(hello,true); function

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-29 Thread Dave Létourneau
I got the same error message when i opened it with w... A append operation opens the file in r/w? I'm not sure... I though it needed a + : a+, w+... anyway, I think I'm gonna use a database (mysql) and it will be easy to to what I need but this problem is very strange. Thanks! Aha -- I

[PHP] Re: PHP changing my JavaScript??

2001-10-29 Thread Moloko
sounds like that's the problem - I am using session_start() as well so will give your idea a try! many thanks Moloko _lallous [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... it happened to me when i enter the page for the very first time and I use

[PHP] Re: Absolute #$#$ silliness

2001-10-29 Thread Mike Frazer
Exactly. Java borrows from C/C++ a great deal, and they tend to look similar overall, but they are totally different languages. PHP and Perl are much easier to learn if you already knew the other one fairly well, but the differences are vast. After learning at least the basics of seven

[PHP] Using php to verify fields in form...

2001-10-29 Thread Jason
I am new to php and I have been using a book to learn a bit about it and well I could not find a chapter on how to use php to verify a form is filled out properly, for instance I have a form with 3 fields... name, email and words. once the user clicks the submit button i want it to verify those 3

[PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread edward . quick
Hi, Does anyone know how to get round this problem? I have just installed Apache 1.3.22 but when I load php4.0.6 it won't run. Please email me at [EMAIL PROTECTED] Thanks, Ed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Database tags ala Lasso

2001-10-29 Thread l0t3k
For the futurists around here: Is there any chance that php will include database tags ala Lasso? highly unlikely, but you can achieve similar ends with one of the template engines for PHP. with a little work, you should be able to accomplish the same ends. check out Smarty (dont remeber the

[PHP] session start error

2001-10-29 Thread André Castanheira
Hi, I use php 4.0.6 and I would like to do the following : teste_classe1.php ? require (classes.inc); session_start(); echo(html); echo(body); session_register($tb); $tb = new tabela(tb_area_interesse, Área de Interesse); ? a href=teste_classe2.phpteste_classe2/a /body /html

Re: [PHP] fopen for ftp transfers

2001-10-29 Thread Frewuill Rodriguez
what about using ftp functions from PHP? http://www.php.net/manual/en/ref.ftp.php - Original Message - From: Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 29, 2001 10:58 AM Subject: [PHP] fopen for ftp transfers Hi- I am attempting to transfer files from

[PHP] Re: how to pass true/false or no argument

2001-10-29 Thread John A. Grant
John A. Grant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] How do I distinguish between false and $xxx parameter not passed? Do I use isset()? Do I use ===? Well, I guess I should have done some homework first. This code seems to work fine:

RE: [PHP] security

2001-10-29 Thread Zeev Suraski
My opinion differs from Rasmus in this case - I think that most of the points he makes in his study are quite accurate and well analyzed. Be sure to keep current when the next release of PHP comes out - it's going to provide infrastructure to handle some of the more dangerous issues that

[PHP] Mailing list

2001-10-29 Thread Nikola Karovi
Hi, Im looking for some mailing list script that would have option to send mails in batch mode, to prevent server overloading and to sent all mails in personal mode, not to send them in bcc, or anything. I have looked allready on hotscripts.com ang phpresourceindex etc, but all e-mails with that

[PHP] Re: how to pass true/false or no argument

2001-10-29 Thread Richard Hollis
yeah, but i wanted to know the answer... so it wasn't a total waste of time :) John A. Grant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... John A. Grant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] How do I

[PHP] Re: session start error

2001-10-29 Thread Richard Hollis
try: session_register(tb); $tb = new tabela(tb_area_interesse, Área de Interesse); then after using sesion_start() in the next script $tb should contain your object. Richard Cdré «góvîj érg [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I use php

[PHP] Re: Using php to verify fields in form...

2001-10-29 Thread Richard Hollis
form passes to your php file your php file checks the variables with the same name of that of the form fields. you can then test htey have all been set accordingly e.g. $FieldName etc. Jason [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am new to php and

[PHP] Re: Using php to verify fields in form...

2001-10-29 Thread Mike Frazer
I believe he was asking how to actually verify them, but I could be wrong... There are two ways to do it that are quick and painless. One involves matching with a regular expression (and since my regular expression knowledge is no longer up to snuff I won't even attempt to explain it in depth).

Re: [PHP] downloading images

2001-10-29 Thread Richard S. Crawford
With some of the newer broswers, you may be able to re-define the functionality of the context menu via JavaScript. Visit http://www.dynamicdrive.com; I think that there are some examples there, and you might be able to redirect the save image as... functionality there (I wouldn't count on

Re: [PHP] Session handling with cookies??

2001-10-29 Thread Olexandr Vynnychenko
Hello Andy, Monday, October 29, 2001, 3:39:51 PM, you wrote: A So... does anybody know how... A 1) I get the system to delete the cookie as soon as I leave the site, or A close it Use logout with setcookie(name, 0, ...) A 2) How to work on the same time. Pass information about date/time via

RE: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Mark Roedel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP] apache1.3.22 won't start with php4.0.6 Does anyone know how to get round this problem? I have just installed Apache 1.3.22 but

Re: [PHP] how to pass true/false or no argument

2001-10-29 Thread Henrik Hudson
If $xxx isn't defined at all, its default is NULL, so your if statement should work as is. If $xxx is not defined, then you should get thrown down to the else. There is a difference between false and NULL. On Monday 29 October 2001 10:50, John A. Grant wrote: I've written several functions

Re: [PHP] Using php to verify fields in form...

2001-10-29 Thread Henrik Hudson
Assuming you know what your field names are, they get passed in to the PHP script as variables. Using regular expressions you can check your variables for values you want/don't want. If they aren't what you want print an error message and tell the user to go back or something similar. It's

[PHP] Streaming context

2001-10-29 Thread James Webb
I'm trying to find a way to make streaming context for an internet game web site, like continual updates from the game and game info for players, I was looking around but can't find a function to help me, if you can point me in the right direction please drop me a line - James

Re: [PHP] HELP: Syntax Needed

2001-10-29 Thread Christian Reiniger
On Sunday 28 October 2001 20:53, jtjohnston wrote: Jokes aside, I still don't get it. *g* This works: mysql_pconnect($host,AccountName,beep); Why doesn;'t this? $myconnection = mysql_pconnect($host,$MyTable,$MyPassword); Compare what arguments you pass. Especially the second

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-29 Thread Christian Reiniger
On Sunday 28 October 2001 22:17, Imar de Vries wrote: Hi all, a very frustrating problem. For some reason I am not able to pass on an array between two functions, although I declare it global in both of them. I suspect my use of a switch statement to control the flow of the [...] switch

Re: [PHP] Mailing list

2001-10-29 Thread Frewuill Rodriguez
you mean like majordomo? it's not php but perl www.majordomo.com - Original Message - From: "Nikola Karovi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 29, 2001 12:34 PM Subject: [PHP] Mailing list Hi, Im looking for some mailing list script that would have option

Re: [PHP] Mailing list

2001-10-29 Thread Nikola Karovi
no, not like majordomo, like octeth mailing list manager http://www.octeth.com/, only some thats free - Original Message - From: Frewuill Rodriguez [EMAIL PROTECTED] To: Nikola Karovi [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 29. listopad 2001 21:21 Subject: Re: [PHP] Mailing list

Re: [PHP] Speeding up program

2001-10-29 Thread Emile Bosch
wrote some code.. ? function test($testid) { echo called from $testid!br; return 4; } echo DOING THE FIRST TESTBR; for ($i = 0; $i test('first'); $i++) { //doStuff }; echo br; echo DOING THE SECOND EMILE COMPACT BLAH TESTBR; for ($i = 0; $i ($num?$num:($num = test('second'))); $i++) {

Re: [PHP] parsing XML turorials, suggestions

2001-10-29 Thread Christian Reiniger
On Monday 29 October 2001 16:25, bill wrote: Need to get started parsing XML documents. I've developed a program to write them XML a database, but now I need to read them to obtain, for example, the (cdata) value of title which is nested inside book, etc. What's the best place to start?

[PHP] User Authentication against remote authentication server

2001-10-29 Thread Zhu George-CZZ010
sorry, this might be a little bit off the topic, but I really hope you could help anwering this question. It's pretty clear how to use web server to authenticate the users/groups, for example, if we are using Apache, the userID and password will be stored in the browser's cache, and be

RE: [PHP] Problem with very big array !

2001-10-29 Thread Matthew Loff
What prevents you from doing this iteratively, (not loading all 150,000 rows into memory, but processing each row sequentially)? -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 11:44 AM To: Php General MailingList Subject: [PHP]

[PHP] Re: fopen for ftp transfers

2001-10-29 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Scott) wrote: I am attempting to transfer files from one server to another via ftp. I am wondering if this is the best method to transfer files within PHP or should I seek other methods. Here is the way I am doing it now: $sendfile =

[PHP] Architecture : Handling timezones in a web application

2001-10-29 Thread l0t3k
we have developed an application that in use at institutions throughout the U.S and hosted centrally, and we need to figure out how to handle timezone issues for time related data in the database. how have others handled the issue ? our thought is to associate a timezone with the institution and

[PHP] separating lines in a text area field

2001-10-29 Thread Don
Hi, I've look at the PHP Faq, poked around the www.php.net site and searched the mailing list archive but could not come up with an answer. However, I'm sure this question has been asked before on more than one occasion. I have a form that calls a PHP function which sends the contents off as

RE: [PHP] Architecture : Handling timezones in a web application

2001-10-29 Thread Erik H. Mathy
we have developed an application that in use at institutions throughout the U.S and hosted centrally, Sweet! and we need to figure out how to handle timezone issues for time related data in the database. how have others handled the issue ? our thought is to associate a timezone with the

[PHP] spaces vs nbsp; in form fields

2001-10-29 Thread Greg
I have a function which takes an integer (the id field for a record) and returns the corresponding full name of the person whose id matches the integer. The function constructs the full name by querying a table for the row which matches the id and then concatenating firstname, middlename, and

[PHP] curl and HTTPS

2001-10-29 Thread Gerard Onorato
Hello all, Okay I have figured out that I will not be able to use fsockopen with https to submit a form. Now I am on to using CURL with openssl. Does anyone know of a sample of how to do this? I have seen mentions of it being done but can not find any examples. Thanks in advance. Gerard --

Re: [PHP] spaces vs nbsp; in form fields

2001-10-29 Thread Richard S. Crawford
The problem is that you have special characters that are interfering with the output. I had exactly the same problem a few weeks ago. Try this: $fixedOutputValue = htmlspecialchars($outputValue); print (input type=\text\ value=\$fixedOutputValue\ /); This is how I solved it. Note that

Re: [PHP] Mailing list

2001-10-29 Thread p.whiter
Hi For an excellent perl solution try mojo mail at: http://mojo.skazat.com/ This has all you want and more, and it is open source... FYI I use this and currently have approx 1300 subscribers, this has not let me down yet. Regards Paul - Original Message - From: "Nikola Karovi"

Re: [PHP] separating lines in a text area field

2001-10-29 Thread Nikola Karovi
Maybe you could try to put Content-Type: text/plain; without quotes into your message header. - Original Message - From: Don [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: 29. listopad 2001 22:16 Subject: [PHP] separating lines in a text area field Hi, I've look at the PHP

[PHP] PHP and Wget

2001-10-29 Thread fragman_dk
Do enybody no how to use wget on at website as a downloadmanager so i just can enter the url at wget on my linux server download it for me ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] counting sheeps

2001-10-29 Thread Nikola Karovi
Hi, i have two tables uniqueid and table2. In table2 are names that can be the same. How can i make output on my web page that would count number of same names by one name in url like index.php?id=name1 to produce eg number 3. - volim popit, volim zagalamit -- PHP General

Re: [PHP] PHP and Wget

2001-10-29 Thread Mark
On Mon, 29 Oct 2001 23:15:38 +0100, fragman_dk wrote: Do enybody no how to use wget on at website as a downloadmanager so i just can enter the url at wget on my linux server download it for me ? ? `wget $url` ? -- Mark, [EMAIL PROTECTED] on 10/29/2001 -- PHP General Mailing List

Re: [PHP] User Authentication against remote authentication server

2001-10-29 Thread Frewuill Rodriguez
may be you can write a script (perl/php/*) which try to check/log/whatever on the remote user sending a login/password, so if it returns ok yo can use it to deny/allow the access to your local webserver.. it's like a kind of authentication proxy - Original Message - From: Zhu

Re: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Michael A. Peters
On Mon, 29 Oct 2001 17:28:39 + (GMT) [EMAIL PROTECTED] wrote: Hi, Does anyone know how to get round this problem? I have just installed Apache 1.3.22 but when I load php4.0.6 it won't run. The error you are receiving when you try to start apache would be of assistance. Please

Re: [PHP] User Authentication against remote authentication server

2001-10-29 Thread Kurt Lieber
However, if the authentication server is not the web server, instead, it is a remote independent server. How can we manage the user authentications at the web server side? Use LDAP. http://www.php.net/manual/en/ref.ldap.php -- PHP General Mailing List (http://www.php.net/) To

[PHP] Fatcow and MySQL-Front

2001-10-29 Thread René Fournier
Hi All, Little problem: I want to transfer my MySQL database--a collection of 10 or so tables, with data--to my Fatcow account. They provide some lame MySQL tools, but nothing to faciliate moving an existing database, full of data, to their server. I tried using MySQL-Front to connect to

Re: [PHP] Function not found

2001-10-29 Thread David Robley
On Mon, 29 Oct 2001 21:19, De Necker Henri wrote: Where can i find the code for the array_search() function in php4.I do have php4 but the function isnt found.The in_array() function is found. According to the docs, that wasn't introduced unntil 4.05, so if you have an earlier version you

RE: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Fotwun
uhhh... the php psychic says she needs your birthdate and name first. =P but really, give some useful info. what OS? how is PHP compiled... are you using the CGI style standalone, or is it compiled into Apache, or is it a apache module? Whats the error it gives you on the console when trying to

RE: [PHP] User Authentication against remote authentication server [ LDAP ]

2001-10-29 Thread Johnson, Kirk
Thanks for the link, Kurt. Can you also point to any authentication code examples, or further discussion? The user comments in the manual suggest there are at least a couple ways to code stuff, ldap_compare vs ldap_bind. Any additional help appreciated. TIA Kirk -Original Message-

Re: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Brian Clark
Hi Edward, @ 4:25:53 PM on 10/29/2001, Edward Quick wrote: Absolutely nothing. Don't take this as my assuming you're incompetent. It's just that we need more information about your system in order to help you. You wrote: I have just installed Apache 1.3.22 but when I load php4.0.6 it

  1   2   >