Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
10
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
5 Commented Posts
~21.2K People Reached
About Me

I'm web developer and programmer who has been working with computers for many years. I mainly specialise in web development with PHP. I have worked on projects which include content management systems with e-commerce and complex mass data analysis solutions.…

Interests
Pretty much everything techy - and obviously chocolate
Favorite Tags

88 Posted Topics

Member Avatar for leecheneler
Member Avatar for Kieran Y5

Hi, I decided that my operating system needs some graphics. I have seen loads of tutorials on drawing pixels, and I have used some. I now want to use 32bit protected mode (before I was using real mode) and I can't find any tutorials or documentation on drawing with VESA …

Member Avatar for Kieran Y5
0
2K
Member Avatar for ska_defender

Include the files???? if($some_kind_of_variable == 'some_value') include('go1.php'); else include('go2.php'); I don't really understand what you want to do.

Member Avatar for ska_defender
0
224
Member Avatar for shhh

> $result = mysql_query("SELECT * FROM shop WHERE id IN(".join($products,',').")"); Something is wrong with your query. I assume your `join()` function does something... Without knowning what exactly your `join()` function does, I can't really tell you whats wrong with your query string... **Edit: oops, join is a built in php …

Member Avatar for Kieran Y5
0
157
Member Avatar for gabrielcastillo

I haven't really tried this myself, but I have a few ideas. $return = system('c:/wamp/wampmanager.exe -restart'); Note sure if it will work, I can't actually test it as I don't use WAMP (anymore).

Member Avatar for Kieran Y5
0
189
Member Avatar for WithnoMute

I'm not an expert at ASM myself but I know that this code is way bigger than it needs to be. What assembler do you use? Why are you using %??????? With the push and pop instructions, you add a value into the stack (like eax). I think you need …

Member Avatar for jmarbas
0
823
Member Avatar for jingda

I don't think daniweb has much spam. I have seen forums that look like they are made for spam. Usualy spam about buying Viagra. hmmm.

Member Avatar for Portgas D. Ace
0
288
Member Avatar for Goalatio

I have had a look at the videos, looks like you did a good job. ;) You could always post a link to a disk image (.iso), then the actual OS could be tested and reviewed. ^^ Just a suggestion.

Member Avatar for Kieran Y5
1
221
Member Avatar for Kieran Y5

Hello, I have looked all over the Internet for the answer to this question. I know that, to send data to the server using SSL, you encrypt it using the servers public key. I also know that the private key is used to decrypt it. What I don't understand is …

Member Avatar for Momerath
0
95
Member Avatar for Kieran Y5

I am writing this thread not to ask how to make an operating system, but to say how to make an operating system. There always seems to be new threads created asking how to make an operating system. [b]The simple answer[/b] There is no simple answer. Making an operating system …

Member Avatar for Beo_Airwolf
1
282
Member Avatar for jehuie

Hi, Are you using PHP Short Tags (e.g. <? ...code... ?>)? If you are, this may be your problem. Just change '<?' to '<?php' and your problem should be solved. Doesn't Work? If it doesn't work then I have no idea of what the problem is. Hope this helps Kieran …

Member Avatar for kuink
0
180
Member Avatar for natostanco

Hi, Not sure if this is what your looking for but there was a code snippet posted not so long ago: [URL="http://www.daniweb.com/code/snippet340106.html"]http://www.daniweb.com/code/snippet340106.html[/URL] Hope this helps, Kieran :)

Member Avatar for untio
0
115
Member Avatar for billmudry

Hello, You have misunderstood the error. It is referring to Line 3 in a MySQL Query. If this is what is causing it: [CODE] $uvquery = "SELECT * FROM uvphotos WHERE species_name = {$_SESSION["speciesname"]}"; [/CODE] You should try: [CODE] $uvquery = "SELECT * FROM `uvphotos` WHERE `species_name` = '{$_SESSION["speciesname"]}'"; [/CODE] …

Member Avatar for billmudry
0
154
Member Avatar for happygeek

