Re: [PHP-WIN] Print or Echo?

2002-11-09 Thread Cam Dunstan
Stephen I use echo, but that is not to say there is anything wrong with using print. I`ve never really appreciated the difference, guess it gets back to the very first script one ever wrote when trying to learn the language - I still use $result and $myrow and $sqlstatement to this day purely out

RE: [PHP-WIN] mysql_fetch_array problem

2002-11-09 Thread Dash McElroy
Rich, Anything coming from a user should be escaped. I'd rather not run the risk of having control characters or other similar SQL injection tricks. Either way - it's good to think ahead just in case anything you put into the database (i.e. strings with ' or " or other characters) won't show up w

Re: [PHP-WIN] Print or Echo?

2002-11-09 Thread Maxim Maletsky
This was discussed a lot over thetime on php.general. try searching archives -- Maxim Maletsky [EMAIL PROTECTED] On Sat, 9 Nov 2002 17:10:26 - "Stephen Edmonds" <[EMAIL PROTECTED]> wrote: > This is not strictly a help question, but more of a do you question. > > Simply, do you use print

[PHP-WIN] Print or Echo?

2002-11-09 Thread Stephen Edmonds
This is not strictly a help question, but more of a do you question. Simply, do you use print, or do you use echo? Personally, I use print. I like the way its set out, and find it easier to understand code. But then again, that was just the way i learnt php. What do you think? Stephen -- PH

[PHP-WIN] Re: Subject: mysql_fetch_array problem

2002-11-09 Thread neil smith
At 14:10 09/11/2002 +, you wrote: Message-ID: <000201c28788$00d50e20$0200a8c0@ncus> From: "Zeus" <[EMAIL PROTECTED]> Subject: mysql_fetch_array problem I try to display mysql database using fetch_array but there seem to problem, i m new with PHP and mysql.I didn't quite sure, what's worng wit

php-windows Digest 9 Nov 2002 14:10:11 -0000 Issue 1431

2002-11-09 Thread php-windows-digest-help
php-windows Digest 9 Nov 2002 14:10:11 - Issue 1431 Topics (messages 16822 through 16832): mysql_fetch_array problem 16822 by: Zeus 16823 by: Dash McElroy 16826 by: Rich Gray 16828 by: Seung Hwan Kang [EMAIL PROTECTED] 16824 by: Raymond Delon Poh IE

[PHP-WIN] Re: php doesnt work in subdirectory

2002-11-09 Thread Prachait Saxena
are u running the php as a cgi script ? Prachait Zeus wrote: > I made directories uder htdocs, and i put my php files. > > But, Apache cannot parse the php > > how to change apache config to work with php files under subdirectories > > Apche 1.3.6 > PHP 4.2 as Apache module > > Thanks > .

[PHP-WIN] Looking for mcrypt.dll for PHP 4.2.3

2002-11-09 Thread Ignatius Reilly
Hello, I tried to install the mcrypt extension successfully on Windows, but when restarting Apache (PHP 4.2.3 as module) I get the error message: "The procedure entry point _ecalloc could not be located in the dll php4ts.dll" Probably I do not have the correct version for php_mcrypt.dll Anybody

[PHP-WIN] Blocked by security issues of running PHP as a CGI

2002-11-09 Thread Paul Trimming
Hello, I am endeavouring to set up PHP with Xitami web server, which I am able to run perfectly successfully by itself. However, when I try to run a PHP executable, I get the following error in the browser: Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled

Re: [PHP-WIN] sending cgi script query string

2002-11-09 Thread DaMouse
how would I send the post data to the script within PHP? I currently use virtual("cgi-bin/aaa.cgi?".$premade); - Original Message - From: Maxim Maletsky <[EMAIL PROTECTED]> To: DaMouse <[EMAIL PROTECTED]> Cc: PHP - Win <[EMAIL PROTECTED]> Sent: Thursday, November 07, 2002 6:01 PM Subject: