php-windows Digest 22 Jul 2004 14:31:44 -0000 Issue 2329
Topics (messages 24238 through 24241):
1 item remaining in IE6
24238 by: Daniel Crespo
Re: php5 and phpMyAdmin
24239 by: Paul Kain
Re: Handling Linux directory paths in Win32
24240 by: Jason Barnett
Web site Templating (ie: patTemplate orSmarty)
24241 by: Jim MacDiarmid
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi all.... Maybe, this is not for this discution group. However, I'll try to
get help.
I have an archive (image.php) that receives certain parameters to draw a
line (if someone want an example of this, tell me). In my page, a make a lot
of image.php requests, and the page where I'm putting them shows at its
status bar: "(1 item remaining)". I'm completly sure that that item is one
of the images generated by image.php. No matter how many images I'm putting,
I almost always get the "1 item remaining" message.
I visited various forums, and it seems to be an IE bug. Anyway, I want to
know if someone here know something about this.
Thanks.
--- End Message ---
--- Begin Message ---
Greets.
mysql turbo manager Enterprise edition.
http://www.softforall.com/BusinessFinance/DatabaseManagement/MySQL_Turbo_Manager_Enterprise02030059.htm
has built in support for php coding mysql and java.
not freeware though.
Paul
On Wed, 21 Jul 2004 21:12:34 +0100, Adrian Cooper <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > My apologies, I quit using phpmyadmin before php5.0.0 came out
>
> Is there anything better than phpmyadmin out there that works with Windows?
>
> Thanks!
>
> Regards,
>
> Adrian.
>
>
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I actually use Apache so I knew it was safe for that, but didn't realize it
would work for IIS as well (you just never know with Microsoft ;) ). Good to
know, thanks!
Paul Menard wrote:
Just a comment or thought on Jason's reply. I thought you could use '/' as the
seperator and the
PHP engine would figure out based on the run-time OS what the actual path format would
be. Hence
you can use actual path names like;
E:/path1/path2/path3/somefile.php
in your include and require statements.
At least my code uses the '/' on these types of paths and works fine on Windows and
*nix systems.
IIS and Apache both.
FPM
--- Jason Barnett <[EMAIL PROTECTED]> wrote:
I've run into this exact problem many times. Two things:
1) use the PEAR constant DIRECTORY_SEPERATOR, or define it yourself
if (PHP_OS == 'Win32' || PHP_OS == 'WinNT') {
define('DIRECTORY_SEPERATOR', '\');
} else {
define('DIRECTORY_SEPERATOR', '/');
}
2) I have two ways that I solve the relative include problem.
a) include_once dirname(__FILE__) . 'path/to/relative/include.php';
or for class libraries
b) function __autoload($class) {
// Use your own logic, I have mine defined to do PEAR-like loading
$file = str_replace('_', DIRECTORY_SEPERATOR, $class);
include_once($file . '.php');
}
As that would mean the macro code would not slow the linux
machine down at all when running the php script if it did
not even have to evaluate to see if it did need to run the
macro function, although I know php is a scripted language
and not compiled like C/C++ so I don't think its possible
Note: PHP goes through the compile step, it's just that everything is compiled
on demand.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi everyone,
I'm interested in taking the next step and learn templating. I've been
toying with one called patTemplate, however I'm a little confused by it. I
understand the concept, but I'm having trouble getting things to flow
correctly. Logic such as how to process forms, etc. I was wondering if any
of you could be of help? PatTemplate looks like it's fairly straight
forward however there does seem to be very much activity from the looks of
the forum on the patTemplate web site. I was also thinking about taking a
look at smarty.
Any help or direction would be very appreciated.
Thanks,
Jim
--- End Message ---