[PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-04 Thread Dave
without seeing the specifics, and assuming that PHP is never wrong (in the 4 years i've used it, it hasn't been!)... your xml doc doesn't conform to the DTD. if you think this isn't the case, well, double check. if you still feel it is an error, you may want to email a bug issue to the sablotron pe

[PHP] Re: Why this open_basedir warning?

2002-12-04 Thread Dave
check your php.ini first, then maybe your http.conf file (for php.ini settings that are targetted at specific directories). otherwise, it could be a result of overburden on the server!? it could also be a permission issue... make sure to check that, i've had weird sh** happen when i ftp's or even S

[PHP] Re: How to setcookie with two domains

2002-12-04 Thread Dave
only 2 sub-domains! "Phil Powell" <[EMAIL PROTECTED]> wrote in message 002601c273c6$025292c0$dcbe6444@scandinawa1bo6">news:002601c273c6$025292c0$dcbe6444@scandinawa1bo6... Is it possible, w/o using sessionid session variables, to use setcookie to set a cookie that will have two domains or more?

[PHP] Re: querystring and PHP 4

2002-12-04 Thread Dave
php.ini file, find a line called... register_globals = On ... and make register_globals = Off that's it. "Dan Wade" <[EMAIL PROTECTED]> wrote in message 002f01c29bf1$73ed4b70$[EMAIL PROTECTED]">news:002f01c29bf1$73ed4b70$[EMAIL PROTECTED]... > Hello, > > i'm grabbing querystring data like: >

Re: [PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-06 Thread Dave
ot;>news:[EMAIL PROTECTED]... > On Wed, 4 Dec 2002, Dave wrote: > > Whoah ... was this reply sent several weeks ago when I sent the original > message and I'm just getting it now, or was it sent just recently? > > > without seeing the specifics, and assuming that PHP is

Re: [PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-06 Thread Dave
or either the permissions are wrong on the external site or the file doesn't exist.... -dave ps - just trying to give some quick advice hoping it would help, if you don't appreciate it, i can give you some "insightful advice" about what to go do with yourself. "Dave&q

[PHP] Re: HOW GET ALL HTML CONTENT

2002-12-06 Thread Dave
not sure exactly what you mean, but try $HTTP_RAW_POST_DATA or $_SERVER['HTTP_RAW_POST_DATA'] "Nice_boy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > who knows how to get all contents when i use javascript to get bookmark of > IE > ex: > > window.exte

[PHP] Re: Help! Stuck! Perm denied w/ fopen.

2002-12-06 Thread Dave
i thought (could be wrong) that directories need execute to read within them, files only need r+w, to make a directory readable.. i always chmod 755 my directories and 644 my files (or in your case chmod 777 directories and 666 files, but i don't recommend that at all). sometimes, i chgrp nobobdy

RE: [PHP] Re: MySQL - PHP combined log

2002-07-24 Thread Dave
ay to have two programs trying to write to >the same file at once if it can be avoided. thus the interim solution of having PHP write to a seperate log file, then doing a merge/sort during rotation time. Will look into it to see if something can be presented without creating more problems than the solution is worth. Cheers, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problems with attachment to email for mail() function

2002-06-04 Thread Dave
tlook 2000). In viewing the email prior to delivery to the client, it appears to be formatted correctly. The following is the email script, and below that the headers from the email. if \n is replaced with \r\n then no attachment flag appears, otherwise same problem help or insight apprecia

RE: [PHP] problems with attachment to email for mail() function

2002-06-05 Thread Dave
purpose of understanding. looking forward to comments or suggestions. Dave >-Original Message- >From: Dave [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, June 04, 2002 5:45 PM >To: [EMAIL PROTECTED] >Subject: [PHP] problems with attachment to email for mail() function > > >have a f

RE: [PHP] problems with attachment to email for mail() function <-- solved

2002-06-05 Thread Dave
\n to \r\n since Netscape reportedly has problems with it, and as you said, RFC compliancy. Figured it was something stupid. Thanks for the objective views Dan, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] URL / slash reduction

2002-06-10 Thread Dave
>how can i prevent or filter the slash away? without getting eloquent... and assuming your url string is static each time ($id doesn't move withing your url string). $url = str_replace('?id=/','?id=','http://www.tuned-belgium.com/user/?id=/junni'); Dave

[PHP] browser timeouts with file upload

2002-06-11 Thread Dave
just use the web interface. thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] searching all open sessions

2002-06-27 Thread Dave
nyone logging in and if their user_id is found then just assign this new browser their original sesssion id. Much thanks. Dave Krewet -- -Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] open_base_dir apache directive and symlink directories

2002-07-02 Thread Dave
ome/joeuser this will not allow joeuser to access files in the /usr/local/www/data/joeuser tree correct? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help me

2003-10-21 Thread Dave
Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am really desperate. How do I do it through putty. Ie I log in su to root NOW WHAT? Please give me step by step instructions including how to save and make my changes. I need to do the following I need to change my php

Re: [PHP] generating thumbnails

2001-05-23 Thread Dave
So how does the GD2 work.? Does it work with gifs and jpgs? Is the GD Library supposed be installed by the hosting provider? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > is there any way to resize images in php and save them to a new fil

RE: [PHP] postgres

2002-01-09 Thread Dave
suggestion would be to post a snippet of the relavent code... say lines 160 to 175 or something like that. Troubleshooting across the etherial plane is expensive. Dave >-Original Message- >From: aurelio [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, January 09, 2002 12:48 PM &g

[PHP] Attaching a file via MAIL()

2002-02-01 Thread Dave
... if that helps any. 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] What can I ask here?

2002-02-05 Thread Dave
Don't forget about www.phpguru.org www.hotscripts.com Two other great sites for information and sample scripts. Dave "Jason Lotito" <[EMAIL PROTECTED]> wrote in message 037201c1ae61$b7e25a10$3b0a@JASON">news:037201c1ae61$b7e25a10$3b0a@JASON... > You ca

[PHP] Re: Is this possible?

2002-02-06 Thread Dave
PRICE FROM PRODUCTINFO INNER JOIN PRICES on PRODUCTINFO.PRODUCT_ID = PRICE.PRODUCT_ID This SHOULD return a record set of product id's with descriptions and prices... I believe... I have not tested it... But I THINK this is what you are looking for... Dave "Raymond Lilleodegard&quo

[PHP] .htaccess login id

2002-02-18 Thread Dave
Hi, I currently have a directory of my web site access protected using .htaccess and .htpasswd. Is there any way of retrieving the user ID in PHP after the person successfully logs in? Thanks in advance Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] transfering a file from one host to another

2002-04-23 Thread Dave
it to the other site I am manually downloading the index page to my local computer, and uploading it to its new site - Not the most effective way to do things. Any ideas??? Thanks in advance Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload a file from a pc

2002-04-23 Thread Dave
Whats the easiest way to create a script to upload a file from my home PC to my web server using PHP? Example - I want to copy a graphic called "TITLE.GIF" from my pc to my web page by using PHP. Is there a command to do this easily? Please help. Dave -- PHP General Mailing

[PHP] Safe mode/restricted directory file system operations

2002-02-21 Thread Dave
icular virtual host to try and accomodate some of these tasks, but to no avail. drawing a blank now from looking at it so long. Ideas or suggestions appreciated. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] header ("Location: URL");

