[PHP] Re: help needed with headers

2002-04-27 Thread Yuri Petro
Try this: header ("Content-type: text/plain"); header ("Content-disposition: attachment; filename=file.txt"); -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Vins" <[EMAIL PROTECTED]> > I would like to create a text file that doesn't save to disk but askes me to > sav

[PHP] Re: auto_increment

2002-04-27 Thread Yuri Petro
MySQL: create table foo ( id int not null auto_increment primary key, state enum('enabled', 'disabled') ); PostgreSQL: create table foo ( id int not null primary key default nextval('foo_id_seq'), state varchar(8) check (state in ('enabled', 'disabled')) ); create sequence fo

[PHP] Re: BBS system

2002-04-27 Thread Yuri Petro
PHPBB is REALLY best! :-) http://www.phpbb.com/ -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "R" <[EMAIL PROTECTED]> > Hey all, > > Just a small q, > does anybody know of any particular good BBS system that is free? (I aint > rich :-( ) Been to hotscripts.com can

[PHP] Re: Stop to fast caching/parsing

2002-04-27 Thread Yuri Petro
http://www.php.net/manual/en/function.flush.php flush -- Flush the output buffer Flushes the output buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This effectively tries to push all the output so far to the user's browser. -- Kind regards, Yuri. www.AceHost

[PHP] Re: Counter ?

2002-04-27 Thread Yuri Petro
http://www.hotscripts.com/PHP/Scripts_and_Programs/Counters/Text_Based/ -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Cms" <[EMAIL PROTECTED]> ???/ ? ?: news:r01050100-0922-9FEB9500593A11D68F37DC65D4C7C8B9@[192.168.0.14]... > > I am looking

[PHP] Re: POST/GET is not working for PHP 4.2.0 on W2K Advanced Server

2002-04-27 Thread Yuri Petro
Just set register_globals to On in php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Jaseyx" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there, > > Anyone else having trouble with vanished form

[PHP] Re: passing variables to scripts

2002-04-28 Thread Yuri Petro
Which version of PHP you're running? May be you need to set register_globals = On in your php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Mark Gallagher" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

[PHP] Re: date problem

2002-04-28 Thread Yuri Petro
You can include date formatting function in your SQL statement: DATE_FORMAT(date,format) http://www.mysql.com/doc/D/a/Date_and_time_functions.html -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Nick Wilson" <[EMAIL PROTECTED]> ???/ ? ?: [EM

[PHP] Re: Changing field size

2002-04-28 Thread Yuri Petro
"ALTER TABLE works by making a temporary copy of the original table. The alteration is performed on the copy, then the original table is deleted and the new one is renamed. This is done in such a way that all updates are automatically redirected to the new table without any failed updates. While A

[PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread Yuri Petro
Can you indicate Apache settings regarding php and virtualhosts? -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Greg Blakely" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello. I'm new to this list, though no

[PHP] Re: Header question

2002-04-28 Thread Yuri Petro
Just replace the last line with: @mail ($To,$Subject,$Message,"From: $EmailSender\nReply-To: $EmailSender); -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Dean Ouellette" <[EMAIL PROTECTED]> ???/ ? ?: 000e01c1eef4$07cbeb40$0200a8c0@yoda">n

Re: [PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread Yuri Petro
ceHoster.com <<<< Quality web hosting "Greg Blakely" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Yuri Petro asked: > Can you indicate Apache settings regarding php and virtualhosts? In the "m

[PHP] Re: i cannot pass variables to php script...

2002-05-01 Thread Yuri Petro
Just set register_globals = On in your php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Efa" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > I have a problem with passing variables to php scr

[PHP] Re: mail() says: Warning: Server Error

2002-04-09 Thread Yuri Petro
If you use PHP on Windows you need to configure SMTP settings in php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Genesis Designs" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > Evert tim

[PHP] Re: MySQL persistent links

2002-04-09 Thread Yuri Petro
Hello, You can just put disable_functions=mysql_pconnect in php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Robert Abbate" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi. I'm trying to disable

[PHP] Re: asking about .exe file

2002-04-09 Thread Yuri Petro
Yes. system() - Execute an external program and display output. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Wong" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can php execute .exe file under dos and view res

[PHP] Re: Downloading files

2002-04-09 Thread Yuri Petro
When you serve a document from a Web server, you might want to immediately prompt the user to save the file directly to the user's disk, without opening it in the browser. However, for known MIME (Multipurpose Internet Mail Extensions) types such as Microsoft Word ("application/ms-word"), the defa

[PHP] Re: string reverse ??

2002-04-09 Thread Yuri Petro
strrev -- Reverse a string http://www.php.net/manual/en/function.strrev.php -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Scott Fletcher" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PROTECTED]... > Hi! > > Is there a PHP code or function

[PHP] Re: order of evaluation

2002-04-09 Thread Yuri Petro
I think that set_password() will not be processed. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Erik Price" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > A quick question about evaluation: > > I have the foll