Re: [PHP] Which PHP-script crashes my server?

2006-12-19 Thread dave
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, you should check your php script for infinite loops, this is a common problem in this cases. Patrik Jansson wrote: > Hi, > You could enable server-status in Apache configuration then you should > be able to wget server status > each minute (30 sec

[PHP] Payflow and Php5 on FreeBSD

2006-12-19 Thread Dave
_init which tells me payflow and php are not talking. I would prefer not to have to compile both Payflow and Php5 from source as they are already working via ports in a production environment. Some urgency! Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread dave
hi, i used http://www.ajaxfreaks.com/tutorials/6/3.php?topic_id=73&hl=104#104 it works just fine, i implemented to one of my web, so far so good. Hope it's what u are looking for Daevid Vincent wrote: > I need to dynamically update a select box > with results from a SQL database using AJAX, > bu

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-19 Thread dave
as u wish :) tedd wrote: >> sry bout that it seems i was logged in :) try this on >> "http://www.ajaxfreaks.com/tutorials/6/0.php"; it's called "Making a >> Google Suggest-like application" > > > Dave: > > A most excellent example, but

[PHP] How to retrieve dir file list from an internet server folder?

2004-04-01 Thread Dave
Is it possible to retrieve dir file list from an internet server folder from within a php program? In the browser, the http:// page displays "Index of" and a list of files. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Directories function opendir() - how to open an URL

2004-04-02 Thread Dave
The Directories function opendir(string path) As of PHP 4.3.0 path can also be any URL which supports directory listing This returns false eventhough the URL supports directory listing? opendir (http://www.fu.bar/images/); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Directories function opendir() - how to open an URL

2004-04-02 Thread Dave
Is http:// URL wrapper support included in PHP 4.3.4 ? or is this included in PHP 5.0.0? "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Dave ([EMAIL PROTECTED]): > > The Directories function opendir(string path) > > As of

[PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Dave
name']." successfully."); } // If the copy function fails output a message. else { echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to ".$store_dir." failed"); } // Finally tidy up behind yourself and delete the //

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Dave
;name']) ) ... because I looked up move_upload_file() in the manual, and it says it will return FALSE if it fails, so I thought I could encase it in an if() statement. But it's always returning false and not uploading the file. Have I got it wroing? -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Dave
put a message. else { echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to ".$store_dir." failed."); } -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-28 Thread Dave
opy function fails output a message. else { echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to ".$store_dir." failed."); } -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Trying to create a function from an existing script [SOLVED]

2005-01-28 Thread Dave
hanks Marek, Mike, Jon and everyone for helping me with my code. -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Permissions on uploaded image don't allow for over writing

2005-01-29 Thread Dave
't know enough about file permissions and settings to know how I can set these permissions at the time that someone makes the upload. The Question: How do I allow a user, who is uploading via the web, place an image on the server with permissions that allow the file to be over wri

Re: [PHP] Permissions on uploaded image don't allow for over writing

2005-01-30 Thread Dave
r users also accessing the file from the web? It seems like any user can upload and make a file that they can't touch again, and requires an administrator to get rid of. -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Permissions on uploaded image don't allow for over writing

2005-01-31 Thread Dave
x27;s destination directory, it is then ready to be over written by future users. I appreciate everyone taking the time to answer my question. -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] inserting utf8 from PHP to MySQL makes text unreadable

2005-01-31 Thread Dave
($HTTP_POST_VARS['introJ'])) { $updateQuery = "UPDATE events SET introE='" . $HTTP_POST_VARS['introE'] . "', introJ='" . $HTTP_POST_VARS['introJ'] . "' WHERE eventid = " . $show; $updateResult = mysql_query($update

Re: [PHP] inserting utf8 from PHP to MySQL makes text unreadable [SOLVED]

2005-02-01 Thread Dave
is doing, but experimentation has taught me that it won't fly without it. Thanks for taking the time to help! -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fighting user's cache with an updated image

2005-02-02 Thread Dave
uploaded their image? Any help much appreciated. -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPEclipse vs TruStudio

2005-12-14 Thread dave
I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm not a fan :). Php developement never tryed. Chris Lott wrote: > Which of these are better Eclipse plugins for PHP Development? Or, > which advantages do each provide? > > c > -- > Chris Lott > -- PHP General Mailing List (

Re: [PHP] PHPEclipse vs TruStudio

2005-12-14 Thread dave
sry, dumb answer :) dave wrote: > I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm > not a fan :). Php developement never tryed. > > Chris Lott wrote: > >>Which of these are better Eclipse plugins for PHP Development? Or, >>whi

Re: [PHP] PHP is OK in IE but not in Netscape

2005-12-22 Thread dave
or maibe firefox David Grant wrote: > Nanu, > > Nanu Kalmanovitz wrote: > >>Ok, I will forget Netscape, what other popular browsers beside M$-IE >>works with M$-Windows? > > > I wouldn't "forget" Netscape, because people still use it. Just make > sure your code validates to W3C standards and

RE: [PHP] Code repositery

2001-02-11 Thread Dave
parser can work from a variable, then just pass the read variable to your parser. Dave -Original Message- From: Michel 'ZioBudda' Morelli [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 11, 2001 7:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Code repositery Hi, does someone k

RE: [PHP] XML Parsing The Sequel II

2001-02-11 Thread Dave
parser can work from a variable, then just pass the read variable to your parser. Dave -Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 11, 2001 5:13 AM To: PHP Mailing Listl (E-mail) Subject: [PHP] XML Parsing The Sequel II Ok, yesterday

RE: [PHP] Code repositery

2001-02-11 Thread Dave
sorry, ignore that last hit reply to the wrong friggin message (late night last night) cheers, 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

RE: [PHP] XML Parsing The Sequel II

2001-02-12 Thread Dave
another function) Tried to cut out totally irrelavent or site specific stuff, and added a few quick comments. Hopefuly you can follow the logic. Dave in main PHP file in ./shipping/shipping.php \n"; } else { $xmlTransmi

[PHP] phpOpenTracker.

2002-12-05 Thread Dave Mc
site. Confused and looking for pointers. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fletcher's checksum

2003-01-08 Thread Dave Gervais
Does anybody know how to implement the 8 and 16 bit versions of Fletcher's checksum using PHP? I hit google and came up dry. It's easy enough to find how to do it in C, but PHP if a different story. I know there are plenty of perfectly good checksum options that are standard in PHP, but I'm for

[PHP] Re: fletcher's checksum

2003-01-09 Thread Dave Gervais
ffer + i ); c1 =c1 +c0; } * ( buffer + count - 2 ) = c0 - c1; * ( buffer + count - 1 ) = c1 - 2*c0; } My problem with PHP was with the unsigned char. Thanks again, Dave Gervais Ford, Mike [LSS] wrote: -Original Message- From: Dave Gervais [mailto:[EMAIL PROTECTED]] Sent: 08 Janu

