[PHP-WIN] Re: mysql_fetch_array problem

2002-11-08 Thread Seung Hwan Kang
It supports to be mysql_fetch_array. while($r=mysql_fetch_array($result)) "Zeus" <[EMAIL PROTECTED]> wrote in message news:000201c28788$00d50e20$0200a8c0@;ncus... > 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, wh

[PHP-WIN] RE: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Cam Dunstan
john, creating script snippits on the fly is generally not much use in an echo statement because echos just stream to the clients browser - nothing in that stream is actually ever going to be "executed" The various solutions offered by other list members are particularly relevant to the creatio

RE: [PHP-WIN] mysql_fetch_array problem

2002-11-08 Thread Rich Gray
Erm.. isn't the addslashes() just needed to protect the SQL query? IMO the data in the db will not have any slashes embedded in normal circumstances, so there is no reason to stripslashes() any data coming from a database column... Rich -Original Message- From: Dash McElroy [mailto:dash.p

[PHP-WIN] IE 5.5 not performing comparison correctly

2002-11-08 Thread Giff Hammar
I am using PHP 4.2.3 with Apache 1.3..11 on Windows 2000 Pro. I have a form that POSTs a variable to the next page. PHP code at the top of the second page checks the POST variable against values in a flat file. If the POST variable and one of the values in the file match, the code breaks out of

[PHP-WIN] php-general-unsubscribe@lists.php.net

2002-11-08 Thread Raymond Delon Poh
[EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] mysql_fetch_array problem

2002-11-08 Thread Dash McElroy
Zeus, 2 notes: 1. Data you insert into a database should be addslashes($varname) first (or another encoding) to protect against MySQL injection vulnerabilities. A nice stripslashes($varname) on the way out gets rid of the slashes. You could also use urlencode($varname) and urldecode($varname). He

[PHP-WIN] mysql_fetch_array problem

2002-11-08 Thread Zeus
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 with my codes.i havent include the form yet. the error messages: Warning: mysql_fetch_field(): supplied argument is not a valid MySQL result resource in c:\ap

php-windows Digest 9 Nov 2002 00:32:27 -0000 Issue 1430

2002-11-08 Thread php-windows-digest-help
php-windows Digest 9 Nov 2002 00:32:27 - Issue 1430 Topics (messages 16808 through 16821): Re: enabling extensions 16808 by: Sven Schnitzke Re: header:location question 16809 by: Maxim Maletsky How to echo the end marker '?>' 16810 by: Philipp Bolliger 16811

[PHP-WIN] php doesnt work in subdirectory

2002-11-08 Thread Zeus
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 .zeus:. http://www.redrival.com/zeussama -- PHP Windows Mailing List (http://www.p

Re: [PHP-WIN] Re: Invalid command 'php_value' in .htaccess

2002-11-08 Thread Marcelo Laia
Prachait, You were like Ronaldo, player of Brazilian soccer that acts in the Real Madri of the Espanish: you made a great goal! Thanks very much for this help me! Next, I write a step-by-step explaining how I solved my problem. I believe that this procedure can help other users. I solve the pro

[PHP-WIN] Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Jason Young
If you're trying to get a LITERAL ?> Use > for your > symbol so that you have ?> I also noticed you didn't have a Does this help? John W. Holmes wrote: >subject's allready my question ! I want to echo something like : " action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes ec

[PHP-WIN] RE: [PHP] How to echo the end marker '?>'

2002-11-08 Thread John W. Holmes
> subject's allready my question ! I want to echo something like : " action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes echo $PHP_SELF ?> !! But I can't figure out how to escape ?> so that the > interpreter doesn't take it as the end of the script ! Any idea ? Maybe I don't und

[PHP-WIN] Re: expat extension

2002-11-08 Thread Darvin Andrioli
Ciao Franco > After many test and many consideration I decide to use SAX > instead DOM or XSLT > because XPath it is must stable. But the performance it is not > equal like DOM. Do you had successed to parse the external parameters entities with Expat? If yes, could you explain me how you make it

