[PHP] Changing $PHP_AUTH_USER and $PHP_AUTH_PW

2001-05-24 Thread Derek
this possible?...and how? Thanks in advance for any help offered. Derek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] ldap object class violation with ldap_add in php4.0.4pl1

2001-06-20 Thread Derek
lass violation error number - 65 I can use the ldapadd client and load an ldif file containing exactly the same info into the directory. Why won't it work from within PHP I've included an excerpt from my code, below. Thanks in advance for any help. Derek 12 $ds

[PHP] LDAP

2001-06-22 Thread Derek
lass violation error number - 65 I can use the ldapadd client and load an ldif file containing exactly the same info into the directory. Why won't it work from within PHP I've included an excerpt from my code, below. Thanks in advance for any help. Derek $ds=ldap_connect("l

[PHP] postgres and php

2001-07-13 Thread Derek
anyone know how I force a case insensitive search through a postgres database. I've got a search looking for 'something like '%something%' but this won't find 'SOMETHING'...if you know what I mean!? Thanks in advance for any help Derek -- PHP General Ma

[PHP] how to handle LDAP referrals

2001-07-24 Thread Derek
master directory, but I wondered if there are any other choices avaiable to me. Thanks in advance for any help offered. Derek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] adding "Back to Search results" link

2007-08-15 Thread Derek
search again and again. "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Derek Moon wrote: >> I am trying to imporve a web application that my group uses. >> >> Basically there are 3 forms that work together Form 1 > form 2 &g

Re: [PHP] adding "Back to Search results" link

2007-08-16 Thread Derek
to the search page.> > People in my group use this form to update database information for a number > of items. Once they make changes, they would like to go back to the search > results, instead of having to run the same search again and again.> > > > > "Jim L

Re: [PHP] adding "Back to Search results" link

2007-08-16 Thread Derek
d"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Derek: > > Does "form 1" use POST or GET to call "form 2"? If it uses GET, you > could store the search page URL in a $_SESSION variable - something > like this in your search results (

[PHP] Problem with set_time_limit() and uploading large files

2002-10-25 Thread derek fong
ion_time', 6); before the set_time_limit() function, but to no avail. PHP is not running in safe mode. Does anyone have any ideas why this is not working as expected? I'm sure it's something obvious, but I don't know what it is. Thanks in advance, -f -- Derek Fong Web

Re: [PHP] Problem with set_time_limit() and uploading large files

2002-10-25 Thread derek fong
Thanks for the tips, but they all checked out in the end. After reporting it as a bug, it turns out it *is* a bug with 4.2.3 (whether it's only with Win2000, I'm not sure), but has been fixed in CVS. Now I can rest a little easier... =) -f -- Derek Fong Web Application Develope

[PHP] Interfacing with Perl Modules

2002-11-05 Thread Derek Belrose
es for dns, apache, etc, etc... The frontend should interface with these modules, calling their functions when needed. Does anyone have any ideas how I can do this? Derek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mysql_list_fields() bug?

2003-11-10 Thread Derek Ford
as said, use the global construct. This is a scope problem, read the manual about variable scope. php.net/variables.scope PS: sorry Jay, new mail frontend :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie question about scope

2003-11-12 Thread Derek Ford
news.comcast.giganews.com wrote: I am an experienced web developer who is just getting into php. I have had a php project fall into my lap and wanted a little advice. Here is the scoop: A client moved their site from a server (unknown details) to a hosting facility (php 4.3.2). Now none of t

Re: [PHP] Who controls PHP?

2003-11-15 Thread Derek Ford
John Nichel wrote: Chris Shiflett wrote: --- John Smith <[EMAIL PROTECTED]> wrote: >> Please, tell me that Zend is not the dictator here. No one is a dictator. Chris So there is an opening for a dictator then? How can I get my name on the ballot? ;) I am the only dictator here. -- PHP

Re: [PHP] Re: Moving to php