[PHP] Re: [PHP-DEV] Terminal text objects (PHP CDK NCURSES)

2003-01-09 Thread Dave Mertens
e hard to fix. So yes, please commit. I guess you should put it into PECL.. -- With best regards, Dave Mertens - Senior Development Manager [EMAIL PROTECTED] Innovative Solutions in Media Schiekade 101 3033 BG Rotterdam, Netherlands T +31-10-2436060 F +31-10-2436066 http://www.ism.nl Quali

Re: [PHP] Capitalising Personal Names

2003-02-28 Thread Dave O'Meara
-entering the name. } Then what goes into the database is either a) standard format, or b) has been confirmed by the user. Dave O'Meara "Jon Haworth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Danny, > > > > I need to clean up the capitalis

[PHP] Re: Your script possibly relies on a session side-effect which existed until PHP 4.2.3

2003-03-12 Thread Dave Myron
nt to set bug_compat_42 on... If there's a proper way of coding the PHP then that's what I'd rather do, not just make PHP accept my buggy code. What is the root cause of this problem? -Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: passing arrays to a session-variable

2003-03-12 Thread Dave Myron
> // method 1 > $_SESSION['array1'] = array("item1", "item2"); > > // method 2 > session_register("array2"); > $array2 = array("itemA", "itemB"); > > header ("Content-type: text/html"); > > echo $array1[0]. ""; > echo $array2[0]; > ?> > Well, you're not assigning anything to $array1 (assuming

[PHP] Previous Basic Auth clarified

2003-07-01 Thread Dave Carrera
the trick but it doesn't . Can anyone help me with this please. Server 1 = FreeBSD/Apache1.3/PHP.4.3 Server 2 = Win2K Server Thanks 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.493 /

[PHP] Read a file and scroll it?

2003-07-07 Thread Dave Carrera
file line be line into an array and let the JS bit use it. Very Very new to this so please be gentle. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003 -- PHP General

