[PHP] PHP newsgroups still down?

2001-06-25 Thread Michael Simcich
I hadn't checked the php news servers since the mailing list went back online. At least to me, at this moment, the news servers seem to be missing in action. Anyone know what the scoop is on this? Michael Simcich AccessTools -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP] Re: FTP Problem in PHP Version 4.0.4pl1

2001-06-25 Thread David Robley
On Mon, 25 Jun 2001 16:56, muttaqin wrote: > Hello David, > > I have did reconfigure with command : > ./configure -prefix=/usr/local/php --with-mysql --enable-ftp \ > -with-apache=/usr/local/downloads/apache_1.3.17 > > And I have restart apache. > but the problem is the same. > > Thank's > > -

RE: [PHP] [OT-ish] Optional Extras.

2001-06-25 Thread ..s.c.o.t.t..
off the top of my head, you could try using a "lookup table" to define the extra options... ford_spec table: id desc --- --- 1 air conditioning 2 whatever ford_cars table: car extra1 extra2 -- --- - 'contour' 1

Re: [PHP] date -> day

2001-06-25 Thread Philip Olson
mktime can be pretty useful : $year = 2001; $month = 6; $day = 1; print date('l',mktime(0,0,0,$month,$day,$year)); as it creates a unix timestamp, and date() appreciates that. Regards, Philip On Mon, 25 Jun 2001, Tyler Longren wrote: > Hello, > > I have something like this: >

[PHP] [PHP-WIN] Problems running php from samba network shares...

2001-06-25 Thread Mattias Segerdahl
Hello all, I have a slight problem that someone out there might be able to help me with. I recently installed Windows 2000 with Internet Information Server 5.0 and php 4.0.7-dev. When configuring the IIS 5.0 default webserver, I did the following => Properties => Directory Security => Edit => An

[PHP] Help with PHP/Oracle and serializing data

2001-06-25 Thread Michael Champagne
I'm developing a web application and would like to be able to store the state of the application in an Oracle table by serializing a bunch of variables and storing them in the database. Has anyone done this? What datatype would be best to use here? I'm not serializing too much data now, but oth

Re: [PHP] Practical flock() implementation

2001-06-25 Thread CC Zona
In article <030a01c0fd4a$0f797840$6401a8c0@Lynchux100>, [EMAIL PROTECTED] ("Richard Lynch") wrote: > > argument, so don't I *have* to fopen the file before going to flock()? Or > > should I fopen first in "r" mode, acquire the lock, then re-open in "w" > > mode, counting on the lock to stay in

Re: [PHP] converting Word documents to something sensible

