[PHP] Automatic .htaccess Authentication?

2003-02-27 Thread Nick Oostveen
I'm looking for a way to have php automatically log a user into an htaccess protected directory. My problem is as follows. I currently have a large number of php scripts which use a database authentication system. Unfortunately, there are also a number of old CGI scripts which need to be

[PHP] Medium to Large PHP Application Design

2003-01-09 Thread Nick Oostveen
benefits do they bring to the table? These are just some of the questions that I'd like to see expanded upon, I'm sure there are others out there who can add more to the list. Nick Oostveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Domain Security Restrictions

2002-11-10 Thread Nick Oostveen
functions on a domain by domain basis. 3) Disable php entirely on a domain by domain basis. Any help or advice with any of the above would be greatly appreciated. Nick Oostveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php | Architect Magazine?

2002-11-09 Thread Nick Oostveen
Has anyone taken a look at this magazine yet (www.phparch.com)? I came across mention of it on Slashdot earlier today and it looks interesting. I am considering subscribing but wouldn't mind some feedback about the overall quality of the publication beforehand. Nick Oostveen -- PHP General

[PHP] PHP Shopping Carts

2002-10-15 Thread Nick Oostveen
) products out there and would appreciate hearing your experiences and recommendations so that I can filter out the good from the bad. Thanks, Nick Oostveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Persistant Connections

2002-08-14 Thread Nick Oostveen
Persistent connections are typically a good thing to use on high traffic sites as they offer better performance than opening and closing connections for each database request. The reason for this is the overhead used in opening a database connection is actually quite high. While keeping them

Re: [PHP] PHP - class question

2002-08-14 Thread Nick Oostveen
If you are just trying to access a classes functions without creating an instance of it you're probably looking to use the scope resolution operator ::. For this to work all you have to do is ensure that the definition for the class you wish to use is included into the file containing the

Re: [PHP] PHP warning with 4.2

2002-08-08 Thread Nick Oostveen
You should be able to fix this by changing the function DECLARATION for the argument in question to take the variable by reference instead of by value (which is the default). So it should be something like: OCIFetchInto ( $var1, $rvar2, $var3 ) What you are currently doing is specifying at

Re: [PHP] Why Protect PHP coding?

2002-08-02 Thread Nick Oostveen
Check out the Zend Encoder at http://www.zend.com to generate encoded php files. It is, however, a bit pricey. At 12:47 AM 8/2/2002 -0400, php banana wrote: Just out of curiosity when and why? Is there any method to encrypt PHP files. Nyon -- PHP General Mailing List

Re: [PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Nick Oostveen
Does the user apache is running as have access to reboot the server? At 07:18 PM 8/2/2002 +, you wrote: I am using the below command in the php page to reboot the linux server. But nothing happens . Where am i wrong or do i have to give a path or nething . Please help. $output =

Re: [PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Nick Oostveen
I could be wrong on this but I believe that Oracle 8i uses a proprietary join syntax. This support has been added in the latest version of Oracle, but with 8i I believe you're out of luck using the left join keywords. Check out

Re: [PHP] calling user-defined php functions from a href tag

2002-07-26 Thread Nick Oostveen
Check out http://www.faqts.com/knowledge_base/view.phtml/aid/277/fid/40 Essentially you'll want to use this this combined with get variables hard coded into your url. For example: a href=script.php?action=function1function 1/a a href=script.php?action=function2function 2/a At 11:13 PM

Re: [PHP] Parse error - new set of eyes?

2002-07-25 Thread Nick Oostveen
Ok, I noticed a couple things. One: There's no } ending your elseif statement. Two (and the big one): Why all the opening brackets before your isset() functions? I'm not sure if you're trying to do some nested logic in there, but if so it will be much more readable if you use nested if

[PHP] GIF Manipulation

2002-07-16 Thread Nick Oostveen
to an older version of GD (and loosing PNG support in the process)? Nick Oostveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Development Tools

2002-07-10 Thread Nick Oostveen
A good, well designed, development tool can provide a huge productivity boost over an editor if it's used properly. And I don't mean auto-generated code by this either. Right off the bat, any good development tool will have code completion abilities, which are basically the programmers

RE: [PHP] Development Tools

2002-07-10 Thread Nick Oostveen
While I can't speak for others, in our office we use template files which contain all HTML and then parse content generated from php scripts into them about 90% of the time. Not only does separating your code from your HTML make it easier to change the look of a site, but it also makes the

[PHP] File Uploading Question

2002-07-10 Thread Nick Oostveen
I've got a (hopefully) simple question which is indirectly related to php. I'm currently developing an application which includes functionality to allow users to upload image files. Does anyone here know of a way to customize the look of the HTML file input type? By this I mean changing the

Re: [PHP] PHP code optimization

2002-07-09 Thread Nick Oostveen
I could be wrong, but I seem to remember reading somewhere that using ? text ? is actually just shorthand for echo text ; as far as the php engine itself is concerned. Again I'm not positive, but if this is the case it would coincide with the comment made earlier that they are in fact the