[QUOTE=scrapmac;1360633][B]You Idiots[/B] , you took beta or the latest version of every [B]other browser[/B] , and took [B]Firefox 3.6.9[/B] for testing , Is that even close to fair ??? , Take [B]Firefox 4 beta 6[/B] or the [B]latest nightly build[/B] and then do the testing , I bet Firefox will …

Member Avatar for Aamirnon
1
3K
Member Avatar for chamnab

It doesn't really matter if you use 64bit or not. Most programs will work fine. I am using 64bit and all of the programs I use work fine. For writing the programs (only) I use Notepad++ - It supports many different languages and is free! For assembling I use NASM …

Member Avatar for Kieran Y5
0
91
Member Avatar for srdva59

Hi, You have [B]mistaken[/B] PHP as a client-side scripting language. PHP is a server-side language, which means it does its stuff before it sends the page off. Well, sort of. You will need JavaScript to do this. I am not a complete expert at Javascript so I won't attempt to …

Member Avatar for srdva59
0
84
Member Avatar for mademoiselle24

You would need to use JavaScript, not PHP. PHP is for server-side scripting, not client-side like JavaScript. Kieran :)

Member Avatar for Kieran Y5
0
103
Member Avatar for girlinthesun

Hi, I can't see anything wrong, you should try using <?php ?> instead of <? ?> - it is not always enabled. Does [I]require_once('recaptchalib.php');[/I] send anything to the browser, like text? Anything sent before the [I]header()[/I] function will stop it from working. The large space at the beginning of the …

Member Avatar for girlinthesun
1
132
Member Avatar for prvnkmr194

Hi, This is what I say to everybody (there have been quite a few threads asking this question)... (Slight adapted to situation): [quote] Hello, It takes experience to write an operating system BUT you can certainly start. I have made my own with assembly, it doesn't do much but It …

Member Avatar for michaelrules
0
186
Member Avatar for chamoo007
Member Avatar for almostbob
0
310
Member Avatar for luiii

Your code looks fine... [I]time()+3600[/I] = 1 hour, not 30 mins... I don't *think* you need to enable some ModSecurity thingy, although I haven't heard of it before... You should have a look at this site for more information on a HTTP 501 Error: [URL="http://mwolk.com/blog/501-error/"]http://mwolk.com/blog/501-error/[/URL] Also, I personally think you …

Member Avatar for Kieran Y5
0
114
Member Avatar for gamebits

Hi, You could try adding slashes to the string [I]addslashes();[/I] You might be using magic quotes to. Use [I]get_magic_quotes_gpc()[/I] and if it is false, using the [I]addslashes()[/I] function. Example: [CODE] if(!get_magic_quotes_gpc()) { $source = addslashes($_POST['source']); } else { $source = $_POST['source']; } [/CODE] For more on the [I]get_magic_quotes_gpc()[/I] function, check …

Member Avatar for Kieran Y5
0
120
Member Avatar for cableguy31

Hello, I assume you need to redirect the page. If the validation bit is before the headers (that is, before any text is sent, including a space " " to the browser) then you can use the [I]header[/I] function with a [I]Location[/I] like this: [CODE] header("Location: /folder1/folder2/index.php"); [/CODE] You can/should …

Member Avatar for cableguy31
0
246
Member Avatar for diafol

YES! 1000 variable can affect the web server a lot! It really depends on what they are being used for and when they are being used. If you use the correct MySQL (or other database) query, then you could get the variable you want without filling the entire server with …

Member Avatar for diafol
0
726
Member Avatar for +_+man

Hello, Are you 10 years old, did I hear that right? Well, age doesn't bother me, much. It does take experience to write an operating system BUT you can certainly start. I have made my own with assembly, it doesn't do much but It works. When I first thought "I …

Member Avatar for Goalatio
0
156
Member Avatar for shafeequeom

Use PHP to include the script. Example: [CODE] <html> <head> <title>Login Script</title> </head> <body> <?php include("login.php"); ?> </body> </html> [/CODE] Hope this helps, Kieran :)

