Hello, I have a simple question that I can't find an answer to. My question is: Does a **URL** include a **URN**? If yes, how can it include a **URN**? For example, this web address: www.example.com/folder/file.html In this address, where is the **URL**, and where is the **URN**? Is the **URL** the full path including "file.html"? Or is it just "www.example.com/folder"?? Thank you.

Member Avatar
Member Avatar
+0 forum 3

Hello everyone.. It's come to my mind that, as a form of facilitation, it's better to put a question mark beside most of the parts of DW pages. For example, in the members' CP there should be a question mark to click on so it takes us to/ shows us some explanation about the thing it's put beside (e.g. the section of "Last Reputation Received"). What do you think? Thank you.

Member Avatar
Member Avatar
+1 forum 7

Hello everybody.. I've been thinking what the best programming language to be used with the internet is.. In addition I want not to use ASP 'cause my web server works on Linux. Is C# better than ASP.net to download files automatically from the internet, update and retrieve information from databases (especially MySQL)?? Is there another better language?? I've asked this question about the C language, but I was told that there's a language that's better than C.. Can anybody tell me what that language is?? Is it C#?

Member Avatar
Member Avatar
+0 forum 30

Hello everybody.. Does anybody know what's the use of the execCommand() function?? Also, is it used to add tags in textboxes?? Thanks beforehand.

Member Avatar
Member Avatar
+0 forum 6

[COLOR="Green"]Hello everybody.. I've read about the "heredoc" way of outputting strings.. Where can we consider this use handy?? Is it used only to avoid escaping the single and double quotation mark?? Also, why is there an identifier to be put at the first and end of the function?? Thanks beforehand.[/COLOR]

Member Avatar
Member Avatar
+0 forum 6

Hello everybody.. I've been wondering whether the C language can copy files from the internet into the user's device, and whether it can process web pages and databases or not.. I think that ASP can do this. However, what should I do if my server's operating system is Linux?? Is there any alternative to using ASP?? Thanks beforehand.

Member Avatar
Member Avatar
+0 forum 5

How can I know whether the user surfing my website is surfing via a mobile device or a PC?? I thought about: [CODE]$_SERVER['HTTP_USER_AGENT'];[/CODE] However, I think that there is a variety of names of mobile browsers.. How could I solve it?? Thanks beforehand.

Member Avatar
Member Avatar
+0 forum 3

Hello everyone. I have a button and a textarea. I want this button to add tags around the selected words in that textarea. For example the button is to add the <b> tag before the selected words and the </b> tag after the selected words. Just like these buttons, in the forms of creating a new thread,that are used to make the font of the selected words bold, italic, underlined or colored.

Member Avatar
Member Avatar
+0 forum 5

Hello everybody. Do you know how to translate URLs in a text automatically?? I mean I want it just like the option below the page of creating a new thread in this website.. That option makes the written URLs in the thread appear as clickable links. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 3

Hello everybody. I've created a PHP page that adds a new record to a table. I want to know what's the ID of that created record in that table. For example: [CODE]mysql_query("insert into tableName(field_A,field_B) values('valueA','valueB')");[/CODE]

Member Avatar
Member Avatar
+0 forum 2

Hello everybody. I am working on a PHP program that shows some information in table cells.. However, the width of each cell is automatically widen (it becomes wider).. How can I make the width of a cell fit to its content so that if it has 5 chars, then its width will fit to about only 5 chars, and so on and so forth. Does anybody know? This is an example: [CODE]<table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><th>Name</th><th>Age</th><th>Marks</th></tr> <tr><td>John Smith</td><td>36</td><td>98</td></tr> <tr><td>Adam Smith</td><td>35</td><td>85</td></tr> <tr><td>Essam Khaleel Adams</td><td>35</td><td>90</td></tr> </table> [/CODE] [B]So, in this code, how can I make the width of the "Name" cell …

Member Avatar
Member Avatar
+0 forum 6

[B]Hello everybody. I've been, for a long time, away from this website. However, when I came back I found under my profile name that there is a phrase that says: [COLOR="Green"]Unverified User[/COLOR]. How can I fix this problem and verify my membership? Thanks in advance.[/B]

Member Avatar
Member Avatar
+0 forum 6

[B]Hello everybody. I've been working on a PHP file that adds a value to a cell in one table in MySQL.[/B] First I thought that the following code might work properly: [CODE] <?php require("DB_Connector.php"); //The file that connects to the MySQL database required mysql_query("update tableName set cellName= cellName + '$The_New_Value' where S_ID='$ID'",$connection); ?> [/CODE] However, I learned later that this "+" mark is used only for math operations (Unlike JavaScript which uses the "+" mark instead of the "." used in PHP). I also tried the "." mark, but it didn't work! :@ Does anybody know how to add a …

Member Avatar
Member Avatar
+0 forum 2

Peace, Can you help me with Show And Hide?: I made an Input text I want to hide it, And I want to show it if I click on a button. How can I do it? Thanks.

Member Avatar
Member Avatar
+0 forum 4

Hi there... What is the best (3D Games Programming & Design) Program?

Member Avatar
Member Avatar
+0 forum 20

Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ http.open('get', 'Rooms_Func.php?id=23'); http.onreadystatechange = handleInfo; http.send(null); } function handleInfo(){ if(http.readyState == 4){ var response = http.responseText; document.getElementById('ChtPlc').innerHTML = document.getElementById('ChtPlc').innerHTML+response; } }[/CODE] The problem was: when the user selects a text ... the text becomes unselected automaticially !! I think the mistake was in: [CODE]document.getElementById('ChtPlc').innerHTML = document.getElementById('ChtPlc').innerHTML+response;[/CODE] What do you think?? …

