Re: [PHP] PHP.... i suck at it

2001-07-22 Thread Matthew Garman
Well, there are a few ways to do it. The secret is to know a little bit of HTML. Another poster suggested using the (line break) tag. The paragraph tag would also work nicely: IP ADDRESS"; echo "$remote_admin"; ?> Or you could start to get fancy by doing it with a table: "; echo "IP ADDRES

Re: [PHP] inserting free-form text with quotes to mysql

2001-07-21 Thread Matthew Garman
Ahh yes, that was exactly what I needed. (I knew it was simple!) But that brings up another question: whenever I have POST information propagate over more than one page, is it generally a good idea to *always* use htmlspecialchars () on my data? I.e., even if the data shouldn't need htmlspecia

Re: [PHP] Re: a good PHP editor

2001-07-18 Thread Matthew Garman
On Wed, Jul 18, 2001 at 06:43:55PM -0400, Tom Malone wrote: > I think that both TextPad and NoteTab are excellent editors, with TextPad > being the better of the two. If it hasn't been mentioned already, check out vim (www.vim.org). I got hooked on it using by using Linux. This summer I'm inter

Re: [PHP] learning PHP from scratch

2001-07-17 Thread Matthew Garman
On Tue, Jul 17, 2001 at 04:55:11PM +1000, Jason Rennie wrote: > > > This approach worked pretty well with previous people i teached > > > PHP, but they already had some sort of programming background. > > > This guy hasn't. I find that he has some difficulties picking > > > it up. And I have so

[PHP] image "forwarding" through a proxy?

2001-07-16 Thread Matthew Garman
At the organization I'm interning at this summer, we have an intranet web. My job is to update, maintain and enhance it. On the main intranet web page, there's a weather channel "magnet" that displays the local weather conditions. Now, since not everyone has inTERnet access, some people simply

Re: [PHP] "report" generation with PHP

2001-07-16 Thread Matthew Garman
On Mon, Jul 16, 2001 at 05:19:41PM +0300, Marius Andreiana wrote: > În 16 Jul 2001 09:07:17 -0500 garman a scris: > > I forgot to mention that I already looked into the PDF extensions. > > Although > > it looks like it would do exactly what I want, the PDFLib isn't free for > You can generate xm

[PHP] php file extensions with IIS

2001-07-16 Thread Matthew Garman
I installed PHP 4.0 on an MS Windows 2000 server (running IIS 5.0). It processes files whose extension is ".php" but displays files with ".php3" and ".php4" extensions as text. I might have specified such behavior in the original installation. But now I can't find out where to associate other

[PHP] "report" generation with PHP

2001-07-16 Thread Matthew Garman
Hello: I wrote an small web application that interfaces a Microsoft Access database. The database is fairly small and simple: it is a listing of employees, their phone number(s) and their department. My interface allows folks to view the phone list, search for a name, list by department, etc.,