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 the body:
mailto:name@domain.com?body=something%20nice
bring it all together:
mailto:name@domain.com?
cc=ccname@domain.com&
bcc=bccname@domain.com&
subject=tell%20me%20something%20nice&
body=something%20nice
(side note: I put these on seperate lines, but when you use this you have it make it all one line without any spaces or line returns)
So this probably goes without saying – but these "mailto" lines would go into your html like this:
<a href="mailto:name@domain.com">email me</a>
See what I mean
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 variety of timezones gets pretty unwieldy. I've been toying with an idea for a solution that might fix this problem, and only recently got a chance to sit down and start working on it. It seemed like the right thing to do would be to create a set of PHP scripts that used an XML-RPC ping to trigger a PHP script, which would fetch the information the portal needed and save it into a mySQL database. That's what wonderPortal does. (…and will do on wondergeeks.net as soon as I can get some other things finished)
Read the rest of this entry »
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 do. So, that has kicked me into gear for finally creating the "development" portion of scriptygoddess.
One of the side bar boxes will feature the 5 most recent projects… the "development" section is woven into the site, and I'll still need to do some work on the usability of how you find it (I think I need to add it to the top nav up there) – but it's a start. Hopefully over the weekend I'll be able to post some of the script requests I've gotten and you can all go to town and flex some of those scripty skills we've all been working on. 😉
I'll say this again, but just to explain – this is all about learning. There's usually more than one way to solve a problem so if you have a different spin on it contribute!!. And even if you don't have the full solution, if you only have a part – contribute!! – your piece plus someone else's piece.. and so and and so on – and suddenly we're taking over the world! MUWAHAHA!! Oh.. wait… I mean we writing some scripts :-}
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. I wrote it up, stashed it on my hard drive, and totally forgot about it.
Read the rest of this entry »
Comments Off on Entry popups with thumbnails using PHP
30 Jan, 2003
Posted by: Jennifer In: Bookmarks
I finally got a chance to click on the link to Brenna's page from Girlie's post about the comments (see my last post)… Wow! She's got a ton of great examples for php and mysql and stuff there
Comments Off on Plethora of php and myql examples
30 Jan, 2003
Posted by: Jennifer In: Bookmarks
Last night in my freelance work, I hit the "A-HA" moment on three seperate issues I'd be fighting with for a long time. Probably simple concepts to some people, but they were a bit of struggle for me. I just wanted to make a note (partially to myself) about what I learned, so I don't forget it! And also, in case it helps somone else who had been fighting with the same concepts.
Read the rest of this entry »
Here's a neat little table border and background color tester tool.
25 Jan, 2003
Posted by: Jennifer In: Bookmarks
I don't have much time to browse the MT forums – but had some "downtime" this afternoon to do so. There's often a lot of tricks for PHP in there. I found this thread, and towards the bottom, phideaux posted a neat trick to make using includes in your code easier.
The idea is you always use one directory for your includes. In your .htaccess file you add this line
php_value include_path ".:/home/user/public_html/includes"
Then any time you want to use an include in your file, you don't have to deal with typing out the big long absolute path (ie. /home/user/public_html/includes etc etc). All you need do is this:
<?php include("header.php"); ?>
Neat trick!