grrr.
XML means 'eXtended Markup Language' and is not a client side language, but
a language specification - say: standard. Many 'languages' derrive this
standard, such as WML, XHTML and many other data exchange file-types.
XML active means, that the XML-parsing functions will work with your PHP
Jorge Inti Benites RocheThe manual says:
"
The file pointer must be valid, and must point to a file successfully opened
by fopen().
"
"file" not "url".
P.S.: please no HTML-mails.
-Original Message-
From: Jorge Inti Benites Roche [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Janua
with every line do the following to get the name:
$name = strtok($line, " ");
Mo.
> -Original Message-
> From: K.Simon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 1:19 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Stripping!!!
>
>
> I have a file with 45000 newsgroups
$userfile_type
contains the MIME-type of the file. This is maybe more relieable then just
the extension...
Mo.
> if(ereg("jpg|jpeg|gif$",$userfile_name))
> {
> do something
> }
> else
> {
> this file is not allowed
> }
> This will check that the uploaded file has the correct extensi
Hi list,
this is not a problem, but a nice feature of OOP, I found today. Maybe it is
useful for someone:
name . "";
}
}
class Basis_A extends Basis
{
var $name = "Basis_A";
}
class Basis_B extends Basis
{
> how do you use defines inside of a string...
>
> e.g.
>
> define(MAX,2);
> print "the max is MAX";
print "the max is " . MAX;
--
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 a
> $c = "0";
> select($c, $id);
>
>
> function select($c, $id) {
> global $name, $db;
> $sql = "select * from ref_directory where parent_id = '$id'";
> $results = pg_exec($db, $sql);
> if (!$result) {printf ("ERROR"); exit;}
>for ($pos=0;$pos $row = pg_fetch_array
Hey Wico,
> echo implode (' ', $array);
this is quite a cool idea! For example
echo "" . implode("", $my_array) . "";
would save some time, printing out an select-group...
Thanks a lot, also to all other people, who helped me.
Mo.
--
PHP General Mailing List (http://www.php.net/)
To unsub
That's it. Thank you!
> -Original Message-
> From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 10, 2001 4:17 PM
> To: Php-General@Lists. Php. Net
> Subject: Re: [PHP] Shorter way for "each"
>
>
> Moritz Petersen
Hi,
is there a shorter way to do:
while (list($key, $value) = each($my_array))
{
echo $value...
}
I just need the value!
Thanks,
Mo.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
10 matches
Mail list logo