Member Avatar
Member Avatar
+0 forum 8

Hello everybody, I wrote a file using AJAX this is the code I wrote: File.js [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ http.open('get', 'GtCht.php'); http.onreadystatechange = handleInfo; http.send(null); } function handleInfo(){ if(http.readyState == 4){ var response = http.responseText; document.getElementById('ChtPlc').innerHTML= [B][COLOR="Red"]document.getElementById('ChtPlc').innerHTML + response;[/COLOR][/B] } }[/CODE] I binded that file with a function in JavaScript: <script language="javascript"> function GetINF(){ window.setTimeout(getInfo(),1000) } </script> So when this file selects an animated image from the MySQL database it refreshes …

Member Avatar
Member Avatar
+0 forum 3

Hi everybody, I have a question: :-/ I want to submit a form in an HTML page by pressing Enter and it does not submit if I press Ctrl+Enter

Member Avatar
Member Avatar
+0 forum 6

Hi, I tried this code: [ICODE]<?php session_start(); $id=$_GET['fileid']; if($id=="1") { $dwnld = "File1.zip"; } else if($id=="2") { $dwnld = "File2.zip"; } else if($id=="3") { $dwnld= "File3.zip"; } if($id) { header("Content-type: application/download"); header("Content-disposition: filename=$dwnld"); readfile($dwnld); } ?>[/ICODE] I want the user to download those files from a folder named Archives... Example: Archives/File1.zip or Archives/File2.zip Please I want your help quickly... Thanks.

Member Avatar
Member Avatar
+0 forum 18

Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can anyone tell me what is the difference between: [COLOR="red"]Cc [/COLOR]and [COLOR="blue"]BCc[/COLOR]? :-/ I wish if anyone has the answer that he gives me it. :) Thanks

Member Avatar
Member Avatar
+0 forum 3

[COLOR=red]Hello everybody;[/COLOR] [COLOR=red]I want to color a text gradually by PHP[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Explain: I want to color each letter with a color, like:[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Hello: H=green e=red l=blue (And repeat) l=green o=red[/COLOR]

Member Avatar
Member Avatar
+0 forum 5

Hi guys, I wrote: [CODE] <?php $WACnt=33; while($WACnt>=0) { require("Wordsarray.php"); $enn=preg_replace("/".$normal[$WACnt]."/i",$tidied[$WACnt],$enn); $WACnt--; } ?> [/CODE] The browser said: [B][QUOTE][B]Warning[/B]: Unknown modifier 'g' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier 'b' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier '-' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier '-' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing …

Member Avatar
Member Avatar
+0 forum 2

Peace, I tried to replace a string with a string: [CODE] <?php $Msg=$_POST['Msg']; $arrA=array(' ' ,'-red' ,'-blue' ,'-green' ); $arrB=array('</font>','<font color=red>','<font color=blue>','<font color=green>'); $Msg_B=str_replace($arrA,$arrB,$Msg); echo $Msg_B; ?> [/CODE] It works well, but if someone typed "-rEdasddsadasda cccc" not "-redasddsadasda cccc" or "-REDasddsadasda cccc" or anything like that how will my program slove this problem? The text which I want to become like this:"[COLOR=red]asddsadasda[/COLOR] cccc"

Member Avatar
Member Avatar
+0 forum 3

Peace, I wrote a PHP File Contains a login form, If the user logs in a field will be inserted into the MySQL DataBase, So I want to make an automatic logout after 20 minutes idle. I wrote: [CODE] <?php session_start(); require("Connecting_Config.php"); $unm=$_SESSION['user_name']; $current_date=date("i"); //Only Minutes $gt_lastactivity="select * from logs where Name='$unm'"; $do_gt_lastactivity=mysql_query($gt_lastactivity,$connect); $arr=mysql_fetch_array($do_gt_lastactivity); $last_activity_date=$arr['Last_Activity']; $yyy=$current_date-$last_activity; if ($yyy>20) { Logout(); } ?> [/CODE] I tried that and I encountered an error which does a logout to the user if he starts another hour.. Ex: Last_Activity= 59th Minute If he does a refresh in the 1st minute in the next hour …

Member Avatar
Member Avatar
+0 forum 3

Peace, I made a mail form and I want to enable The HTML in the Mail Message, How can I do it?... I wrote in the headers: $headers='From:Management<[EMAIL="info@3malas.com>'"]info@3malas.com>'[/EMAIL];

Member Avatar
Member Avatar
+0 forum 13

I saw a chat prog on the Internet The web page shows the messages quickly without reloading the web-page... Can anybody do that or teach me how to do that?

Member Avatar
Member Avatar
+0 forum 1

Peace, I saw a chat Program on the Net... The Messages In it automatically shows itselves without reloading the web-page.. I saw that and I wondered.... Does Any one know how to do that?

Member Avatar
Member Avatar
+0 forum 3

Peace, How can I get the visitor Telephone number? Or a special number each visitor has a different one, But I'm not talking about the IP, Isn't there any other way?

Member Avatar
Member Avatar
+0 forum 3

How can I get The visitors' Computers distinctive number? I know the IP, But it does not works because there are many computers have the same IP number in our country, Ex: the number 91.144.44.9 is repeated many times by diffrient computers, Some body help me.

Member Avatar
Member Avatar
+0 forum 7

I wrote a chat program and I wrote in a page: [CODE] $ip=getenv("REMOTE_ADDR"); if ($ip=="82.23.45.66) { echo 'You cannot login!'; } [/CODE] But some times I see there are 3 computers and much logging by the same IP Address, How can I slove it?

Member Avatar
Member Avatar
+0 forum 2

The End.