2003-11-16 Thread Derek Ford
DvDmanDT wrote: PHP is 99% (if not 100%) backwards compitable... PHP is even stable on WinME, and on XP.. Lots of ppl use it on 2k as well... Works fine.. And fast (well, depending on your installation and configuration)... Oh, and about support.. PHP on windows accutually have it's own official l

Re: [PHP] Re: Moving to php

2003-11-16 Thread Derek Ford
DvDmanDT wrote: Well, yes.. But chanses aren't all that big you'll find any bugs (at least not windows specific), unless you try the w32api extension or bcompiler combined with zend optimizer... I've ran into many. The ones that really take the cake are the streams bugs, which have been around

Re: [PHP] newbie stuck again

2003-11-16 Thread Derek Ford
PAUL FERRIE wrote: Here's what i have done. i have downloaded a very simple database manager from www.hotscripts.com. It allows me to edit, delete and add new information to the database. i have a couple of problems. 1. form field dont fill with all the data senback from the db to be edited, a

Re: [PHP] fgetcsv

2003-11-16 Thread Derek Ford
zhuravlev alexander wrote: Hello. I wonder if PHP has fgetcsv() function why doesn't PHP has fputcsv ? -- zhuravlev alexander u l s t u n o c ([EMAIL PROTECT

Re: [PHP] About iMail Help

2003-11-18 Thread Derek Ford
D. Jame wrote: Hi, Anyone know about imail.? could you be any more vague? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] eregi filter

2003-11-18 Thread Derek Ford
Erin wrote: Anyone have a good eregi filter for passwords? Regards R well, for one thing, don't use ereg. Use pcre, as it is faster. preg_match('/^[a-zA-Z0-9]{5,16}$/',$blah); that will validate a password containing only upper or lowercase letters and numbers, between 5 and 16 characters.

[PHP] where does "MAKE INSTALL" put PHP things?

2001-01-11 Thread Derek Sivers
When you do a standard PHP4 "apxs" configure... ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql where does it put files when you do a 'MAKE INSTALL' ?? (Or - how would I find out?) -- I have a Linux box that's having C-compiler problems. But since it's the EXACT sam

[PHP] HOWTO: Installation on Cobalt RaQ (RaQ3 or RaQ4)

2001-01-24 Thread Derek Sivers
I run about 8 Cobalt RaQ3 and RaQ4 boxes, and this is the installation procedure that always works for me. Don't use the Cobalt RPMs. They're bad & out of date. - GET THE SOURCE TARBALLS for MySQL and PHP4 from the command line: lynx h

Re: [PHP] include() & require()

2001-03-07 Thread Derek Sivers
>Which is the main difference between include() and >require() functions? "include" is optional you can put it inside an "IF" like this: if (0) { /* THIS WILL NOT SHOW... */ include "optional_file.php"; } but "require" happens every time, even if it is inside an "IF" that does no

Re: [PHP] payment - the death of CyberCash

2001-03-09 Thread Derek Sivers
Everyone so far has been recommending ClearCommerce: http://www.clearcommerce.com/ Since my site is 100% PHP and depends on CyberCash for sales, I'll let everyone here know what I find out about getting PHP to work with ClearCommerce or anyone else. -- PHP General Mailing List (http://www.

Re: [PHP] How to protect my scripts ???

2001-03-10 Thread Derek Sivers
>Can't the files be put into a directory that Apache has access to and >the users don't, and just ask the users to include them? Or put them >into a global prepend in a directory same as above? This isn't PERFECT, but I do this: #1 - make a user/group called "www" #2 - Set Apache to run as th

Re: [PHP] Sending "pretty" email

2001-03-10 Thread Derek Sivers
>I often receive email from commercial sites (e.g. ZDnet) that looks like >a Web page. How can I do that with Sendmail in PHP? The man page for "mail" gives an example of it. http://www.php.net/mail It's just one "$header" line, stating HTML, then the rest of your message should be in HTML:

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Derek Sivers
At 07:49 AM 3/11/01 , Richard Scott Crawford wrote: >The first thing to do is to take two aspirin and lie down until the >temptation to do this passes. It may be cool, but those of us who use >Eudora or Pine for our e-mail don't read HTML-encoded mail, don't *want* >to read HTML-encoded mail,