2002-02-21 Thread Dave
that should do what you are looking for (pending browser support). If thats not what you are looking for, perhaps detailing what you are trying to do with each window before and after will allow us to present a more eloquent solution. Dave >-Original Message- >From: Ali [mailto:[EMAI

[PHP] sanity check - apache/php module safe implementation

2002-02-22 Thread Dave
iles, any other such filesystem operations within his personal tree - require any executables to be within his directory tree for php to call them Clarifications, corrections, comments? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Miliseconds with PHP4

2002-02-22 Thread Dave
seach the manual for microtime() >-Original Message- >From: William Lovaton [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 22, 2002 2:56 PM >To: [EMAIL PROTECTED] >Subject: [PHP] Miliseconds with PHP4 > > >Hello there, > >I want to know the execution time of some scripts I made, I'm u

[PHP] Sessions and switching between php and htm documents

2002-02-26 Thread Dave
form submits information to form.php form.php session_start(); echo $HTTP_SESSION_VARS["username"]; <- has no value Does the chain of pages have to be continually PHP pages to allow the transition of the session variables? if not, any ideas on why we are losing s

RE: [PHP] RE: Sessions and switching between php and htm documents

2002-02-27 Thread Dave
Not passing via URL currently... using track_vars Dave >-Original Message- >From: Tim Ward [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February 27, 2002 4:16 AM >To: [EMAIL PROTECTED]; Dave >Subject: [PHP] RE: Sessions and switching between php and htm documents

RE: [PHP] Sessions and switching between php and htm documents

2002-02-27 Thread Dave
? as an aside, how do you destroy/start a new session with new session id? or do you just destroy the variables then use the same session id for the new session? Dave >Did you test and make sure the variable is set? >login.php > session_start(); > $HTTP_SESSI

[PHP] Sessions not working between documents (was: Sessions and switching between php and htm documents)

2002-02-27 Thread Dave
further to this... --enable-track-vars --enable-trans-sid are both set in the build... using mod_php register globals is on >-Original Message- >From: Dave [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February 27, 2002 8:47 AM >To: [EMAIL PROTECTED]; [EMAIL PROTECTED]

[PHP] trapping the user name from .htaccess / .htpasswd

2002-03-07 Thread Dave
name. Immagine, in the simplist example, when the form loads, I could have Assuming $username was the varable for the user who logged in. How can I do this... any ideas? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trapping the user name from .htaccess / .htpasswd

2002-03-07 Thread Dave
EXCELLANT! I have found that $username = $_SERVER['REMOTE_USER']; does exactly what I need it to do. Now, final question is how do I program a "LOGOUT" button, so when clicked the person will "lose" their identity and I can bounce them to a "non-secure&q

[PHP] Auth against system userlist vice .htpasswd

2002-03-14 Thread Dave
forms a pwd or something to determines the users home directory etc... and perform the tasks that it needs to. Can it be done? And what are the security ramifications? Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include() question

2002-03-14 Thread Dave
and the file you are in contained then PHP reads this as as such, no need to pass $var to the file since the file is included then parsed. Dave >-Original Message- >From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] >Sent: Thursday, March 14, 2002

RE: [PHP] Re: Undefined Variable in IF...ELSE IF ...ELSE IF (NEWBIE ?)

2002-03-15 Thread Dave
I have been sloppy in teh past and just used if($submit) blah blah blah not sure of ramifications, but seems to work unless $submit is "false" or not set. again, take with grain of salt, other suggestions (especially isset) are much more certain. Dave >-Original Messa

RE: [PHP] retrieving remote web page

2002-03-16 Thread Dave
have a look at CURL Dave >-Original Message- >From: Andy Aldridge [mailto:[EMAIL PROTECTED]] >Sent: Saturday, March 16, 2002 7:46 PM >To: [EMAIL PROTECTED] >Subject: [PHP] retrieving remote web page > > >Hi, > >I'm wanting to retrieve a remote page

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Dave
> > May I also suggest that you rewrite your echo statements as: > > echo 'Donate this item'; > > Vastly improves legibility. or just echo "Donate this item"; is there any common use how it should be coded or does it really make no difference to forget the ""? i'm thinking here of old v

[PHP] Dynamic Modules

2001-03-30 Thread Dave
Hi All, Is loading a dynamic module (such as php_curl.dll) available only to PHP in the CGI flavour or can this be done with the apache php module? I dont seem to be able to make this work on my win32 setup although I will soon be migrating to a Red Hat linux. Thanks, Dave -- PHP General

[PHP] regex for cleaning up username

2001-07-22 Thread Dave
). thinking it may be easier to parse for only allowed characters. don't use regex often enough to be profficient, assistance is appreciated Dave VanAuken Nexus Internet Solutions, Inc. 664 Grandview Drive Oshawa, ON L1H 8J3 P: 905.725.9038 F: 905.261.4254 M: 905.261.4252 E: [EMAIL PROT

RE: [PHP] regex for cleaning up username

2001-07-22 Thread Dave
Am partially successfull after taking a further look into things. the following (while ugnly) correctly catches everything except the \ character for some reason. ideas? if(preg_match("/['".'" ,!@#$%\^&*()+=\/\\:;?|]/',$MyString)){ # echo error, character found } >-Original Message

RE: [PHP] return value from recursive function

2001-07-29 Thread Dave
maybe it is just me and my preferred syntax/style... if ($i < 4) { abc_recurse(); } return 'xyz'; # NOTICE REMOVED ()'s Did not look to closely at your shortcut symantics to verify legitimacy Also, unless I am mistaken, people generally advise against hav

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Dave
still don't see the need to pass as a header... '; #will display login so user doesnt' have to retype } ?> you avoid the http://his.website.com/rams/login.php?failure=true as you just get login.php each time as far as the displayed URL. my opinion, let the scrip

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Dave
blem, and suggesting that he is trying to do a big workaround for a problem that if done differently wouldn't exist. Why reinvent the wheel. :) 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 PROTECTED]

RE: [PHP] Re: HTTP header question.

2001-07-31 Thread Dave
d to show the logic train). IMO it is far more clear, concise, and compact than calling to external classes or including lots of header code... which as I believe I've shown you can do without and still not have ugly page descriptors. Review and do with as you wish. Dave -- PHP General Ma

RE: [PHP] Example high-profile PHP sites

2001-07-31 Thread Dave
Napster follow-up Audio Galaxy http://www.audiogalaxy.com as well. >-Original Message- >From: Ralph Guzman [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 4:59 AM >To: Maurice Rickard; [EMAIL PROTECTED] >Subject: RE: [PHP] Example high-profile PHP sites > > >here are a few: > >ht

RE: [PHP] Re: window.open (javascript)

2001-07-31 Thread Dave
)">link don't recall any problems Dave >-Original Message- >From: elias [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 9:42 AM >To: [EMAIL PROTECTED] >Subject: [PHP] Re: window.open (javascript) > > >can you show us the code that does the window

RE: [PHP] HELP!! What wrong with this code...

2001-07-31 Thread Dave
oppy HTML editing since you can usually edit the PHP tag directly from the GUI HTML editor Dave >-Original Message- >From: Steve Wright [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 12:13 PM >To: PHP List >Subject: [PHP] HELP!! What wrong with this code... >

RE: [PHP] Re: What tools do you use to develop PHP?

2001-07-31 Thread Dave
. Dave >-Original Message- >From: Anton Stroganov [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 1:35 PM >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > >FrontPage has PHP support built-in? who knew... > >At a

[PHP] Install problem

2001-07-31 Thread dave
p4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress looks like libphp is looking for some uncompress routine it can't find this is a pretty stock install of redhat 7.1 anyone seen anything like this?? TIA a response by e-mail would be great Dave -- P

RE: [PHP] function that will print the url for embedded links

2001-08-01 Thread Dave
you were looking for, send the file as an example so it can be viewed in context. Dave >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 01, 2001 11:26 AM >To: [EMAIL PROTECTED] >Subject: [PHP] function that will print the url for emb

RE: [PHP] env var

2001-08-01 Thread Dave
o "$key => $val"; } Dave >-Original Message- >From: Jon Yaggie [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 01, 2001 12:04 PM >To: [EMAIL PROTECTED] >Subject: [PHP] env var > > >is there not an array that saves all session variables? I just got >done

RE: [PHP] html parsing question

2001-08-03 Thread Dave
below is a snippet from a larger code used to capture a daily output graphic file from a site... I put your requirements into it and removed a lot of superfluous stuff, but it is not set to capture text spanning more than one line, but you should be able to modify it accordingly if you can follow

[PHP] security check - virtual host and mod php setup

2001-08-19 Thread Dave
iate user and not the generic www user. Please feel free to point out any errors in my logic... it appears pretty solid from here. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

RE: [PHP] Re: HTTPS w/ header() ?

2001-08-21 Thread Dave
e SSL layer. Can anyone verify this? Dave >if(getenv("HTTPS")!="on") >{ >header ("Location: https://logon_screen";); >} > >every page has an include that checks $HTTPS as part of the sessions and >validation. If https!="on" then it kicks

RE: [PHP] Picking random numbers

2001-08-21 Thread Dave
"; am usre the MySQL and others have similar constructs... again, just in case you were looking for database use and not just the number use (which others have more than adequately answered for you). Dave >-Original Message- >From: Seb Frost [mailto:[EMAIL PROTECTED]] >Sent: Mo

RE: [PHP] converting str with \n to one line str??

2001-08-21 Thread Dave
try "\r\n" (return and new line) Have had to use this when parsing cisco output... uses both not just newlines. Dave >-Original Message- >From: Jens Schodt [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 21, 2001 3:20 AM >To: 'Tyler Longren' >C

RE: [PHP] Re: Use cron to execute a script --> OTHER problem now

2001-08-21 Thread Dave
n php as shell script" produced this as the number 1 result http://www.phpbuilder.com/columns/darrell2319.php3 searching for "PHP and CRON" produced yet another plethora of responses. Dave >-Original Message- >From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]]

RE: [PHP] Returning info from a function

2001-08-21 Thread Dave
I'll assume the & is legit (never used it in PHP personally) here is a restructured function assuming all your provided code does what you want !untested! function &getpath($search) { # removed $path and $search... $search is already passed # and you are only using $path in the

RE: [PHP] Regular Expressions....

2001-08-21 Thread Dave
x like you posted (no \n or \r\n in the blob at all) and if there is any wide variety in the descriptions or posts... you would have a difficult time creating a regex that would in one fell swoop correct all your problems. if you have cr's and lf's in the file... we are in business. D

RE: [PHP] Re: passing variables between PHP and Perl

2001-08-21 Thread Dave
Just a quick addition... when a PHP script is run as a shell script from a Perl script (that make sense?) it cannot pass back exit variables to the Perl script... Would love to be proven wrong on this as I had to dust off Perl programming for a RADIUS interface some time ago. Dave > &g

RE: [PHP] Re: security check - virtual host and mod php setup

2001-08-21 Thread Dave
... >You're welcome to try it, but don't do it on a public server. > since posting have tried with multiple directories and accessing each as such... appears to function as expected without any errors. >> Apache 1.3.19 Any particular locations where to go to get further info

RE: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Dave
... better off opening a socket to the site you are wanting to parse, dumping the contents directly into a variable, and dealing with your content from there. Dave >I was waiting for someone to answer this question but it hasn't happened yet. > I was using this a couple years ago to ge

RE: [PHP] Unable to use fopen to read a URL - DNS Problem?

2001-08-21 Thread Dave
check that apache is doing name resolution?? stab in the dark there. can you do includes from other locations using names? dns on the Ip address that apache/php is sitting on resolving correctly? >-Original Message- >From: Brian White [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August

RE: [PHP] Web fetching script

2001-08-22 Thread Dave
What response are you expecting, and what response are you getting? assuming your regex is working as expected, you are running it twice to receive the same result into 2 different variables??? why not just copy the variable after additionally, $printing is filled with the matches of your regex

RE: [PHP] Any point in learning ASP/JSP etc?

2001-08-22 Thread Dave
p(MS/*nix)... the other has a slightly better chance of getting hired at only one. And the desire to learn new and interesting things is always tempered by the limited time to perfect ones chosen skillset. In short, your best bet is to choose a camp... MS based or *nix based... master w

RE: [PHP] Script timeout

2001-08-23 Thread Dave
flush is your friend >-Original Message- >From: Christian Reiniger [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 23, 2001 5:42 AM >To: Julian Wood; [EMAIL PROTECTED] >Subject: Re: [PHP] Script timeout > > >On Wednesday 22 August 2001 17:59, Julian Wood wrote: >> I have a script which

RE: [PHP] The future of PHP

2001-08-23 Thread Dave
>On its Solaris Developer Connection site, Sun posed the question, "What >language do you use to develop Web-based client applications?" The responses >went like this: Perl, 41.3 percent; JSP, 19.9 percent; C/C++, 14.2 percent; >Linux script language PHP, 11.2 percent; Microsoft Active Server Page

RE: [PHP] Re: strange error

2001-08-23 Thread Dave
nerally restrictive in nature, some good ideas for policing your own code can be found at http://utvikler.start.no/code/php_coding_standard.html (just one copy I came across). take what you need out of there... once you stick to a method, your occasions of tracking down loose ends will drop gre

RE: [PHP] The future of PHP

2001-08-23 Thread Dave
the net... hard time convincing me that 100's of kb in Flash is worth it. He obviously is sold on JSP... let him sink with his ship. PHP isn't going anywhere anytime soon... not while *nix boxes are still the most stable performers for web. IMO of course ;) Dave -- PHP General

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
>He also said he likes how Java is OOP and has great error handling. sound more of a judgement on the staffs ability to program than the capability of the language. A great language can have crappy error handling if the designed doesn't program it in well. Dave -- PHP General Mail

RE: [PHP] Re: PHP secure

2001-08-24 Thread Dave
; that we are willing to develop a 10k interface/package for them to use on thier site, and charge them only 3 for it, but we retain the intel. prop on it because we are going to offset the cost by licensing it to others... all it is as text... Dave -- PHP General Mailing List (http://w

RE: [PHP] limit 1

2001-08-24 Thread Dave
you are probably looking for unique if not, I am not understanding what you are trying to do Dave >-Original Message- >From: Jeremy Morano [mailto:[EMAIL PROTECTED]] > >I wondering if it was possible to use limit on part of a query and not all. > >this is my query w

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
done is in fine tuning or developing new master functions... to each thier own Dave >-Original Message- >From: Jeff Lewis [mailto:[EMAIL PROTECTED]] >Sent: Friday, August 24, 2001 6:22 PM >To: Dave; Michael Kimsal >Cc: [EMAIL PROTECTED] >Subject: RE: [PHP] The future of

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
though that those asking questions are limited in their ability to understand the finer programming methods though... you give an explanation that uses arrays and functions and end up getting a "I don't understand" or "why does that do that"... and I consider those tw

RE: [PHP] Program to check for cookies

2001-08-26 Thread Dave
Please dont reply to messages with a new subject as this breaks threading. also check the man for addslashes... where are you getting the error, storage or retrieval? Dave >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Saturday, August 25, 200

RE: [PHP] convert timestamp to time?

2001-08-26 Thread Dave
imestamp (as per your output) I don't know why you are processing it again with mktime. $m=date("H:i:s"); >10:34:33 $p=echo time($m); -->998805674 date("h:i:s",$p); Dave -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] Directing A Parked Domain To A Sub Directory

2001-08-31 Thread Dave
php the requests will go to MainDomain.com/thispage.php and will return 404 error if it doesn't exist follow my concern? 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]

[PHP] Decoding mail attachments

2004-10-10 Thread Dave
} } I've included the correct PEAR file..and all quotation marks are escaped properly in the $input. However I get the following message: Fatal error: Using $this when not in object context in c:\php5\PEAR\Mail\mimeDecode.php on line 168 Is this PHP5 being buggy? I need to run in 5

[PHP] xpath and SimpleXML

2004-10-07 Thread Dave
e also tried using $filename="basiccounters1.xml"; $a=file_get_contents($filename); echo $a; //$b=str_replace("perflogs", "hello", $a); $b = ereg_replace("perflogs", "hello", $a); echo "b is $b"; Both ways gave very strange results, possibl

Re: [PHP] xpath and SimpleXML

2004-10-07 Thread Dave
. So the question is how to get quotation marks out of on object containing this: <__LogicalDisk_C_Disk_Time_>"8.0669532236989439e-006" <__LogicalDisk_C_Free_Space_>"72.189023431357128" Cheers Dave. "Matthew Sims" <[EMAIL PROTECTED]>

Re: [PHP] Payflow and Php5 on FreeBSD

2006-12-29 Thread Dave
n, but i have not been able to find the file although this one would probably be easiest. Thanks. Dave. # pkg_info apache-2.1.9_5 Version 2.1 of Apache web server with prefork MPM. apache-ant-1.6.5_2 Java- and XML-based build tool, conceptually similar to mak autoconf-2.59_2 Automati

[PHP] password protecting files, only allowing authorized users

2007-01-11 Thread Dave
direct url they should not be retrievable, but instead php should give an error msg. Any help appreciated. Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting authentication information from apache

2007-02-24 Thread dave
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try echo $PHP_AUTH_USER; Ryan wrote: > Richard, > > I looked at phpinfo() as you said, same thing... > > _SERVER["REMOTE_USER"]no value > > You may be right, this may not be available, but I don't want to keep > throwing a login screen in front

[PHP] newbie sequel question: how do we search for multiple things on 1 field like:

2010-06-18 Thread Dave
SELECT * FROM contacts WHERE state = 'CA' and name = 'bob' or name = 'sam' or name = 'sara' -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
ional_headers [, string $additional_parameters ]] - i don't know how.. I also posted this at mamp forum but there does not seem much action there... http://forum.mamp.info/viewtopic.php?f=2&t=37583&p=53515#p53515 -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
r Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path =/usr/sbin/sendmail -t -i -f m...@site.com -- > > First off, make sure that sendmail is installed and functioning. I am not using sendmail that I know of. I didn't install anything - just t

[PHP] Working on a Subsummary Report

2011-12-16 Thread Dave
? do i just loop through the full set and only display if record is in month 1 or 2 or whatever? If there are any links describing this process - that would be great any help would be appreciated... -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] [NEWBIE] Trying to combine array into one string

2005-02-15 Thread Dave
mail FROM forum_members, event_tanto WHERE forum_members.ID_MEMBER = event_tanto.tanto AND event_tanto.event ='" . $show . "'"; $tantoResult = mysql_query($tantoQuery); while ($tantoData = mysql_fetch_array($tantoResult)) { $tantoEmail = $tantoEmail . &q

Re: [PHP] [NEWBIE] Trying to combine array into one string [SOLVED]

2005-02-15 Thread Dave
Matt, Warren, Gareth, Chris, Jochem, Ospinto, Richard, Thank you all for your helpful suggestions. implode() is the command I needed, and I've applied syntax similar to Matt's suggestion. My problem is now solved. Your responses are all much appreciated. -- Dave Gutteri

[PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT']

2005-02-20 Thread Dave
out about $_SERVER['DOCUMENT_ROOT'] in the first place. Of all the server variables available, 'DOCUMENT_ROOT' seems to describe what I'm looking for, but doesn't behave how I would expect. A Google search was equally ineffective in educating me in what basic concept I

Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT']

2005-02-20 Thread Dave
want to return the image array if ($type == 'all') return $images; if ($seed !== true) { mt_srand ((double) microtime() * 100); $seed = true; } $key = mt_rand (0,sizeof($images)-1); return $dir . $images[$key]; } else { $errors[] = $dir.' is no

Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT'] [SOLVED]

2005-02-21 Thread Dave
ank you all for your time and explanations. I have learned a lot about the DOCUMENT_ROOT variable. -- Dave Gutteridge [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Maximum number of emails in mail() command

2005-02-21 Thread Dave
or the mail server or a combination of both? -- Dave Gutteridge [EMAIL PROTECTED] Tokyo Comedy Store http://www.tokyocomedy.com/english/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [NEWBIE] How to allow for tags but no others?

2005-02-25 Thread Dave
was when I realized that people might potentially be able to insert some Java Script inside of the quotes after "href=" that I realized I was in over my head. Any help much appreciated. ** <http://jp.php.net/manual/en/function.htmlentities.php> -- Dave Gutteridge [EMAIL PRO

Re: [PHP] [NEWBIE] How to allow for tags but no others?

2005-02-25 Thread Dave
having profiles that look like this: http://www.tokyocomedy.com/people.php?person=11 (Page has Japanese text) I can set up the form for users to input multiple URLs, but how can I then allow them to place them in the desired location in their text? -- Dave Gutteridge [EMAIL PROTECTED] -- PHP

Re: [PHP] [NEWBIE] How to allow for tags but no others? [SOLVED]

2005-03-02 Thread Dave
Alberto, Thank you for your explanation and your example code. I think this is how I am going to go forward in allowing my users to input links. Your time in replying is much appreciated. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] O.T. web site contractor wanted

2006-10-18 Thread Dave
imate. Thanks. Dave. -- 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   >