How to write text on image by php

How to write text on image by php 

Posted by mukru 1 year ago


How to operate home appliances through website with php and javascript ?

Please tell me the step by step procedure of how to turn a simple bulb on / off through website by using php / javascript .?

Asked by MuhammadK19 2 years ago


How to create a new folder and text file in php.?

I want to create a new folder and a text file while uploading image. I can upload picture but cannot able to create a new folder where uploaded picture directly upload to a new folder. Can anyone help me? //define a maxim size for the uploaded images in Kb define ("MAX_SIZE","100000"); //This function reads the extension of the file. It is used to determine if the file is an image by checking the extension. function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } //This variable is used as a flag. The value is initialized with 0 (meaning no error found) //and it will be changed to 1 if an errro occures. //If the error occures the file will not be uploaded. $errors=0; //checks if the form has been submitted if(isset($_POST['Submit'])) { //reads the name of the file the user submitted for uploading $image=$_FILES['image']['name']; //if it is not empty if ($image) { //get the original name of the file from the clients machine $filename = stripslashes($_FILES['image']['name']); //get the extension of the file in a lower case format $extension = getExtension($filename); $extension = strtolower($extension); //if it is not a known extension, we will suppose it is an error and will not upload the file, //otherwise we will do more tests if (($extension != "jpg") && ($extension != "jpeg") && ($extension != "png") && ($extension != "gif")) { //print error message echo 'Unknown extension!'; $errors=1; } else { //get the size of the image in bytes //$_FILES['image']['tmp_name'] is the temporary filename of the file //in which the uploaded file was stored on the server $size=filesize($_FILES['image']['tmp_name']); //compare the size with the maxim size we defined and print error if bigger if ($size > MAX_SIZE*10024) { echo 'You have exceeded the size limit!'; $errors=1; } //we will give an unique name, for example the time in unix time format $image_name=time().'.'.$extension; //the new name will be containing the full path where will be stored (images folder) $newname="images/".$image_name; //we verify if the image has been uploaded, and print error instead $copied = copy($_FILES['image']['tmp_name'], $newname); if (!$copied) { echo 'Copy unsuccessfull!'; $errors=1; }}}} //If no errors registred, print the success message if(isset($_POST['Submit']) && !$errors) { echo "File Uploaded Successfully!"; echo "$image_name"; } ?>

Asked by nazarkhan 6 years ago


You know to code PHP?

Is there anyone out there that knows how to code PHP scripts? :) If not, then don't answer question please.

Asked by Baretester 5 years ago


How to install a web script php / sql

Someone explain to me how to install a web script php / sql? Wait for response. Thanks a lot.

Asked by Francesca Diamanti 4 years ago


Sending data from arduino to the server?

Hi my friend, based upon ur reply,i have progressed my ideas..Now my project communicates with the html page->server->arduino..as per the instructions in the web page,the arduino will be controlled..now the query is,i would like to send the values of sensors to the html page..but i dont want to use any additional shields like ethernet shield,etc..dono how to progress..pls help me as soon as possible..waiting for ur reply

Asked by yogesmart22 6 years ago


What is the use of PHP part here..? Answered

Hi,Thanks for this awesome tutorial.I am bit confused about part of PHP in this tutorial. What is PHP's usage in this?

Asked by giteshkumar.dohare 1 year ago


Combining PHP and HTML?

I can't get the PHP and HTML to work in the same file. Do you insert the PHP into the HTML creating a HTML file, or do you put the HTML into the PHP file? Could you show the final "Dynamic web page" code?

Asked by SherpaDoug 1 year ago


How do i list folder contents in php?

I have a folder that i would like to upload files, edit files, and delete files on,  i would liek this done in php, and the folder that is being edited maches the name of the person logged in " session_register("myusername"); "  How do i do this?

Asked by comsa42 7 years ago


How to create new folder in php?

I am trying to create a folder using php, i have used the mkdir command to make a folder, however i would like it to make a folder based on the username of the person who is currently logged in. so far i have " Upload Form mkdir("c:/xampp/htdocs/user/", 0700); ?> " I would liek it to create a folder after (/user/) and use the username of the person logged in " session_register("myusername"); " ("myusername") as the new folders name, how do i do this?

Asked by comsa42 7 years ago


Web Interface for Raspberry Pi

I'm trying to control a led on  raspberry pi 3  using apache server  with  php programming. I am following this instructable link  https://www.instructables.com/id/Simple-and-intuitive-web-interface-for-your-Raspbe/   I have tested server, its working with simple php program but when I write program for led, it doesn't work When I check file it say permission denied  How to resolve this issues ?

Posted by Rehan11 4 months ago


Re-instate project syndication?

A while ago this was possible, and now that I'm interested in making a personal site, I was hoping to load and style my  instructables content on my site? I made this to help when it was enabled (or obvious) back then. https://www.instructables.com/id/PHP-and-Project-Syndication/ Thanks for any consideration!

Posted by nak 7 years ago


Some php trouble with Dreamweaver

I'm giving my sister a hand with her pharmacy website for the university she goes to. And we got a link on the main page: Pharmacy main page . The link is for the phrosh (frosh with a p due to it being "pharmacy" har har, I know). If you look on the phrosh page itself: Phrosh information . The thing is that it's supposed to have the same grey tile as the main page, and on my sister's computer (she sent me a screenshot) she's got the background on there, but you can't actually see it online.. Any ideas guys? Thanks.

Posted by Punkguyta 10 years ago


Hack my homepage?

