Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a blank page - no errors, and no database, either!
A followup - I'm taking this over to PHP-DB since it's now
database-centric, I think.
This still fails:
$db = new mysqli(
But this works
$conn
comex wrote:
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
b) Why does the error reporting NOT work as soon as I jam a $db new
mysql call into the code?
Because you disabled it with an '@'.
Well, I suppose I should say "Doh!" but even when I get rid
I swear, it was just working last week! Well, a while ago, on another
machine. You get the idea. Here's the deal...
PHP 5.1.6 and MySQL 5.x on FC6 fully patched.
1. A simple page with a call to phpinfo() works fine.
2. A barely more complicated page also works fine, in that it throws an
expec
Hi,
>>If I turn register_global on and print $QUERY_STRING it works,
>> but it wont if I print $_SERVER['QUERY_STRING'].
>> I'm on XP/PHP 4.0.6.
the super globals arrays are availables from PHP 4.1.0 i think, no ?
before this version your should use $HTTP_SERVER_VARS['QUERY_STRING']
upgrade your
hi
smarty ( and pear ? ) provide some interresant function
http://smarty.php.net/manual/en/language.function.html.options.php
on my own scripts i have somthing like :
exemple :
>a
>b
>c
or :
%1\$s\n",$value,bool($_POST['foo'],$value,'s'));
} ?>
( sorry for the long code )
>using any of the string functions on the output would ofcourse
> cause a performance drawback (do you agree with me?), i had
> used a combination of string functions to do instead of regexps,
> which one will be faster as you think ?
Hi,
i made some basic bench and see that it really depends...
Hi
i want to erease 'one' or more caracters in a file, so, if this file is too
big ( >10MB ) i don't want to read entirely it to substr(); the last line and
entirely re-write it...
i like to write -at the end by exemple- the char backspace ( 0x08 )
ex :
but this simply add the char "backspace"
Hi Hi,
php + apache + win2000
or
php + IIS + win2000
I don't know why my setting do not allow me to POST or GET variable which submit in
html
Please help!!!
Jolly
Hi
How I read the all values selected for checkboxes of same name that are
submitted to HTML form?
I tried to translate the example on CGI.pm homepage to PHP below.
What's your name?
What's the combination?
eenie
meenie
minie
moe
Y
Hello,
I have a simple question.
How do I monitor two or more sockets in PHP?
Someone told me about register_tick_function() for multi tasking but I
played with it and nothing seems to come out of it.
I monitored the first opened socket using a while() loop containing a
fgets() function.
--
Hi!
Not sure if it the same one, there's a new IIS exploit that'll
change the main page.but only in memory. It's known as Code Red Worm
at the cert.org site.
I noticed it after I had lots of weird requests in my httpd logs
for about 8 hours last night (+800) which I thou
> $NL = (\n);
> $H = getLastHost();
> $R = getLastRef();
> $To = "[EMAIL PROTECTED]";
> $Sub = "Page Accessed";
> $D = Date("D d M y h:ia",time());
> $Msg = $H + $NL + $R + $NL + $D;
> mail
> $NL = (\n);
> $H = getLastHost();
> $R = getLastRef();
> $To = "[EMAIL PROTECTED]";
> $Sub = "Page Accessed";
> $D = Date("D d M y h:ia",time());
> $Msg = $H + $NL + $R + $NL + $D;
> m
Hi,
Does anyone know how to go about drawing a barcode in PDFLIB?
Regards,
Keith Ng
___
Co-founder
K-Designs Incorporated
[EMAIL PROTECTED]
http://www.k-designs.com.sg/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
-
> Phone: (+354) 4615501
> Mobile: (+354) 8960376
> Fax: (+354) 4615503
> E-mail: [EMAIL PROTECTED]
> Homepage:www.sed.is <- New Homepage!
> --
set_magic_quotes_runtime();
Regards,
Keith Ng
___
hanks very much.
Regards,
Keith Ng
___
Senior Web Developer
K-Systems & Services
[EMAIL PROTECTED]
http://www.k-systems.com.sg/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
e field appears on 1 line.
> Any ideas how to get it to store the control chars?
> -Ciaron
Use nl2br() to format the display properly in HTML.
Goto www.php.net/nl2br for more info.
So this would work well:
Updating the record works because you probably did something like this:
Rega
Dear Sir,
I have two problems in using PHP. Could you help me?
I am using Red-Hat to build up my System.
Could I use Perl to control some PHP program?
Also, could I run my PHP program in Linux Console?
Sorry to disturb you
THx!
Mr Ng
--
PHP General Mailing List (http://www.php.net/)
To
hi... i need some help...
currently i doing web base programming ( econsultant )using php, apache and mysql as
well... now i facing a problem which i need :
1) get time when consultant log on
2) get time when consultant log off
3) calculate how long for the specified consultant been log on to th
19 matches
Mail list logo