Member Avatar for shafeequeom
0
180
Member Avatar for whiteyoh

This might be wrong, I have never really used fpdf but... Words have different lengths, so, for example a line with 5 words may only have 18 characters, it may also have 31, so surely you would have to use a character count as well?

Member Avatar for Kieran Y5
0
248
Member Avatar for itisnot_me

Hi, A Class and Function are VERY different. [B]Functions[/B] A function is a piece of code that can be called many times, they can do things like calculations without the need to re-write the code a trillion times. [B]Classes[/B] A class is like a group, it can hold it's own …

Member Avatar for itisnot_me
1
176
Member Avatar for zlloyd1

That must be the best thread title yet! "[B]This is retarded!![/B]" Calm Down man!

Member Avatar for diafol
0
247
Member Avatar for Tellalca

I might be able to help out but I need to know what assembler you are using (Nasm, Tasm, etc).

Member Avatar for Kieran Y5
0
108
Member Avatar for tcollins412

Hi, First you would need to find some kind of database full of numbers and there addresses - not sure where you could find this. You would then need to cross-reference this information (which is easy). Just add the info into a database with the phone number(s), address, name, etc. …

Member Avatar for Kieran Y5
0
174
Member Avatar for Kieran Y5

Hi, Is it possible to write and compile a cross-platform C++ Program in Visual Studio (C++) Express or Professional? I only ask this question (before starting on a big project) because I would like to support other platforms without changing my coding environment, if you get what I mean. Kieran …

Member Avatar for Kieran Y5
0
188
Member Avatar for aabi

You will need some knowledge of Assembly to make an operating system. You don't need to write it all in ASM but for some parts, its the only option.

Member Avatar for Elihu5991
0
218
Member Avatar for Kieran Y5

Hi, I am developing a program which requires access to my websites' MySQL. I keep getting errors trying to connect to it. My firewall is allowing the connection but MySQL won't accept it. How can I solve this problem? Thanks in advanced Kieran :)

Member Avatar for Kieran Y5
0
175
Member Avatar for Puster

Hi, I think it's just a typo in the code. [CODE] function watermarkImage($loaction) { //laster inn bildet som skal settes pÃ¥ bildet :) $watermark = imagecreatefromgif("copyright.gif"); $watermark_height = imagesy($watermark); $watermark_width = imagesx($watermark); $image = imagecreatetruecolor($watermark_width, $watermark_height); $image = imagecreatefromjpeg($location); [/CODE] Just change [i]watermarkImage($loaction)[/i] to [i]watermarkImage($location)[/i] You used [I]$loaction[/I] instead of …

Member Avatar for diafol
0
228
Member Avatar for maxicube

Hi, I assume that the problem is with this line: [CODE]mysql_query("INSERT INTO main VALUES NULL, '$url')");[/CODE] The syntax is for an SQL insert is: [CODE] INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...) [/CODE] You should change it to: [CODE] mysql_query("INSERT INTO main VALUES (NULL, '$url')"); [/CODE] OH …

Member Avatar for Kieran Y5
0
160
Member Avatar for phaedrusGhost

I can't (of the top of my head) think of anything that would cause that. You must be doing something wrong with the session (e.g. closing it/clearing the variables).

Member Avatar for phaedrusGhost
0
82
Member Avatar for dschuett

Hi, I think you are in need of a tutorial! Well, here you go: [URL="http://www.homeandlearn.co.uk/php/php4p11.html"]http://www.homeandlearn.co.uk/php/php4p11.html[/URL] Kieran :)

Member Avatar for Kieran Y5
0
99
Member Avatar for dschuett

Hi, I think I know what you are asking for. You will need to use the GD Library to create a thumbnail of an image. It should be easy to upload the image. [B]Creating a thumbnail[/B] You should check out this script: [URL="http://snipplr.com/view/753/create-a-thumbnail-maintaining-aspect-ratio-using-gd/"]http://snipplr.com/view/753/create-a-thumbnail-maintaining-aspect-ratio-using-gd/[/URL]. It can create a thumbnail maintaining the …