Software security issues are often obvious to a second pair of eyes. I just posted the PHP scripts for my personal contact homepage as an instructable:Simple PHP personal contact homepage (web3.0!)Can you hack it? Preferably a copy on your local machine and not on my actual server... I deleted all my administration files and classes prior to making this post, just in case.I have two primary concerns:1. General PHP injection attacks. Proper handling and escaping of form data.2. The admin interface has a sessions based authentication mechanism. Login is compared to a MD5 hash of the password, then a session is created with an MD5 hash of the user's IP address. Each subsequent page load compares the authenticated session IP with the user's IP address (again, an MD5 of both). The goal is to prevent remote session stealing related flaws by tying the session to an (unknown...) IP address. Obviously if you have access to the local machine this is all moot, but there is little I can do about that. If an intruder were to get around the session authentication, they would be able to upload files just about anywhere on my server using the admin upload interface. This is a bit of a concern...I think in light of this, I'm going to add an option to limit the web admin interface to one IP address. My IP is fairly static, and if it changes, simply upload a new config file by ftp.

Posted by ian 9 years ago


mysql matching? Answered

I don't really know how to phrase the question. i'm making a Lotto game in PHP. i have numbers 1 - 100 grouped in lots of 10 (ie. 5-15-25-35-45-55-65-75-85-95) and i want to match them against the "house" numbers (ie. 7-15-22-35-49-55-65-75-85-99) then count how many matches in each group and put that into a column (matches) "USER" 5-15-25-35-45-55-65-75-85-95 vs "HOUSE" 7-15-22-35-49-55-65-75-85-99 = 6 matches. then i can count how many matches to determine "payout" i can do this in excel easily. SQL is harder to do.

Asked by furby 4 years ago


Comment Submit Process can be Better

Often times when I'm writing comments in a slow or interrupted internet connection, I notice that the comment is uploaded in such a way that the comment box is removed as its contents are being sent to the server, and once upload is done, the comment section resets with the new comment in place. If the comment isn't sent to the server completely, though, or if connection with the server is lost, the comment box disappears, and the webpage continuously tries to, unsuccessfully, upload the comment to the server. This often leads me to having to re-write the comment, sometimes being a very long and annoying process. So, lovely Instructables Developers, I'd think it would be very nice if you could add a few lines of code to your PHP so that the box is only un-editable while the comment is being set, and so that if upload takes longer than normal, the box is editable again and a notification appears.

Posted by aelias36 7 years ago


Instructables Plugin for WordPress

I published a plugin for WordPress that allows you to display projects by username or keyword with options to limit the number of projects, include thumbnails and a few other options that link back to Instructables. https://wordpress.org/plugins/instructables/ If you were to use this on a website what other features would you want included?   1. I'm thinking an alternate layout with thumbnails and titles only that link back to Instructables. 2. Stats? Maybe

Posted by MrRedBeard 3 years ago


How do i add password to website?

How do I add a feature where a person could add a user, and login? I am an expert at html, i know a fair bit of php, and i figured i could do this with mySQL. So i have 2 questions... How could i add such a feature to my website And if it is possible with SQLServer 2005, and how? (Note) I do host my own site, and I'm obviously on a windows-based platform

Asked by comsa42 7 years ago


Achiev'ibles - 26/08/2012

Hi, here is a list of the patches that were awarded this week for our members. Achiev'ibles is a community run achievment project. The stats of members of the group are automatically recorded every day and patches are awarded at key milestones. For a full list of the patches you can earn, see here. Want to join Achiev'ibles? Leave a comment below and I'll add you. By next week I hope to have a few pages available on my website so that you can check to see if your stats are being recorded. I also want to start awarding patches to authors who are included in one of the biweekly newsletters. I think it'd be good to add each of these authors to the list whose stats are scraped so that they are automatically in the group. Good or bad idea? James Total Views: neuropol iApple+guy RollerScrapper A-Nony-Mus annahowardshaw Comments: Tomdf Best Answers: jessyratfink

Posted by Jayefuu 5 years ago


In PHP 5, is there a limit to the number of keys a single-dimensional array can have? Answered

If so, can this be circumvented by a multi-dimensional array, or does it have the same limit as a single-dimensional?

Asked by Padlock 7 years ago


When using PHP, does it matter where you place the code?

Might seem like a silly question but is it better to place all your PHP code at the top of the page, then echo it where you want it to be, or to keep the code all in one spot? For example, Option One: [rest of webpage] Option Two:  echo ' $random_thing'; ?> Hopefully that makes sense...

Asked by asasklfjklasfkljasklfjaklfsjkl 6 years ago


How to display single data values from a MySQL table with PHP?

I am currently making a video website using MySQL databases and PHP. The info about the videos is stored in a table: ID / filename / size / title / description / uploader / date / length / rating / category / image / views I have several places where I want to display the data from the table, but only the specific data concerning the corresponding video and only from specific cells in specific places. For example on the page displaying the video, I want to have the video title over the video and the description under it (similar to YouTube). Or for example a search function, where the user searches for a video based on Title/Descriptio, but all the Info gets displayed, but in a certain form. I do not really know PHP, but I learn as I go. Unfortunately I have not found any tutorials showing how this can be made, neither any finished examples. I have found exapmles of search scripts, but they only show the position of the row in the table. And examples that display a certain row, display the whole row, but not certain cells. I need the separate cells and want to be able to position them freely. Thanks in advance, you can post links with tutorials or ready examples if you have any.

Asked by mareksl 7 years ago


How can I generate a formatted HTML file with PHP?

