RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
server in your current execution context. Again exposing you to arbitrary code being run on your server. Hope this helps, James Harrell http://celestia.cbstech.com -Original Message- From: Alex Hogan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 1:47 PM To: PHP General list

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
,$andsuch); ... ... display_block($header2,$content2,$link2,$andsuch2); ... ... ? Or as an object: ... $block=new Block($header,$content,$link,$andsuch); $block-display(); ... Regards, James Harrell http://celestia.cbstech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] protecting your source code?

2004-06-14 Thread James Harrell
Hi Edward, Check out the Zend Encoder: www.zend.com To run encoded/compiled programs, the server will need the (free) Zend Optimizer, available for download at the same location. Zend has a small-business program that if your yearly revenues are less than some magic number, you get a major

RE: [PHP] Load Data

2004-06-10 Thread James Harrell
Hi Juan Pablo, LOAD DATE INFILE requires the FILE privelege, and the MySQL server process must have permissions to read the file in the named directory. Most times one or both of these requirements cannot be satisfied easily, particularly in a web environment. You can get around both permissions

RE: [PHP] session.use_trans_sid = 0 does not work!!!

2004-06-10 Thread James Harrell
Hi Robert, The initial links have session id's appended since upon the very first entry into the site, no PHPSESSION cookie is available. PHP appends the session id in the event no cookies are available- it doesn't know yet whether you have cookies on or not. If you want to forcefully remove

RE: [PHP] Remote include

2004-06-09 Thread James Harrell
Greetings Tumurbaatar, That would work- and you shouldn't need any special mime types; URL_fopen must be on and you simply use include() to get the remote file read into the current one and executed. But I highly suggest you find an alternative method- since this can expose you to several

RE: [PHP] Simple cms type system

2004-06-09 Thread James Harrell
Hi Ryan, Ours isn't open source, but does come with source available for the display modules: http://celestia.cbstech.com You can strip down what features are available by removing modules from the core system. Only replying with a plug of our own product since it was specifically asked for. Is

RE: [PHP] Expedia.com

2004-06-09 Thread James Harrell
Hi Rene, Here's a thought- make your animated gif that's a grow-bar that fills from left to right. Maybe it maxes out at 99% or loops back around to 0 after reaching 100. :) Display this at the top of the screen - but not within a table that is part of the results display. More on why shortly.

RE: [PHP] Simple cms type system

2004-06-09 Thread James Harrell
Hey James, If its not open source...is it at least free? Thanks, -Ryan No, it's a commercial product. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread James Harrell
Hi Mike, I'm not certain if it can be configured in a VirtualHost block, though I know it can be configured in a Directory block (which is equally as useful). The problem I see below is you're using the wrong declaration; instead of php_value, use php_admin_value, ie: php_admin_value

RE: [PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread James Harrell
Oh- and don't forget to restart apache after your changes. james -Original Message- From: James Harrell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 5:44 PM To: Mike Zornek; [EMAIL PROTECTED] Subject: RE: [PHP] Can I set a different include path per Apache Virtual host? Hi

RE: [PHP] script location

2004-06-04 Thread James Harrell
See the parse_url() function. -Original Message- From: Matt Matijevich [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 9:57 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] script location [snip] http://www.nowhere.com/test/whatever/testing.php All I want out of

[PHP] When did mysql_query quit allowing multiple queries separated by a semicolon

2004-06-03 Thread James Harrell
. Anyone recall or know if this change occurred in a specific PHP version? Is it reasonable to assume it will not be added back in? Thanks, James Harrell http://www.copernicusllc.com http://celestia.cbstech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net