Member Avatar for dschuett
0
186
Member Avatar for ahmedeqbal

Hi, You could always create a 404 error page that does the same job. Just get the script name and do whatever with it. You will need to make sure that the browser doesn't know that its a 404 error. Hope this help Kieran :)

Member Avatar for theausum
0
129
Member Avatar for badbanky

Hi, Just before I try to answer: [I]Can you please write in full English. It is a forum rule to do so.[/I] [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies[/URL] When you say "encode" I do you mean "encrypt". I am not sure exactly what your asking for. Do you want to make it so that the …

Member Avatar for Kieran Y5
0
86
Member Avatar for marione

This is the problematic line of code: [CODE] <td><a href="confirmdelete.php?recordID=<?php echo $row_ Recordset1 [' id ']; ?>">delete</a></td> [/CODE] Can you see the error? [I]<?php echo [B]$row_[/B] Recordset1 [' id ']; ?>[/I] You have a space between $row_ and Recordset1 So this is the working code: [CODE] <?php require_once('Connections/reservations.php'); ?> <?php …

Member Avatar for marione
0
179
Member Avatar for cpappas

You would need JavaScript for this, not PHP. I'm no expert at JavaScript so I can't really help on that part. Kieran :)

Member Avatar for cpappas
0
186
Member Avatar for mpc123

Hi, I have never worked with 1.7 million rows before but I know that to keep a database fast you will need to optimize it. You should have a CronJob / scheduled task to optimize that database about twice a day. I don't think having 10 queries will slow it …

Member Avatar for mpc123
0
119
Member Avatar for ivan3510

Im not exactly sure what you want but I think you will need to use the PHP GD Library. If you don't know what this is then you should check out the following links. [URL="http://php.net/manual/en/book.image.php"]http://php.net/manual/en/book.image.php[/URL] [URL="http://www.phptutorial.info/learn/create_images/"]http://www.phptutorial.info/learn/create_images/[/URL]

Member Avatar for ivan3510
0
111
Member Avatar for RossCode

Hi, Your dealing with an array ;) Assuming your array is named [i]$array[/i] all you would need to do it [i]$array['option1'];[/i] An example: [CODE] echo "Option 1: ".$array['option1']."<br />"; echo "Option 2: ".$array['option2']."<br />"; for($x=1; ( isset($array['option'.$x]) ); $x++) { echo "Option ".$x.": ".$array['option'.$x]."<br />"; } [/CODE] I hope this …

Member Avatar for Kieran Y5
0
123
Member Avatar for arunpatyal1987

Hi, You should read this tutorial: [URL="http://www.w3schools.com/PHP/php_file_upload.asp"]http://www.w3schools.com/PHP/php_file_upload.asp[/URL] The function you need to use is: [CODE] move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" . $_FILES["file"]["name"]);[/CODE] Or, you could open/create a file and put the data in it: [CODE] $fileHandle = fopen("upload/test.txt", "w"); fWrite($fileHandle, $data); fClose($fileHandle); [/CODE] Kieran :)

Member Avatar for natchattack
0
205
Member Avatar for rakibtg

I think you would need to use the AdSense API but you need over 100,000 Daily views Try this like: [URL="http://code.google.com/apis/adsense/"]http://code.google.com/apis/adsense/[/URL] Hope this help, Kieran :)

Member Avatar for Kieran Y5
0
73
Member Avatar for Kieran Y5

Hi, Is it possible to stop the [i]fopen[/i] function from accessing a file or folder? My server uses linux but I have no control over [I].ini[/I] files as my host prevents me from accessing them. Is there any way from using a [I].htaccess[/I] or something to prevent [i]fopen[/i] from opening …

0
97
Member Avatar for MikeThras

Hi, You had an error (from what I can work out) by trying to define the function in the main class. [B]Edit:[/B] I am using Visual C++ 2010 Express, but [I]should[/I] work in other versions I only get warnings from this code (possible loss of data): [CODE] #include<iostream> using namespace …

Member Avatar for MikeThras
0
329

The End.