Posts
 
Reputation
Joined
Last Seen
Ranked #873
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~32.0K People Reached
Favorite Tags

94 Posted Topics

Member Avatar for kevin wood

This code will display images within an email from the server. It will display an image with a choice of file extension which can be expanded to fit your needs. this code was originally developed for a emailing system where the images to be displayed where uploaded by the user.

Member Avatar for LastMitch
1
198
Member Avatar for rajeshswain

try this code out i have no problems with the image quality with it. [code]<?php set_time_limit(0); $link = mysql_connect(localhost, xxxxxxxx, xxxxxxxxx) or die("Could not connect to host."); //put in your db connection details here mysql_select_db(xxxxxxx) or die("Could not find database."); // put your db name in here where the xxxx …

Member Avatar for mukhtar1234
0
3K
Member Avatar for kevin wood

this code will delete all the files from a directory on the server. be careful when using this as it will delete everything in the directory so use it wisely or make sure you have backups if it is implemented on the wrong directory. it works by searching for all …

Member Avatar for smithdp1
0
242
Member Avatar for kevin wood

why i am i getting this synyax error when trying to display data from the database the code for saving the data is [CODE]// save content to db if(isset($_POST["inpContent"])) { $sContent=stripslashes($_POST['inpContent']); // remove slashes (/) $sContent=ereg_replace("'","''",$sContent); // fix SQL $sql="UPDATE cms_core SET editorial='$sContent' WHERE id=$id"; $query = mysql_query($sql); }[/CODE] and …

Member Avatar for Vince_Cannon
0
660
Member Avatar for kevin wood

i have been asked to fix a problem on a content management system website. when the user edits the text and then clicks on the save button it is not updating the text on the pages selected. the code that is being used is [ICODE]oEdit1.btnSave= true; // Enable save button …

Member Avatar for Mr.Bit
0
2K
Member Avatar for Dani

i have recently left uni and wanted to go into the development side of things as i enjoy coding and working through problems (not always on my own daniweb helped a few times). i ended up getting job running all the websites for a company (on my own). i would …

Member Avatar for anuj_sharma
2
760
Member Avatar for kevin wood

is it possible to change the max file upload and the memory limit allowed for file uploads in php with a .htaccess file. the server my website is held on will not give me access to the php.ini file and is running php 4.4.9

Member Avatar for BzzBee
0
115
Member Avatar for Aamit

so what you want to do is upload an image on to the server so it can be used where it is needed. then if another image is uploaded you want this to be over write the old image and for the new image to be used instead.

Member Avatar for danishbacker
0
174
Member Avatar for kevin wood

this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links …

Member Avatar for kevin wood
0
133
Member Avatar for kevin wood

i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of …

Member Avatar for nav33n
0
149
Member Avatar for kevin wood

i have built a page which loads content into a div tag from a php page using javascript. the problem i am having is that the title for eachg page is not inside the div so i keep being left with the same title on each page. i have tried …

Member Avatar for kevin wood
0
156
Member Avatar for kevin wood

i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. here is the code i have so far. …

Member Avatar for nav33n
0
1K
Member Avatar for kevin wood

i am trying to write a script that will send out an email to all the email addresses stored in a mysql db when the site has been updated. the code i have so far is as follows [CODE]$sql= "INSERT INTO $table (date, title, article) VALUES ('$a', '$b', '$c')"; if …

Member Avatar for kevin wood
0
187
Member Avatar for kevin wood

i have this line of code which i cannot see a problem with but i keep getting an error. [CODE]$sql= "INSERT INTO emails (Firstname, Lastname, email, table) VALUES ('$a', '$b', '$c', '$table')";[/CODE] the error i keep getting is [CODE]Error: You have an error in your SQL syntax near 'table) VALUES …

Member Avatar for nav33n
0
106
Member Avatar for kevin wood

not sure if this is the correct place to post but here we go anyway. what i am trying to do is put a table inside a div tag held within a php page but it is not working. here is the code [CODE]print "<h4>There are $num_rows records.<P></h4>"; print "<div …

Member Avatar for kevin wood
0
288
Member Avatar for kevin wood

hope someone can help me with this. i am trying to update records in a mysql db with a new image but i keep gettin errors. i am using a hidden form input to post a variable across to a new page, i can echo the variable out at the …

Member Avatar for kevin wood
0
102
Member Avatar for kevin wood

i have set up a mysql db for storing news articles to be displayed within a flash website. i have now been asked if i could add an image upload function to this section. i have created the upload page and i can upload the images to the db fine. …

Member Avatar for terrymodular
0
1K
Member Avatar for kevin wood

