Posts
 
Reputation
Joined
Last Seen
Ranked #118
Strength to Increase Rep
+14
Strength to Decrease Rep
-3
72% Quality Score
Upvotes Received
264
Posts with Upvotes
220
Upvoting Members
120
Downvotes Received
138
Posts with Downvotes
100
Downvoting Members
36
105 Commented Posts
~577.35K People Reached
PC Specs
12GB Ram 31TBraid5 Harddrive 256MB Graphics 3.2GHz i7 - 8 core - VM Operating System with hardware &…
Favorite Tags
php x 2K
mysql x 165
c++ x 101
java x 66

1,376 Posted Topics

Member Avatar for vegaseat

[QUOTE]You know you are old when your mobile phone is more powerful then your first computer. [url]http://www.daniweb.com/community-center/geeks-lounge/threads/251691/1262726#post1262726[/url][/QUOTE] That is a memorable quote from another thread I posted in. Love the times :)

Member Avatar for Reverend Jim
15
13K
Member Avatar for Duki

I'm drinking Pepsi then after that I will be drinking a recycled windows vista drink.

Member Avatar for Dani
22
17K
Member Avatar for nishant52

[QUOTE][QUOTE=xarz]this might be a little bit different from what you want but you can place an index.php file inside myhost/docs/default and place a code index.php which will redirect you to any page that you wish in this case default.php[/QUOTE] [QUOTE=jbennet]or just add default.php to the default document list along with …

Member Avatar for shalini_8
0
4K
Member Avatar for camelNotation

Debut Video Capture is a great one. It allows a microphone for video tutorials recording the screen in real time and can take pictures. Also you can select a portion of the screen to be recorded with many different encoders along with many other features and it's freeware. The best …

Member Avatar for Andre_14
0
2K
Member Avatar for coachHinesfan

Yes and for a medical scientest to do something like calculate the genitic makup of a couples future child that would require huge amounts of cpu as there are billions of dna protines to calculate. So with everything being theoratically possible but the cache is you allways need relavent cpu. …

Member Avatar for Steven Kenneth
0
391
Member Avatar for jyotiu

Are you talking about a 'web page' or an entire 'web site'. Because with a webpage you can just use file_get_contents() to retrieve the data then use regex to find the keywords. However, if you are talking about a 'website' or network of pages then that will require a bot …

Member Avatar for AngelEyes
1
3K
Member Avatar for mikeandike22

Can't believe I missed this thread. I find languages can be easy and/or difficult to program depending on weather you want it to be an interpreter based language or compiler based language and if you want it to be an recourse efficient language or a recourse hungry language. For example, …

Member Avatar for VEGETA_DTX
1
2K
Member Avatar for vmanes
Member Avatar for JamesCherrill
0
563
Member Avatar for Aamit

[QUOTE=Aamit;847974]hi, In htaccess [code] RewriteEngine on RewriteBase /project_test/ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^projects/(.*)/$ project_detail.php?pname=$1 [L] [/code] and my project_detail.php file at [url]http://localhost/demo/abc/index.php[/url] [url]http://localhost/demo/abc/project_detail.php[/url] when click on link [url]http://localhost/demo/abc/projects/school-project/[/url] [COLOR="Red"]IT gives page not found[/COLOR] [COLOR="Green"]I think some modification needed at this line[/COLOR] [code] RewriteRule ^projects/(.*)/$ project_detail.php?pname=$1 [L] [/code] …

Member Avatar for Sapna_3
-1
8K
Member Avatar for kozkay

Although I don't know about converting the script but you may find downloading a review script written in Java would be your best option. You should try and ask if a particular script is compatible with your server before buying one though. So try looking for a Java applet review …

Member Avatar for Arthur_4
0
5K
Member Avatar for Narayan15

[QUOTE=Narayan15;802599]... so i need Music player code in php. ...[/QUOTE] Well if you are looking for a music player, how can the server play music on the clients computer. Sounds weird trying to get the server to play the music for the client and expect the client to be able …

Member Avatar for happygeek
0
6K
Member Avatar for cwarn23