I'm doing a major reconstruction of my website. I want it to be more dynamic and interactive (CMS), something like Instructables. I already started the login-logout cookie system, establish a MySQL database and found a user friendly text editor. I'm planning to buy a ".com" domain if I get the system to work. I'm not trying to compete with ibles or anything, but rather just want to make a site where I can post guides then display it on my homepage. Similar to the GUI of ibles.  My Site: ASCAS.tk Can you guys help me find a decent PHP code that would generate formatted html files, so that I would be able to post step-by-step guides similar to instructables... Don't worry about the database, and the text editor, I'll just figure it out.  As a sign of gratitude, I would like to gave away a patch or a 3 month Pro-membership to the person who gets the best answer :D  _____________________________________ //I found a code, but sadly I can't get it to work :(  error_reporting(E_ALL); require_once 'KvzHTML.php'; // These are the default options, so might // as well have initialized KvzHTML with an // empty first argument $H = new KvzHTML(array(   'xhtml' => true,   'track_toc' => false,   'link_toc' => true,   'indentation' => 4,   'newlines' => true,   'echo' => false,   'buffer' => false,   'xml' => false,   'tidy' => false, )); echo $H->html(   $H->head(       $H->title('My page')   ) .   $H->body(       $H->h1('Important website') .       $H->p('Welcome to our website.') .       $H->h2('Users') .       $H->p('Here\'s a list of current users:') .       $H->table(           $H->tr($H->th('id') . $H->th('name') . $H->th('age')) .           $H->tr($H->td('#1') . $H->td('Kevin van Zonneveld') . $H->td('26')) .           $H->tr($H->td('#2') . $H->td('Foo Bar') . $H->td('28'))       )   ) ); ?>

Asked by ASCAS 4 years ago


Achiev'ibles - 21/12/2012

Here is a list of the patches that were earned by members of the Achiev'ibles group from 08/12/2012 to 21/12/2012. List of members: www.redtorope.com/achievibles/members.php List of achievements: www.redtorope.com/achievibles/patches.php Total+Views: AwesomeSwordGuy mofoya acidbass Tornado96 mpilchfamily Nelson_Yepez Instructables: cbm104 Mrballeng Subscribers: daredevil499 zack247 mJusticz Tomdf Hack42Moem BrittLiv Answers: Siddharth+Jain jessyratfink Comments: vicvelcro daredevil499 Following: vicvelcro Tomdf

Posted by Jayefuu 5 years ago


how to create a message box in php-designer with a code?

Its all about our web project. we need to make a message box using php-designer. if we write a message in our friends it is automatically appeare like in facebook

Asked by Juvy Villegas 5 years ago


Achiev'ibles - 07/12/2012

Hi Everyone, Here are the patches that were handed out for Achiev'ibles  from 22/12/2012 to 07/12/2012. Achiev'ibles is a community run patch initiative run by Jayefuu and Canucksgirl that rewards members for reaching statistics milestones on Instructables. You can see the patches it's possible to earn here. If you would like to be included in the automatic gathering if stats for patches, please visit this page and use 'Ctrl + F' to search for your name. If you're not already a member, please post a comment below asking to be added. Randomguy65 thegeeke poofrabbit possum888 splazem jessyratfink Instructables: Tomdf poofrabbit Subscribers: A-Nony-Mus cdawisconsin chr Comments: Jag56 Following: schumi23 tech+dawg

Posted by Jayefuu 5 years ago


Achiev'ibles - Some interesting statistics

Hi Everyone. Tonight I did some updates to the Perl script which scrapes the statistics from your Instructable profile page. With the changes I made I now collect 3 more stats that I didn't before, because they were kept in weird places. As of tonight I'm now also collecting the number of people you're following, the number of favourites you have and your number of best answers (which is hidden, you can normally only see it by looking at the HTML). (Click here if you haven't a clue what I'm talking about and haven't heard of Achiev'ibles before) So with these new stats, I thought it'd be fun to announce the 15 members with the most of each stat. And so here they are! Following: mary+candy 1450 jessyratfink 1161 scoochmaroo 979 Dr.+Pepper 845 Goodhart 755 sunshiine 697 dombeef 655 Hiyadudez 607 zieak 298 nfk11 257 knexinventer 249 AngryRedhead 230 PotatoCoffee 206 MegaMetal8 203 poofrabbit 190 ----- Favourites: rockhardmj 2344 poofrabbit 1039 MichelMoermans 439 knexinventer 380 ewilhelm 320 CrayfishYAY 282 possum888 272 annahowardshaw 255 canida 252 Kryptonite 236 DJ+Radio 226 dombeef 225 Win+Guy 224 Kaelessin 213 iceng 199 Lithium+Rain 199 ----- Best Answers: steveastrouk 835 Re-design 692 lemonie 575 Kiteman 365 kelseymh 344 rickharris 334 iceng 228 canucksgirl 214 NachoMahma 178 AndyGadget 161 RavingMadStudios 129 Vyger 127 yokozuna 103 jeff-o 102 gmxx 90 mikeasaurus 89 Ok so I actually included 16 for favourites and best answers, because the 16th places were so close to 15th. Interesting stats? It should also be remembered that these aren't site wide, just for the 300 active site users that have signed up to be on the list. Finally, Canucksgirl sent me a new patch design this week. I'm not yet collecting the number of featured yet as I can't find it as a raw number, only as a percentage. Image below!

Posted by Jayefuu 5 years ago


my PHP code does not work? Answered

The index.html worked fine, but the browser did not recognized the index.phpWhat should I do?ThanksMarcelo

Asked by mjrovai 10 months ago


Instructables embedded on your website - UPDATED!

Last December I wrote some PHP to enable Instructables users to embed a live list of their Instructables on their website or wordpress blog with a navigation bar to organise by views, comments, rating and name as well as pagination. It proved quite popular but broke when HQ updated some code on member's profile pages. Well... i FINALLY got round to updating it this weekend. I've uploaded the fixed code to the Instructable. You can learn how to install it and download the source in the Instructable, or see it working live at this page on my website. I thought I'd post the update as a forum topic too so that anybody that subscribed to me for the original Instructable would get notified of the update. Enjoy!

Posted by Jayefuu 6 years ago


Feedback for my website?

After a couple of months of building my website, it is finally in a state where I am proud of it! However the people using it are my friends, and I need some fresh eyes for feedback. Basically it's called Come Clean, and you make confessions to get them off your chest. Simple idea really. So please visit my website and tell me what you think: http://www.comeclean.co.nz       If you think something is good or bad, or if you spot a bug, leave a comment :) Thanks!

Posted by asasklfjklasfkljasklfjaklfsjkl 6 years ago


Achiev'ibles

Despite the title, no it's not quite ready yet. Almost! But not quite. I have all the patches, and I get an email every morning telling me who's earned what patch. So far it all seems to be working nicely, I've just not turned on the automatic patch sending. I'm holding off a little while longer just to check it all works nicely. Here's a list of total views from the past week. Scoochmaroo's set to be the first author to ever reach 10 MILLION total views as she's got less than 100k to 10M and has consistently topped 100K views a week for the last few months. If you'd like to be on the list, please post a comment because I can't currently add users automatically due to an Instructables group bug. Name 19/07/2012 26/07/2012 Gain scoochmaroo 9862879 9963418 100539 canida 6743964 6785924 41960 fungus+amungus 5765283 5793348 28065 randofo 5340134 5382776 42642 jessyratfink 3736663 3784555 47892 Honus 3491383 3503374 11991 Kiteman 2611637 2622183 10546 Plasmana 2546540 2557056 10516 ChrysN 2236483 2261953 25470 Tool+Using+Animal 2113652 2120986 7334 Creativeman 1731138 1744489 13351 chr 1629798 1642581 12783 mikeasaurus 1623771 1642207 18436 drinkmorecoffee 1618809 1628173 9364 killerjackalope 1488533 1494428 5895 T3h_Muffinator 1423214 1427140 3926 zieak 1410445 1416651 6206 frenzy 1368128 1378928 10800 Weissensteinburg 1313930 1320806 6876 lemonie 1297169 1301829 4660 gmjhowe 1293467 1296557 3090 Frivolous+Engineering 1125458 1129239 3781 mikey77 990135 995500 5365 shesparticular 969014 973341 4327 Brennn10 937720 941375 3655 jeff-o 890111 894721 4610 scraptopower 879821 886805 6984 ModMischief 859388 876819 17431 Mrballeng 852056 861884 9828 aeray 846058 851737 5679 CameronSS 831238 837346 6108 laxap 779017 781781 2764 PKM 775668 778475 2807 starshipminivan 734945 741293 6348 depotdevoid 737387 740743 3356 belsey 716368 720238 3870 Jayefuu 680967 683748 2781 Gadget+Gangster 587747 592553 4806 BrittLiv 526421 531895 5474 AngryRedhead 516919 519972 3053 rimar2000 473935 476712 2777 mary+candy 384418 387334 2916 vishalapr 383130 384937 1807 Spl1nt3rC3ll 375659 377280 1621 Vyger 342452 344366 1914 Greasetattoo 339637 342999 3362 rickharris 339925 341722 1797 KentsOkay 340069 341476 1407 Ninzerbean 324663 326689 2026 scooter76 320388 320860 472 sunshiine 309830 316726 6896 Lithium+Rain 312322 315517 3195 Computothought 296295 300944 4649 Xellers 293256 295028 1772 Technochicken 283295 284761 1466 AndyGadget 278226 279476 1250 knife141 277133 279416 2283 bajablue 269106 278183 9077 craftknowitall 233558 260177 26619 justjonty 256551 258576 2025 Hiyadudez 242799 243832 1033 annahowardshaw 239462 241925 2463 iminthebathroom 240273 241407 1134 bertus52x11 237687 239138 1451 dark+sponge 234117 234562 445 bongodrummer 233442 234131 689 janw 231263 232399 1136 JamesRPatrick 226932 228068 1136 jen7714 216109 218922 2813 comodore 216373 217028 655 thermoelectric 214818 217008 2190 Nelson_Yepez 213065 214632 1567 Lynne+Bruning 211147 212214 1067 Kaelessin 209249 210035 786 coolbeansbaby68 204279 205497 1218 yokozuna 204633 205302 669 RavingMadStudios 196594 197811 1217 Dr.Paj 196312 197098 786 Jimmy+Proton 171284 173712 2428 ynze 167709 169281 1572 WYE_Lance 162575 165879 3304 HHarry 148153 163431 15278 lw119 155337 157357 2020 I_am_Canadian 151955 152459 504 The+Jamalam 151397 151769 372 DJ+Radio 148497 149295 798 marc.cryan 145743 148164 2421 wizgirl 143227 144893 1666 susanrm 138215 140801 2586 Goodhart 138488 139018 530 Mr.Sanchez 130730 131416 686 The+Papier+Boy 129823 130441 618 Killer%7ESafeCracker 125955 127263 1308 fjordcarver 111485 118671 7186 MichelMoermans 115412 116146 734 Biggsy 113013 114024 1011 dombeef 105004 105538 534 cammers 102974 103870 896 blinkyblinky 102155 103554 1399 mman1506 100309 100964 655 KoffeeKommando 92703 93383 680 monsterlego 87327 89101 1774 Shadowman39 87333 87843 510 beanieostrich 85097 85833 736 LargeMouthBass 84193 85072 879 Re-design 83566 84080 514 agis68 82884 83345 461 The+Ideanator 76852 77234 382 ajleece 73721 73866 145 diyoutdoorsman 71745 72509 764 kelseymh 71604 72035 431 cdawisconsin 71049 71836 787 TabbyDeAnne 70166 70810 644 Winged+Fist 69809 70803 994 TitanTechRobotics 69261 69627 366 arthurb 68233 68474 241 coolpizzadude 65808 66292 484 Sunkicked 65907 66270 363 EmmettO 65327 65560 233 Win+Guy 63832 64267 435 mkanoap 62987 63359 372 jwystup 60848 61158 310 lizzyastro 58616 59677 1061 nickodemus 55794 56155 361 iceng 55344 55771 427 knuckel 55337 55603 266 TSC 52019 52348 329 cbm104 51121 51586 465 kcls 51080 51490 410 Mimikry 50604 51215 611 ilpug 50283 50973 690 ahrshin 50224 50866 642 Z.Backas 49960 50201 241 krysteanuh 49055 49594 539 lilyfrancis 48220 48394 174 Berkin 59547 48370 -11177 razvan_iycdi 45324 46591 1267 tqwerty 45368 45729 361 steveastrouk 45398 45703 305 Bot1398 44477 45682 1205 MotaBoi 45287 45448 161 patriots8888 45189 45437 248 Rob+O 44720 45120 400 possum888 43628 43924 296 zack247 41983 42446 463 drknotter 41806 42145 339 splazem 41294 41692 398 Tornado96 41243 41643 400 qazwsx755 40400 40921 521 Data643 40067 40307 240 canucksgirl 36647 37729 1082 lil+larry 36533 36934 401 shadowninja31 36737 36893 156 Sorunome 36085 36602 517 Derin 35880 36104 224 peguiono 35240 35349 109 plane+phanatic 33692 33848 156 zurichko 31315 31580 265 CrayfishYAY 31098 31175 77 Dr.+Pepper 29948 30106 158 rrkrose 29948 29898 -50 poofrabbit 29022 29869 847 Twinmum 29071 29373 302 m6233555m 29064 29107 43 Knex_Gun_Builder 28979 29051 72 fdmjh 28410 28591 181 nutsandbolts_64 27935 28206 271 Legofanatic 27927 28191 264 aeronut01 27643 27851 208 bwrussell 25908 26978 1070 colorex 26466 26779 313 Zaphod+Beetlebrox 25566 26487 921 mJusticz 26081 26362 281 floris2burn 25487 25561 74 Tom+Buckey 25093 25188 95 mistyp 23969 24283 314 Nostalgic+Guy 23722 23830 108 RollerScrapper 23225 23530 305 robot1398 22880 23179 299 knexinventer 22595 22910 315 zascecs 22467 22532 65 acidbass 22294 22473 179 username252 21036 21238 202 A-Nony-Mus 20915 21137 222 bricabracwizard 18775 20327 1552 knexsuperbuilderfreak 19148 19194 46 iproberry1 17119 17751 632 Football+viking+boy 16810 16957 147 Mahmoud+Alaa 15423 16650 1227 LoneWolf 16041 16190 149 Super_Nerd 15738 16049 311 Kryptonite 15635 15826 191 masterochicken 15749 15808 59 RNB 14491 14595 104 NatNoBrains 14343 14471 128 FrozenStar 13881 13949 68 king1000 13014 13049 35 NachoMahma 12934 12952 18 moocowdog 12441 12493 52 cherishcherub 12144 12195 51 furrysalamander 11991 12113 122 TheMacyC 11553 11832 279 slithien 11515 11649 134 Kaptain+Kool 11049 11172 123 35Timmy 9853 10041 188 tech+dawg 9453 9998 545 wareneutron 9239 9354 115 thegeeke 8147 8568 421 emilyvanleemput 7500 8041 541 tbcross 7913 7967 54 Randomguy65 7686 7857 171 ElvenChild 7289 7345 56 happyjo 6984 7037 53 MegaMetal8 6726 6758 32 BLUEBLOBS2 5648 6388 740 solarblade90 6210 6260 50 jamesdude 6206 6226 20 Jag56 5905 5999 94 BladeFyre+Studios 5951 5997 46 nfk11 5689 5726 37 TheAwesomestDude 5272 5332 60 rockhardmj 5046 5276 230 White+Shadow 5105 5265 160 9400dk 5035 5045 10 mg0930mg 4754 4763 9 neuropol 4667 4725 58 iApple+guy 4492 4583 91 Thergox 4492 4467 -25 AwesomeSwordGuy 4235 4261 26 shadon 3750 3777 27 LivStoleYourPie 3505 3552 47 cj81499 3085 3090 5 cyanyears 2976 3001 25 PotatoCoffee 2868 2949 81 gmxx 2857 2884 27 Black+Panther+Knex 2308 2326 18 vicvelcro 2223 2261 38 j.g.kuster 2145 2185 40 Mutantflame 2125 2126 1 The+Chunky+Sniper%21 1793 1835 42 FastLearner 1609 1620 11 daredevil499 1549 1567 18 protolabs 1166 1214 48 kyleslab 1072 1093 21 Jeff+Kallaus 1045 1049 4 CeruleanPhoenix 817 834 17 Alexvolos1 609 616 7 Fr-Pa-Co 482 485 3 %28YOUR+N 270 272 2 heratio 249 249 0 schumi23 128 136 8 lightingever 14 14 0

Posted by Jayefuu 5 years ago




Online Work Schedule with PHP?

Hi everyone! I am working on a project from my employer at work. She wants me to make a online schedule for her business. I've succeded in getting it mostly done. But I am stuck at saving the work selections to a php file. Then when the employees view it, they see what the boss set the schedule as. I've included the files below. The passwords for the login are: the boss's password is: flyinghotdogs the employees password: wetheemployees Thanks! And whoever helps me figure this out will get a 3 month pro membership and a patch!  

Asked by joespicnictables 5 years ago


How to output changing (occasionally updated) filename onto webpage as text?

I would like to display the latest version of a software program as text on a graphic button which would take users to a update page. Im aware there could be various ways to do this like using php to output the filename over a graphic of the button. Or maybe just telling php to grab the filename and insert it into the html. I have very little experience with html/php, so preferably the solution would be easy. Of course, the real filename would have to be hidden from user's view, or the webmaster could possibly have some kind of submit form to manually alter the text but that would be more of a pain. thank you

Asked by lsadwdwadw 6 years ago


Achiev'ibles - 12/08/2012

This forum topic shows who reached what patch milestones this week! What is Achiev'ibles? Achiev'ibles is an automated achievement system for Instructables by Jayefuu and Canucksgirl. It evolved from the old Total Views group. It uses a mix of Perl and PHP to record your Instructables profile stats each morning. We have a list of patches, these are automatically assigned each morning as and when you reach a milestone! Once a week we post a summary of who's achieved what so that you can congratulate/encourage friends. How do I join? Leave a comment below and I'll add you to the database. I can't currently automatically include members of the group. Who achieved what this week? - Sunday 05/08/2012 - Sunday 12/08/2012 Total Views: DoctorDv mistyp Subscribers: emilyvanleemput starshipminivan ChrysN Comments: emilyvanleemput News: I'm still working on some new features. Canucksgirl has done patch artwork for several more stats and I'll hopefully be able to catch up on the programming to include these soon!

Posted by Jayefuu 5 years ago


Variable Relay?

 Hi Instructables!, I'm working on a project to control a robot from the web but before I build it I want to find a way to control 24v motors from a laptop parallel port using relays and another power source. My problem is controlling them variably like from a joystick without going either on or off. I do happen to have an arduino microcontroller I could use but I was hoping not to simply for ease and cost reasons. Thanks for your help :)

Asked by cornboy3 8 years ago


How to create a community forum like instructables?

How to create a community forum like instructables using php mysql. Anyone out there please show me a script.

Asked by tplim 5 years ago



what O.S. and software should i run on my server?

Ok about a week ago i got a rack mount hp netserver has 2gb ram, 100gb hd (raid5), and 2x Pentium 3 900mhz from craigslist for $30. I want host my website on it but dont know what operating system or software to use. i need it to support sql and php and maybe email. i tried installing the newest ubuntu desktop edition but i keep getting an error. i tried win xp with wamp but can find out how to get it online. I'd like a linux os because the security but don't know where to start.

Asked by C_Coffie 9 years ago


How do I display specific rows from a SQL database using $_GET? Answered

For my latest website, I have created a MySQL database to store user-submitted data. Currently for the homepage a PHP script connects to the database and selects a random row to display on the page. The table is set out like this: ID               Quote                 Author                Category 21              blah                    anonymous        Life 22              hdhshs               anonymous        Food I wanted to create a page where when a user goes to www.example.com/post.php?id=45 , it displays the row with the ID number of 45. That I have done successfully. But now I want to create a page where if you go to, say: www.example.com/cat.php?catergory=Life, where it lists all rows under Life. But after tweaking the code for the Post page, it doesn't seem to work. Code for Post Page: $user="**********"; $password="**********";$database="**********"; $connection=mysql_connect('**********',$user,$password);@mysql_select_db($database) or die( "Unable to select database");  $sql = "SELECT * FROM `quotes` WHERE `id` = " . mysql_real_escape_string ( $_GET['id'] );  mysql_select_db ( $database, $connect ); if ( @mysql_query ( $sql ) )  { $query = mysql_query ( $sql );   $row = mysql_fetch_assoc ( $query );   echo '' . $row['quote'] . '#' . $row['id'] . ''; }  else { die ( mysql_error () );  }?> What do I need to change in the above code, to display a list of every row in the database with a category of whats in the URL?  This is my first time running a MySQL database, so sorry if the code is a bit squiffy.

Asked by asasklfjklasfkljasklfjaklfsjkl 7 years ago


How can i set up my personal wiki?

I downloaded WAMP, and MediaWiki. everything is set up except when i try to install Mediawiki it says that there are authentication errors and that i need to check the passwords, i've tried changing the password but it doesnt work, and the mysql website hasn't helped. what else should i try?

Asked by coldpsyco91 7 years ago


Failed Experimentation : AI : My new creature is alive !

.It's alive !Alive, yes, but not as much intelligent than expected ..........Instead of watching a stupid movie at TV, I decided to write a tiny AI programme all in PHP.My goal was to get some functionalities comparable to logic programming languages like Prolog.In simpler words : I wanted to create a programme that could learn facts, and find the solutions to some logical problems.For instance :> blue is colour.Okay.> carrot is vegetable.Okay.> blue is colour ?Yes.> blue is vegetable ?No.> carrot is colour ?No.etc.So far, I can teach it facts in the form of 3-words-affirmations, and I can ask it questions and definitions, and the creature is able to find some connections between facts.Experimentation #1 : > red is colour.Okay> black is colour.Okay> orange is colour.Okay> orange is fruit.Okay(Here, we have a trap : orange is both a color and a fruit.)> red is colour ?Yes> black is fruit ?No> orange is colour ?Yes> orange is fruit ?Yes(Good. The beast did not fall in the trap.)> translate : red- "colour"> translate : orange- "colour"- "fruit"> translate : colour- "red"- "black"- "orange"Good ! The beast can give a sense to the words it learned.Experimentation #2 :> Paul is human.Okay> human eat fruit.Okay> apple is fruit.Okay> human is animal.Okay> animal eat meat.Okay> animal is mortal.OkayNow, let's see if it can "chain" the facts in a logical manner :> translate : Paul- "human"Here it should have replied : "human", "animal" and "mortal", since human are animals, and animals are mortal ...Let's see how it defines "Paul" :> define : Paul- Paul is humanMy creature seems obviously narrow minded ...Let's quiz it now :> Paul is apple ?No> Paul is fruit ?No> Paul is human ?Yes> human is Paul ?Yes> Paul is Paul ?Yes> Paul eat fruit ?Yes> Paul eat apple ?Yes> Paul is animal ?Yes> Paul eat meat ?No> Paul is mortal ?YesAs we can see, it successfully (and surprisingly) replied correctly to each question by connecting facts together, excepted for "Paul eat meat ?".At this question, it should have replied "yes", since it knows that "Paul is human", "human is animal" and "animal eat meat". But it did not ... ... and it's bizarre since it can reply correctly to "Paul is mortal ?", from "Paul is human", "human is animal" and "animal is mortal", or to "Paul eat apple ?" from "Paul is human", " human eat fruit" and "apple is fruit" ...Interesting, isn't it ? =o)If you want, you can submit your facts and questions to my experimental creature (which has no name yet) =o)What would be interesting also, is to confront it to a "paradox" just to see how it behaves ! =o)20080625 : For those of you who would like to have a look at the guts of the beast, here is available the source code.However, keep it mind it's a spaghetti-code and many function names are in french (as well as comments).Also, this version relies on MySQL to store and query facts (I'm planning to replace it with simple arrays though), which make the code slightly more complicated than required ...The main code makes less than 250 lines =o)There is no direct input interface : instead, it use scripts (exp_*.php) that call functions. For example :declarer("red","is","colour"); // ... which is slightly more complicated than what I showed above for the sake of comprehension and simplification !