2001-06-25 Thread Phil Driscoll
Thanks to all who replied. I've downloaded all the likely candidates and will have a play with them and report back. So far I've had very good results with wvHtml which has coped admirably with all the word docs I have to hand. If anyone else has already evaluated any of the converters I (and

RE: [PHP] Session-problems in linux

2001-06-25 Thread Diego Fulgueira Pastor
I had EXACTLY the same problem about a month a go, but using IIS on Win2k. The session file contains only ":foo|", so it's just the same. There are a couple of things to check: 1. Make sure the browser is receiving the cookie. 2. Make sure the browser is returning the cookie (shoul

RE: [PHP] a standalone PHP script to update MySql server

2001-06-25 Thread scott [gts]
sure. install PHP as a binary and run the script just like you'd run any other script ;) > -Original Message- > From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 25, 2001 4:43 PM > To: [EMAIL PROTECTED] > Subject: [PHP] a standalone PHP script to update MySql serve

RE: [PHP] Remove value from array

2001-06-25 Thread Kristian Duske
> http://php.net/manual/en/language.types.array.php > there is written: > "To change a certain value, just assign a new value to it. If you want to > remove a key/value pair, you need to unset() it." Damn, I looked for that and didn't find it =). Anyway, thanks for the heads up. I was pretty sure

Re: [PHP] Help with simple regular expression

2001-06-25 Thread mailing_list
> > That's because POSIX is greedy. Or Perl is greedy. Whatever. > > Perl is greedy. It *should* have worked with eregi... > > > > Yes, Perl is greedy (there has to be some kind of default behaviour)! BUT it is SO easy to make it decent: // that's it!!! michi -- GMX - Die Kommunikations

RE: [PHP] [OT-ish] Optional Extras.

2001-06-25 Thread Rich Cavanaugh
Dave, I did something similar and I came up with an interesting way of approaching it: Assign IDs to each car (obviously). Assign an ID to each option. Match up your car IDs and option IDs in a seperate table. Here's some table defs: create table cars ( carid int auto_incremen

[PHP] strange behavior on manipulating the array of class object

2001-06-25 Thread Moriyoshi Koizumi
Hello. I'm new to this list, and I once looked over the archives, but the problem like this might not have been proposed, so I ask... please see the code below sorry to be too long. (the result of this code is supposed to be seen with HTML browser) --

[PHP] Enter to BR

2001-06-25 Thread Joeri Vankelst
How can I get an Enter typed in a HTML textfield to be inerpreted as a BR or a P tag? Someone sugested I use the split() function, but I wouldn't know how... Joeri Vankelst -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [PHP] Expand/parse variables in file

2001-06-25 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Gunther E. Biernat") wrote: > I'm trying to read a plain text file where I embedded some variables. E.g. > > abc $a def > > Sucking this file in a string and setting $a to "whatever" results in "abc $a > def" rather than "abc whatever def".

[PHP] Passing an array to a C program from a php script??

2001-06-25 Thread Nicolas Guilhot
Hi all, I have a big array (nearly 1000 lines) that I would like to pass to a C program. I don't want to create a temporary file to pass my array (If possible ?!?), and I don't think the command line will fit my needs. Is there a way to execute a program with a php string as the standard input.

RE: [PHP] Help with simple regular expression

2001-06-25 Thread Mark Maggelet
another way to match this that works with preg or ereg is to go like this: ]*> On Mon, 25 Jun 2001 15:31:29 -0400, scott [gts] ([EMAIL PROTECTED]) wrote: >exactly. use the non-greedy "?" with the perl regex's >to have perl match the least amount of characters it can. > >preg_match('//', $text, $

[PHP] Expand/parse variables in file

2001-06-25 Thread Gunther E. Biernat
All, This ought to be simple, but I can't crack it... I'm trying to read a plain text file where I embedded some variables. E.g. abc $a def Sucking this file in a string and setting $a to "whatever" results in "abc $a def" rather than "abc whatever def". Where's the difference to directly doi

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-25 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > > On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote: > > "Thies C. Arntzen" wrote: > > > > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > > > Do you experience any other sort of problems other than those warnings? > > > > I mean, i

[PHP] Easy to copy MySQL table??

2001-06-25 Thread Ray Noel
Hi, Is there any easy way to copy a "template" mysql table to enable data to processed in batches? I would prefer to just copy a table rather than hard-code a table create query, if possible. Regards Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] Accessing a Berkeley DB V1.85 using PHP V4.0.5

2001-06-25 Thread David Robinson (AU)
Hello I am trying to access a Berkeley database V1.85 using PHP V4.0.5 (on Windows 2000) without success. I have tried the dbmopen() routines and dba_open(..., ..., "dbm") routines. dbmopen() etc. are successful but the results suggest that they do not support this database format. The dba_open

[PHP] date -> day

2001-06-25 Thread Tyler Longren
Hello, I have something like this: $Month = "6"; $Year = "2001"; $Date = "1"; Is there any relatively simple way to get the day out of that? For example, the day for 6-1-2001 would be Friday. Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

RE: [PHP] Remove value from array

2001-06-25 Thread mailing_list
> > Hello, > > how can I complete remove an item out of an array ? > > I tried unset() as well as setting the value to null. > > > > Both result in the value being null but not the item being deleted. > > As far as I know, this is not possible. You can, however, create a new > array > and copy al

[PHP] shared object not open

2001-06-25 Thread Martin Schmidt
Hi, I am just starting with PHP, I installed the new version on my Suse 7.1 with apache 1.3.14, because I need a tool for accessing databases (Informix/Oracle). Everything seemed fine, until I tried to start apache, it told me: Cannot load /usr/lib/apache/libphp4.so into server: shared object n