I've followed a tutorial for making php extensions in C++ and although there are no compilation errors, the extension just won't communicate with php. The tutorial is at [URL="http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions"]http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions[/URL] and my code is as follows: main.cpp [code=c++]#include "stdafx.h" ZEND_FUNCTION(fetch_talkphp_links); zend_function_entry talkphp_ext_functions[] = { ZEND_FE(fetch_talkphp_links, NULL) {NULL, NULL, NULL} }; zend_module_entry …

Member Avatar for Muhammad_137
0
1K
Member Avatar for cwarn23

Making sites is nice and fun but what if you don't want everybody too see something like an admin panel or maybe a special button. Well this tutorial helps you understand how to add a password to a php site in a simple manner. There are two techniques you can …

Member Avatar for diafol
5
2K
Member Avatar for cwarn23

Don't you just get sick of hash algorithms constantly been brute forced or even cracked. Well here is an algorithm I have created in my spare time to help out the little guy who just wants a secure hash. This hashing algorithm uses many different techniques including ones used in …

Member Avatar for rubberman
1
1K
Member Avatar for bnmng

This kind of behaviour suggests your modem every so often cannot ping the ISP (Internet Service Provider) hence the temporary disconnection of service until it is immediately available again upon connection retry of connecting to the ISP. The solution to this usually is to get a better modem or if …

Member Avatar for jah666
0
391
Member Avatar for fobos

