Skip

4 posts tagged with PHP by willnot.
Displaying 1 through 4 of 4.

Can you use mail() in PHP without creating an unsecure, open mail relay?

Can you use mail() in PHP without creating an unsecure, open mail relay boon to spammers everywhere? I keep trying to read This Page, and I think I understand it, but I'm not sure. [more inside]
posted by willnot on Dec 28, 2005 - 9 answers

Please help me get my head around multidimensional arrays in PHP.

Please help me get my head around multidimensional arrays in PHP. [more inside]
posted by willnot on Nov 23, 2005 - 20 answers

In PHP, is there a way for a page to determine where it is in a site's directory structure?

In PHP, is there a way for a page to determine where it is in a site's directory structure? I'm new to PHP, and I want to create an include that will contain my global navigation. The problem I'm having is that I can't figure out how to do that with relative URLs since the include could be written to a page in any of several directory levels. I'm sure this is a solved problem, there's probably even a built in function, but danged if I can find it. So 1, How do I have PHP build my relative URLs based on where they come up in a site's directory path? And 2, where do I go in the future to find this kind of stuff out for myself?
posted by willnot on Nov 4, 2005 - 21 answers

How do I create users in MySQL, and how do I learn to use MySQL

I want to learn PHP and MySQL. I just installed both onto my Mac OS 10.4.2 machine to serve as a sort of testing ground. I also downloaded CocoaMySQL. It's asking for a host, user and password. I assume the host is localhost. However, I can't figure out how to create a user. Can anybody help with that? Also, what would you recommend as the best learning resources for somebody who can get around HTML and CSS, but has very little programming experience?
posted by willnot on Sep 30, 2005 - 8 answers

Page: 1
Posts