i am trying to set session variable using a form but i ahve never done this before and i am unsure of how this is done. i have had a look at a few examples on line but still i am not clear on how this works. here is what …

Member Avatar for kevin wood
0
80
Member Avatar for kevin wood

i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> …

Member Avatar for kevin wood
0
115
Member Avatar for kevin wood

hello i have a simple logo on a splash page which i want to align to the centre of the page. when i have it dreamweaver 8 it is aligned to the centre of the page but when it is viewed on the browser it goes to the top. i …

Member Avatar for MidiMagic
0
96
Member Avatar for kevin wood

as iframes are now depreciated as of xhtml 1.0 Strict is there away to replace these using Ajax. this is something i have heard off but have never come across and would like to know if this is possible. I have used iframes in the past to display content from …

Member Avatar for fsav
0
150
Member Avatar for kevin wood

is it possible tpo have a movie clip use the gotoAndPlay function without converting it to a button.

Member Avatar for kevin wood
0
77
Member Avatar for kevin wood

how can i get a rollover to target another movie. i have set up some text to use as a link inside a flash website i am building but i have a small box next to it which i want to animated when the mouse rollover the text. i have …

Member Avatar for kevin wood
0
125
Member Avatar for Tony0930

when thinking of what colours you should use you should look into colour blindness as someone already pointed out. from the top of my head i can think of two different types of colour blindness which are protanopia which deals with reds and greens and deutanopia which i think is …

Member Avatar for kevin wood
0
441
Member Avatar for kevin wood

is it possible to get flash to play x amount of frames before completing the gotoAndPlay from a button click.

Member Avatar for kevin wood
0
95
Member Avatar for kevin wood

is there a need to run a anti virus scanner on a mac running os 9.1 if there is is there any good free anti virus scanners out there available.

Member Avatar for gdrori
0
132
Member Avatar for kevin wood
Member Avatar for jholland1964
0
62
Member Avatar for kevin wood

my comp has just started to randomly restart on me. it started over the weekend whn my manager was on the comp and tried to access another computer on the network (the comp was a mac running os 9) and it restarted. it has now just done it to when …

Member Avatar for jholland1964
0
325
Member Avatar for TommyBs

i work for a company who develops websites and i have the great job of designing and developing the sites that we produce. my of tackling it is to design the site first then add the functionality to it later. as for changing the design all the time this is …

Member Avatar for hiacclaimdir2
0
128
Member Avatar for kevin wood

is it possible to have a virus on a network. every time i try to connect to a mac computer over the network from my pc my computer restarts? anyone know what could be causing this. i have followed all the instructions from the sticky posts above and i am …

Member Avatar for crunchie
0
80
Member Avatar for kevin wood

i want to make a flash image viewer that is always scrolling horizontally across the screen. when the user move the mouse over it stops playing and when the image is clicked the image increases in size. i have found numerous examples of image viewers but not what i want. …

Member Avatar for aylen
0
103
Member Avatar for kevin wood

i have just had to go into the backend of an old site to fix the mysql db as some had deleted the wrong db. i have got most of it working again now but did not know what this line of code is doing. [CODE]$sql = "SELECT id,thumb,image,designer,title,(total/freq) AS …

Member Avatar for kevin wood
0
86
Member Avatar for kevin wood

have had to move some file across from one server to another and i am now getting access denied for user. it also says it could not connect to the server. i have changed the site path so it is now the address where the files have benn moved across …

Member Avatar for chaosprime
0
154
Member Avatar for kevin wood

my comp was very badly infected a couple of weeks ago i am now just checking to see if i am still all in the clear and my comp is infection free. here is a copy of my hijack This log Logfile of Trend Micro HijackThis v2.0.2 Scan saved at …

Member Avatar for crunchie
0
91
Member Avatar for kevin wood

i am trying to set up this db and i am getting a parse error which it says it is on line 24 i cannot see the error. help need [CODE]$sql="CREATE TABLE IF NOT EXISTS `merc_users` ( `****` int not null, `******` varchar (250) not null, `*****` varchar(250) not null, …

Member Avatar for nav33n
0
229
Member Avatar for kevin wood

is it possible to get this function in flash to load a page without using a on release function. I want to make the flash file i have created to load a html page once the end of the timeline is reached. if i use it wil out the on …

Member Avatar for kevin wood
0
70
Member Avatar for kevin wood

i have an image of a teady bear and i wanted to know if i could set up some random animation on this image. What i want the image to do is move its are or blink an eye, only slight movements but for then to occur randomly. i know …

Member Avatar for kevin wood
0
66
Member Avatar for kevin wood