[PHP] spidering dynamic pages

2001-03-11 Thread Derek Sivers
>if I move everything to php and just use a different text file for each >page for the main body of text and load each text file depending on what >page the user wants, would the search engine search though those text >files and just link to those and not to the php file? Would it even be >spide

[PHP] normal for Apache to hang?

2001-03-14 Thread Derek Sivers
Does your Apache hang? Is that normal? To have commands sitting for 1-2 minutes? Using Apache 1.3.17 + PHP 4.0.4pl1 + newest MySQL on a Debian Linux box. I use PHP for pretty much everything. So I have Apache set to parse all files as PHP. But that's never been a problem before. (This is a new s

Re: [PHP] Statistics function

2001-03-15 Thread Derek Sivers
>the connection will close when you hit cancel but the PHP >code can continue running if you choose. Really?!? How do you choose to have the PHP script continue even if a browser leaves/dumps? I've always wanted to do that. Didn't know it was possible. -- PHP General Mailing List (http:/

Re: [PHP] Classes and Object Oriented Programming

2001-03-17 Thread Derek Sivers
>Is there a good tutorial on Classes? http://www.zend.com/zend/tut/class-intro.php That's a really good one. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-

Re: [PHP] files with html extension

2001-03-20 Thread Derek Sivers
>I recommend people don't do this unless their web server is going >to serve only(or mostly) php pages, and very few straight html pages. >the increase in overhead isn't really worth it. I've tried this in many real-world examples. I have PHP parsing ALL files on ALL of my 8 Linux servers.

[PHP] File typing

2002-05-24 Thread Derek Piper
e the appropriate file type for use with a Content-Type: header for any (or at least the most common) file types, plus be able to pull a description of the data similar to how the 'file' command works using the 'magic' file. Derek -- Derek Piper ([EMAIL PROTECTED]) Syst

[PHP] Rebuilding PHP4 with IBM DB2 Support Causes Apache to Die Upon Restart

2002-03-24 Thread Derek Battams
t with no luck. Any help would be greatly appreciated. Thanks, Derek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] LDAP multiple actions in modify?

2001-10-18 Thread Derek Mailer
his isn't going to answer your question. Post more information about your problem if this is the case. Cheers the noo, Derek - Original Message - From: "Matt McFarlane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 2:09 PM Subject: [PHP

Re: [PHP] Re: Loading message

2001-10-25 Thread Derek Mailer
erstanding of it. Is your script really taking that long to be parsed that you need a loading progress bar or is the html (including graphics etc) just very big? Anyway, Hope this helps Derek - Original Message - From: "Daniel Alsén" <[EMAIL PROTECTED]> To: "php&

Re: [PHP] Re: Loading message

2001-10-25 Thread Derek Mailer
to be a slow PHP script that's the problem. Hope this helps, Derek - Original Message - From: "Daniel Alsén" <[EMAIL PROTECTED]> To: "Derek Mailer" <[EMAIL PROTECTED]> Sent: Thursday, October 25, 2001 11:45 AM Subject: RE: [PHP] Re: Loading message

Re: [PHP] htpasswd

2001-10-25 Thread Derek Mailer
go to http://www.php.net/manual/en/ref.filesystem.php and read up on things like fopen, fclose, etc. This will explain how to write to any kind of file including htpasswd files if necessary. Good Luck Derek - Original Message - From: "Gary" <[EMAIL PROTECTED]> To: &

[PHP] preventing multiple submissions

2001-11-26 Thread Derek Mailer
loads quicker (people are less likely to click the submit button more than once). Can anyone suggest a solution? Thanks in advance for any help. Regards, Derek ** This e-mail (and any attachment) is intended only

[PHP] Failed to initialize session module

2001-12-06 Thread derek fong
. Thanks in advance, -f -- Derek Fong Web Application Developer subtitle designs inc. <http://www.subtitled.com/> "Mistakes are the portals of discovery." --James Joyce >> GPG key/fingerprint available upon request <<

Re: [PHP] sessions broken when redirected?

