192 Topics

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 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 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 cwarn23

Hi, I was thinking of making a big website with an algorithm in place to decipher the multiple match pair chance of same hash occurance for long strings but the only problem is I need a database of hashes. A really big one at that. So does anybody know of …

0
119
Member Avatar for cwarn23

In php/html/javascript there are two different ways you may redirect a user to another page however there are a few things to consider before choosing with method to use. As you should know by now php has the ability to send html and javascript to the web browser and php …

Member Avatar for coreyavis
4
2K
Member Avatar for cwarn23

Hi, I'm creating a tutorial + repository website where the tutorials are free for the public to look at but the repository is not. However I am developing a login system that I want to sync with daniwebs login system. I have developed a curl system where the user can …

Member Avatar for riahc3
1
757
Member Avatar for cwarn23

Hi, I am starting to learn Pascal as a personal project but need an IDE/compiler. Does anybody know of a good IDE+compiler in one that they use which has the usual features like line numbers and decent debuggers. Also I need a compiler which is not written in C or …

Member Avatar for finalist
0
1K
Member Avatar for cwarn23

In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the example.

Member Avatar for diafol
0
744
Member Avatar for cwarn23

I thought I would start this topic to see what everybody is working on. So post what is project of the day and many posts to come. As for me. I am working on making it to the refrigerator after a few lines of code.

Member Avatar for pseudorandom21
0
396
Member Avatar for cwarn23

I see in the tag cloud Ubuntu is liked a lot but perhaps the members think differently. So I thought I would ask which is the one true Linux distribution. From all the Linux distributions which one is the only one that can be titled pure Linux nothing more nothing …

Member Avatar for sonal_salkade
0
648
Member Avatar for cwarn23

Hi, I am trying to set up a cron job to load up an application on my server every two hours. I have the following code which works successfully from the terminal but does not run from cron even though it is running as the same user and I have …

Member Avatar for cwarn23
-1
131
Member Avatar for cwarn23

I have been waiting all week for my Google Webmaster Tools to sync with the Googlebot but still no information is appearing. Does anybody here know how long it takes for a website to sync from Googlebot to Google Webmaster Tools? Thank you.

Member Avatar for cwarn23
0
113
Member Avatar for cwarn23

Hi, I not long ago create a youtube video titled "How to RTFM for Dummies" and so far I have 10 dislikes and 0 likes from 59 views. So does this mean people don't like to read the manual anymore or is it that they don't like being told to …

Member Avatar for NicAx64
0
472
Member Avatar for cwarn23

Hi, I have come across the sentence "The quick brown fox jumps over the lazy dog" and found there are shorter sentences. Perhaps we should work out some. I have worked out the following. "The quick brown fox jumps over a lazy god" Can anybody think of shorter containing all …

Member Avatar for cwarn23
0
114
Member Avatar for cwarn23

I thought I would ask which will be more powerful in terms on gigaflops. I know that with AMD motherboards it is possible to have quad sockets where as with intel montherboards you can only have dual sockets on your motherboard. So if you were to compare the latest processors …

Member Avatar for cwarn23
0
265
Member Avatar for cwarn23

Is it possible to get a Nvidia quadro 6000 graphics card then put a sheet of laminated plastic on top of it with some eggs on top of the laminated sheet to cook my eggs for free? Also could I cook my bacon the same way? I was just wondering …

Member Avatar for caperjack
1
108
Member Avatar for cwarn23

As those of you who have read from the Harry Potter Novel series which made 1 billion dollars to JK Rowling, yesterday was the 30th anniversary to the death of Lilly and James Potter. The Parents of Harry Potter stared as the main character. You may ask what does this …

Member Avatar for cwarn23
0
117
Member Avatar for cwarn23

Wow, did you notice php.net just went offline. What will we do without the manual for those few minutes or hours while it's down for maintenance.

Member Avatar for Stefano Mtangoo
0
89
Member Avatar for cwarn23

What is it that inspires you to continue programming every day or every week. Is it work or results or something else you would like to share. So please share as I'm sure this will be interesting.

Member Avatar for jackmaverick1
0
124
Member Avatar for cwarn23

Could we please have [URL="http://www.daniweb.com/web-development/php/threads/388474"]this thread[/URL] as a sticky in the php forum as it would help solve some of the ever so common threads regarding making sms calls with php. Any input? Thanks. :)

Member Avatar for WaltP
0
174
Member Avatar for cwarn23

While expressing frustration in the middle of a google search I found a bug in chrome while performing a google search. I smashed both of my palms on my keyboard at the same time while the cursor was in the search box and it froze the chrome tab and the …

Member Avatar for Cross213
0
147
Member Avatar for cwarn23

Hi, I have a 3d model (.obj) with 3 textures applied to it and it consists of just over 96,000 vertices. But I want to be able to put it into a gaming engine which is limited to 65536 vertices. I have discovered a loop hole in the gaming engine …

Member Avatar for cwarn23
-1
162
Member Avatar for cwarn23

As I understand the tutorials section at the moment only for those who wish to have unique unpublished tutorials with no spelling errors checked by a moderator before posting which is fine and all but I have though of an idea which could get more tutorials while keeping existing implementations. …

Member Avatar for cwarn23
0
517
Member Avatar for cwarn23

Hi Dani and all. I have a suggestion or two about if the following features would be possible to embed. 1) To have a tab in each forum for threads created by user and you can specify the user from a popup along side the unanswered threads tab. This would …

Member Avatar for cwarn23
0
181
Member Avatar for cwarn23