[PHP-WIN] Re: Invalid command 'php_value' in .htaccess

2002-11-08 Thread Prachait Saxena
The php_value only works when php is added in apache as a Module not as Intrepruter. Please check it as who php is added as Module or php.exe Prachait Marcelo laia wrote: > Hi list, > > I am trying to configure a site (gallery) and I am not > getting to obtain success. > > When inserting the

Re: [PHP-WIN] Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Maxim Maletsky
Actually, you don't even have to concatenate them at all. Just treat '; ?> will output you: -- -- without any parse errors. -- Maxim Maletsky [EMAIL PROTECTED] "Cam Dunstan" <[EMAIL PROTECTED]> wrote... : > Ernest, your solution is quite correct, I write lots of scripts that "write > scripts

Re: [PHP-WIN] Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Ernest E Vogelsinger
At 14:12 08.11.2002, Cam Dunstan spoke out and said: [snip] >If you have a really sick and twisted mind you can create functions that do [snip] Hehe - fits me, that's why I code in PHP *lol* -- >O Ernest E. Voge

Re: [PHP-WIN] Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Cam Dunstan
Ernest, your solution is quite correct, I write lots of scripts that "write scripts" and it works fine. just concatenate little strings together "<"."?"."php" and "?".">" pretty much as you suggested to Philipp. If you have a really sick and twisted mind you can create functions that do this in

[PHP-WIN] Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Ernest E Vogelsinger
At 12:15 08.11.2002, Philipp Bolliger spoke out and said: [snip] >subject's allready my question ! I want to echo something like : "action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes echo $PHP_SELF ?> !! But I can't figure out how to escape ?

RE: [PHP-WIN] How to echo the end marker '?>'

2002-11-08 Thread brother - Martin Bagge
Philipp Bolliger: > Hi everyone, > > subject's allready my question ! I want to echo something like : > " \" >" so that the action > becomes !! But I can't figure out how to escape > ?> so that the interpreter doesn't take it as the end of the script > ! Any idea ? you want to do this: echo "

[PHP-WIN] How to echo the end marker '?>'

2002-11-08 Thread Philipp Bolliger
Hi everyone, subject's allready my question ! I want to echo something like : " \" >" so that the action becomes !! But I can't figure out how to escape ?> so that the interpreter doesn't take it as the end of the script ! Any idea ? cheers, phibo -- PHP Windows Mailing List (http://www.php.

Re: [PHP-WIN] header:location question

2002-11-08 Thread Maxim Maletsky
Header-Location is simply what your browser will go to. So, if that link pasted into the address bar of the browser works - header works too. Perhaps the protocol is not available for you - that could be the reason. mms: is supposed to launch some application and things get a bit dirty. -- Maxim

AW: [PHP-WIN] Re: enabling extensions

2002-11-08 Thread Sven Schnitzke
Hello Tim I am using PHP 4.2.2 on Win98 for eval and I have encountered problems with extension_dir too. Basically it comes to that: PHP is not yet consistent in the usage and basing of relative pathnames in the different contexts (extensions, session_save, ...). In addition, absolute pathnames

php-windows Digest 8 Nov 2002 10:18:00 -0000 Issue 1429

2002-11-08 Thread php-windows-digest-help
php-windows Digest 8 Nov 2002 10:18:00 - Issue 1429 Topics (messages 16794 through 16807): PHP vs ASP headers 16794 by: Charles P. Killmer 16795 by: Maxim Maletsky 16796 by: Maxim Maletsky 16798 by: Charles P. Killmer Invalid command 'php_value' in .htaccess

[PHP-WIN] header:location question

2002-11-08 Thread Daniel Sturk
im was eariler using this function header("Location: http://www.somestreamingserver.com/actualstream.wmv";); now the provider wants me to use the following url to access the stream "mms://www.anotherstreamingserver.com/actualstream.wmv" and this doesnt work at all with the header redirect any i