scriptygoddess

Archive for February, 2003

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 […]

08 Feb, 2003

New author

Posted by: Jennifer In: Announcements

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 […]

07 Feb, 2003

Alternate color rows when displaying data

Posted by: Jennifer In: Lessons learned

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> <? […]

07 Feb, 2003

mySQL data to CSV

Posted by: Jennifer In: Lessons learned

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, […]

07 Feb, 2003

File Uploads in forms

Posted by: Jennifer In: Lessons learned

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?) […]

07 Feb, 2003

mailto links

Posted by: Jennifer In: Lessons learned

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

wonderPortal 0.5 beta

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 […]

06 Feb, 2003

Scriptygoddess Development

Posted by: Jennifer In: Announcements

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

05 Feb, 2003

Wander-Lust features Scripty

Posted by: Jennifer In: Announcements

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

Entry popups with thumbnails using PHP

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

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements