99 Posted Topics

Member Avatar for DILO3D

Why would you do that?? You may find a better solution to your problem if you tell us about it. Also, if you're running your program on the internet, the server administrator must have banned changing the status of Apache.. That's, of course, because the server, mostly, has more than …

Member Avatar for Pro2000
0
254
Member Avatar for Pro2000

[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 for Pro2000
0
138
Member Avatar for subhra44

The server administrator might have disabled the use of this function.. Maybe the message is being stored in the Junk Mail folder (Spam, BLOCKED, Bulk, etc.).

Member Avatar for Pro2000
0
175
Member Avatar for Pro2000

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 …

Member Avatar for Pro2000
0
144
Member Avatar for Pro2000

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 for Pro2000
0
100
Member Avatar for Pro2000

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 …

Member Avatar for Pro2000
0
89
Member Avatar for Pro2000

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 for diafol
0
65
Member Avatar for Pro2000

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 for Pro2000
0
93
Member Avatar for ashiiiish

Checkboxes are limited via HTML.. They'll be already limited when they appear in the page you create.

Member Avatar for ashiiiish
0
129
Member Avatar for Pro2000

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 …

Member Avatar for Pro2000
0
162
Member Avatar for Dani

Well, I wish you a very good luck Davey.. Verily, whoever gives a hand to people, will be given a helping hand when he faces trials of life. And wish you a very good luck in administration, Narue.

Member Avatar for happygeek
0
409
Member Avatar for Hani1991

Why don't you search the internet using some search engine and tell us later about what you find?

Member Avatar for Pro2000
0
84
Member Avatar for spixy

I guess you've opened this code using Notepad or some other plain text editor.. You might be able to view it properly using a proper code editor.

Member Avatar for Pro2000
0
247
Member Avatar for navi17

Why don't you submit your form to your own website first where you can automatically pass the values to another server?

Member Avatar for Kannan R
0
225
Member Avatar for prajesh2

You can view the error message by typing the following: [CODE] $entries = mysql_query("SELECT timestamp,name,email,message FROM entries ORDER BY timestamp DESC") or die(mysql_error());[/CODE] This will show you the reason why you are facing such an error message. It might be because you have mistyped the name of some [B]field[/B] or …

Member Avatar for Stefano Mtangoo
0
242
Member Avatar for Pro2000

[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 for Pro2000
0
126
Member Avatar for Hani1991

Simply you need to correct the line 5. You have to type the following instead: [CODE] doc.innerHTML = typewhat; [/CODE] Just capitalize the letter "L" in innerHTML.

Member Avatar for Pro2000
0
92
Member Avatar for vijaysoft1

I think that you can make it simpler by using the validation through Java Script. You can assign a function to the submit button. Don't set the button type as a "submit" button. For example: HTML: [CODE] <form name="Form1"> <input type="text" name="F1"> <input type="button" onclick="Validate();" value="Submit"> </form>[/CODE] Java Script: [CODE] …

Member Avatar for Kannan R
0
4K
Member Avatar for navjotneet

Try the following in the express.php file: [CODE] <?php require("DBConnect.php"); //The file in which there is a variable that handles the connection to the database $project_id = $_GET['project_id']; $GetProjectName = mysql_query("select project_name from tableName where project_id='$project_id'",$connection); //Where (tableName) is the name of the table required for the operation $project_id_Arr = …

Member Avatar for Pro2000
0
171
Member Avatar for MasterBerd

I don't know whether you can find such a library. However, I think you can find some dictionaries that are written textually so that you can copy their content. I mean you can build a simple program to organize the content you want to copy in order to put that …

Member Avatar for chrishea
0
336
Member Avatar for Pro2000

[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' …

Member Avatar for Pro2000
0
354
Member Avatar for Pro2000

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 for sumit1893
0
174
Member Avatar for 'Stein
Member Avatar for Pro2000
Member Avatar for Nick Evan
0
171
Member Avatar for Pro2000

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(){ …

Member Avatar for digital-ether
0
102
Member Avatar for Pro2000

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'); …

Member Avatar for ~s.o.s~
0
105
Member Avatar for Pro2000

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 for Pro2000
0
117
Member Avatar for Pro2000

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: …

Member Avatar for nav33n
0
192
Member Avatar for Pro2000

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 …

Member Avatar for Pro2000
0
143
Member Avatar for Xavier1234

Sorry [B]Xavier1234[/B] ... Please explain more than that :-/ , Do you mean you want a registeration page?

Member Avatar for Pro2000
0
107
Member Avatar for kaz0161

Check the letters case... it is necessary in PHP. localhost not local host :D hope that helps

Member Avatar for ryan_vietnow
0
102
Member Avatar for Pro2000

[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 for somedude3488
0
94
Member Avatar for Pro2000

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] …

Member Avatar for Pro2000
0
195
Member Avatar for Pro2000

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 …

Member Avatar for ryan_vietnow
0
84
Member Avatar for Pro2000

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 …

Member Avatar for fatihpiristine
0
181
Member Avatar for Pro2000

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 for Pro2000
0
121
Member Avatar for Pro2000

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 for alpha_foobar
0
197
Member Avatar for Pro2000

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 for hacker9801
0
87
Member Avatar for Pro2000

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 for Ezzaral
0
116
Member Avatar for nil_gh_80

[QUOTE]try using session_start() [/QUOTE] You should put session_start() In each page in the first, and write a variable contains the session... EX: [B][COLOR=green]session_start();[/COLOR][/B] [B][COLOR=green]$_SESSION['user']="NAME";[/COLOR][/B] [B][COLOR=green]$Variable=$_SESSION['user'];[/COLOR][/B] It's Easy

Member Avatar for jocbed60
0
100
Member Avatar for Pro2000

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 for martin5211
0
163
Member Avatar for ArNy

You can do a great step by adding new buttons which add tags to his pages when he click on.

Member Avatar for ArNy
0
81
Member Avatar for dmotah
Re: post

get it: $correct="USERNAME"; $correct_password="PASSWORD"; if($user_name==$correct) { header('another page.php'); } else { header('login.php'); }

Member Avatar for Pro2000
0
104
Member Avatar for Pro2000

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 for Pro2000
0
82
Member Avatar for Pro2000

Hello, Can you give me the code wich shows me the files and folders in the current folder by FTP? THanks.

Member Avatar for stymiee
0
133
Member Avatar for Pro2000

Hello, I want to add some fonts in my web-site,but there are some fonts does not exists in the visitors computers: so,How can I add linked fonts? ===== Thanks

Member Avatar for Designer_101
0
105
Member Avatar for Pro2000

Hello there, I designed 3 buttons and a form contains a Text Input, I want to make those 3 buttons add tags inside the Text Input,Explain: Example: I am a user, I wrote in that Input a text,the text is: "Hello How are you, bla bla bla..." I want to …

Member Avatar for Pro2000
0
244
Member Avatar for php_coder
Member Avatar for digital-ether
0
2K
Member Avatar for Pro2000

Hello everybody, I need a code shows who is online...Explain??,OK: I wrote a chat program & I need to know who is logged on... Example: In this web-site you can see If I am logged on because If I'm logged on the picture beside me will be green... how to …

Member Avatar for Puckdropper
0
88

The End.