[QUOTE=red_ruewei;1303486]hi, may i know the step u do it. My problem is how to save url on database... thanks in advance.[/QUOTE] To save into the database simply have a column named url and maybe a column named title then to insert use the following syntax. [CODE]mysql_query('INSERT INTO `movies` SET `title`="matrix …

Member Avatar for diafol
0
2K
Member Avatar for vegaseat

I couldn't help but notice that my poop looked like an Elephant. Perhaps this is the matrix.

Member Avatar for vegaseat
11
9K
Member Avatar for vegaseat

From what I've read on the web, Australia is one of about 2 countries using smart chips like visa pay wave causing criminal problems which were descovered in trials within the uk. To this day the uk is phasing them out while australia is phasing them even thoe these new …

Member Avatar for Leigh3
0
591
Member Avatar for phoenix254

The reason why you can't open a socket on port 80 while executing the page on port 80 is that there will be multiple instances of port 80 and this will conflict. Try executing the sockets on a port that your browser does not use although it would be very …

Member Avatar for jkon
0
538
Member Avatar for AhmedHan

If your installing apache, php, mysql, tomcat or any desired linux http web server software then I would recommend installing xampp for windows, mac and android. However on linux since the software is native to linux I would recommend installing from the yum or dpkg repository. When installing xampp remember …

Member Avatar for cwarn23
0
355
Member Avatar for padma525

[QUOTE=robothy;585657]Hi, Have you considered saving the Excel data as a CSV file, then reading the content of the file into PHP using file_get_content.[/QUOTE] Since how this has already been bumped I shall add if you can export the excel file to a CSV file, phpmyadmin will allow you to import …

Member Avatar for sankartomogo
1
3K
Member Avatar for christos312

I would have to disagree with everybody and say Python is the future. It can handle big numbers and can do multi threading along with its many capabilities from its extensive work over the many years. In case your wondering who uses Python, well google uses Python on their web …

Member Avatar for DaveAmour
0
810
Member Avatar for sem123

Are you referring to the image format psd or something else because it is impossible to convert an image to html unless you are talking about the <img> tag. Please advice. cwarn23

Member Avatar for jenniferjudy2
0
256
Member Avatar for Smoking Bros

[QUOTE]MySQL works fine, but when I hit the 'Start' button to start Apache it says "Running" in like 10 secs, and then it stops running again.. And in the short time it is running when I try to hit "Admin" is cannot open the web-browser, and Apache service stops..[/QUOTE] I …

Member Avatar for J. M. P.
0
811
Member Avatar for Katie**

Sounds like something has interfered with the boot sector. Perhaps you should insert your windows installation disk and do a repair. If you don't have a windows installation disk then buy one. If you can't afford it and want a harder alternative then download the ubuntu disk (about 1GB) and …

Member Avatar for RobertHDD
0
217
Member Avatar for beanboy

Well if you have uploaded your php files to the web server, then just type the address (example: [url]www.yoursite.com/index.php[/url]) into your browser and the script should run. If however it shows your source code and random html code then it means that your server doesn't have php installed in which …

Member Avatar for diafol
0
1K
Member Avatar for bolfescu

Looking at the code above I can spot two notable errors in post [#post](https://www.daniweb.com/web-development/php/threads/484283/confirm-in-echo-function#post2119233) They are one to change the window.location upon clicking a button or link you need it to note only be in the onclick event but also have the prefix "JavaScript:". In addition setting the value of …

Member Avatar for mattster
0
803
Member Avatar for newprogidk

Some padding helps identify the errors. Try something along the lines of the following: import java.Math.*; import java.swing.JOptionPane; public class EqTri { private double sideLength; private String identifier; public EqTri(double x,String s) { sideLength = x; identifier = s; //note here "s" is not global to the class nor static …

Member Avatar for stultuske
0
173
Member Avatar for sanjaypandit

I'm not sure about directly creating this script from scratch but perhaps there might be an api that you can use. So try and google for a webpage screen capture api.

Member Avatar for rurunoruru
0
6K
Member Avatar for james6754

[QUOTE=;][/QUOTE] Try the following: [code]$phone = (int)$_POST['phone']; if ($phone==0) { //invalid phone number } else { echo $phone; }[/code]

Member Avatar for stekmil
0
2K
Member Avatar for moaz.amin.37

I'll simplify this down to terms that some people might be able to understand if I'm not mistaken. when you put i++ in to a for loop it will add the value of "i" after the compiler has checked the middle comparison statement but will add 1 to "i" before …

Member Avatar for sepp2k
0
472
Member Avatar for centenond

In general practise, arrays with mass insertation is a bad idea like you have done in line 3 where as the better idea is to fetch from the database as you need them. Let's take for example your deploying a website like facebook and your using the above code for …

Member Avatar for centenond
0
178
Member Avatar for EJL242000

veedeoo is correct. A mysql statement my only contain one line even when it is conjoint like veedeoo did in his example. So in short mysql under the php api will not accept multiple line query's and will only accept single line query's. Fix that part of your code and …

Member Avatar for cwarn23
0
445
Member Avatar for navenchary

The best one that I have found is at: [URL="http://www.brandspankingnew.net/specials/ajax_autosuggest/ajax_autosuggest_autocomplete.html"]http://www.brandspankingnew.net/specials/ajax_autosuggest/ajax_autosuggest_autocomplete.html[/URL] and can be downloaded [URL="http://www.brandspankingnew.net/archive/2007/02/ajax_auto_suggest_v2.html"]here[/URL].

Member Avatar for kaushal_1
0
417
Member Avatar for debasisdas

I wonder what I'm going to do with this new [URL="http://www.pcworld.com/article/159150/ibm_readies_monster_supercomputer.html"]computer just arrived[/URL] in my mail. I might render a movie then play a game on it. *[I]Didn't mean to spam links but makes a good touch[/I]*

Member Avatar for James_28
8
17K
Member Avatar for njagi

[QUOTE=almostbob;833241]Utter BS a html table does not magically become an excell file by giving it a header. excell file format is comprised largely of characters outside any of the printable charactersets which have to be hex encoded.[/QUOTE] Well actually, excel has a html based encoder which allows files exported to …

Member Avatar for swss
0
3K
Member Avatar for rajeesh_rsn

I came across a similar problem 21 hours ago but have now found that a library has been made for excel files. Note that this library can only write to excel files an not read excel files. You can check it out at [URL="http://pear.php.net/package/Spreadsheet_Excel_Writer/docs"]http://pear.php.net/package/Spreadsheet_Excel_Writer/docs[/URL] At least that appears to be …

Member Avatar for arslanqamar
0
800
Member Avatar for iamthwee

I saw that this thread was still open so I thought I would enter in my opinions on this topic. Tip 1: When designing an authentication system you will want to keep all passwords and their associated hashes out of shared memory and away from public access. So for instance, …

Member Avatar for matrixdevuk
0
606
Member Avatar for Jibran12345

Try the following: $go=true while($row = mysqli_fetch_array($posts)) { $channel_name2 = $row['content']; $channel_name3 = $row['Posted_By']; $channel_name4 = $row['Date']; $channel_name5 = $row['id']; $channel_name6 = $row['type']; if ($go==true) { if ($channel_name6 = 'post') { $channel_name2 = $channel_name2; } else { $channel_name2 = "<img src='/videobox/data/uploads/images/$channel_name2' height='200px' width='100px'>"; } $go=false; } else { echo $channel_name2; …

Member Avatar for Josh Connerty
0
208
Member Avatar for Ambrish_1

I've for a long time I've been studying and experimented with just about every language that I could get my hands on so I have a fair idea about little things like this. The best platform for a web chat system is dependent on the amount of operations along with …

Member Avatar for Ambrish_1
0
249
Member Avatar for cwarn23

I have been trying to create a script that will fetch an image file, store it in a 2d grayscale non-alpha byte array based on the x and y axis so I can perform math operations then save that array back to a new image file. I have come close …

Member Avatar for JamesCherrill
0
261
Member Avatar for noel9

Alternatively I think what the op was trying to accomplish but does the exact same thing is as follows: <td><input type="text" name="c1" value="<?php echo ($p_id!="")?$a:$p_name; ?>"></td>

Member Avatar for cwarn23
0
128
Member Avatar for jib
Member Avatar for jakx12

To help, I have removed the second session tag and fixed the problem of detecting if a session is empty: [CODE=php]<?php session_start(); if(empty($_SESSION['username'])){ header("location: pleaselogin.php"); } ?> <div class=linkstop> <div class=textstyle> <h2><a href="your_acc.php"><FONT COLOR="#666666">Your Account</FONT></a> | <a href="inbox.php"><FONT COLOR="#666666">Inbox</FONT></a> | <a href="bloghome.php"><FONT COLOR="#666666">Your Blog</FONT></a> | <a href="yourwall.php"><FONT COLOR="#666666">Your Wall</FONT></a> | …

Member Avatar for wadeshuler
0
4K
Member Avatar for cwarn23

Does anybody know where I can find a c++ object oriented library for my c++ project where in short I can set each pixel on each frame to a specified color and saving the result to a .avi file preferably compressed. I know this sounds simple in theory but I …

Member Avatar for rubberman
0
406
Member Avatar for cwarn23

PHP is a nice language with features a wide range of automated features for memory but when it comes to mass processing for things like calculating pi or processing a database that's a couple dozen Gigabytes then you may run into a few troubles if things aren't done correctly. This …

Member Avatar for Gaetane
4
679
Member Avatar for cwarn23

Hi, recently I have wanted to learn how to write Windows native binary code to make a binary script which in one form or another will display hello world. I am hoping to eventually create a more efficient compiler using this method but as you should understand already, this is …

Member Avatar for Schol-R-LEA
0
382
Member Avatar for <M/>

I think the name says it all. When I first saw this topic I thought 5 cents or 5 seconds. Does that reviel anything to you. Means it's worth 5c and get's tossed out in 5s. Just joking here so don't be offended. But I was confused with the topic …

Member Avatar for vegaseat
0
424
Member Avatar for CProgrammmmer

There is a neat little function called sscanf() which will do all of that. Perhaps you should google all about it. http://www.tutorialspoint.com/c_standard_library/c_function_sscanf.htm

Member Avatar for Assembly Guy
0
128
Member Avatar for cakka

It is also possible to use strvariable.equalsIgnoreCase(input) and it will compare the two strings while ignoring the difference between upper case and lower case letters. So in this method A==a and B==b etc. But besides that there isn't any other method that I am aware of.

Member Avatar for stultuske
0
341

The End.