Posts
 
Reputation
Joined
Last Seen
Ranked #866
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
~31.6K People Reached
Favorite Tags
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
196
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
236
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
657
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
757
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
113
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
172
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
131
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
148
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
154
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
185
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
104
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
261
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
101
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
78
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
113
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
95
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
146
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
76
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
124
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
429
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
94
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
131
Member Avatar for kevin wood
Member Avatar for jholland1964
0
60
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
322
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
78