[PHP] Sessions

2003-07-08 Thread Dave Alger
is that's different. All help is gratefully appreciated. regards, Dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions

2003-07-09 Thread Dave Alger
N and target site ON. So I'm no closer to figuring that one out. regards, Dave "Kirk Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > This works fine on my development PC, (PHP v 4.3.1) and on > > my primary test > > site (PHP v4.2.2

[PHP] Re: Sessions

2003-07-09 Thread Dave Alger
. Anyway I created a tmp folder and everything seems fine. Thanks again. Dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003 -- PHP General Mailing List (http://www.ph

[PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Merritt, Dave
for each database type and each of the include files use the relevant PHP functions? Or some other totally different way? Thanks Dave Merritt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] variables??

2003-03-25 Thread Dave O'Meara
It is considered more secure to declare the variable explicitly. $var = $_GET["var"]; > > I'm having a problem with form data being recognized by a php script. > > If I send information with a GET the variable data appears in $GET[var] > > but not $var. > -- PHP General Mailing List (http://

[PHP] combining multi-dimensional arrays from multiple parse_ini_file results

2003-03-29 Thread Merritt, Dave
All, How do I combine the multi-dimensional arrays returned from the parse_ini_file function on two different ini files? I tried: $my_array = parse_ini_file('some_file', true); $my_array[] = parse_ini_file['another_file', true); Thanks Dave [EMAIL PROTECTED] -- PHP

[PHP] No input file specified

2003-06-09 Thread Dave Hartburn
ong, or further debugging suggestions? I'm assuming it is not the web server install, as it works fine with 4.3.0. I need version 4.3.2, due to the snmpset bug in earlier versions. Thanks for any advice Dave Hartburn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting at $_POST values using a loop

2003-06-22 Thread Dave Alger
is as $_POST['Field0'], $_POST['Field1'] etc but a loop is what is required. I've tried getting at the value by: $a=$_POST['Field$n']; and $nb='$'."_POST['Field".$n."']"; $a=$$nb; And neither works. How should I be doing

Re: [PHP] Getting at $_POST values using a loop

2003-06-23 Thread Dave Alger
Thanks Ralph and everyone else who posted a hint. I'm using the array method. Much better and, I'm ashamed to admit it, it means I can do away with my hidden input with "number of fields" too... regards, Dave "Ralph" <[EMAIL PROTECTED]> wrote in mes

[PHP] Differences between classes on Linux and Windows ????

2003-06-27 Thread Dave Holmes
Guys, Hope you can help, we are just porting one of our sites from Windows to Linux and we are coming up with a few funny problems with classes under Linux. This is code which works perfectly on the Windows version of PHP, we are running version 4.3.2 of PHP on both servers. This is an example o

[PHP] Classes within classes

2003-06-27 Thread Dave Alger
Hiya, It would be useful for me to be able to use a class within another class and I don't know if that's permissable in PHP. Here's an example of what I'm trying to do. Is it just simply not permitted or am I going about it the wrong way? Thanks in advance for any help,

[PHP] Basic Auth question

2003-07-01 Thread Dave Carrera
one answer is http://username:[EMAIL PROTECTED]://www.domain.name/dir); } ?> Is that anyway close or have I got it the wrong way around? Any help is appreciated. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.

[PHP] HELP with forms

2002-08-02 Thread Dave Leather
ce snippit -- -- end snippit -- Now inside the 90% window, I have ANOTHER frameset (broken into 3 parts.. a left menu bar, a bottom instructional bar, and a main window. I NEED the main window to grab the value from the 'fileform.filevalue' and return it to a PHP variable. Any ideas Dave

[PHP] Simple date question

2002-08-12 Thread Dave Leather
Aug 12 2002 11:14AM I NEED those seconds to appear in my variable HOW can I get the TRUE date and time from the sql table into my variable? Is there a php.ini variable I need to set... is there some sort of magical command Please help Thanks VERY much in advance! Dave --

[PHP] Simple Mail

2002-08-14 Thread Dave Leather
les\apache group\apache\htdocs\cf_report.php on line 236 Connect to where And yes, line 236 is my mail line... Is this an apache config problem ? Or am I missing something on the mail command. Thanks in Advance Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Properly installing curl in windows 2000

2002-08-30 Thread Dave Withnall
> >It seems that you have exact same problem as me. Everything seems >correctly set up, the phpinfo shows; > > > >curl > > > >CURL support enabled >CURL Information libcurl 7.9 (OpenSSL 0.9.6b) > If you see this above then you have php installed with curl >"To use PHP's CURL support you must

[PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type "Integer," but here's my situation: I'm creating a database of contracts that my organization has. N

Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
Thanks Jay. How would that work into something like: printf("Total Budget: $%s\n", mysql_result($result,0,"budget")); or printf("%s%s%s%s%s%s%s\n", $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); Thanks, Dave Jay Blanchard

[PHP] OT - SQL string to get value by latest date only in a join

2002-09-12 Thread Merritt, Dave
I have is that I don't know what the conditional would be to allow returning the latest row by date. Thanks in advance, and again I apologize for the OT question, Dave Merritt [EMAIL PROTECTED] currently running this string: SELECT customer.customer_id, customer.customer_name, business_uni

[PHP] Closing a browser's child window after user downloads a file

2002-09-20 Thread Merritt, Dave
Code is below. As usual, thanks in advance. Dave Merritt [EMAIL PROTECTED] Javascript code from the parent search results window opening the child window & calling the PHP download script: ... <!-- DownloadWindow = window.open("../functions/download.php/?Filename=<?echo $

[PHP] Creating/displaying page content and downloading a file at the same time

2002-09-24 Thread Merritt, Dave
I've tried setting the location so that the page will open another page but then I run into the headers already sent problem. from the browser: http://myhost/download.php/?Filename=/tmp/20020923172330.xls download.php: Thanks Dave Merritt [

RE: [PHP] Getting users IP address into a variable.

2002-10-02 Thread Merritt, Dave
Try: $ip=$_SERVER['REMOTE_ADDR'] -Original Message- From: Webmaster MBTRADINGCO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting users IP address into a variable. I'm sure there has to be a way to verify which IP address i

[PHP] Testing list access - Please ignore this message

2002-10-08 Thread Dave Goodrich
testing internal relay sendmail.cf -- Dave Goodrich System Administrator TLS.NET Columbus IN http://tls.net [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
Lars, You say you downloaded the Volo View Express, but your plug-in page points to the WHIP viewer plug. Regardless, there are two versions of Volo View. Did you download the DWF version only of Volo View? Dave -Original Message- From: Lars Espelid [mailto:lars_espelid@;hotmail.com

[PHP] RE: -- OT -- [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
save each one back into 2002 format. The file format for DWF changed between ACAD 2000 & 2002. Sucks I know, esp. the english/non-english thing. Dave -Original Message- From: Lars Espelid [mailto:lars_espelid@;hotmail.com] Sent: Friday, November 15, 2002 6:09 PM To: [EMAIL PROTECTED

[PHP] Recommendations for PHP/MySQl calendar & on-line submission/voting

2002-11-22 Thread Merritt, Dave
t was wondering if anybody had any suggestions of existing code to do this. TIA Dave Merritt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing ^M

2002-06-08 Thread Dave Raven
why not just run tr -d "\r" htmlfile.htm - Original Message - From: "Michael Hall" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M > > > I am trying remove ^M characters (some kind of newline character) from a

[PHP] PHP with IIS

2002-06-24 Thread Dave Leather
ngs in IIS - and could not find anything misconfigured.. but I am by no means an IIS expert, so I am not sure. Thanks in advance Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
Yes, and Yes... Access is granted throughout.. Read, Write, Create, Erase, Modify and File Scan access is granted for this login ID. Any other suggestions? Thanks again Dave "Andrew Brampton" <[EMAIL PROTECTED]> wrote in message 00ca01c21ba6$b2b36ea0$7432260a@s

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
uot;, 25), array("STATE", "C", 2), array("ZIP","C", 10), array("TOTAL", "N", 10, 2) ); // creation Print "attempting to create $dbname"; if (!dbase_create($dbname, $TableDef)){ print "Error cr

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
ease, let there be an IIS guru on this forum. Dave "James E. Hicks III" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It looks like apache doesn't have permission to write the file > //flcintranet/pi2000/ordentry/5788/pappex

[PHP] Re: PHP with IIS

2002-06-24 Thread Dave Leather
error... Warning: unable to open database http://flcintranet/pi2000/ordentry/1/orders.dbf in C:\InetPub\wwwroot\pappreport.php on line 80 I am going INSANE! I have no logical explanation for this... ANY ideas... Dave "Dave Leather" <[EMAIL PROTECTED]> wrote in message

[PHP] Creating a dbase file on a virtual directory with IIS

2002-06-26 Thread Dave Leather
13), array("TOTAL", "N", 10, 2), array("CREDIT_CRD", "C", 30), array("CARD_NUM", "C", 16), array("EXP_DATE", "C", 5), array("SELECTFLD", "C", 9) ); DBASE_Create($DbName,$TableDef); I receive this error Warning: Unable to create database (2): No such file or directory in C:\InetPub\wwwroot\pappreport.php on line 100 Any ideas? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Multi-Word Searches

2002-07-02 Thread Dave Rosenberg
D, and to do this I made the hyperlink go to, for example, "showkey.php3?id=project&search=$search". When I do this, however, it shortens the $search variable from "Bob Cobb" or "Bob%20Cobb" to just "Bob". Can anyone help? Thanks Dave \n&quo

RE: [PHP] GD Lib

2002-07-09 Thread Dave MacRae
em is that you haven't installed GD. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Trying to locate an image file name from another site

2002-07-09 Thread Merritt, Dave
to check for the existence of the file locally before going out and accessing the corporate site every time. Code is below. Thanks in advance Dave Merritt [EMAIL PROTECTED] <% $Image = $_COOKIE['ImageToday']; $WebLocation = 'http://www

RE: [PHP] Trying to locate an image file name from another site

2002-07-09 Thread Merritt, Dave
No. Having any changes made to the corporate server for my ease of use is not an option -- too much politics involved (my use of open source solutions in a Microsoft environment!!!). Dave -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:55

[PHP] Re: Creating a Calender

2003-09-08 Thread Dave Dash
I've got a few elementry classes that might help, I think you just need to instantiate the class and then run the display method. "Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anybody know how to generate calendars easily? (i.e. print out > complete calenders

[PHP] Re: Single Quotes vs Double Quotes

2003-09-11 Thread Dave Dash
With all that's been said in mind ('$var' unparsed "$var" parsed). The rule of thumb I follow is, if it needs to be parsed (has a $variable or \n \r \t etc) then used double quotes, otherwise use single quotes... it conserves processing. -dd "Micro Brew" <[EMAIL PROTECTED]> wrote in message new

[PHP] Re: PREG-pattern, help needed

2003-09-11 Thread Dave Dash
Hi Tobias, This matches more than you'd like because [td] will match anything that has a t in it or a d in it. More generally anything in brackets means the RegExp will try to match something from that set. What you might want is this: preg_replace('/]*>/i', ""); The preg replaces or to what

[PHP] Sending SMS messages ?

2003-09-12 Thread Dave Carrera
Hi All Is there a way to send sms messages via php. I really don’t know anything about this so any info,pointers or resources will be very much appreciated. Thank you in advance for any help. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http

Re: [PHP] Looking for a real good editor with some specificfeatrues ...

2003-09-12 Thread Dave Dash
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 60% of what makes an editor good is familiarity. Take emacs for > instance (http://www.gnu.org/software/emacs/emacs.html). Running PHP > Mode (http://sourceforge.net/projects/php-mode/) I fly through code. > But I've al

[PHP] Re: ereg

2003-09-12 Thread Dave Dash
I think this is a lot more complicated than somethign a simple regular expression can handle. You would need to do soemthign that reads the entire file, up until the first occurrence of your '//' and in the meantime do a count that checks to make sure all the quotes are closed. I'd be interested

[PHP] Re: No answers found - Why var and why & ?

2003-09-11 Thread Dave Dash
var $varname before a constructor is just conventional syntax when defining a class. class myClass { var $myThis; function myClass() { } } I'm sure you can do this another way, but it just makes reading the class very easy, and it defines those variables for the entire scope of the class. -dd

[PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Dave G
need to set "internal encoding", and/or also setting the "character set". My web site is on a virtual host, and I don't know if I have access to make such adjustments. Can someone please explain in beginners terms how do I set up my PHP scripts to enter Japanese kanj

[PHP] Endless 'while' loops?

2003-10-30 Thread Dave G
le" loop would ever stop running. Nothing seems to change $subscriber within the "while" loop's control structure. It doesn't ever say anything like "$subscriber ++1". Nor does $result have anything act upon it which would change it. So to me they both look static, a

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-01 Thread Dave G
dditional comments on the use of mb-send-mail(), but the technical vocabulary is beyond me. Can someone help me tweak this code to successfully send a kanji email? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dissecting an email address

2003-11-02 Thread Dave Carrera
Hi All, How do you split an email address sent via form post text field. I.e.: split [EMAIL PROTECTED] into me@ hotmail .com It’s the domain bit I am interested in, not the username or tld. Any help is appreciated. Thank you in advance Yours Dave C --- Outgoing mail is certified Virus Free

RE: [PHP] Endless 'while' loops?

2003-11-02 Thread Dave G
quot;.$message ."\nThis message was sent to [2]" .$member; mail($member[2], $subject, $mailcontent, $fromaddress); } Why is this not parsing? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Endless 'while' loops?

2003-11-03 Thread Dave G
misleading! In any case, I very appreciative of the many valuable tips offered, and I believe tightening up the code as suggested by people on this list helped me see my script better and isolate the problem. Many thanks to David, Jay, Hanuska, Leif, and Teren for their comments! -- Chee

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-03 Thread Dave G
L database. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Japanese character validation

2003-11-08 Thread Dave G
panese language. Optimistically looking forward to seeing more technical discussion on how to accomplish this. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dose this exist?

2003-11-09 Thread Dave Carrera
d be useful. Thank you in advance for any help Yours Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.535 / Virus Database: 330 - Release Date: 01/11/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Whats wrong with this query?

2003-11-10 Thread Dave Carrera
defined by the $_POST[f2] which is both the table and username and the password is defined by $_POST[f3]. This has been baffleing me for a couple of days now and any help given is very much appreciated. Thank you in advance. Yours Dave C --- Outgoing mail is certified Virus Free. Checked by AVG

[PHP] LDAP and PHP

2003-11-11 Thread Dave Dash
I'm having trouble getting LDAP to work with PHP. ldap_connect results in: Fatal error: Call to undefined function: ldap_connect() in /home/davedash/public_html/ldap.php on line 3 and when I compiled I enabled --enable-ldap. Am I missing something else here? I've got openldap installed as wel

[PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
that means searching the whole database table roughly 30 times each time the page is accessed, and that can't be right. I'm sure this is better handled with arrays, but I can't quite figure out the logic and the commands. Can anyone help me out with this? -- Cheers! Dave

RE: [PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
onstruct a for() loop in order to get the results of multiple rows into an array. But that seems unnecessarily complicated. Is there no command to take multiple rows and place them into an array? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Why is this code not working?

2003-11-12 Thread Dave G
posed to work. I can't see what's wrong. Am I not declaring the array correctly? Is there some simple error that I'm over looking? What's going on? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Calendar

2003-11-12 Thread Dave G
http://www.devshed.com/Server_Side/PHP/MilesToGo/page1.html -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Why is this code not working? [SOLVED]

2003-11-12 Thread Dave G
array()? Just thought I should mention this to Jay. Yes, I had been alternating my experiments with mysql_fetch_array() and mysql_fetch_row(), but the results, were exactly the same (or close enough that I don't remember otherwise). So I suspected that the problem lay elsewhere and didn

[PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
ROTECTED] If I remove the hyphen, like so: [EMAIL PROTECTED] Then it passes. Looking at my eregi() function, I've included hyphens as a valid character, and escaped them out with slashes in order that they work within the square brackets. Why would this

RE: [PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
PROTECTED]', $email) Correct? > 3. I don't think a hyphen is even legal in an email address... If it wasn't, the user couldn't have emailed me to tell me that he wasn't having success in registering on my form. Or could he? -- Cheers! Dave G [EMAIL PROTECTED] --

RE: [PHP] Why would this eregi() function not work?

2003-11-14 Thread Dave G
(!eregi('[EMAIL PROTECTED]', $email) -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Why would this eregi() function not work?

2003-11-14 Thread Dave G
That's a pretty hefty read, but it looks useful to have around for a reference. Thanks! -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Set time zone

2003-11-16 Thread Dave G
time zones. Lots of information about how to format times, but not very clear about how to make the database take on a time zone. If anyone has pointers on that as well, that would be greatly appreciated. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Time Zones, correct codes, and global variable setting (was: Set time zone)

2003-11-17 Thread Dave G
various time zone codes, but I haven't come across any reference on the web which tells me what that list looks like. So, question two is, how can I tell which is the right code to set "TZ" to? "JST"? "Japan"? Your help is much appreciated. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   10   >