Jump to content

Wstar

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Everything posted by Wstar

  1. Thanks so much. The replies pointed me just where I needed. I came up with the following, and it works great. $fd = fopen ($url, "r"); $buffer = ''; while(! feof($fd)){ $buffer .= fgets ($fd, 1024); } fclose($fd); $url stores the url and $buffer is the response that I get. Thanks again!
  2. I was wondering how this is possible with php. I've looked everywhere for an answer. There is a company that makes memberships and they have a script that creates them. Its nothing but a long URL. When the URL is sent, their server replies with a message telling me its done (or if there is a problem). Is there a way php can send the request and get the response? The URL i sent is something like this: http://www.company.com/create.php?action=add_member&user=VALUE&pass=VALUE There are a lot more variables in the URL, but its close. Just wondering if there was something like this out there.... $server_reply = function(URL)??
  3. I moved the CSS to the list at the bottom with no luck. I also fixed the table issue. The bullets are still not displaying correctly. They are outside the box, yet the text is correct. Again, here is an example: http://scotthermanfitness.com/articles.php?Rid=51 My full CSS: @charset "utf-8"; /* CSS Document */ *{margin:0px; padding: 0px;} body { font: normal 600 14px arial, "lucida console", sans-serif; color: #ffffff; background-color: #1c1c1c; } img { border: none; display: inline; } input, textarea, select { background-color:#CCC; border: 1px solid #F00; font-family: verdana; font-size: 10px; color:#000; } A:link { color: #333; text-decoration: none; } A:visited { color: #333; text-decoration: none; } A:active { color: #333; text-decoration: none; } A:hover { color: #900; text-decoration: underline; } .tab_links A:link { color: #000; text-decoration: none; } .tab_links A:visited { color: #000; text-decoration: none; } .tab_links A:hover { text-decoration: none; color: #FFFFFF; border-bottom: 1px solid #C00; } .sample_links A:link { text-decoration: none; color: #FFFFFF; border-bottom: 1px solid #C00; } .sample_links A:visited { text-decoration: none; color: #FFFFFF; border-bottom: 1px solid #C00; } #sample_text { font-size: 12px; color: #FFF; } .sample_links A:hover { text-decoration: none; color: #333; border-bottom: 1px solid #C00; } #third_box_heading A:link { font-size: 22px; font-weight: bold; color: #000; text-decoration: none; } #third_box_heading A:visited { font-size: 22px; font-weight: bold; color: #000; text-decoration: none; } #third_box_heading A:hover { font-size: 22px; font-weight: bold; color: #333; text-decoration: none; } #exercise_list A:link { font-size: 16px; font-weight: bold; color: #000000; text-decoration: none; } #exercise_list A:visited { font-size: 16px; font-weight: bold; color: #000000; text-decoration: none; } #exercise_list A:hover { font-size: 16px; font-weight: bold; color: #333333; text-decoration: none; } #wrapper { width: 1000px; margin-left: auto; margin-right: auto; background-color: #000000; } #header { width: 100%; height: 250px; margin: 0px; background-color: #000000; } #header_site_title { width: 607px; height: 156px; background-image: url('../images/title.png'); background-repeat:no-repeat; } #header_site_logo { width: 393px; height: 280px; background-image: url('../images/newlogo.png'); background-position: top 40px; background-repeat:no-repeat; background-color: #000; } #header_site_menu_top { width: 607px; height: 40px; background-color: #ffffff; background-position: top; } #header_site_menu_spacer { width: 607px; height: 84px; background-color: #000000; background-image: url('../images/black_spacer.png'); background-repeat:no-repeat; } #header_site_menu_bottom { width: 1000px; height: 41px; background-color: #9e0000; } #content { float: left; width: 1000px; margin: 0px; padding: 0px; background-color: #000; background-image: url('../images/background_body.png'); background-repeat:no-repeat; } #content_wrapper { float: left; width: 1000px; margin: 0px; padding: 0px; padding: 0px; } #third_box_heading { float: left; width: 100%; margin: 0px; padding: 0px; text-align: left; font-size: 22px; font-weight: bold; color: #999; } #third_box_content { float: left; width: 100%; margin: 0px 0px 0px 0px; padding: 8px 0px 20px 0px; border-top: 1px solid #F00; text-align: left; font-size: 12px; } #third_box_small { float: left; width: 100%; margin: 0px; padding: 0px; text-align: left; font-size: 9px; font-style: italic; } #footer_top { float: left; width: 1000px; height: 20px; margin-bottom: 0px; background-color: #9e0000; text-align: center; vertical-align: middle; color: #FFF; } #footer_bottom { float: left; width: 1000px; height: 30px; margin-top: 0px; margin-bottom: 10px; background-color: #000000; text-align: center; vertical-align: middle; color: #FFF; } .tab_link_half { float: left; width: 1000px; padding: 0px; margin: 0px 0px 0px 10px; list-style: none; } .tab_link_half li.current{ float: left; padding: 0px; margin: 0px; background-image: url('../images/current_tab.png'); background-repeat: repeat; width: 160px; height: 30px; text-align: center; list-style: none; border: 1px solid black; line-height: 28px; color: #FFF; } .tab_link_half li{ float: left; padding: 0px; margin: 0px; background-image: url('../images/other_tab.png'); background-repeat: repeat; width: 160px; height: 30px; text-align: center; list-style: none; border: 1px solid black; line-height: 28px; } #display_heading_left_half { float: left; width: 300px; margin: 3px 0px 5px 10px; padding: 5px; color: #FFF; text-align: center; font-size: 18px; } #display_heading_right_half { float: right; width: 300px; margin: 3px 10px 5px 0px; padding: 5px; color:#FFF; text-align: center; font-size: 18px; } #display_box_off_left_half { float: left; width: 638px; margin: 00px 5px 5px 10px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_off_right_half { float: right; width: 308px; margin: 00px 10px 5px 5px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_left_half { float: left; width: 473px; margin: 10px 5px 5px 10px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_right_half { float: left; width: 473px; margin: 10px 10px 5px 5px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_left_third { float: left; width: 308px; margin-top: 5px; margin-left: 10px; margin-right: 5px; margin-bottom: 10px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_middle_third { float: left; width: 308px; margin-top: 5px; margin-left: 5px; margin-right: 5px; margin-bottom: 10px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_right_third { float: left; width: 308px; margin-top: 5px; margin-left: 5px; margin-right: 10px; margin-bottom: 10px; padding: 5px; background-image: url('../images/box_background.png'); background-repeat: repeat; border: 1px solid black; } #display_box_third_header { float: left; width: 308px; margin: 0px; padding: 0px; text-align: center; } #underline { border-bottom: 1px solid black; } #about_header { font-size: 20px; font-weight: bold; color: #333; border-bottom: 1px solid red; } td.exercise_title { font-family: Verdana, Geneva, sans-serif; font-size: 25px; font-weight: bold; color: #660000; text-align: left; vertical-align: top; } td.exercise_subtitle { font-family: Verdana, Geneva, sans-serif; font-size: 10px; font-weight: bold; color: #660000; text-align: left; vertical-align: top; } td.exercise_content { font-family: Verdana, Geneva, sans-serif; font-size: 16px; font-weight: normal; color: #FFF; vertical-align: top; padding-top: 10px; } #trx_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/TRX_tab_final.png'); height: 733px; width: 638px; } #trx_row1 { padding: 0px; margin: 0px; height: 157px; width: 250px; position: absolute; left: 195px; top: 190px; display: block; } #trx_row2 { padding: 0px; margin: 0px; position: absolute; width: 350px; left: 410px; top: 400px; display: block; } #trx_row3 { padding: 0px; margin: 0px; height: 157px; width: 250px; position: absolute; left: 373px; top: 450px; display: block; } #trx_row4 { padding: 0px; margin: 0px; position: absolute; left: 510px; top: 620px; display: block; } #trx_page_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/trx_page_background.png'); height: 582px; width: 638px; } #trx_page_row1 { padding: 0px; margin: 0px; height: 157px; width: 400px; position: absolute; text-align: center; left: 140px; top: 275px; display: block; } #trx_page_row4 { padding: 0px; margin: 0px; position: absolute; left: 510px; top: 470px; display: block; } #mealplan_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/meal_plan_front.png'); background-repeat: no-repeat; height: 942px; width: 638px; } #reg_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/registration_background.png'); background-repeat: no-repeat; height: 645px; width: 638px; } #topten_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/top_10_blue.png'); background-repeat: no-repeat; height: 597px; width: 638px; } #exercise_sample_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/exercise_EXAMPLE_page.png'); background-repeat: no-repeat; height: 707px; width: 638px; } #exercise_sample_content_vid_1 { padding: 0px; margin: 0px; position: absolute; left: 40px; top: 150px; display: block; } #exercise_sample_content_vid_2 { padding: 0px; margin: 0px; position: absolute; left: 40px; top: 380px; display: block; } #exercise_sample_content_samples { padding: 0px; margin: 0px; position: absolute; left: 400px; top: 100px; display: block; } #exercise_sample_content_now { padding: 0px; margin: 0px; position: absolute; left: 120px; top: 610px; display: block; } #exercise_front_content { position: relative; padding: 0px; margin: 0px; background-image: url('../images/exercise_page_front.png'); background-repeat: no-repeat; height: 707px; width: 638px; } #exercise_front_content_now { padding: 0px; margin: 0px; position: absolute; left: 360px; top: 340px; display: block; } ul li ol{ clear: both; margin-left: 20px; padding-left: 20px; list-style: inside; list-style-position:inside; } My php code: // start the table for display echo '<table cellpadding="3" cellspacing="2" border="0" width="100%">'; // setup news query $query = "SELECT * FROM articles WHERE id = '$Rid' LIMIT 1"; // send query off $sth = execute($query, 1); $ref = fetch_array($sth); // get data $id = $ref['id']; $date = $ref['date']; $cat = $ref['cat']; $title = $ref['title']; $content = stripslashes($ref['content']); $author = $ref['author']; // check to see who wrote the article, if brian if ($author == '0') { echo '<tr><td align="center"><div id="about_header">Brian McKay: <br>Exercises Physiologist</div></td></tr>'; } else { // if scott echo '<tr><td align="center"><div id="about_header">Scott\'s Words of <br>Wisdom</div></td></tr>'; } // END if ($author == '0') { // convert mysql date to a more readable format list($yr,$mon,$day) = split('-', $date); $display_date = date('F j, Y', mktime(0,0,0,$mon,$day,$yr)); // see if there is a category if (strlen($cat) > 0 ) { $cat_string = 'Category: ' . $cat; } else { $cat_string = 'Category: General '; } // END if (strlen($cat) > 0 ) { // display the header echo '<tr><td><div id="exercise_list">' . $title . '<br>' . $display_date . ' ' . $cat_string . '</div><br></td></tr>'; echo '<tr><td><div id="content_stuff">' . nl2br($content) . '</div></td></tr>'; // end table and div containter echo '</table></div>'; } // END if ($Rid == '0') { Whats in the $content variables: <table cellpadding="3" cellspacing="2" border="0" width="100%"> <tr><td align="center"><div id="about_header">Scott's Words of <br>Wisdom</div></td></tr> <tr><td><div id="exercise_list">Testing!<br>April 13, 2010 Category: Test</div><br></td></tr> <tr><td><div id="content_stuff"> What is this!<br><br> <ol><li>Hello</li><li style="color: rgb(153, 0, 0);">THis</li><li>is</li><li><span style="color: rgb(0, 0, 153);">me</span>!</li></ol>This<br> is a<br><br> space<br></div></td></tr> </table> I'm so lost in this. I have no idea why the bullets are not right. When I take whats in $content and display it in a blank page (no CSS), everything is correct. So it leaves me to believe its a CSS issue but I cant see it
  4. the list tags are in $content which gets displayed. This is what is in the $content... What is this!<br><br><ol><li>Hello</li><li style="color: rgb(153, 0, 0);">THis</li><li>is</li><li><span style="color: rgb(0, 0, 153);">me</span>!</li></ol>This<br> is a<br><br> space If you look at http://scotthermanfitness.com/articles.php?Rid=51 you can see the bullets (or numbers) show, they are just outside the text area.
  5. I'm having some issues with having formatted text displaying. Colors, new lines, and other spacing work just fine. Its just bullets that are the problem. Problem: http://scotthermanfitness.com/articles.php?Rid=51 Code: // setup news query $query = "SELECT * FROM articles WHERE id = '$Rid' LIMIT 1"; // send query off $sth = execute($query, 1); $ref = fetch_array($sth); // get data $id = $ref['id']; $date = $ref['date']; $cat = $ref['cat']; $title = $ref['title']; $content = stripslashes($ref['content']); $author = $ref['author']; // check to see who wrote the article, if brian if ($author == '0') { echo '<tr><td align="center"><div id="about_header">Brian McKay: <br>Exercises Physiologist</div></td></tr>'; } else { // if scott echo '<tr><td align="center"><div id="about_header">Scott\'s Words of <br>Wisdom</div></td></tr>'; } // END if ($author == '0') { // convert mysql date to a more readable format list($yr,$mon,$day) = split('-', $date); $display_date = date('F j, Y', mktime(0,0,0,$mon,$day,$yr)); // see if there is a category if (strlen($cat) > 0 ) { $cat_string = 'Category: ' . $cat; } else { $cat_string = 'Category: General '; } // END if (strlen($cat) > 0 ) { // display the header echo '<tr><td><div id="exercise_list">' . $title . '<br>' . $display_date . ' ' . $cat_string . '</div><br></tr></tr>'; echo '<tr><td>' . nl2br($content) . '</td></tr>'; // end table and div containter echo '</table></div>'; ul li ol{ margin-left: 20px; padding-left: 20px; list-style: inside; list-style-position:inside; } I just need the bullets to display correctly, inside the content box. If I "View Source" for the page and copy the contents into another page, it works great. I just can't find out the issue.
  6. You are correct! Thank you!
  7. Having some issues with an error. Its just a simple query, yet I can't figure it out. MySQL Version: 5.0 MySQL Statement: $query = "INSERT INTO invoices (invoice_number, date, total, first_name, last_name, email, address, post_code, state, order, comments) VALUES ('$invoice', '$date', '$total', '$first', '$last', '$email', '$address', '$zip', '$state', '$order', 'N')"; MySQL Error: I can't find any problem. Please, any suggestions?
  8. ahhh, i see. I'll try it, thank you! Also. One small question. Before the background was always green. Now its black, even though the code still says to make the image green. Why is that? I'm wanting the background to be white.
  9. I got an image to be displayed in the hexs, using your code earlier. How would I go about putting a different image in each hex?
  10. looks nice... better than I. Looking at the code, yeah i would of never found that out. Just have to get the image thing down.
  11. different images. And may have another image on that one. i.e. Terrain and a building. Although if its too hard to over lay another image, then I'll just make all the possible combinations so it can just be one image.
  12. Naa you can keep the blood... but... This is just confusing for me lol. Never dealt with the drawing aspects of php. After I get this down, I just need to put images in each one that are links lol
  13. Could the spaces be removed between the hexs?
  14. I thank you greatly. I just keep running into problem after problem. Got it to repeat. Trying to make a hex grid. Thought it would be easy if I found out how to repeat the hexs. I was wrong. Is there any examples of hex grids in php using this method? I just can't seem to get the calculations right for lining up the hexs. I'm trying to make a image that is 500x500 and have it tiled with hexes (full hexs, and not half's on edges) and have the user define the hex size. Ultimately, I want images in the hexes that are links (each having different coords). Is there an easier way to do this?
  15. Alright, one last problem. Trying to loop the hex to create a row of hexs. I've been trying and here is what I've ended up with, but still no luck. Any ideas on what I'm doing wrong? <?php function hex_map($hex_size){ // check hex size. If too large or too small, default if ($hex_size > 300 || $hex_size < 40){ $hex_size = 100; } header("Content-type: image/png"); // make the image area $im = imagecreatetruecolor(500, 500); $green = imagecolorallocate($im, 0, 66, 66); $red = imagecolorallocate($im, 255, 255, 0); // how many hex's can fit on a row $hex_row_count = (integer)($hex_size / 500); $count = 0; $next_hex = 0; // loop to draw the hex map while ($hex_row_count >= $count) { $next_hex += $hex_size; $step = 60; $rad = $hex_size; $centrex = $next_hex; $centrey = $hex_size; //$centrex = imagesx($im)/2; //$centrey = imagesy($im)/2; for ($i=0; $i<360; $i+=$step) { $points[] = $centrex + $rad*cos(deg2rad($i)); $points[] = $centrey + $rad*sin(deg2rad($i)); } $vertices = count($points) / 2; imagefilledpolygon($im, $points, $vertices, $red); $hex .= imagepng($im); $count++; } imagedestroy($im); return $hex; } echo hex_map(50); ?>
  16. I see now! Sorry, I'm very new to the drawing aspects of php. If I where to make the over laid image a link. Would that be possible?
  17. I'm sorry, I'm not sure what you mean by; I tried the following without luck. <?php header("Content-type: image/png"); $im = imagecreate(200, 200); $green = imagecolorallocate($im, 0, 255, 0); $red = '<img src="me.JPG" width="10" height="10">'; $step = 60; $rad = 80; $centrex = imagesx($im)/2; $centrey = imagesy($im)/2; for ($i=0; $i<360; $i+=$step) { $points[] = $centrex + $rad*cos(deg2rad($i)); $points[] = $centrey + $rad*sin(deg2rad($i)); } $vertices = count($points) / 2; imagepolygon($im, $points, $vertices, $red); imagepng($im); imagedestroy($im); ?> Is there an example someone can provide? Thanks for taking the time to help.
  18. I get an error when I try the following code: header("Content-type: image/png"); $step = 60; $rad = 80; $centrex = imagesx($im)/2; $centrey = imagesy($im)/2; for ($i=0; $i<360; $i+=$step) { $points[] = $centrex + $rad*cos(deg2rad($i)); $points[] = $centrey + $rad*sin(deg2rad($i)); } $im = imagecreate(200, 200); $green = imagecolorallocate($im, 0, 255, 0); $red = imagecolorallocate($im, 255, 0, 0); $vertices = 6; imagepolygon($im, $points, $vertices, $red); imagepng($im); imagedestroy($im); Can't seem to get it to work. Also, what do you mean by use the $red as a mask to copy the image? You mean just put the image in $red? It didn't work for me.
  19. What I want to do. I need to build a hex map. I have done this by using the imagepolygon() fuctions. Problem is, I need to insert an image within the hex. And the image IS a hex shape too. I need to know if anyone has any ideas on doing this? I do not think imagepolygon() can do this, or can it? Here is my code for making the hex (yes i know its not a hex yet) header("Content-type: image/png"); $im = imagecreate(200, 200); $green = imagecolorallocate($im, 0, 255, 0); $red = imagecolorallocate($im, 255, 0, 0); $points = array(100, 10, 150, 10, 160, 80, 10, 150, 100, 10); $vertices = count($points) / 2; imagepolygon($im, $points, $vertices, $red); imagepng($im); imagedestroy($im);
  20. I got this code from dynamicdrive.com at http://www.dynamicdrive.com/dynamicindex6/localtime.htm <script type="text/javascript"> /*********************************************** * Local Time script- © Dynamic Drive (http://www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ var weekdaystxt=["Sun", "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat"] function showLocalTime(container, servermode, offsetMinutes, displayversion){ if (!document.getElementById || !document.getElementById(container)) return this.container=document.getElementById(container) this.displayversion=displayversion var servertimestring=(servermode=="server-php")? '<? print date("F d, Y H:i:s", time())?>' : (servermode=="server-ssi")? '<!--#config timefmt="%B %d, %Y %H:%M:%S"--><!--#echo var="DATE_LOCAL" -->' : '<%= Now() %>' this.localtime=this.serverdate=new Date(servertimestring) this.localtime.setTime(this.serverdate.getTime()+offsetMinutes*60*1000) //add user offset to server time this.updateTime() this.updateContainer() } showLocalTime.prototype.updateTime=function(){ var thisobj=this this.localtime.setSeconds(this.localtime.getSeconds()+1) setTimeout(function(){thisobj.updateTime()}, 1000) //update time every second } showLocalTime.prototype.updateContainer=function(){ var thisobj=this if (this.displayversion=="long") this.container.innerHTML=this.localtime.toLocaleString() else{ var hour=this.localtime.getHours() var minutes=this.localtime.getMinutes() var seconds=this.localtime.getSeconds() var ampm=(hour>=12)? "PM" : "AM" var dayofweek=weekdaystxt[this.localtime.getDay()] this.container.innerHTML=formatField(hour, 1)+":"+formatField(minutes)+":"+formatField(seconds)+" "+ampm+" ("+dayofweek+")" } setTimeout(function(){thisobj.updateContainer()}, 1000) //update container every second } function formatField(num, isHour){ if (typeof isHour!="undefined"){ //if this is the hour field var hour=(num>12)? num-12 : num return (hour==0)? 12 : hour } return (num<=9)? "0"+num : num//if this is minute or sec field } </script> When I try to display the time with: Current Server Time:<span id="timecontainer"></span> <script type="text/javascript"> new showLocalTime("timecontainer", "server-php", 0, "short") </script> When I view the site in IE or FF, I get NaN:NaN:NaN am for the time. When i view it in Safari, it works fine. Whats happening?
  21. Bah, I knew it was simple and I was over-looking it. Thank you SO much! Now I'm going to go hide in shame for such a simple error!! Thanks for everyones help!
  22. Still nothing. Here is my form code in html. <form enctype="multipart/form-data" method="post" action="news.php"> <input type="submit" name"test1" value="Test 1"> <input type="submit" name"test2" value="Test 2"> </form> Here is the php code for submitting. I've tried doing each of these (one at a time): if($_REQUEST['test1']){ echo "It WOrked!"; } else { echo "It DIDNT WOrked!"; } AND if(isset($_REQUEST['test1'])){ echo "It WOrked!"; } else { echo "It DIDNT WOrked!"; } AND if(isset($test1)){ echo "It WOrked!"; } else { echo "It DIDNT WOrked!"; } Still no luck.
  23. Thanks for the quick replies. I know its not a problem with <?=$message?> because I've just tried this. if(isset($_REQUEST['test1'])){ echo "Test 1"; } elseif(isset($test2)) { echo "Test 2"; } <form enctype="multipart/form-data" method="post" action="news.php"> <input type="submit" name"test1" value="Test 1"> <input type="submit" name"test2" value="Test 2"> </form> Nothing gets echo'ed in either case. I'm just not understanding this problem.
  24. I can not find out whats wrong here. It's most likely something small that I've over looked. I have multiple submit buttons on a forum using the following code: if ($action=='edit') { echo '<input type="submit" name"update" value="Update">' . ' '; echo '<input type="submit" name"cancel" value="Cancel">'; } else { echo '<input type="submit" name"delete_confirmed" value="Delete">' . ' '; echo '<input type="submit" name"update" value="Update">' . ' '; echo '<input type="submit" name"cancel" value="Cancel"></form>'; } At the top of the .php file I have the following: if(isset($cancel)){ $action=''; } elseif(isset($add)) { $message="Files stored successful."; } elseif(isset($delete_confirmed)) { $message="Files has been deleted."; } elseif(isset($update)) { $message="Files stored and updated successful."; } Now, when the forum is submitted by hitting the add button, nothing is stored in $message. Later in the code (start of a table for a header) I have: <?=$message?> My form declaration is: <form enctype="multipart/form-data" method="post" action="news.php"> Why are my submit buttons NOT working?
  25. I've been all over the net trying to find what I need.  Everything didn't work. I'm trying to store images in a Mysql database. Once its store, i need to display it.  All this I can do, but. I'm having problems resizing the image before its displayed.  Every bit of code I get that relates to resizing an image it ask for a directory where the image is located.  What is the directory if i'm storing them on database? I'm very comfused.  If anyone has or knows where I can get the code to do this, PLEASE LET ME KNOW!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.