User Profile
Collapse
-
Thank you Pro Very good (y) -
Regular Expression: What is the wrong with this code ?
What is the wrong with this code ?
it always returns zero matches.
I think it should return two matches,
I need to read how may tags like this pattern
Code:<!== any thing ==!>
if anybody can help.Code:$string = "<!==Abdo==!><!==Ahmed==!>"; print_r(preg_match_all("/<\!==*==\!>/", $string));
Thank you -
-
How to get Substring from Batch Script variable?
H Guys,
I need help, I am not sure if my question in the right place,
because there is no separate forum for Batch Scripting,
but let me talk to the Programmers,
I am writing batch file to return part of string from FOR) variable,
Here is my My Exampel:
I can use the following:
Will return the string...Code:set domainname=IT-Castle.Net echo %domainname:~-3%
-
How to secure IIS6 server File System
Hi Guys
i need help to secure IIS6 on windows server 2003,
I am creating Web Hosting server which host many web sites,
i found that any script can Read any file from windows directory and this is security risk, although i have set anonymous user for every website,
i think that happens because allow read permission is set by default on windows folder for (Authenticated Users) group,
... -
i checked it before coming here,
no reference to Read xml file to Multi Dimensional Array.Leave a comment:
-
-
i am php developer, i am working a lot with xml files,
for example: i develop php script works with 100 xml files,
by the normal way, i should be know the file structure to use this way:
getElementByTag name();
and that will force me to write 100 functions to read the 100 xml files,
i need to create class to read any xml file, it will be so easy to pass xml files path to class,...Leave a comment:
-
How to read unknown XML structure file to Array
Hi Pros
I need help to read xml to array,
xml file structure is unknown, and has many elements and subelements,
so it should be imported to multiple array.
here is xml file as example:
file name: test.xml
...Code:<?xml version="1.0" encoding="windows-1256" ?> <books id="1"> <category id="1" name="cat
-
Thank you very much Dormilich
I did it by the following code:
:)Code:$attlist = $book->attributes; foreach($attlist as $attritem){ echo "Attribute Name: ".$attritem->name; echo "Attribute Value: ".$attritem->value; }Leave a comment:
-
How to list XML element attributes?
Hi Friends
i need help to read XML file to an Array using PHP
i have this code xml file:
File name: books.xml
...Code:<xml version="1.0" encoding="windows-1256"?> <books> <book id="1" name="PHP Book"></book> <book id="2" name="C# Book"></book> <book id="3" name="PatchScripts"></book>
-
Okay sicarie
never mind,
and you are welcome to post in any thread.Leave a comment:
-
i asked to know if some body knows something i don't know,
or any body have Idea for it,
calm down sicarie and just try to be patient.Leave a comment:
-
[Ask about] ISA Server 2006 Flood Mitigation Configuration
Hi Guys
i need help to configure ISA server 2006 correctly,
i have isa server 2006 running fine but Flood Mitigation Protection always make troubles,
i know good about this feature and it's very good, i will not disable it, but when the limits that isa set as default are reached, isa server blocks all traffic from internal network, and this is very bad,
i need to configure isa server 2006... -
Hi sicarie
Problem Solved
the problem was CRL,
ISA server was unable to download Certificate Revocation List(CRL) to secure connection to SSL.
i set (CRL Download) in isa system policy(enabled) to All Networks and localhost.
Thank You Bro :)Leave a comment:
-
No, I have many other rules but i set the rule (allow any any) at first to override other rules.
what do you mean by (certificates)?
this is outgoing connection from vpn client to login.yahoo.com
i don't think that i will need certificate to connect to yahoo
it's very strange problem,
i know that ppp encrypts and compress data and also SSL encrypts data,
may ppp encryption conflict with SSL...Leave a comment:
-
ISA 2006 VPN Clients are not able to access https (443) websites
Hi Profs
I have ISA server 2006 installed on Windows server 2003 enterprise Edition,
i configured isa server as remote access server, to support remote users access using VPN to my Local network and also access internet through ISA.
remote users are not able to access https websites,
i mean, i can access http://www.yahoo.com but cannot access https://login.yahoo.com
i have... -
Dcpromo Directory Replication Error
hi profs
i have PDC, i am trying to ad another domain in the same forest.
i alway get his error :
The operation failed because:
Active Directory could not replicate the directory partition CN=Schema,CN=Co nfiguration,DC= EGYHK,DC=Local from the remote domain controller egyhkpdc.EGYHK. Local.
"Access is denied."
I am sure the password for enterprise admin... -
Renaming mapped Network Drive
Hi Profs
I need help to rename Mapped network Drive
i use patch file that contains the command SUBST to set map network drives for our domain clients.
the mapped network drive is already named: 'Disconnected Network Drive'
i need to rename the mapped network drive using my patch file, i cannot use the command LABEL. it gives me access denied.
i can rename it easily by Right... -
hi man
your question is not clear
you mean to make a variable to carry the current directory path ??
if yes you can directly use the pre-defined variable %CD%
like this:...Leave a comment:
No activity results to display
Show More
Leave a comment: