[PHP-WIN] RE: directory manipulation [newbie]

2003-02-17 Thread Bobby Rahman
Hiya Im new to php and am trying to display filenames within directorys and be able to drill down into lower directories within an html page. I have this file displaydir.php $dir_to_be_read = "C:/Program Files/ApacheGroup/Apache2/cgi-bin/"; $current_dir = "$dir_to_be_read";

[PHP-WIN] RE: Warnings

2003-02-17 Thread Beach, Jim
I had the same message the other day. My line 5 is where I call a function. I had a tag as the very last line of a function but had it outside the closing brace } so I moved inside the closing brace } and the problem went away. -Original Message- From: Bobo Wieland [mailto:[EMAIL PROTECT

php-windows Digest 17 Feb 2003 14:19:12 -0000 Issue 1592

2003-02-17 Thread php-windows-digest-help
php-windows Digest 17 Feb 2003 14:19:12 - Issue 1592 Topics (messages 18562 through 18564): Open Source Tools 18562 by: Franco Pozzer Re: directory manipulation [newbie] 18563 by: Bobby Rahman Re: Warnings 18564 by: Beach, Jim Administrivia: To subscribe to the di

[PHP-WIN] < Previous and Next > Buttons

2003-02-17 Thread Matt Babineau
Hi All- I was wondering what the best way to create previous and next buttons when pulling products from a database? I haven't had much luck so far and was wondering if someone had an easy / efficient way to accomplish this? Thx- M

[PHP-WIN] Re: < Previous and Next > Buttons

2003-02-17 Thread J.Veenhuijsen
I once used the script below on a dbase database. Jochem
$step=30;

$file_name='dbs/files.DBF';

$ret=dbase_open($file_name,0);

$max=dbase_numrecords($ret);

if (isset($start))
{
$start_record=$start;

[PHP-WIN] PHP Classes, what the heck??

2003-02-17 Thread Matt Babineau
I have read a little about PHP classes, my question is what good are they really? What are some examples that I can use these to my advantage? Are there any really good tutorials about these aside from the PHP.net site? Thx~! Matt

[PHP-WIN] RE: Warnings

2003-02-17 Thread Brian 'Bex' Huff
you guys should really search the archives for answers, this is a very common problem: http://marc.theaimsgroup.com/?l=php-windows&w=2&r=1&s=headers+already+sent&q=b Here's the thing... the session stuff is done with HTTP cookies. Some people do it with session vars in every URL, but most of t

RE: [PHP-WIN] PHP Classes, what the heck??

2003-02-17 Thread Matt Hillebrand
Matt, Object Oriented Programming (OOP) is good because it promotes code reuse and code encapsulation. Well, PHP4 doesn't do a good job of this. I love OOP, but I'm waiting for PHP5 to do any OO with PHP. Stick to procedural PHP for now, and you'll be just fine. Matt Hillebrand |-Original Me

[PHP-WIN] mail() CC: header

2003-02-17 Thread Matt Hillebrand
Has anyone here successfully sent CC headers with mail()? It simply won't work for me. I get different errors depending on which mail server I use. Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] < Previous and Next > Buttons

2003-02-17 Thread Chris Kranz
Sorry I can't be much more help than this... but lookup the LIMIT function for MySQL. If you track how many records your displaying on each page, and what record your on, it's pretty straight forward to make next, prev page navigation. Next and prev will obviously have pointers to whatever record y