Ok… this is my first post here, so I'm going to start out relatively small. While I was working on the update of my flip gallery script today I needed a way to check a variable for a particular string, and if that string didn't appear I wanted to execute any php code that was […]
We've just added a new author here: Adam of gessaman.com. He's got a ton of programming and scripting knowledge – and he basically blew me away with that flip gallery script he did and he's actually just recently updated it. As well as a script he's working on for the photobloggies (one which the original […]
Again, another "not so interesting for blog stuff" type post. If you're displaying several rows of data and would like to alternate the background colors of the rows so they're easier to read: <? for ($i=0; $i<$someNumber; $i++) { ?> <tr <? if ($i%2) { ?> bgcolor="#CCCCCC" <? } ?>> <td>data</td> <td>more data</td> </tr> <? […]
This isn't exactly useful for blog stuff – but if you're using mySQL for a business application, then downloading your data into a CSV file (CSV = Comma Seperated Values) is probably something that might come in handy. The key that I've found is that you can have any kind of characters inside each field, […]
Some notes again (mainly for myself) but maybe it'll help someone. Problem: Create a form that (after inserting data into a database) takes a file and uploads it to the server after renaming it with the timestamp, auto_incremented id, and a value from one of the fields from the mysql insert. (heh. Still with me?) […]
There's a bunch of things I need to get up here, but I guess we'll just do this one piece at a time. Mailto links. Here's some basic formats to get certain fields prefilled: with cc: field: mailto:name@domain.com?cc=ccname@domain.com with bcc: field: mailto:name@domain.com?bcc=bccname@domain.com with subject field: mailto:name@domain.com?subject=tell%20me%20something%20nice (side note: use %20 for spaces) with text in […]
06 Feb, 2003
Posted by: amy In: Scripts
My friends and I maintain a variety of personal sites. When it became too unwieldy to check every site, every day, we started using wondergeeks.net as a portal for all of our sites. Since that time, we've never been happy with it. We've got people (and sites) scattered from England to Hawaii, and the wide […]
When I first started scriptygoddess I thought that having a second "sub" part to the site where everyone could collaborate on scripts would be a neat idea. With my addition of the "script request" on the main page, I've gotten requests, I may or may not be able to do myself, or know how to […]
Comments Off on Scriptygoddess Development
We're being featured on the Wander-Lust site. Very kind words there. Thanks Rick! (BTW – I LOVE that butterfly there! :D)
04 Feb, 2003
Posted by: amy In: Scripts
Ages and ages ago, I used Lynda's code as a springboard to create a little PHP popup script. It had one limitation: you couldn't use it with photo thumbnails, because of how I'd coded it. Many months ago, someone asked for a version of the code that would base the popup link around a thumbnail. […]
Comments Off on Entry popups with thumbnails using PHP