the other threads are not displaying properly on my comp i am getting a white space where the replies and post are meant to be. here is the combo fix log without the snap shot section ComboFix 08-06-20.4 - Admin 2008-06-27 10:44:55.3 - NTFSx86 Microsoft Windows XP Professional 5.1.2600.2.1252.1.1033.18.431 [GMT …

Member Avatar for crunchie
0
138
Member Avatar for kevin wood

ComboFix 08-06-20.4 - Admin 2008-06-27 10:44:55.3 - NTFSx86 Microsoft Windows XP Professional 5.1.2600.2.1252.1.1033.18.431 [GMT 1:00] Running from: C:\Documents and Settings\Admin\Desktop\ComboFix.exe [color=red][b]WARNING -THIS MACHINE DOES NOT HAVE THE RECOVERY CONSOLE INSTALLED !![/b][/color] . ((((((((((((((((((((((((((((((((((((((( Other Deletions ))))))))))))))))))))))))))))))))))))))))))))))))) . C:\WINDOWS\BMbf924418.xml C:\WINDOWS\pskt.ini . ((((((((((((((((((((((((( Files Created from 2008-05-27 to 2008-06-27 ))))))))))))))))))))))))))))))) . 2008-06-27 …

Member Avatar for kevin wood
0
83
Member Avatar for kevin wood

I have ran Hijackthis, SDfix and Combofix. i now need someone to help with getting rid of the rest of the viruses infecting the computer. I will post all the report logs as replies to the thread any help is needed greatly i do not understand what the logs are …

Member Avatar for crunchie
0
140
Member Avatar for kevin wood

anyone know where to get the code for a flash rollover for an image to display. i have been looking around the web to find a site which has a good tutorial to show how to get the effect when a user rolls over a link or image on a …

Member Avatar for CoffeeChef
0
143
Member Avatar for kevin wood

i have found this code and would like to know how i can get the column titles to show up at the top of the page. [CODE]$result = mysql_query( "SELECT * FROM merc_users" ) or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "There are $num_rows records.<P>"; print "<table width=1000 height=400 …

Member Avatar for kevin wood
0
102
Member Avatar for kevin wood

i am trying to resize a button using the following code and it has had no effect on the button it has remained the same size. [CODE]<button style="width:126" style="height:29" onclick="history.go(0)" ><img src="admin/images/reset_btn.gif" /></button>[/CODE]

Member Avatar for Thirusha
0
72
Member Avatar for kevin wood

i have set up a page with some button on which load different pages up. the buttons are held within a form and the target is set to blank. this part is fine for the first set of buttons but i need one of them to reload the page but …

Member Avatar for Thirusha
0
92
Member Avatar for kevin wood

[CODE]$time_diff = time() - $sent; $time_diff = intval($time_diff / 60); if($sent_mail < 30) { // in here is a page built will php which contains its own if statements }elseif ($time_dif >= 1) { mysql_query("Truncate table time"); mysql_query("Truncate table email_count"); echo '<META HTTP-EQUIV="Refresh" Content="0; URL=maillists.php">'; //should load page user wanted …

Member Avatar for kevin wood
0
60
Member Avatar for kevin wood

is it possible to add a number to a number that is stored in mysql db without extracting the stored number first. i have a count and i am updating the count periodically but i would like to know if i can update the count while it is in side …

Member Avatar for nav33n
0
79
Member Avatar for kevin wood

after i have run my query on a mysql db how can i set the result to equal a variable that i will use later on in the page. i have set the query up like this [CODE] <?php $rand = rand (0, 100); $query = "SELECT broad1 FROM images_broad"; …

Member Avatar for kevin wood
0
138
Member Avatar for kevin wood

i have created a table to store the number of a count which i need for some subtraction at a later date. when i try to get the information out of the table instead of getting the number 5 i am getting resource id # 5. the table has been …

Member Avatar for kevin wood
0
71
Member Avatar for kevin wood

is this possible to do? [CODE]if ($sent_mail <= 200 ($limit)) { // construct mailing list array $merc_list = explode(",",$merc_mailingList); // deploy the emails for($i=0; $i<count($merc_list); $i++){ // email body inside here } // END for $sent_mail = $sent_mail + $i; } // END if condition else{ include("limit.php"); } [/CODE]

Member Avatar for kevin wood
0
647
Member Avatar for kevin wood

i need to write a piece of code so that when the counter reaches 500 hundred the user is directed to a limit hit page. or if it is under 500 hundred it directs the user to the page they wanted to go to. i have used if statement to …

Member Avatar for buddylee17
0
97

The End.