[PHP] Authentication

2001-06-25 Thread Brave Cobra
Hi, I know it doesn't have a lot to do with PHP, and then again... I'm trying to get PHP authentication to work on an IIS 5.0 server. The thing is, the server is not sending my desired headers. The script, I'm using, works perfectly. I've tested that, on an Apache server online. Works brilliantl

Re: [PHP] Remove value from array

2001-06-25 Thread Philip Olson
Here's an example : a [2] => c $bar = array('a','b','c'); $piece = array_splice ($bar, 1 ,1); print_r($piece); // [0] => b print_r($bar);// [0] => a [1] => c ?> http://www.php.net/manual/function.array-splice.php regards, philip On Mon, 25 Jun 2001, Bret R.

[PHP] [OT-ish] Optional Extras.

2001-06-25 Thread Dave Mariner
Please excuse me if you consider this to be off-topic, but this is the best place I can think of to ask the (slightly long-winded) question. Imagine you have a car database (MySQL driven). Different models have different optional extras (air-con, central locking, immobiliser etc). I need to store

[PHP] Installation problems with MySQL

2001-06-25 Thread Cesar Cuneo
Hello, Can anyone please help me with MySQL installation? I am installing MYSQL on Windows 2000 version 3.23.38-win.zip But when I try to run it in the command line I receive the following statements: C:\mysql>cd bin C:\mysql\bin>mysql -p Enter password: ERROR 2003: Can't connect to MySQL

Re: [PHP] converting Word documents to something sensible

2001-06-25 Thread Wolfgang Ebneter
How about staroffice ? It reads *.doc files and you can save them as *.rtf files. > > Phil Driscoll wrote: > > I have to build a web site for a local government education authority in > > the UK which will allow them to make available a large range of documents > > to schools. They INSIST on subm

RE: [PHP] Help with simple regular expression

2001-06-25 Thread scott [gts]
exactly. use the non-greedy "?" with the perl regex's to have perl match the least amount of characters it can. preg_match('//', $text, $matches) in the case of perl regexp's, you have to specifically tell the regexp not to be greedy. the "?" regexp modifier is how you do this. (otherwise, th

RE: [PHP] freebsd and exec problem

2001-06-25 Thread scott [gts]
always check permissions make sure the web server can read/execute what it needs to. also, have you tried running the program from a shell and seeing if it generated any errors? > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 25, 2001 3:12

RE: [PHP] php not working

2001-06-25 Thread scott [gts]
here's my apache config i use at home (where i have the binary version, *not* server module) ScriptAlias /pbin/ /usr/local/php-bin/ AddType application/x-httpd-php .php Action application/x-httpd-php /pbin/php > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

[PHP] RE: MySQLGUI

2001-06-25 Thread Jochen Kaechelin
> What do we require to use the MySQLGUI with our MYSQL server. > > We are looking to manage the users and tables over the web > from an NT > machine. Can you please advise us. > > I think that you may have a very large market out there is > it works in the > way that i have been lead to bel

[PHP] a standalone PHP script to update MySql server

2001-06-25 Thread Zhu George-CZZ010
It's pretty easy to use PHP to update MySql server through the web sever. Is there an easy way to use PHP scripts to update the MySql sever in a standalone mode (without the web sever)? Any sample scripts? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

Re: [PHP] Batch Coding Help Please

2001-06-25 Thread KPortsmout
Hi, Unfortunately that won`t work for me because I don`t have access to setting up a Cronjob on this account, thanks for the suggestion though. Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

Re: [PHP] file("http://www.php.net") error?