Posted by chooseausername 9 years ago


Total Views Count - 21/07/2012 soon to be Achiev'ibles

Here's this week's total views count. I'm getting closer to finishing the new version, which thanks to ChrysN will be now be called Achiev'ibles! To summarise, there will no longer be a weekly topic containing your total views gain. Instead you'll be awarded patches for achieving milestones for Total Views, Comments, Instructables, Instructables Featured, Following, Subscribers and Topics. Future updates should see you also getting patches for your Instructable being in a Newsletter and for being featured on a famous blog or website. Lastly, drop to the bottom to see the forum topic's image! Canucksgirl's been working on the patch designs for the new version of the group. They look great! Name 14/07/2012 21/07/2012 Gain scoochmaroo 9794144 9891679 97535 canida 6712566 6755921 43355 fungus+amungus 5742853 5773945 31092 randofo 5310740 5349829 39089 jessyratfink 3706945 3750503 43558 Honus 3482519 3494950 12431 Kiteman 2603923 2614945 11022 Plasmana 2538669 2549528 10859 ChrysN 2202852 2243251 40399 Tool+Using+Animal 2108167 2115854 7687 Creativeman 1720749 1735147 14398 chr 1620175 1633423 13248 mikeasaurus 1614188 1630874 16686 drinkmorecoffee 1612224 1621168 8944 killerjackalope 1484329 1490109 5780 T3h_Muffinator 1420803 1424263 3460 zieak 1407466 1411769 4303 frenzy 1360567 1370957 10390 Weissensteinburg 1308979 1315836 6857 lemonie 1293536 1298383 4847 gmjhowe 1291244 1294297 3053 Frivolous+Engineering 1121987 1126930 4943 mikey77 984363 991965 7602 shesparticular 966022 970387 4365 Brennn10 935057 938783 3726 jeff-o 886912 891299 4387 scraptopower 874137 881773 7636 ModMischief 841158 864593 23435 Mrballeng 811972 855342 43370 aeray 841302 847678 6376 CameronSS 827463 832639 5176 laxap 776524 779767 3243 PKM 773457 776415 2958 depotdevoid 734983 738284 3301 starshipminivan 729555 737014 7459 belsey 713488 717412 3924 Jayefuu 679036 681754 2718 Gadget+Gangster 584472 589175 4703 BrittLiv 524376 527337 2961 AngryRedhead 514622 517863 3241 rimar2000 471792 474640 2848 mary+candy 381937 385076 3139 vishalapr 381594 383643 2049 Spl1nt3rC3ll 374363 376116 1753 Vyger 341325 342835 1510 Greasetattoo 337040 340561 3521 KentsOkay 339095 340450 1355 rickharris 338666 340360 1694 Ninzerbean 323205 325226 2021 scooter76 320024 320531 507 Lithium+Rain 310175 313126 2951 sunshiine 304648 311749 7101 Computothought 293202 297613 4411 Xellers 292042 293756 1714 Technochicken 282198 283684 1486 AndyGadget 276335 278606 2271 knife141 275399 277704 2305 bajablue 265859 270809 4950 justjonty 254891 257149 2258 craftknowitall 224349 250274 25925 Hiyadudez 241552 243102 1550 iminthebathroom 239456 240604 1148 annahowardshaw 237717 240190 2473 bertus52x11 236885 238344 1459 dark+sponge 233746 234237 491 bongodrummer 232856 233649 793 janw 230444 231614 1170 JamesRPatrick 226205 227205 1000 jen7714 214219 216947 2728 comodore 215903 216557 654 thermoelectric 213206 215489 2283 Nelson_Yepez 211993 213541 1548 Lynne+Bruning 210463 211636 1173 Kaelessin 208729 209433 704 yokozuna 204102 204830 728 coolbeansbaby68 203284 204676 1392 RavingMadStudios 195544 196982 1438 Dr.Paj 195797 196513 716 Jimmy+Proton 169572 171938 2366 ynze 166974 167981 1007 WYE_Lance 160368 163430 3062 HHarry 146778 159963 13185 lw119 153569 155731 2162 I_am_Canadian 151569 152072 503 The+Jamalam 151137 151488 351 DJ+Radio 147866 148745 879 marc.cryan 144662 146798 2136 wizgirl 142381 143819 1438 susanrm 136406 139041 2635 Goodhart 138124 138622 498 Mr.Sanchez 130187 130916 729 The+Papier+Boy 129344 129989 645 Killer%7ESafeCracker 124749 126290 1541 fjordcarver 102273 116380 14107 MichelMoermans 114902 115589 687 Biggsy 112201 113297 1096 dombeef 104672 105166 494 cammers 102401 103206 805 blinkyblinky 100994 102618 1624 mman1506 99802 100502 700 KoffeeKommando 91686 92937 1251 monsterlego 82636 87895 5259 Shadowman39 87031 87480 449 beanieostrich 84463 85313 850 LargeMouthBass 83461 84473 1012 Re-design 83210 83702 492 agis68 82505 83020 515 The+Ideanator 76557 76960 403 ajleece 73560 73759 199 diyoutdoorsman 71112 71949 837 kelseymh 71252 71733 481 cdawisconsin 70534 71290 756 TabbyDeAnne 69590 70341 751 Winged+Fist 69106 70106 1000 TitanTechRobotics 68899 69360 461 arthurb 68085 68292 207 Sunkicked 65648 66004 356 coolpizzadude 65503 65933 430 EmmettO 65104 65394 290 Win+Guy 63486 63968 482 mkanoap 62744 63111 367 jwystup 60641 60927 286 Berkin 59294 59635 341 lizzyastro 58165 58814 649 nickodemus 55537 55910 373 iceng 54834 55477 643 knuckel 55120 55419 299 TSC 51766 52114 348 cbm104 50795 51269 474 kcls 50852 51165 313 Mimikry 50237 50776 539 ahrshin 49938 50529 591 ilpug 49365 50503 1138 Z.Backas 49812 50041 229 krysteanuh 48738 49235 497 lilyfrancis 48105 48268 163 razvan_iycdi 44505 45640 1135 steveastrouk 45011 45495 484 tqwerty 45089 45482 393 MotaBoi 45121 45329 208 patriots8888 44982 45261 279 Rob+O 44259 44832 573 Bot1398 43650 44818 1168 possum888 43428 43711 283 zack247 41609 42126 517 drknotter 41522 41900 378 splazem 40970 41411 441 Tornado96 40930 41325 395 qazwsx755 40000 40561 561 Data643 39917 40143 226 canucksgirl 35921 36970 1049 shadowninja31 36635 36787 152 lil+larry 36225 36655 430 Sorunome 35713 36260 547 Derin 35739 35942 203 peguiono 35157 35272 115 plane+phanatic 33557 33743 186 zurichko 31159 31388 229 CrayfishYAY 31007 31120 113 Dr.+Pepper 29782 30002 220 poofrabbit 28326 29225 899 Twinmum 28887 29165 278 m6233555m 29021 29079 58 Knex_Gun_Builder 28927 28997 70 fdmjh 28273 28476 203 nutsandbolts_64 27731 28013 282 Legofanatic 27704 28009 305 aeronut01 27481 27700 219 colorex 26205 26555 350 bwrussell 26205 26370 165 mJusticz 25728 26148 420 Zaphod+Beetlebrox 24652 25857 1205 floris2burn 25396 25506 110 Tom+Buckey 25044 25106 62 mistyp 23747 24054 307 Nostalgic+Guy 23633 23743 110 RollerScrapper 22965 23320 355 robot1398 22637 22975 338 knexinventer 22419 22668 249 zascecs 22419 22475 56 acidbass 22144 22354 210 username252 20908 21088 180 A-Nony-Mus 20757 20983 226 knexsuperbuilderfreak 19112 19165 53 bricabracwizard 18616 18846 230 iproberry1 16561 17294 733 Football+viking+boy 16687 16853 166 LoneWolf 15908 16072 164 Mahmoud+Alaa 14812 15959 1147 Super_Nerd 15499 15829 330 masterochicken 15691 15759 68 Kryptonite 15486 15722 236 RNB 14382 14522 140 NatNoBrains 14257 14398 141 FrozenStar 13824 13904 80 king1000 12975 13024 49 NachoMahma 12920 12942 22 moocowdog 12373 12452 79 cherishcherub 12118 12168 50 furrysalamander 11879 12046 167 TheMacyC 11389 11630 241 slithien 11454 11551 97 Kaptain+Kool 10951 11089 138 35Timmy 9722 9905 183 tech+dawg 9101 9601 500 wareneutron 9128 9268 140 thegeeke 7929 8387 458 tbcross 7880 7922 42 Randomguy65 7587 7749 162 emilyvanleemput 7075 7648 573 ElvenChild 7220 7307 87 happyjo 6941 7001 60 MegaMetal8 6675 6739 64 solarblade90 6184 6229 45 jamesdude 6187 6210 23 BladeFyre+Studios 5922 5963 41 Jag56 5852 5953 101 BLUEBLOBS2 4929 5879 950 nfk11 5664 5697 33 TheAwesomestDude 5234 5284 50 White+Shadow 5007 5147 140 rockhardmj 4912 5126 214 9400dk 5020 5038 18 mg0930mg 4744 4757 13 neuropol 4616 4686 70 iApple+guy 4410 4522 112 AwesomeSwordGuy 4208 4241 33 shadon 3729 3761 32 LivStoleYourPie 3482 3525 43 cj81499 3074 3085 11 cyanyears 2957 2983 26 PotatoCoffee 2817 2902 85 gmxx 2844 2867 23 Black+Panther+Knex 2292 2313 21 vicvelcro 2199 2239 40 j.g.kuster 2111 2157 46 Mutantflame 2123 2125 2 The+Chunky+Sniper%21 1757 1806 49 FastLearner 1596 1611 15 daredevil499 1522 1551 29 protolabs 1110 1185 75 kyleslab 1058 1082 24 Jeff+Kallaus 1037 1045 8 CeruleanPhoenix 806 823 17 Alexvolos1 607 610 3 Fr-Pa-Co 479 483 4 %28YOUR+N 267 270 3 heratio 247 249 2 schumi23 127 132 5 lightingever 14 14 0

Posted by Jayefuu 5 years ago


HTML HOST?

I have written a website using html , javascript , css , php and i want a service that allows me to host my code for free and create a website using it without making me use its own templates. Please I need help

Asked by arv_christos 7 years ago


Orangebored bug

On orangeboreds you can't press anymore the next button to show more comments. PHP errors, read page is blank.

Posted by Sorunome 6 years ago


How do I login to a php page using sockets within mIRC ? Please go through the information provided. Thank you.

This is the info I have: :this.value);"> :this.value); this.type='password';"> How would I go about using the POST method using sockets in mIRC, I am able to connect just fine using the GET method. I am also able to pick up the value for PHPSESSID but unsure how to use it.

Asked by 8 years ago