-
Content Count
222 -
Joined
-
Last visited
Everything posted by Erdemir
-
I think Alex didn't write all the source codes. He only wrote the first 11 lines. Alex, can you write the first 20 lines or all the lines, so we can tell a good solution.
-
trim function is a combine of left trim and right trim. trim deletes the spaces in the left and in the right of the variable. Here variable $user has been set to $_POST['user'] without spaces around it. For example: $_POST['user'] is ' user\'s name ' trim function will give you the result 'user\'s name' and set it to $user.
-
This was written before. I think you didn't searched the forum. Click here, your answer is here Issues Uploading A File Shortly you could use a ftp program like CuteFTP to upload bigger files then 2 mb.
-
Can you give us the source codes, so we can test it by analyzing the codes
-
Firstly you should earn 10 credits and then request a hosting in related topic.
-
When you click the link I specified before http://www.intel.com/content/www/us/en/internet-of-things/overview.htmlYou will see 4 tabs at the middle top. Click "Tools & Software". You will see 2 new links. Click IntelĀ® PROSet/Wireless Software Download Or directly click here http://www.intel.com/content/www/us/en/support/emerging-technologies.html In the new page download the product which matches your adapter.
-
You were right, hitmanblood. I am sorry that they believe in Jesus as son of god not as a prophet. And they are not believing in other prophets. I said what I believe in my previous post, so will not write here again. Good Lucks to everyone...
-
Go to the line that you have inserted a new entry into news: @mysql_query("INSERT INTO news VALUES ('',........//After this, we must select all members who wants to be informed from reg_users $querymemberstoinform = @mysql_query("SELECT * FROM reg_users WHERE inform_me='1'",$myconnection); //You didn't give the structure of reg_users, so think that there is a coulomb inform_me, and who has the value=1 will be informed. if (mysql_num_rows($querymemberstoinform )>0) { while ($rsmembers=mysql_fetch_array($querymemberstoinform )) { if (eregi ("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$", $rsmembers["email"])) { [i]//we check here if the email address is correct.[/i] $extra="From: Here_write_your_from_name <Here_write_your_from_mail@yourdomain.com> \r\n"; $extra.="Bcc: if_you_want_to_get_a_bbc_copy@youremailaddress.com \r\n"; $extra.="Reply-To: reply_to_name <noreply@yourdomain.com> \r\n"; //$extra.="X-Priority: 1 \r\n"; //if you want to set priority also use here. $extra.="MIME-Version: 1.0 \r\nContent-type: text/html; charset=iso-8859-9 \r\n"; $mailbody="Dear ".$rsmembers["username"]. ", a news has just been added.<br> <a href=\"your_url_to_the_new\">Click here to read the news</a><br> Or content is here:<hr>".$thecontentofthenews."<hr>"; $mailbody.="Information Systems by alex1985;)"; @mail ($rsmembers["email"], $titleofthenews." titled a news has been added", stripslashes($mailbody), "$extra"); } }}I have used @ character before all functions only in sending mail. Because if there is an error occurs, anything about error will not be displayed. By the way to send daily, weekly, or monthly: You can use cronjob. But you must write these codes into a new blank php file and before these codes you must run a query which selects the news rows the last 24 hours, last 7 days, last 30 days. Good luck. //Edit: [ b ] and [ i ] bbcodes are working in Code tags, and I have deleted only those. Notice from rvalkass: Code needs Code tags around it.
-
Hey kelvinc2, it is good that you believe in the prophet Jesus. I don't want to get you confused, but do you believe only in Jesus? Do you believe in other prophets? As a Muslim, we believe all prophets including Jesus. All prophets Adam, Noah,...,Psalmist, Moses, Jesus, and the last prophet Mohammad and all the 124000 prophets determined in Quran. But of course you are free to believe in the prophet Jesus only. Good luck.
-
Beetlejuice :DI know it is a very old film but I watched again this film. Beetlejuice Beetlejuice Beetlejuice!!!
-
I found an understandable tutorial right there. http://www.php-mysql-tutorial.com/ I analyzed the site, it is good enough.
-
Length of title is 255. This is too small length. Maybe title can exceed 255. I know maximum length of varchar is 255. So we shouldn't use varchar. Instead we can use TEXT or LONGTEXT. Selecting text for the coulomb `text` is a good choice You shouldn't save date into strings so don't use varchar. Instead you can use int(16) and call it and save it by time() function. Analyze other scripts and you will see, using int for date and saving it by time() function is the best way to control the date. //By the way time() function gives you the seconds from the 1/1/1970. How to use: <? echo( date("d.m.Y G:i:s ",$row['date']) ); ?> But if you are already using time() function, again use int instead varchar, because if you are using varchar and if you want to sort by date the rows will be sorted as strings in the date coulomb but if you are using int when you sort by date the rows will be sorted as integer so sorted as date I know it is not important but the length of id is to large, 250 means the length is 250. If I were you 15 would be enough. My suggestion is: CREATE TABLE `news` ( `id` int(15) NOT NULL auto_increment, `title` text NOT NULL default '', `text` text NOT NULL, `author` text NOT NULL default '', `valid` text NOT NULL default '', `date` int(16) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM ;
-
You have called a sql and loaded it into variable $query. And by that line, you have loaded all coulombs into the variable $row as an array from the variable $query. After this, it is easy to call a coulomb by the variable $row. For example: if there is a coulomb "username" in the table, you can call it by $row['username'] . This is the easiest way to call a coulomb. And each while repeats the next row will be loaded into the variable $row until all rows finishes.
-
I have discussed with Amir about this in other topics. At last I got a warn because I continued to debate on religious. I gave a promise to a moderator that I will not debate on religious anymore, but I agree with Janissary, hitmanblood and KansukeKojima. Dear kelvinc2, - This is a truth that There is a God. And also there is only one God. - Believing in God, keeps you on the right way. Your life standard increases. - Do you know who darwin is? I think you know, so search in google darwin's mistakes. At last he also agree that there is only one god. Even this man agreed. - The science is finding proofs that there is only one God exists. You can trust me kelvinc2, The God exists.
-
It is too hard to run a SQL query from a Html form. For example: You sent a query via GET method http : // yoursite.com/myquery.php?q=SELECT+*+from ... You cannot run the query which is being hold by $_GET['q']. Because I tried this before. But there is one file minisql php script, maybe you can analyze it and extract some codes or use directly it. Use this file phpminiadmin.php Home page https://sourceforge.net/projects/phpminiadmin/ Download page https://sourceforge.net/projects/phpminiadmin/files/ (check the last version here and download)
-
Where In The World Are You From? vote and post
Erdemir replied to MaineFishing45's topic in General Discussion
Hey i_speel_good, welcome. I am your neighbour from Turkey. I agree that you are building strength buildings. Because we conquered Anatolia in 1078-1071 = 7 years. If your buildings were not strength like this, our conquer operation will be less then 7 years. And also there are some historical buildings in Delphi, right? Welcome again. -
Only one or a few man made tank cannot match a tank build by who experienced mechanical engineers and electronic engineers especially who are working in army. But I must congratulate him and his group, this is a good start. But anyone, who knows Thermodynamics, Materials Science and Engineering, Strength of materials, Machine and mechanism theory,..., can also build a tank, If you go to industry region in your city, you can easily find the required materials, or at least in my city I can find. // By the way I am also a mechanical engineering student in Sel?uk University.
-
What is your favourite weapons in CS? Knife is included...lol
Erdemir replied to hansley's topic in Computer Gaming
I like assault, snow and poolday2 -
My first computer (in 2001) was HP which has CPU:600 Mhz , 128 MB Ram , 15 GB harddisk, 8 MB video card. I learned "how to use computer" by deleting the operating system files in Windows directory. I have made my system down lots of times, but learned how Windows runs.After that I wonder how I can make my own exe files. And I found Turbo Pascal, and I built some MSDos programs. After that I found Delphi and built win32 programs. By the way I also learned html coding, after that ASP (Active Server Pages) web programming or coding language to build dynamic pages. I found ASP slow, so I learned PHP and Mysql.By the way I also wrote some J2Me programs which can be written in Java Language and working on java enabled phones.If you learn a programming language you can learn the other easy.Nowadays I am trying to improve my Assembly knowledge to debug exe files.
-
As a citizen of Turkey the neighbor country of Iraq, I wouldn't my country to take place of the USA in Iraq. If this will happen, I wish the USA stay in Iraq more.
-
Why Does The World Hate America? Is america hated?
Erdemir replied to iGuest's topic in General Discussion
Of course you are right. Maybe I hate the USA, but I don't hate the American people. Bush does whatever he wants but the Americans are not guilty by the mistakes of their presidents. -
I think the best is Kaspersky. If you use it in training mode the security of Kaspersky is impossible to break.
-
I built some keyloggers on Delphi just for fun. But I couldn't pass the firewalls to send the logged data. By the way I don't like keyloggers, and I am sure that you will not pass the firewalls (Windows firewall or especially Kaspersky). And also you can't hide any running exe from the task list in Windows XP. Maybe you can hide your exe from Windows 95/98/Me but not in Windows NT, 2000, XP and Vista. But if you can inject your keylogger into a dll file that always runs, you can hide your application from task list. What dll(s), for example shell32.dll of Explorer.exe or Acrofx32.dll of AcroRd32.exe (Acrobat Reader) by a debugger. But this way is also impossible because any antiviruses can detect you as an injection especially KAV can detect. You can use your keylogger without being detected in a computer that has no antivirus and no firewall Good Luck...
-
Yes, you should pull out. If the USA continuous to stay in Iraq, will lose more men. The petrols of Iraq maybe attractive, but come on, the USA can handle the petrols even has ever not enter Iraq.But the plans of the USA is not only to capture petrols, and he also wants to be neighbour to Iran, Syria. Why? Because the Israel needs help from the USA in the Middle East. For the peace in the middle east, the USA should leave the Iraq. But I know that will not.