I know how to make database-driven web sites using Windows servers, Access, IIS, and ASP.
I want to learn how to do the same using Linux, Apache, MySQL, PHP, and... whatever you use instead of Access.
Where do I start?
posted by Mwongozi
on Dec 10, 2004 -
18 answers
Payment gateways ... A customer of mine is using Fast Transact as their merchant gateway. I would like to implement automatic payment processing through their gateway in PHP, but I can't find a code library that someone else has written that implements the Fast Transact gateway in PHP. Have you?
[more inside]
posted by SpecialK
on Nov 23, 2004 -
6 answers
I need be somewhat familiar with JSLT for a job interview/test next week. Anyone know of any good tutorials or have any magic tips? I'm coming from a PHP background and have never worked on a JSP site before.
posted by 4easypayments
on Nov 22, 2004 -
7 answers
MySQL, Apache, and PHP:
I can pull a phpinfo and it says that both mysql and dbx functions are compiled in and enabled, but when I run mysql_connect or dbx_connect, it can't connect. Apache and PHP work together and I can get into MySQL and do stuff via client. How can I make them talk when everything else I have says that they should already be talking?
[more inside]
posted by SpecialK
on Nov 15, 2004 -
16 answers
I am looking for a simple script (perl,php,whatever) or even binary utility that can programatically render graphical images in this manner: take XYZ font (true-type/postscript/whatever) and render an image with the text ABC.
Does such a thing exist?
posted by xmutex
on Nov 12, 2004 -
13 answers
I'm writing some php functions to produce graphics of 3D pie charts. I don't remember enough trig to actually pull this off. [more inside]
[more inside]
posted by y6y6y6
on Nov 8, 2004 -
7 answers
I need a package to facilitate collaboration among a group of people spread across the Internet/globe. Ideally it would track staff, projects, to-do lists and contacts. Open source (PHP/mySQL) would be ideal. Any suggestions?
posted by Leonard
on Nov 4, 2004 -
11 answers
myPHPadmin : I'm trying to get it to run an line of MySQL and it's complaining. Anyone got any thoughts? [MI]
[more inside]
posted by twine42
on Nov 4, 2004 -
8 answers
FilterFilter: Recent forays into php programming have lead me to the conclusion that it's really hard to stop people adding javascript hacks, dodgy html and injected SQL queries into the box which says "post this to my site". Are there any known, good and actively managed libraries which allow me to sanitize any html entered in, for example, comment boxes so that I can stop the hacker ownzering my site?
posted by seanyboy
on Oct 14, 2004 -
7 answers
PHP / MySQL Q: Is there anywhere I can get a script that will scan the contents of a page when it loads and replace a certain value with a string of text? {more}
[more inside]
posted by dobbs
on Oct 4, 2004 -
9 answers
I need a php or cgi image uploader script that's hopefully not too difficult to install. I'd like to be able to give some family members a place to upload pics so that they can link to them for whatever reason. I'd like them to be able to upload one or multiple pics, and a huge bonus would be if it could show the url for each pic uploaded, so that absolutely no thinking is required on the part of anyone who doesn't get the intarweb (which is most of my family). ------->
[more inside]
posted by iconomy
on Sep 28, 2004 -
7 answers
Programming Filter: I need some advice on a tree-building algorithm. (Tree as in the "+" and the tree branches out, like in Windows Explorer.) The language is PHP, but since I'm looking for an algorithm rather than actual code, any programmer with mad skills should be able to help. More inside.
[more inside]
posted by SpecialK
on Sep 27, 2004 -
16 answers
My dad uses WebTV to surf the net and send email. However, we're discovering that he can't see pages that end in .php, which rules out my Gallery site, which is one of the main reasons he got on the net in the first place. Anyone have any ideas for freeware/open source photo sites as good as Gallery, but that can be viewed in WebTV? (Thanks to silusGROK's question below for reminding me to ask this.)
posted by stupidsexyFlanders
on Sep 23, 2004 -
6 answers
A couple months ago my site was lightly hacked. It happened again on a site for a friend of my father, possibly not as lightly. -->
[more inside]
posted by sailormouth
on Sep 14, 2004 -
4 answers
As a self-imposed php refresher, I've recently been toying around with writing custom movable type submission frontends for a few less web-literate family members (Basically just simplified forms that throw the user input into the MT mysql database). I've got everything ticking along nicely, but none of the submitted entries will show up until I log in and rebuild the site from within movable type. My question: Is there some way to either force a rebuild from a custom form, or automate a rebuild? I've searched the MT forums with no success. I'm using MT 2.64 with minimal knowledge of its inner workings. Any suggestions / pointers / links are appreciated!
posted by adamkempa
on Sep 8, 2004 -
6 answers
I need to test a series of functions in PHP. The functions return a boolean value for a series of conditions (e.g. if the user has foo and bar, but not hotch, then return true.) My problem is that there are a potential of over 1000 cases to test. Can anyone suggest a way to automate this process?
posted by grefo
on Sep 7, 2004 -
5 answers
I know, I know -- not
another web photogallery AskMe question, but: I've actually settled on the gallery itself. I'm using JAlbum. Having made the choice, though, I'm left with two questions:
1. JAlbum makes nice galleries, but doesn't create a top-level index page. (I could hand-code it, but my wife will be doing most of the updating and I don't want her to have to go mucking around in HTML.) The easiest solution, I'd think, would be just to reformat the directory listing into something attractive -- all I really need to communicate to the user is descriptive folder names and upload dates, but I'd prefer to make something more handsome than the standard Apache page. Can anyone recommend a particular PHP file system manager or other solution?
2. JAlbum's auto upload is ridiculously slow -- better just to FTP it. When JAblum makes a gallery, though, it includes a lot of stuff I'm not using -- icon sets, borders, etc. It's not a ton of space, but I'm going to uploading a lot of these galleries, and it'll add up. Is there a programmatic way I can stop JAlbum from including all this, instead of weeding it out before each upload? (I'm using the BluPlusPlus skin.)
posted by blueshammer
on Sep 5, 2004 -
1 answer
I need to set up a database-driven document archive of mostly text files and links. I want the archive to have a tree structure and allow the public to browse it without logging in. I want each file to have a description. I prefer PHP or Perl and need to use it on a shared hosting account. I would think something open source like this would be out there, but I can't find it. Any advice?
posted by johnnydark
on Sep 4, 2004 -
2 answers
Does PHP5's newfound SOAP functionality truly support complex types? [more inside]
[more inside]
posted by Danelope
on Aug 17, 2004 -
0 answers
htaccess, SSI, and PHP parsing. Can one file get both php and ssi parsing? if yes, how, if not, help! [*]
posted by gramcracker
on Aug 11, 2004 -
10 answers
I build a lot of "community" sites - that is, not web communities, but websites that support specific communities. So I'm hunting around for a good set of decent and free PHP/MySQL scripts to do the sorts of things these communities often demand. Now up? A
public events calendar and
classified ads. AskMeFi has
helped before, so hat in hand, I come back to the well hoping for more. [More Inside]
[more inside]
posted by pzarquon
on Aug 6, 2004 -
2 answers
GeekLearningFilter: I need to learn how to do some fun stuff with php and MySQL or PostgreSQL. Of course I shall expand on this within...
[more inside]
posted by Dreama
on Jul 19, 2004 -
5 answers
What's your favorite WAMP installer? (and, of course ,why?)
posted by signal
on Jul 19, 2004 -
4 answers
Which Dreamweaver MX 2004 extension do I need? --So my company insists on using this crazy versioning system (TeamSite) which means that every edit I make to my project site can only be viewed after no less than seven interim steps. All I want to do is view my edits locally before I go through the hassle that is uploading to the development workarea. [mi]
[more inside]
posted by precocious
on Jul 12, 2004 -
8 answers
Is there anyway to have MT use PHP's built-in mail function, instead of SMTP or sendmail to send me my forgotten password? [more inside]
[more inside]
posted by kchristidis
on Jul 10, 2004 -
6 answers
Does anyone know of a Perl or PHP or Python script that can basically do the same thing that del.icio.us does? I also wonder whether the code of del.icio.us itself is for sale.
posted by hoder
on Jun 28, 2004 -
6 answers
I have Apache 2.0 running. I can easily set stuff up like mod_perl and PHP. I want to start developing w/ Java and I want to run servlets and Tomcat scares me. Does it run under Apache? Seperate from Apache? Any info appreciated.
posted by xmutex
on Jun 23, 2004 -
5 answers
I like to code my PHP scripts on my Windows machine in TextPad, then upload them to the server to test/debug them. But constantly FTPing files while debugging is the pits. What's the answer? Install PHP locally? Break down and learn to use
vi? What's a programmer to do? What would
you do?
posted by vraxoin
on Jun 22, 2004 -
31 answers
Quick beginner PHP question. I'm messing around with loops. If I run an infinite loop, will it terminate when my session ends (when I close the browser)? Or will the server continue to process it forever, becoming a zombie process and overload the memory or something? I really don't want to mess anything up.
posted by banished
on Jun 20, 2004 -
7 answers
PHP Application Frameworks. Google and the other usual suspects seem to be pointing me toward the big guys, but I'm not looking for an enterprise-level framework, rather a smallish, lightweight tool that will--given some kind of definition information--render a reasonably simple administrative interface; i.e., the kind my grandma could use. I've been working on a homegrown version as a stopgap, but does anyone have any recommendations for something like this?
[more inside]
posted by oissubke
on Jun 3, 2004 -
6 answers
If you were writing a new p2p application -- leaving ethical and legal issues aside for a moment -- which programming language would you use? I know Visual Basic and PHP, but neither is really any good for this purpose. I dislike things that require the user to install a big VM (.NET, Java) and find C++ a complete nightmare.
[more inside]
posted by reklaw
on Jun 2, 2004 -
36 answers
Ok, another PHP question... this one less stupid than my last one (hopefully). XML/XSLT.... [mi]
[more inside]
posted by pissfactory
on May 26, 2004 -
1 answer
How do you read the first n lines of a file in PHP where the line lengths are variable and line n has '----------' on it (that is finding line n by pattern matching)? I see how to read the whole thing, but I only want a few lines of many files. (Has to work on Windows and Unix). Thanks.
posted by pissfactory
on May 24, 2004 -
9 answers
So here's a delightfully geeky programming question for those in the know: I need to build a system, preferably in PHP, with a highly extensible plug-in system. And I don't know where to start, although I figure an OO-orientated approach might help. Any ideas?
posted by bwerdmuller
on Apr 23, 2004 -
6 answers
php 4.35/win 2000/cgi question: having problems after upgrading from 3.x with session variables and redirects? any suggestions?
posted by specialk420
on Apr 16, 2004 -
8 answers
I've been fascinated for a while with stiff like tradesports.com and the ill-fated DARPA terrorism futures market, and got to thinking about building a fake, toy futures market. There are systems out there that simulate markets, but they're either simple portfolio charters or they have randomly wobbling shares. I'm much more interested in valuations created by groups of users gaming on the outcome of real events.
Ideally, as I'm very lazy, someone will have written one of these already, but I've googled away and had no joy. It could be me not knowing the lingo used to describe these things.
Failing this can anybody recommend a framework to work within? I'm thinking of something (probably the usual php/mysql) with e-mail/users/password recovery etc. built in for me to start from. Maybe the toy market would be best developed as a plug in to something?
[more inside]
posted by Flat Feet Pete
on Mar 28, 2004 -
5 answers
Photoshop gurus: I've got a rectangular photo, which I plop down in the middle of a colored background. I'd like to create a smooth transparency
gradient in the photo with respect to the background (more transparent at the top, opaque at the bottom). How would one do this?
(Specifically, I'm contructing a header image for a website... the top of the header is a solid color, with logo, etc. in it, while the bottom of the header is the photo. I'd like the solid area to dissolve into the photo).
Thanks- if anyone ever needs PHP/Postgresql advice, let me know!
posted by gsteff
on Mar 23, 2004 -
6 answers
Headaches of permanently pointing to an uploaded file via PHP (more inside, thank you very much).
[more inside]
posted by poopy
on Feb 27, 2004 -
5 answers
CSS or maybe PHP question about limiting the display size of content. More inside, of course.
[more inside]
posted by dobbs
on Feb 17, 2004 -
7 answers
I'm looking for a web-based (preferrably PHP) random text generator that generates grammatically-correct sentences based on a random vocabulary. I'd like to find an app that uses actual grammar (transitive/intransitive verbs, verb and noun phrase combinations and nesting, conjunctions, stacked clauses, etc.), rather than just markov chains. Also, I'd like to find something fairly robust, rather than just some javascript that slaps words together. Any suggestions?
posted by oissubke
on Jan 12, 2004 -
4 answers
I have been looking at changing my web development focus from Windows/ASP/.NET to LAMP(Linux, Apache, MySQL, PHP/Python/Perl) because my gut is telling me that this is where things are going. Oh, Java should be in there as well.
What's the skinny on LAMP in the real world (Netcraft
surveys aside)? Is it difficult to change to LAMP/Java? Is the open source thing really sticking?
posted by grefo
on Jan 9, 2004 -
14 answers
I'm trying to find a simple php program to track employee work schedules. Actually, filemaker pro would work for this, but they charge too much for the server version, and I'm fond of open source. More below...
[more inside]
posted by mecran01
on Jan 2, 2004 -
5 answers
I'm interested in filling out my workday learning perl, php and mysql at my own speed. I have no programming background. Anybody have any good experiences with any online courses, or any other advice? Money is not an object, what is important is good structure (logical progression of concepts) and the ability to get personalized help when needed.
posted by luser
on Dec 17, 2003 -
25 answers
I'm new to Mac OS X's command line and a little nervous about using it to install Mysql. After doing some research on the net I found what might be an alternative: installing Apache2, PHP4 and Mysql from
Server Logistics . The post claims that by also installing one of the Barebones text editors and Tinkertool I could avoid having to use the command line altogether. It was also suggested that the Server Logistics Complete Packages are more powerful versions of Apache and Php than apple ships (I'm on Panther). Has anyone done an install this way? Any other suggestions? Should I just get over it and use the damn command line?
posted by btwillig
on Dec 16, 2003 -
13 answers
How to parse unencoded ampersands in URLs in PHP with
preg_replace() while excluding already-encoded ampersands? (more inside)
[more inside]
posted by brownpau
on Dec 11, 2003 -
8 answers
I'm well and truly sick of hand-coding my website, and so it's about time I got myself some sort of blogging application. Because I'm a contrary type, though, I'd quite like to have a go at building it myself. What do you think - is there any point at all in my trying this? If there is, should I do it using PHP to edit an RSS file? And what features would you include if you were starting from scratch?
posted by calico
on Dec 9, 2003 -
25 answers