2001-06-25 Thread elias
Dunno,... Maybe you should specify the full file path, ie: file(http://www.163.com/index.htm) ? ""atan"" <[EMAIL PROTECTED]> wrote in message 9h0s59$l4h$[EMAIL PROTECTED]">news:9h0s59$l4h$[EMAIL PROTECTED]... > file("http://www.163.com";) error? > this is a test: > > $fc

[PHP] Re: [PHP-DB] access to a access db via php

2001-06-25 Thread Miles Thompson
Mathias, Welcome and we hope you'll have fun. At 12:53 PM 6/25/01 +0200, you wrote: >Hello NG, >it's the first time I use this NG and I'm not sure whether I'm I right here >or not. >The problem: I'm a beginner in php (just started to read the first >introductions). I created a "guestbook" with F

Re: [PHP] damn $REQUEST_URI

2001-06-25 Thread infoz
$HTTP_HOST Run a page with on your server & you'll see all sorts of goodies in there. - Tim http://www.phptemplates.org - Original Message - From: "Peter Van Dijck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 7:10 AM Subject: [PHP] damn $REQUEST_URI > $R

Re: [PHP] damn $REQUEST_URI

2001-06-25 Thread Attila Strauss
hi, try $SERVER_NAME http://www.php.net/manual/en/ref.http.php regards attila strauss > $REQUEST_URI gets me home/dir/index.php > but I need to get the domain name. > > Can't seem to find it anywhere, what's the environment variable for the > domain name again? Thanks! > Peter > -- PH

RE: [PHP] damn $REQUEST_URI

2001-06-25 Thread Maxim Maletsky
$url = sprintf("http://%s/%s";, $HTTP_HOST, $REQUEST_URI); Cheers, Maxim Maletsky -Original Message- From: Peter Van Dijck [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 8:10 PM To: [EMAIL PROTECTED] Subject: [PHP] damn $REQUEST_URI $REQUEST_URI gets me home/dir/index.php but

Re: [PHP] Batch Coding Help Please

2001-06-25 Thread Gianluca Baldo
Hi, I do the following in a similar case: - I have a table with the emails to send (the addresses) - I run a PHP script as a cronjob every X minutes (15 in my case) - the script sends up to 1000 e-mail and delete the corresponding entry from the table for each e-mail sent (you may want to simply

AW: [PHP] apache and php ate up all my memory :-[

2001-06-25 Thread Sebastian Stadtlich
i lowered the config parameter MaxRequestsPerChild 30 so at least it keeps running, but i think that can't be the solution... as soon as i increase it the memory consumtion increases linear here is the info : top: 1:39pm up 24 days, 20:55, 1 user, load average: 0.00, 0.00, 0.00 57 proce

RE: [PHP] Remove value from array

2001-06-25 Thread Kristian Duske
> Hello, > how can I complete remove an item out of an array ? > I tried unset() as well as setting the value to null. > > Both result in the value being null but not the item being deleted. As far as I know, this is not possible. You can, however, create a new array and copy all values except th

[PHP] damn $REQUEST_URI

2001-06-25 Thread Peter Van Dijck
$REQUEST_URI gets me home/dir/index.php but I need to get the domain name. Can't seem to find it anywhere, what's the environment variable for the domain name again? Thanks! Peter ~~ http://liga1.com building multiple language/culture websites http://poorb

Re: [PHP] php still not working

2001-06-25 Thread Michael Hall
Do you restart Apache after making changes to httpd.conf? You can use 'path/to/apache/bin/apachectl restart' to do this. Just a thought. Mick On Mon, 25 Jun 2001, brent wrote: > Trying a re-post from yesterday... > > My setup is as follows: > > RH Linux 7.0 > PHP 4.0.5 > Apache 1.3.20 > >

[PHP] Batch Coding Help Please

2001-06-25 Thread KPortsmout
Hi, I am building a custom e-mailer for one of my websites using PHP and MySQL, I know there are loads out there already but my goal here is to learn this coding myself so I can modify it to my needs as and when they change. My list only has around 5000 subscribers at the moment and I have h

Re: [PHP] PHP Uptime error

2001-06-25 Thread Tim Zickus
Check the permissions on the files in /proc, which is where uptime gets its info from, most likely. You could probably even read the pseudo-file '/proc/loadavg' as 'nobody' directly from PHP given the appropriate file permissions. - Tim http://www.phptemplates.org > Richard Lynch's advice wa

Re: [PHP] PHP Uptime error

2001-06-25 Thread Andy Woolley
Does anyone know if it's possible to capture TCP_TIMESTAMP using a socket. If you could do that you wouldn't need to execute /usr/bin/uptime Andy. --- Need a DHTML Menu? Try www.milonic.com/menu it's free --- - Original Message - From: "R

[PHP] Web Mail

2001-06-25 Thread Rosen
Hi Can comeone reccomend me PHP script for Web Mail , which can create mail accounts on mail server? Thanks, Rosen Marinov -- 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 admi

[PHP] php still not working

2001-06-25 Thread brent
Trying a re-post from yesterday... My setup is as follows: RH Linux 7.0 PHP 4.0.5 Apache 1.3.20 I've either added or uncommented the following lines from httpd.conf: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps and to mime.types: application/x

Re: [PHP] Help with simple regular expression

2001-06-25 Thread Christian Reiniger
On Monday 25 June 2001 09:27, Richard Lynch wrote: > That's because POSIX is greedy. Or Perl is greedy. Whatever. Perl is greedy. It *should* have worked with eregi... > > > > > > Unfortunately it matches everything from the body tag onwards and > > doesn't stop at the greater-than sign. It s

RE: [PHP] how can i use postfix instead of sendmail???

2001-06-25 Thread Michael Hall
> > Is postfix more efficient than sendmail? I don't know about efficient but it is certainly more secure and *way* easier to configure. > > Can you give me the url which describes how to use it or write here ? > www.google.com/linux >> "postfix" > and you get: > http://www.redhat.com/support/do

[PHP] Remove value from array

2001-06-25 Thread Bret R. Zaun
Hello, how can I complete remove an item out of an array ? I tried unset() as well as setting the value to null. Both result in the value being null but not the item being deleted. Any help is appreciated Heiko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-25 Thread Thies C. Arntzen
On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote: > "Thies C. Arntzen" wrote: > > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > > Do you experience any other sort of problems other than those warnings? > > > I mean, is anything wrong with the data? Normally

Re: [PHP] ->>coding help

2001-06-25 Thread Richard Lynch
Oh yeah: I forgot: *AFTER* the loop, you need to add another spurious . You'll have an empty row with no TD's in it, and the browser won't even put in a blank line or anything. Just spew out an extra at the end and call it done. -- WARNING [EMAIL PROTECTED] address is an endangered species -

Re: [PHP] PHP Uptime error

2001-06-25 Thread Richard Lynch
> I have a PHP script with the following code in it; > > $uptime = passthru ("/usr/bin/uptime"); > > but when I load the PHP page I get the following; > > 8:26pm up 0 min, 0 users, load average: 0.00, 0.00, 0.00 > > which is wrong (I have checked the uptime via telnet). Can anybody please > help

Re: [PHP] Running external programs

2001-06-25 Thread Richard Lynch
>Warning: Unable to fork [cscript d:\temp\rgroup.vbs -t a -g new.group.01] in >d:\inetpub\wwwroot\nntpadm\creategroup.php on line 3 > >What am I doing wrong? Using Microsoft :-) IIRC, the deal is this -- When PHP went to version 4, the threading stuff got real, but MS doesn't have real threads,

Re: [PHP] freebsd and exec problem

2001-06-25 Thread Richard Lynch
Is PHP timing out after 30 seconds?... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: "Gar

Re: [PHP] php not working

2001-06-25 Thread Richard Lynch
> I even tried the LoadModule trick, but since I didn't compile as a > module, that just gave me an error when I restarted the server. And therein lies the rub. If you compiled as a stand-alone binary (aka CGI) you don't want AddHandler, you want "Action". Something not unlike: Action applica

Re: [PHP] Creating formatted documents

2001-06-25 Thread Richard Lynch
> I need to create a document that confirms to certain formatting criteria > and then be able to give the surfer the ability to download the > completed document preferrable, pdf. In other words, the document is a > "legal" document and has some dynamic fields. Can this be done in php > and if s

Re: [PHP] PHP authenticating and session management

2001-06-25 Thread Richard Lynch
> 1.) > I see from www.php.net , people said they will generate a Session ID by > themselves > srand((double)microtime()*100); > $unique_str = md5(rand(0,999)); > why not to generate by ourself ? > PHP will create itself . Once upon a time, a long time ago, there was no built-in PHP sessi

Re: [PHP] Php Files on Browser

2001-06-25 Thread Richard Lynch
> Sorry for this stupid question but I'm a newby trying to install php on my > win98 computer and find that neither netscape nor IE 5.5 won't open php > files that are located on my c: drive but will access php files on the net. > There must be a simple explanation. PHP only kicks in because the

Re: [PHP] Get the value of a

2001-06-25 Thread Richard Lynch
> I always use "InputImageName_x > 0" to know if a button was clicked. > > How can I get the value on my input type=image? You can't. > Like: > > how can I get "002545645" with "$contatc"? Well, okay, what you *COULD* do is something like this: -- WARNING [EMAIL P

Re: [PHP] gd library on win2k?

2001-06-25 Thread Richard Lynch
> how can i install the gd library for php on win2k using iis5? The IIS5 part is irrelevant, I think... Dig around for a file++ whose name is composed of "GD", "PHP", and ".DLL". Put it next to all your other PHP DLL files. Alter your php.ini to refer to it the way it refers to other PHP DLLs.

Re: [PHP] Practical flock() implementation

2001-06-25 Thread Richard Lynch
> argument, so don't I *have* to fopen the file before going to flock()? Or > should I fopen first in "r" mode, acquire the lock, then re-open in "w" > mode, counting on the lock to stay in effect even though it's a different > file pointer? Yup. You are holding the lock, and it's yours > I'd

Re: [PHP] Running scripts from within PHP similar to SSI

2001-06-25 Thread Richard Lynch
If you are running PHP as a Module (you should be) try the http://php.net/virtual function. If not, you can use exec(), but pass any vars the thing needs: # Your CGI may be expecting command-line args or flags or... # I presumed it was URL-style input. exec("./cgi-bin/txtcounter.cgi?foo=$foo&bar

Re: [PHP] newbie algorithm help!!!!!

2001-06-25 Thread Richard Lynch
> > i have a mysql table with approx. 30 entries. > > > > I wanna get them(i know how to do that) and list them in a 2-column table. For those minimalist-typists among us... :-) $rowcount = 0; echo "\n"; while (list($whatever) = mysql_fetch_row($result)){ echo "$whatever\n"; $rowcount++;

Re: [PHP] Problems with include directory which falls under .htaccess protection

2001-06-25 Thread Richard Lynch
> I have a .htaccess file with the following in it > order allow,deny > allow from all > require user pilot > Authname MySite > Authtype Basic > > The page itselfs prompts for and accepts username/password correctly, > however on that page are a number of included files.. The included files are >

Re: [PHP] readfile() question

2001-06-25 Thread Richard Lynch
> I was wondering what happens if you call the readfile function to output a > large binary file to a client with a slow connection. > Does the script run until the whole file is sent to the client (leading to > timeout errors on servers with a low max execution time) or does it fill > some sort o

Re: [PHP] mysql_free_result() question

2001-06-25 Thread Richard Lynch
> > Do I mysql_free_result the $Query or the $Result? If it's $Result, would > > this be the same as just going unset($Result)? > > mysql_free_result() frees the ressources that the MySQL server allocated for > the results of your query. This is in the memory space of the MySQL server, > while if

Re: [PHP] Using post method thru php-script

2001-06-25 Thread Richard Lynch
> $fp = fsockopen('secure.aaa.com',443,&$err_num,&$err_msg); Talking to an SSL server on port 443 is a bit more complicated than chatting up an HTTP server on port 80. You have to pre-negotiate your encryption algorithms and send some public keys back and forth to generate some more public/priva

RE: [PHP] how can i use postfix instead of sendmail???

2001-06-25 Thread Jason Murray
> Is postfix more efficient than sendmail? > Can you give me the url which describes how to use it or write here ? www.google.com/linux >> "postfix" and you get: http://www.redhat.com/support/docs/faqs/RH-postfix-FAQ/book1.html Which seems pretty much like what you want. (PS: this took me 15