William Candillon wrote:
Use xml_parse_into_struct () :
I was going to suggest preg_replace, but I kind of like
xml_parse_into_struct(). But, won't they have a problem if there's no
root tags wrapping the entire string?
To show the code out the :
", $fp)== false) {
++$i
$fp = fread($string
Harpreet wrote:
Actually I have a backups folder that gets once a day backups of the
database automaticcaly. I want to be able to know the name fo the the latest
file to do the restore. The name of the files have the time stamp and plus
file has a time last mdified date attached to it.
How can I k
Kc2lto - Andrew Ragone wrote:
Hello, one of the servers I am working on is being switched from UNIX to
Windows. There is nothing I can do about this but I am wondering how to get
the former USER_AUTH and such variables to work with IIS through a popup
login window. I noticed that it still works wi
Sudar wrote:
Hai Janson
Thanks for responding. The problem with me is that,
right now I don't
have access to the server. I have just got a virtual
directory in which
I have to upload my files and execute. And recently I
PEAR files could be put under your document root, you don't *have* to
have a
John Yu wrote:
Hi guys
I want to do some fancy syntax highlighting so I added to my
input text.
Is there a way to take the entire input text, but only take the substring
between those tags, do something to the substring and put it back into the
original text?
Thanks in advance
John
PHP
Hello All,
I have a question regarding the order by:
Here is my code:
$get_post = "select * from $table_name2 where cat_id =
'$_POST[cat_id]' ORDER BY posted";
It is not taking the last post and putting it first. I
think there is something else I have to put there but
I cannot figure it out. Can
Hello, one of the servers I am working on is being switched from UNIX to
Windows. There is nothing I can do about this but I am wondering how to get
the former USER_AUTH and such variables to work with IIS through a popup
login window. I noticed that it still works with PhpMyAdmin.
Thanks
If the code which execute the code is at c:\ : $dir = '/backups'
-Message d'origine-
De : Harpreet [mailto:[EMAIL PROTECTED]
Envoyé : lundi 26 avril 2004 22:29
À : [EMAIL PROTECTED]
Objet : [PHP-WIN] using filemtime
The filemtime works for the following but the minute i use a server nam
Actually I have a backups folder that gets once a day backups of the
database automaticcaly. I want to be able to know the name fo the the latest
file to do the restore. The name of the files have the time stamp and plus
file has a time last mdified date attached to it.
How can I know which file g
The filemtime works for the following but the minute i use a server name as
my direcotry path it gives me an error Warning: filemtime(): Stat failed for
\\servername\c (errno=2 - No such file or directory) in
Like this works
$dir='c:\backups';
echo date("m-d-y H:i:s",filemtime($dir));
if i change
Or:
', $string);
Echo ($text[0]);
?>
-Message d'origine-
De : William CANDILLON [mailto:[EMAIL PROTECTED]
Envoyé : lundi 26 avril 2004 21:16
À : [EMAIL PROTECTED]
Objet : RE: [PHP-WIN] modifying a substring
Use xml_parse_into_struct () :
To show the code out the :
", $fp)== false
Use xml_parse_into_struct () :
To show the code out the :
", $fp)== false) {
++$i
$fp = fread($string, $i);
}
$txt = substr ($fp, -6);
Echo ($txt);
?>
-Message d'origine-
De : John Yu [mailto:[EMAIL PROTECTED]
Envoyé : lundi 26 avril 2004 18:44
À : [EMAIL PROTECTED]
Objet : [PHP-WI
Hai Janson
Thanks for responding. The problem with me is that,
right now I don't
have access to the server. I have just got a virtual
directory in which
I have to upload my files and execute. And recently I
heard about PEAR
and how it simplies the job, but I cannot explain this
to my Sys Admin
as
Hi guys
I want to do some fancy syntax highlighting so I added to my
input text.
Is there a way to take the entire input text, but only take the substring
between those tags, do something to the substring and put it back into the
original text?
Thanks in advance
John
Hi,
Any one who has experiences in setting the value of COM object's Attribute
property
please help...
The COM runs well in ASP:
<%asp
'The Attribute property specifies and retrieves name-value pairs.
'
'Syntax:
'
'Header.Attribute(bstrName) = String
'String = Header.Attribute(bstrName)
'
'Par
15 matches
Mail list logo