2001-03-29 Thread Derek Sivers
I had this same problem and it constantly broke our whole site. So I tried a different approach and this has been working great: Instead of Consider: It works flawlessly, always, and maintains your session. Because my site ( a shopping cart/store ) is so dependent on sessions, I stopped us

[PHP] use NEWLY-ASSIGNED SESSION id?

2001-04-05 Thread Derek Sivers
My PHP script (with --trans-sid enabled) assigns a session ID for people without cookies. No big deal, right? BUT THE BIG QUESTION IS: Can I immediately know what long string PHP assigned to the session, without having to click to a different page first? I want one single PHP page to #1 - a

[PHP] Compiling PHP4.04 with PEAR - PROBLEM!

2001-07-18 Thread Derek Truong
While trying to recompile php with PEAR, I came across this error.. Making install in pear make[1]: Entering directory `/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear' make[2]: Entering directory `/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear' shtool:mkdir:Error: invalid number of ar

[PHP] can you prompt for variables in command-line CGI?

2001-08-26 Thread Derek Sivers
for a SHELL SCRIPT using php binary: in bash I would do this: #!/bin/bash echo -n "username: " read username echo -n "password: " read password echo $username echo $password Run on the command-line, it would stop and ask me for the username and password, then continue the bash shell script. B

[PHP] Re: eregi_replace problem

