[PHP] Make Php with ALL modules / options

2004-02-19 Thread Dave Carrera
this is required by others may be called (Install Php 4+ with all the bells and whistles) or something like that. Thank you in advance for any help Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.591 / Virus Database: 374

[PHP] str_replace to replace /n with not having desired effect.

2004-02-19 Thread Dave G
ah blah. The output I desire is this: Blah blah blah blah. Another line of blah blah blah. A third line of blah blah blah. How do I correct my code to accomplish this? Thank you. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) T

RE: [PHP] str_replace to replace /n with not having desiredeffect. [SOLVED]

2004-02-19 Thread Dave G
mistakes that one overlooks. Thanks guys! That's done the trick. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Slight cleaning of code needed in str_replace command.

2004-02-20 Thread Dave G
syntax that I have place the new line *after* the tag? I'm trying to get it to look like this: blah blah blah blah blah blah blah blah blah blah blah blah Any advice would be most welcome. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-21 Thread Dave G
t there is something I don't understand about how the string input going into the command is parsed (it comes from a MySQL query), or about how the command interprets line breaks. Perhaps someone could offer something a little more concrete than essentially recommending I just 'try differen

RE: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-23 Thread Dave G
use a query is simple that it means that the person asking is not willing to work or that they haven't already attempted to work at it. Sometimes it just means that the person asking doesn't know all the angles possible. Thanks for your help. -- Yoroshiku! Dave G [EMAIL P

[PHP] Problem deleting a cookie...

2004-02-23 Thread Dave O
Hi all. I'm currently experiencing a problem deleting cookies on a test server. Before I go on, here's the server info: Server 1 -- Apache 1.3.29 PHP Version 4.3.4 Server 2 -- Apache 2.0.48 PHP Version 4.3.4 Previously running PHP 5.0.0.a4 I've got a technical support app runnin

Re: [PHP] Re: Problem deleting a cookie...

2004-02-23 Thread Dave O
Forgot to -cc the list. André Cerqueira wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Here's what I use to set the cookie. > $value=(time() + 9000) . ":$uid:$username:$gid:$fullname"; > SetCookie("Trackookie", $value, 0, "", "server.mssystems.com" ); > > Here's what I use to delete th

[PHP] Send Attachments via mail using form

2004-02-26 Thread Dave Carrera
for any help or advise with this. Yours Truly Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.595 / Virus Database: 378 - Release Date: 25/02/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Eregi question

2004-03-11 Thread Dave Carrera
p would be gratefully received. Thank you in advance for any help Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.619 / Virus Database: 398 - Release Date: 10/03/2004 -- PHP General Mailing List (http://www.php.net/) To u

RE: [PHP] Eregi question

2004-03-11 Thread Dave Carrera
Thanks da koenich, Although $temp[0] gives me the domain name rather than the tld but thanks very much for your help, I knew it was easy :-) Yours Truly Dave C -Original Message- From: Da Koenich [mailto:[EMAIL PROTECTED] Sent: 11 March 2004 15:19 To: Dave Carrera Cc: [EMAIL

RE: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Dave Starling
I think you could also do something like this: class MyClass { function MyClass { $this->var1="1"; $this->var2="2"; } function GetVar($var) { return $this->{$var}; } } $test = new MyClass(); echo $test->GetVar('var1').''; echo $test->GetVar('var2')

RE: [PHP] Fill strings with  

2004-03-22 Thread Dave G
> I was searching for a php function which fills empty spaces in string > varibales with " ", but could not find one. Wouldn't str_replace do it? http://jp2.php.net/str_replace -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

[PHP] Simple one I think

2004-03-29 Thread Dave Carrera
x27;, '77', 93), "fee" => array('22000', '18500', '39000') ); $i =0; foreach($vocals as $val){ $rows .= " $val[name][$i]$val[skill][$i]$val[fee][$i] "; $i++; } echo $rows; --- End --- I get and output of [

[PHP] RE: Simple one I think

2004-03-31 Thread Dave Carrera
Thanks for the insight Ben, Straight forward when I looked at your code examples and this answers a couple of other things to. Thanks once again for your clear help Dave C -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:08 To: Dave Carrera Subject

[PHP] Checkdnsrr ?

2004-03-31 Thread Dave Carrera
DNS server ? Thank you in advance for any help or advice you may want to give. I am writing a domain name lookup util. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.645 / Virus Database: 413 - Release Date: 28/03/2004

[PHP] Domain Name ?

2004-04-01 Thread Dave Carrera
Hi List, I asked this a while back but have lost the replies :-( $domain = "http://www.foo.com";; I want to strip our every thing and be left with only "foo" to use in my function. I think its multiple str_replace but have forgotten how to do it. Thank you in advance

RE: [PHP] Flash MX

2004-04-01 Thread Dave Avent
I do allot of php to flash communication in my work and I have found that wddx is by far the easiest and best way to transfer large and small amounts of both simple and complex data Dave -Original Message- From: Nadim Attari [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 12:08 PM To

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Dave Avent
Header ("Content-type: image/png"); $im = imagecreatefrompng("images/map.png"); imagepng($im); ImageDestroy ($im); -Original Message- From: Fidencio Monroy [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 10:55 AM To: (PHP General List) Subject: [PHP] Image output (Newb question) Hi, I ne

[PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
because if the default field value entered was not an integer but text such as 'snafu' then the value is always converted to an integer regardless. if ( ($GLOBALS['PageOptions']['Type'] == 'Integer') and (! is_int((int) $GLOBALS['PageOptions']['

RE: [PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
hat am I missing here? Thanks, Dave Merritt [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:19 PM To: Merritt, Dave; [EMAIL PROTECTED] Subject: Re: [PHP] Validating form field text input to be a specific variab

RE: [PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
hat am I missing here? Thanks, Dave Merritt [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:19 PM To: Merritt, Dave; [EMAIL PROTECTED] Subject: Re: [PHP] Validating form field text input to be a specific variab

RE: [PHP] Can I get varaibles from an include file without exectuting it?

2004-04-07 Thread Dave Avent
pipe the infomation from the script that is run by crond directly into the second script at run-time Dave -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 4:13 PM To: [EMAIL PROTECTED] Subject: [PHP] Can I get varaibles from an include file without exectuting it

RE: [PHP] Compare Case Insensitive?

2004-04-08 Thread Dave Avent
if (strtolower($code) == 'abc123') { or if (strtoupper($code) == 'ABC123') { -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED] Sent: 08 April 2004 4:21 PM To: PHP Subject: [PHP] Compare Case Insensitive? How can I compare a variable submitted by a form as case insensitive? A

[PHP] Php 4 and Php 5 on same box

2004-10-28 Thread Dave Carrera
ripts before I make it the main php running on my box. I would really appreciate a simple (no brainer) set of steps to achieve this & I ask the clever guys here to offer their pearls of wisdom. I thank anyone who helps with this fully in advance. Dave C -- UK Web Hosting @ http://www.eph

[PHP] Configure help / advise

2004-11-05 Thread Dave Carrera
mods that might be useful and I note that mysql is not bundled. My mysql server is on another box so what file is needed for the php configure ? Any help / advise is welcome Using FreeBSD 4.7 stable if that help (don’t want to use the port) Thank you in advance Dave C -- UK Web Host

[PHP] Directory Entries

2004-11-09 Thread Dave Lampron
Hello I'm having problems with the following code: if (! ($dp = opendir($imagesdir))) die ("cannot open $imagesdir."); while($file = readdir($dp)) { if ($file != '.' && $file != '..') { ///Second test doesn't seem to catch sub-directories under $imagesdir if(is_dir($file)) / Thi

[PHP] I need to pass vars to external cgi script ?

2004-12-11 Thread Dave Carrera
Hi All, I need to send some vars to a cgi script. The script url is like this http://www.example.com/cgi-bin/script.cgi?var1=my_first_php_var;var2=my_seco nd_php_var and so on. How do I send / call this script from inside my php script ? Any help I appreciated Thank you in advance Dave C

RE: [PHP] I need to pass vars to external cgi script ?

2004-12-11 Thread Dave Carrera
Thanks John, I get "fopen expects second param" when I call it. What would this be ? "r" "w" "x" or something else ? Thanks for the help Dave Carrera -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] Sent: 11 December 2004

[PHP] Nameserver checking ?

2004-12-21 Thread Dave Carrera
Hi List, Is there a way of checking a list of say 10, 100, 1000 domain names to see if they actually point to our nameservers and report back which ones are not ? I would really appreciate any help you may give with this enquiry and I thank you fully in advance Dave C -- No virus found in

[PHP] Recommend a free shopping cart app?

2004-12-27 Thread Bosky, Dave
I was looking for a nice 'Free' shopping cart app that I can plug into my website and wanted some recommendations. I've written some good ones in Cold Fusion and don't feel like converting them to PHP at the moment. Thanks, Dave HTC Disclaimer: The informati

[PHP] Best method to store shopping cart contents

2005-01-28 Thread Bosky, Dave
ession variable? Any good tutorials/examples on creating shopping cart apps using PHP? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended r

RE: [PHP] Best method to store shopping cart contents

2005-01-28 Thread Bosky, Dave
Do you have a simple example of how to create a multi-dimensional array and store it in a session variable? Regards, ~Dave - Play more pool! www.mbpoolplayers.com - -Original Message- From: Richard Lynch [mailto

[PHP] connection pooling

2005-02-04 Thread Bosky, Dave
What options are available regarding connection pooling using PHP? I understand how to accomplish this using Java but PHP is another language. Thanks. HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the read

RE: [PHP] financial application form

2005-05-27 Thread Dave Sayer
g vars without manually adding this to each one. I guess id have to get everything into an array? My boss/client wishes to have both forms displayed simultaneously, PITA! So that considered, maybe ill just have to have 2 separate forms. Thanks again for your help Dave Sayer | Digital Meme Freelan

[PHP] protect file access outside webroot

2005-06-06 Thread Bosky, Dave
If I want to protect document from being directly accessed from the web and only allow them to be served by a file, what's the best location to upload them? Currently I upload them the htsdata directory, is this the best location? Thanks. Dave HTC Disclaimer: The information cont

[PHP] Add Excel/Word documents to a dynamic pdf.

2005-06-08 Thread Bosky, Dave
ges, Excel, Powerpoint, and Word. The user selects all the documents they need from the list and then I need to build a dynamic PDF containing all the selected files. Is this possible? Thanks, Dave Regards, Dave Bosky Programmer/Analyst Horry Telephone Cooperative, Inc. 3480 Highway 70

[PHP] HELP! form validation

2005-06-08 Thread Dave Sayer
user can easily see where to correct their mistakes. Any advice, or links to good resources would be great!! I do not really know javascript so a php solution would be preferable. Thanks in advace. Dave -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus

RE: [PHP] HELP! form validation

2005-06-08 Thread Dave Sayer
> -Original Message- > From: Jim Moseby [mailto:[EMAIL PROTECTED] > Sent: 08 June 2005 15:18 > To: '[EMAIL PROTECTED]' > Subject: RE: [PHP] HELP! form validation > > > > -Original Message- > > From: Dave Sayer [mailto:[EMAIL PROTECTED]

RE: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
_style; $error[]="*please enter your name\n";} $err1 does not pick up $error_style in the actual form and I just get style="" instead of style="color: rgb(255,0,0)". Im a tad baffled and im sure its something simple that im missing. Any ideas? Cheers Dave >

Re: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
Yes, it does. I already have set the variables manually like you say. Its just the $err1, $err2 vars do not seem to be set with the data stored in $error_style. Dave > > > -Original Message- > > From: Jim Moseby [mailto:[EMAIL PROTECTED] > > Sent: 09 June 2005

RE: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
Thanks jim, sorry for troubling you. Ive done that now and can see that all vars are being set but the code in the form to return the contents of $err1 doesn’t display the contents, just emptiness. Thanks for your help, I will keep on playing with it. Cheers Dave > -Original Mess

[PHP] How to convert documents to PDF using PHP

2005-06-22 Thread Bosky, Dave
tackle this tough task? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to

RE: [PHP] How to convert documents to PDF using PHP

2005-06-23 Thread Bosky, Dave
I'll be working on a Win 2003 server box. I was reading about a COM object from verypdf.com. Can you recommend any specific COM objects? Thanks.. -Original Message- From: Rory Browne [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 9:13 AM To: Bosky, Dave Cc: php-ge

[PHP] rename an uploaded file.

2005-08-09 Thread Bosky, Dave
I seem to be having some trouble renaming a file after uploading it. It always returns a warning message indicating I have an invalid attribute in my rename statement. Thanks, Dave --- Example: $old = 'C:\\homedirectory\uploadedfiles\\newfile.gif';

[PHP] just a php/mysql logic question

2005-08-28 Thread Dave Carrera
i know the correct terminology to use for this kind of issue so hence the post here to the clever people of this great list. I thank you in advance for any assistance you may give. Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COM and MS word.

2005-09-12 Thread Dave Lists
an't work out is how to change the width on the first column. I've tried various ways to use SetWidth but failed. Any got any experince or examples of how to use word from PHP to generate tables and layout documents? Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Dave Gutteridge
tible enough with the versions on my host server? Would it be easy enough to install the versions that my host has, and then upgrade later? Any advice would be much appreciated. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Dave Gutteridge
on options that I should look out for? Are there installation options I should ensure that I have selected for my home installation to ensure the behaviour is the same as my host machine? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Optimize PDF on upload?

2005-10-12 Thread Bosky, Dave
Any PHP modules available that will optimize PDF files on upload? Thanks, D ** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of th

[PHP] function to compare ip addr to a ip range>

2005-10-13 Thread Bosky, Dave
Does anyone have a function that will check if an ip address falls with a starting/ending ip address range>> Thanks, Dave ** HTC Disclaimer: The information contained in this message may be privilege

[PHP] PDF printing under windows.

2005-10-24 Thread Dave Lists
efore and have any pointers? I'm printing out invoices and what to automate the task. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
Richard Lynch wrote: On Mon, October 24, 2005 1:48 pm, Dave Lists wrote: I'm generating PDFs under windows using PDFlib and all is easy. What I am wondering though, and google reveals nothing usefull, can I print the PDF to a network printer from windows? I'm presuming to print

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
dobe\Acrobat 5.0\Acrobat\Acrobat.exe" /p /h "%1" Substituting the %1 for the filename. Using that command line in a php exec() call should exactly simulate selecting right-click PRINT on The problem there is that you end up having a load of acrobat.exe's open. It will pr

[PHP] Version question on WAMP setup

2005-11-18 Thread MOREMAN Dave
Hi I just installed Apache 2.0.55 / PHP 5.0.5 and MySQL5.0.15 on WinXP. All seems OK, except that when I look at the PHP configuration using phpinfo() it reports the MySQL version as 4.1.7 . Any ideas? Otherwise all OK! Dave

[PHP] probably a simple mysql copy multiple rows question

2005-11-27 Thread Dave Carrera
BASE 600 1.99 BASE 601 2.99 then i would like to copy these rows so that the table looks like this BASE 600 1.99 BASE 601 2.99 NEW600 33 NEW601 33 i hope that makes some kind of sence... Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] How do i display a neat table of returned mysql data?

2005-11-29 Thread Dave Carrera
F 0.99 F2.99 F 1.99 F2.99 F I will really appreiciate and help you may give with this question. Thank you in advance Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 1 ip address go here all others go here

2005-12-13 Thread Dave Carrera
Hi List, Is there a way of sending users with a local ip address say 127.0.0.1 and 192.168.xxx.xxx to goto one page and all other visitors to goto another? Kind Regards Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Dave Carrera
Jay Blanchard wrote: [snip] Is there a way of sending users with a local ip address say 127.0.0.1 and 192.168.xxx.xxx to goto one page and all other visitors to goto another? [/snip] Yes, there is. $_SERVER['REFERER'] will give you the referer mosy of the time. More info from TFM can be fo

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Dave Carrera
i know about $_SERVER['REMOTE_HOST'] but i think i should of said how do i compare any address starting with 192.168. sorry if my first question was to vague David Grant wrote: Try $_SERVER['REMOTE_HOST'] instead of REFERER. Dave Carrera wrote: Jay Blanchard wro

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Dave Carrera
Thanks David, Thats the kind of thing i was looking for. Onwards and upwards ;-) Dave C David Grant wrote: Quick and (very) nasty: $parts = split(".", $_SERVER['REMOTE_HOST']); if ($_SERVER['REMOTE_HOST'] == '127.0.0.1' || ($parts[0] == '19

Re: [PHP] Accessing photos outside the web folder

2005-12-14 Thread Dave Carrera
ndows/ if so and if your using apache this link might help http://httpd.apache.org/docs/2.0/urlmapping.html That may or may not help, but please read any relevant security papers for both mac and windows on this. Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] any https / php gotchas ???

2005-12-25 Thread Dave Carrera
Hi List, Are there any https / php gotchas to take into consideration for an app i am writing that will run within a https environment ??? Thank you in advance for any advice or links regarding this question. Dave C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] php / mysql / js search result question

2005-12-27 Thread Dave Carrera
uot; and return result, which i can do already, so i think some natty client side JS might do the trick but i have very little knowledge of this. Any urls or direct help / advise is gratefully received. Thank you in advance Dave c -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec php.exe in windows

2006-01-22 Thread Dave Kennedy
Env: Windows XP PHP 4.3.10 (cgi-fcgi) I am trying to capture the html output of Balance.php to a file: The code loops over and to build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch= month= login=admin password=admin >> export/Balance.html'); This comm

[PHP] Re: exec php.exe in windows

2006-01-22 Thread Dave Kennedy
Chuck I tred what you suggested - but it did not help Btw I am using IIS on Windows "Sounds similar to something I had going on. In Control Panel - Administrative Tools - Services (I don't know of a shorter way to get there), I had to right-click on the Apache service and under Log On - check

[PHP] RE: exec php.exe in windows

2006-01-23 Thread Dave Kennedy
>Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi) >exec('c:\php\php -q Balance.php export=all branch= month= >login=admin password=admin >> export/Balance.html'); >This command works in Linux when launched by an HTTP server. >In Windows it works from the command line but hangs when launched from an

[PHP] session loss

2006-01-31 Thread Dave Goodchild
Hi all - does anyone know why, in certain cases, session variables are lost from the $_SESSION superglobal array? I am writing a session-driven app and for some reason the testing crew lose a certain variable while traversing forms but I cannot replicate the situation myself. Any knowledge of this

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread Dave Lambert
come up with a script to convert ALL the letters in the email addy. -- R. Dave Lambert [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Examples

2006-02-10 Thread Dave Jarvis
Hi, I didn't quite know where this should go inside the PHP user manual. It is a collection of six simple tricks I use to give websites that extra flair of functionality. http://joot.com/dave/writings/articles/php-examples.shtml I hope you find the auto-complete city and country is espec

[PHP] Updated PHP Examples

2006-02-10 Thread Dave Jarvis
Hi, folks. A few of you provided me with some great feedback. I've encorporated most of the suggestions into the examples. There is a bug fix in there, too (get_tag_contents()), so be sure to check it out. =) http://www.joot.com/dave/writings/articles/php-examples.shtml Now that we all kno

[PHP-CVS] cvs: php4 /ext/ming Makefile.in config.m4 ming.c php_ming.h

2001-01-26 Thread Dave Hayden
opaquedave Fri Jan 26 16:26:23 2001 EDT Added files: /php4/ext/ming Makefile.in config.m4 ming.c php_ming.h Log: First include of ming (SWF generation) library wrapper http://www.opaque.net/ming/ Index: php4/ext/ming/Makefile.in +++

[PHP] A apache/php/mysql/linux security tutorial?

2001-01-27 Thread Dave Haggerty
ewbie? Thanks Dave -- 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]

RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Dave VanAuken
lways. Dave -Original Message- From: Jonathan Sharp [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 5:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???") because t

RE: [PHP] Pricing for PHP programming???

2001-02-02 Thread Dave VanAuken
bill the same total... comparing apples and oranges. Dave -Original Message- From: Wade D [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 12:23 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Pricing for PHP programming??? So how do you know what to charge when youre

[PHP] Apache Mod_Auth_DB.

2001-02-05 Thread Dave McNicholl
s dbm :) Any thoughts on which db method to use ? Dave. -- 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]

RE: [PHP] Automating tasks in PHP?

2001-02-05 Thread Dave VanAuken
nction. if you don't like messing with cron every time you want to do something, have cron run a cron.php every minute and then just edit your cron.php to do what you want. Dave -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 4:1

[PHP] PHP mail as 'nobody'

2001-02-05 Thread Dave Goodrich
e process name PHP/Apache is running under (ex: change the unprivledged user 'nobody' to 'fantasic-elastic') Has anyone experienced this yet? Any suggestions as to which would be the best solution? I'm leaning towards changing the user of PHP/Apache simply because it doe

[PHP] mail/sendmail lmitations?

2001-02-07 Thread Dave VanAuken
anyone have an idea what the limit either in addresses or string length that sendmail can handle in a to, cc, or bcc field? Dave -- 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] Time in php problem....

2001-02-12 Thread Dave VanAuken
to get specific responses to specific questions or problems... what you are currently asking for is a prepackaged solutions. Dave -Original Message- From: Ng Kok Chun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 3:11 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PRO

RE: [PHP] character problem

2001-02-12 Thread Dave VanAuken
PHP is doing what it should to your form input. It automatically performs "addslashes" to all form input so that the variables are parsed correctly on the receiveing end. do a "stripslashes" to get rid of it. read the manual on these two and it will all be explained.

Re: [PHP] PHP Editors

2001-02-16 Thread Dave Goodrich
idual page properties), etc, etc, etc. The only reason I have a Mac on my desk is for Bbedit. Hoping they port to OSX and allow it to run on my FBSD box. DAve -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll

[PHP] Database Code Portability

2001-02-16 Thread Dave Haggerty
table from one db to another? Do most coders add an abstraction layer themselves? Or maybe people just don't port PHP code much and so don't worry about it? Mainly curious Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP] Automatic include of files containing functions

2002-12-11 Thread Dave [Hawk-Systems]
ility point of view. Appreciate any comments. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Automatic include of files containing functions

2002-12-11 Thread Dave [Hawk-Systems]
he function was already called and included, and if not, include, then run and return the result. this would avoid having to include explicitly any files containing functions on any page as they would all be loaded dynamically. Am I groking this correctly? Original questions/requirements inclu

RE: [PHP] Can PHP do this...?

2002-12-11 Thread Dave [Hawk-Systems]
.example.com/page.ext";); exit; } # rest of page here since if it isn't secure the page stops at the exit after the header has been sent to the browser to redirect. ?> -end of file-- Check your particular server respon

RE: [PHP] Automatic include of files containing functions

2002-12-11 Thread Dave [Hawk-Systems]
e); This seems to accomplish what I want which is to remove my large 30 function text file from being loaded for every page when some pages only require one of the functions in the file. Comments? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] redirect missing function error

2002-12-11 Thread Dave [Hawk-Systems]
t find function in functions dir... } in short, soe code to drop in the header of each document to remove the requirement to have any functions hard coded into the pages, and simply have a repository of functions in a directory that would be included only when called. Dave -- PHP General M

[PHP] reconfigure not showing in phpinfo

2002-12-13 Thread Dave [Hawk-Systems]
lace though and work just fine, just annoying that the phpinfo() which we use to check configurations isn't correctly displaying the current config. We do run a binary and module installation on the same server, and am referring primarily to the mod install. Dave -- PHP General Mailing List

RE: [PHP] *Premature end of script headers

2002-12-18 Thread Dave [Hawk-Systems]
>Guys? The support guy says that my php-script brings his php interpreter to >crash. I am astonished (wow-what a powerful man I am :) ) - no, but really, >it doesn't crash MY server? He also said, it happens just right after the >file is being asked for, that is, as I suspect, somewhere in the firs

[PHP] fsockopen -> returning results from port 80, 8080 and 443 requests

2003-07-06 Thread Dave [Hawk-Systems]
(FP), and 443(SSL) either timeout without returning any results, or error with some of the other attempts at illiciting a response that we have tried (like specifying ssl:// prior to the hostname). Code and two smaple outputs below. Thoughts? Dave \n","Testing TELNET:\n",

RE: [PHP] Warning: Invalid argument supplied for foreach()

2003-07-06 Thread Dave [Hawk-Systems]
> >foreach($champs as $key => $value) { > > >echo "$row($key))"; > } never used foreach()... but I would check the following: $row($key)) <= appears to have an extra ) though it would just be printed in your example $row($key) <= if it is a

RE: [PHP] fsockopen -> returning results from port 80, 8080 and 443 requests

2003-07-07 Thread Dave [Hawk-Systems]
any takers on this, before I give up and drop to curl for those types of requests? Dave >Creating a quick script where we can poll the services on a particular >server to >verify if they are running or not. this will be included in a larger scope >application once the details ar

[PHP] Upgrading 4.2.2 to 4.3.2

2003-07-10 Thread Dave [Hawk-Systems]
ot;--with-pgsql=/usr/local/pgsql" \ "--with-dbase" \ "--with-ldap=/usr/local" \ "--with-openssl=/usr" \ "--with-snmp=/usr/local" \ "--enable-ucd-snmp-hack" \ "--with-xml=/usr/local" \ "--enable-ftp" \ "--with-curl=

RE: [PHP] Upgrading 4.2.2 to 4.3.2

2003-07-14 Thread Dave [Hawk-Systems]
any takers on this? >-Original Message- >From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 10, 2003 11:09 AM >To: [EMAIL PROTECTED] >Subject: [PHP] Upgrading 4.2.2 to 4.3.2 > > >Live server was previously a 4.0.4 install that we upgraded to

[PHP] scoring/sorting db search results based on score

2003-07-17 Thread Dave [Hawk-Systems]
first etc... Obviously there are convoluted ways to accomplish, but I am looking to maximize the database performance, limit the number of recursive searches, and use the database/PHP each handle their portion of the search/score/ranking based on their strengths and use of system resources.

RE: [PHP] scoring/sorting db search results based on score

2003-07-17 Thread Dave [Hawk-Systems]
that grinds the server to a halt everytime someone searches regardless of the accuracy of the end result :) Thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamically generate a drop down list

2003-07-28 Thread Dave [Hawk-Systems]
<$numrows;$i++;){ $row=pg_fetch_row($result,$i); $return.="option name=\"".$row[0]."\">$row[0]"; # $i++; moved to while statement } $return.=""; return $return; } ?> then print your select

[PHP] register_globals per virtual host

2003-03-19 Thread Dave [Hawk-Systems]
ess to the globals while allowing the default (off) for the remainder of the sites. Is the assumption correct? Ramifications or caveats that should be considered? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD2 Bundled with PHP v 4.3.2

2003-05-30 Thread Dave O Keeffe
Hi All, I read in the ChangeLog for v4.3.2 that GD2 is bundled with this release. I downloaded and installed the Windows Installer version but my sample imagecreate code still doesn't work, it reports the error 'Call to undefined function: imagecreate()'. When I uncomment the ;extension=php_g

<    3   4   5   6   7   8   9   10   11   >