Hi Dani Would it be possible to have a second page (cached/updated every 7 days) of stats where it shows graphs of fortnightly stats for things like the following. [LIST] [*]Line graph of (Total reputation added to daniweb). [*]Line graph of (My received reputation) and (My sent reputation) on same …

Member Avatar for Dani
0
179
Member Avatar for cwarn23

This is the question that I'm curious about. How to determine if you have lived long and prospered. Does anybody have any ideas?

Member Avatar for Netcode
0
158
Member Avatar for cwarn23

Hi, I'm developing a new Java applet and it requires a 3d engine to import a 3d model with a texture wrapped around the model. Then the user will be able to browser around the model in like a first person shooter style but just browse/look around, nothing else. Does …

Member Avatar for cwarn23
0
160
Member Avatar for cwarn23

Hi, this is cwarn23 just posting a link to a youtube video for those constantly redirecting users to google or lmgtfy.com but now here is another tool for you to use. I have posted a youtube video which you can use to teach all of those users how to read …

0
94
Member Avatar for cwarn23

Hi. I just looked at my reputation points today and found all of this negative rep. I checked the posts it came from and it appears it may be from positive upvotes which are being displayed as negative rep. Can somebody please look into this as there are all of …

Member Avatar for cwarn23
0
151
Member Avatar for cwarn23

I just came home and went to sign on to daniweb.com and 404 page not found. I thought WTF. I know the website exists. But now I see it is back online have you don't any changes dani? I see the "Solved:" prefix is now green but what else have …

Member Avatar for Dani
0
188
Member Avatar for cwarn23

Hi, as floored as the text tutorials are right now for submitting them. I thought I would put out there the idea of video tutorials. It would be exciting to see them out there. Thanks cwarn23.

Member Avatar for cwarn23
1
155
Member Avatar for cwarn23

Hi, At the moment I am stuck with a problem where I have googled and googled and yet still can't find software that does what I want. Basically all I want is to be able to take images of an object from all different angles or even do lets say …

0
61
Member Avatar for cwarn23

Hi, in this news you will see how in the past few years there has been some controversy over a bug or more commonly known as a feature which appears it may be removed as of php 5.4.0. According to the features list of php 5.4.0 beta there is the …

Member Avatar for diafol
4
766
Member Avatar for cwarn23

Please post a list of ideas for tutorials that can be written for the php section. Please bear in mind the tutorials are to be kept relatively small so don't ask for something that may take pages upon pages of text to explain. Thanks.

Member Avatar for diafol
2
131
Member Avatar for cwarn23

Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ …

Member Avatar for kingkong111411
0
217
Member Avatar for cwarn23

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error …

Member Avatar for spidersdesign
0
306
Member Avatar for cwarn23

Hi everybody, I have a question about purchasing a product which I do not know the name of or where to buy from. I have the following requirements for a PDA but can somebody point me to a few links of where I can buy such a device. My requirements …

Member Avatar for cwarn23
0
227
Member Avatar for cwarn23

Hi, I have the following applet which works on my localhost server but when I upload it to my online server then the Java console spits out an error saying the following: [CODE] Exception in thread "thread applet-viewer.class-1" java.lang.NoClassDefFoundError: viewer$1 (wrong name: viewer) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at …

Member Avatar for cwarn23
0
206
Member Avatar for cwarn23

Hi, I am in need of a python ocr script that can convert images into text and for the script to work on BOTH windows and centos. All the scripts I have found seem to not be compatible with linux/centos or require an api to another server and I do …

Member Avatar for cwarn23
0
167
Member Avatar for cwarn23

Hi, I have used a program called Boinc but was wondering maybe I could make my job easier by using an api to a pre designed network processor like Boinc does. The only problem with Boinc is that I can't create my own jobs or at least not easily. I …

Member Avatar for cwarn23
0
171
Member Avatar for cwarn23

hi, I have the following code and it compiles on Netbeans with no errors or warnings but when I load the applet in a browser the browser does not display all of the pictures that I got it to draw. The only picture it draws is my_gif. I have tried …

Member Avatar for cwarn23
0
211
Member Avatar for cwarn23

Hi, I have 2 images stored in the variables [ICODE]Image img_arrowl; Image img_arrowr;[/ICODE] and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following: [CODE] img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75); [/CODE] The only …

Member Avatar for mKorbel
0
2K
Member Avatar for cwarn23

Hi, I am rendering a bunch of cg images but now I need to make an applet that will view them. More specifically these images are very much like the first generation of google street view where you have a picture and you can get a camera to crop a …

Member Avatar for mKorbel
0
177
Member Avatar for cwarn23

Below is a paragraph based on a true story of how floods rule the world 2011 to 2012. [story] The year is 2010 and everybody seems to be on top of the moon with great wealth when scientists monitoring the sun discover a potential solar burst from the sun which …

Member Avatar for GrimJack
2
358
Member Avatar for cwarn23

Hi, I was surfing the web looking at what technology is around then I found the below link and quotes the following: [QUOTE]how fast do you need it? because the magny-cours amd 12 cores come out early next year, and with an 8 socket motherboard you'd have 96 cores, whereas …

Member Avatar for cwarn23
0
198
Member Avatar for cwarn23

Hi, I have just created an algorithm and could this be the greatest algorithm invented for calculating square roots? Perhaps the answer is yes with 100% accuracy unlike some algorithms that round the last digit up. Below is the algorithm I have created and I used php. Also this algorithm …

Member Avatar for mrnutty
0
843

The End.