2001-09-21 Thread Derek Truong
quot;,"",$welcome_html); $welcome_html = eregi_replace("\[ec]","",$welcome_html); echo $welcome_html; Regards, Derek Truong IntenseHost.com LLChttp://www.intensehost.com "Daniel Goldin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
A couple of things about the code... 1) - mysql_connect ('localhost', 'root', 'monty'); should be $mysql_link = mysql_connect ('localhost', 'root', 'monty'); 2) - You only pass you can read more about it all and copy and adapt the code snippter from http://www.php.net/manual/en/ref.mysql.

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
idea - you should check and edit your code if necessary before posting. Hope this helps - good luck Derek - Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 2:54 PM Su

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
$HEI = mysql_result($result, $i, "HEI"); $drop_down_list .= "$HEI"; } mysql_close($link); $drop_down_list .= ""; echo "$drop_down_list"; Cheers the noo, Derek - Original Message - From: "George Pitcher" <[EMAIL PR

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Derek Mailer
I haven't tested it out, but I believe this is the sort of problem being described in this thread. Cheers the noo, Derek - Original Message - From: "Karina Gómez Salgado" <[EMAIL PROTECTED]> To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>; <[EMAIL P

Re: [PHP] Sessions Variables and refresh pages

2001-10-04 Thread Derek Mailer
particular application. Cheers the noo, Derek - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Karina" <[EMAIL PROTECTED]> Cc: "Derek Mailer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001

[PHP] adding "Back to Search results" link

2007-08-15 Thread Derek Moon
I am trying to imporve a web application that my group uses. Basically there are 3 forms that work together Form 1 > form 2 Form 1 - searchs for enterend values Form 2 - returns search results, letting you individually select any item Form 3 - lets you edit a specific individual item I want to m

Re: [PHP] Designing a complicated multipage form with sessions

2005-10-21 Thread Derek Williams
Andy Pieters wrote: Hi List I am quite experienced in PHP. I have been asked to design a complicated form in php that spans multiple pages and has many subitems. For instance if they select one checkbox, more details are required in the form of a dropdown list or radio buttons. It would a

Re: [PHP] Modular Authoring System

2005-10-21 Thread Derek Williams
Sascha, We're starting work on a similar (to be open sourced) project, XML/XSLT based. We're also putting together a process creation and tracking mechanism. I would be glad to take a look at the design and code. We have a great XSLT programmer. Sascha Braun wrote: Hi, I am now working

Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Derek Williams
Probably a really dumb question: Is php_curl.dll available? Jay Blanchard wrote: IIS5 on W2K PHP 4.4.n php_curl.dll is not commented. libeay32.dll AND ssleay32.dll are in the system folder (system32 too, just in case) path to the extensions is correct Fatal error: Call to undefined function:

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Derek Williams
Bob Hartung wrote: Jasper If if make a file containing only I get what I expected. If I make a file containing I get NO output or errors in the browser window. If I select "view source" it returns: Eh? Anyone with any other ideas Tnx Bob Hartung Jasper Bryant-Greene wrot

Re: [PHP] Questions from a ColdFusion Developer

2005-12-11 Thread Derek Williams
Not sure if I can give a good answer, but try doing a var_dump on $_SESSION["Search Result"] and see what you get. I suspect that it is null. If that's the case then track down where it is getting assigned. It should look something like $_SESSION["SearchResult"] = $users. Christopher Jordan

Re: [PHP] looking for php programmers in mumbai / bombay

2005-12-14 Thread Derek Williams
not quite PC, but why do you need to be in mumbai or bombay, is the client located there? mailing wrote: we are looking for experienced php programemers in mumbai or bombay. full time or freelance... please contact at [EMAIL PROTECTED] sumeet shroff -- PHP General Mailing List (http://www

Re: [PHP] XML Parser set option

2005-12-20 Thread Derek Williams
Amol, Pretty sure that it means the white space after a tag. for example: Joe Dempsey or (even worse, with CR) Joe Dempsey Amol Hatwar wrote: Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really couldn't decipher what this optio

[PHP] Mixing PHP code with phplib templates... possible?

2001-02-05 Thread derek fong
on it... Any ideas? --- Derek Fong web://developer Zero-Knowledge Systems [http://www.zeroknowledge.com/] PGP Fingerprint >> 2D4F 89F0 EAC1 FBFB 97B5 0B94 FA05 C29E D23B 0A4E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: [PHP] Mixing PHP code with phplib templates... possible?

2001-02-06 Thread derek fong
ne all hyperlinks everywhere on the site), which is a huge amount of maintenance. What I thought about yesterday was creating some sort of token (e.g., {@}) that could be tacked onto the end of hyperlinks that I want to add session info to. Maybe there's a better way... I don&

Re: [PHP] foo[bar] _or_ foo['bar'] ?

2001-02-13 Thread Derek Sivers
>I'd really appreciate a clear statement whether to use better >$foo = array('bar' => 'boing'); > doWhatSoEver($foo[bar]); >or >$foo = array('bar' => 'boing'); > doWhatSoEver($foo['bar']); I had heard someone on the list say that it's always best to use quotes, for the same rea

[PHP] PARANOID PERMISSIONS for apache?

2001-02-13 Thread Derek Sivers
Can anyone think of any downside to this idea? Set Apache to run as user/group "www:www" Set ownership of PHP files and folders to "www:www" And set permissions to 700 So that ONLY Apache can read them. Now - even if I give someone shell access to my box, or someone finds my personal login pas

[PHP] Dynamic include_path

2003-03-31 Thread Derek J. Belrose
this possible? Or should we just go ahead and set it in each sites declaration? Derek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What would you want in a PHP web host?

2001-07-31 Thread Derek Del Conte
didn't find any real discussion about what people want in a host (although I did find plenty of things they don't want :). I just figured that I would ask the PHP community exactly what they wanted. Thank you for any insight that you can give me. --derek ----

[PHP] APC with horde/imp: 99.9% miss rate and only one cached file

2010-04-08 Thread Derek Chen-Becker
_ttl0 apc.write_lock 1 Any help would be greatly appreciated. Thanks, Derek -- ------ Derek Chen-Becker Senior Network Engineer, Security Architect CPI Corp, Inc. 1706 Washington Ave St. Louis, MO 63103

[PHP] Re: APC with horde/imp: 99.9% miss rate and only one cached file

2010-04-09 Thread Derek Chen-Becker
Well, downgrading APC from 3.1.3b1 to 3.0.19 fixed it. Working great now! On 04/08/2010 02:21 PM, Derek Chen-Becker wrote: > I suspect I've either done something horribly wrong or found a weird > bug, probably the former. I'm running PHP 5.2.13 on Solaris 10 under > Apache 2.2.