query('SELECT 1+1', $db1);
> if ($result)
> {
> $row = mysql_fetch_row($result);
> echo "Result: {$row[0]}\n";
> }
> -
> [EMAIL PROTECTED]:~/src/P
-
[EMAIL PROTECTED]:~/src/PHP# php -q mysql_connect3.php
Result: 2
On Thu, 28 Oct 2004 23:08:39 -0400
John Holmes <[EMAIL PROTECTED]> wrote:
> Vladimir Shiray wrote:
> > -
> > War
Can one explain me why I has got a result:
-
Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ...
$result = mysql_query('SELECT 1+1', $db1);
-
from next example.
The example does not wo
; Rent )
And that's all. Shouldn't parse_ini_file return all the messages I have in
ini file but not only the first one? I'm using 4.3.8 on windows XP.
TIA.
Vladimir
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Two tables have diferent standarts to hold IP adresses:
first:
045.012.001.002
003.000.123.231
123.230.101.080
second:
45.12.1.2
3.0.123.231
123.230.101.80
I have to compare the data and stack there .. my fantasy can't help me write
regular expresion to parse first format into second or second i
How can I attach mcrypt to PHP (FreeBSD) without recompile whole PHP ?
How can I compile mcrypt as PHP shared module ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Windows? Linux?
"Rehab Mostafa" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi guys,
> i wanna make an internal site search, i wanna search my internal html
> pages and php pages..and i have no clue how to do thatany help!!!
if you work in comand its good thing.
"Anders Thoresson" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've just started to read about - and will soon try to write - object
> oriented code. I think I've got the basics both from the PHP-bo
> worked
will be a flame I feel ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Me too. I add tracks to DB only and store images as independent files. My
experiments with storing images in DB shows large memory use wich slow down
other processes (especialy if I need to choose several images from DB).
But if pictures unnumerous and small (smaler 30-40kb) my advice - insert
t
han ofcouse better use IE5-6 as client (with it exelent
object model) and server on PHP&MySQL.
Vladimir.
--
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]
line
print ''.$filenames[$
i].'';
change on
print ''.$filenames[$i].''
;
--
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]
Hi! Kevin!
Try this... :-) have a nica day!
«'.START_PATH.$catalog.'»';
print $str;
echo '';
echo '';
echo 'Record type Path';
for ($i = 0; $i < count($filenames); $i++)
{
if ($filenames[$i]!='.' && $filenames[$i]!='..')
{
if (is_dir(START_PATH.$catalog.'/'.$filenames[$i]))
p and work with them...
On logout delete or breake reg data in temp fille to resive the situation
$PHP_AUTH_USER, $PHP_AUTH_PW entered before are denied now...
Vladimir.
"Olexandr Vynnychenko" <[EMAIL PROTECTED]> ???/ ?
?: [EMAIL PROTECTED]">news
Good time of a day!
well... as for me the construction...
switch($action)
{
case ...
..
}
...is not very elegant when number of cases over 40-60 or more and the only
thing they must do is start one function (often with the same name). for
example:
ca
Good day!
Is there any way to get names of vars and values from $HTTP_POST_VARS if I
don't know their names and (ofcourse) values? (number can be taken from
count($HTTP_POST_VARS) ) ...
This is nesesery to write a function wich write log of user's work with
remote filesystem.
Vladi
ot working. (vay;-))) ) than remember than any mission
can be completed in different ways try somth like this ;-)
if ($name == "admin")
{
print '';
}
..
Vladimir Galkov.
--
PHP General Mailing List (http://www.php.net/)
To un
27;); ? ... som
realy this all will work as one program but realy be different files?
Galkov Vladimir
[EMAIL PROTECTED]
ICQ 84873967
Daniel Harik <[EMAIL PROTECTED]> ïèøåò â
ñîîáùåíèè:[EMAIL PROTECTED]
> Hello
>
> Thank you for your prevoius replies
>
> I have 1 main php and 1 c
may be you find accepteble usint
???
--
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]
$HTTP_ENV_VARS
$HTTP_SESSION_VARS
$HTTP_SERVER_VARS
This arrays store different types of varbles used during script's work. I
never use this method to access to vars... so can't give 100% correct
advice. just a way... read about using this arrays.
Galkov Vladimir
--
PHP General Mailing
Yes you can...
Ifif I rightly understand you only well... you whant submit
information without clicking submit button? .. well then you have to imagine
any suported event or use meta tag.. One problrm I don't use VB
script
Way one... ( this is example of 100% stupid code ... only
Need to remove all "../" "/.." from user inputing string to prevent him
walking and creating files&directories where I don't whant see them/him...
The string:
$path =
eregi_replace('([..]{2,})|([./]{2})|([../]{3,})|([/.]{2})|([/..]{3})', '',
$path);
works good with any combinations ( ../.
"];
objH1.innerText = objSelector.value;
}
.
innerText is a content betvin
Well... don't test that code... so cach only idea... but if you need more
coments mail me I'll send working example.
Have a nice day!
---
Galkov Vladimir
[EMAIL PROTECTED]
--
Good day!
my fingersrun faster my head ;-) ofcourse... MUST be (not in one string...)
function array_element_delete_function($a, $ind)
{
$a[$ind] = $a[0];
unset($a[0]);
sort($a); // <<<<
return $a; // <<<<
}
-
Galkov Vladimir
[EMAIL PROTECTED
Galkov Vladimir
[EMAIL PROTECTED]
ICQ 84873967
--
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]
Good day!
I try to wrote Web-interface for DNS. Only simple test version now. I'd like
to listen your comets to make real good and useful thing. mail me you
coments
please
Galkov Vladimir
ICQ 84873967
begin 666 dns.zip
M4$L#!!0``@`(`+)V7BN5U&O5OP(```4%```';6%N+G1X=(U4RV[
I'm running PHP4.0.4pl1-Win32, Zend Engine v1.0.4, Zend Optimizer v1.0.0, I
tryed to run sample script for creating PDF document. It's PHP manual
script, but I get message like this:
Fatal error: Call to undefined function: pdf_new() in c:/web/pdf/pdf.php on
line 2
phpinfo.php said:
PDF
Under PHP 4.0.4pl1 (for Windows) I can not start up old php_gd.dll from older PHP
distribution.
This is old GD library 3.0.12 that have GIF support. (Under 4.0.3pl1 everything was
fine).
Does anyone have idea about this problem
Thanks in advance,
Vladimir
P.S. I installed and new
28 matches
Mail list logo