Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Duncan Hill
On Monday 07 August 2006 09:11, Jochem Maas wrote: hi Robert, thanks for thinking with me If the FS permissions to the binary are correct, odds are the file system is actually mounted noexec. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Newbie Form Question

2006-08-04 Thread Duncan Hill
On Friday 04 August 2006 13:27, Jay Blanchard wrote: [snip] I was wondering how simple it would be to set up a script to provide a subscribe/unsubscribe form for a list serve. The form would send an email to the subscribe address or unsubscribe address as selected. [/snip] I wondered about

Re: [PHP] writing to fild on another server

2006-08-04 Thread Duncan Hill
On Friday 04 August 2006 15:50, blackwater dev wrote: I have a web server and an images server. My web server doesn't have enought space for the images, hence the images server. I have to download properties from a realty database hourly and the data goes in to a db on my webserver while the

Re: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Duncan Hill
On Sat, May 27, 2006 11:02, Mark Sargent wrote: Hi All, I get the following, *Fatal error*: Call to undefined function mysql_create_db() in */usr/local/apache2/htdocs/createmovie.php* on line 6 Sounds like you don't have the MySQL component of PHP installed. If you're using the packaged

Re: [PHP] file Upload - checking file size before uploading

2006-05-10 Thread Duncan Hill
On Wednesday 10 May 2006 13:39, Jay Blanchard wrote: [snip] Is there anyway to check the size of a file before it starts uploading it? For instance, if the file is huge, and takes ages to upload, and is then rejected by the server, the user will be somewhat annoyed! [/snip] PHP is

Re: [PHP] private $foo

2006-03-29 Thread Duncan Hill
On Wednesday 29 March 2006 15:43, Philip Thompson wrote: Of course, I remember programming with rocks and that was before we   had zero's. We only had one's and that was a programming nightmare.   You new guys at least have 1's and 0's to work with. tedd I laughed my head off about your

Re: [PHP] Re: setcookie security concerns [medium]

2006-03-17 Thread Duncan Hill
On Friday 17 March 2006 15:10, Kevin Davies - Bonhurst Consulting wrote: I just picked up this thread, so excuse me if I'm repeating or have totally missed the point. Another concern I picked up from a PHP security book is using '--' - which simply comments out the remainder of the line (with

Re: [PHP] loop Q

2006-02-24 Thread Duncan Hill
On Friday 24 February 2006 10:34, William Stokes wrote: What does this do in a for loop? $counter+=1 Increments $counter. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Altering subject of email in a pop3 mailbox

2006-02-23 Thread Duncan Hill
On Thursday 23 February 2006 11:49, IG wrote: IG wrote: Is it possible to alter a subject line (or body for that matter) of an email in a pop3 mailbox? Thanks- I completely see your point. How do antispam filters work on client's computers? They seem to have no problem with adding to

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Duncan Hill
On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Routing downloads through PHP

2006-02-15 Thread Duncan Hill
On Wednesday 15 February 2006 11:35, J_K9 wrote: Duncan Hill wrote: On Wednesday 15 February 2006 11:05, J_K9 wrote: Here's the exact 500 error I'm getting: Standard Apache error. Look in your error log for more details like it suggests? I would, but I can't find it. I thought

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Monday 13 February 2006 21:55, Sam Smith wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the blogger's side writing to a

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5 minutes to install vs an hour to code a basic interface - I'd take the 5 minutes :p

Re: [PHP] php.ini version changed, code broke

2006-02-08 Thread Duncan Hill
On Wednesday 08 February 2006 16:16, [EMAIL PROTECTED] wrote: What displays???  Just ttt of course.  What exactly could have changed to make this simple script fail? register_globals probably http://uk.php.net/register_globals -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] forwarding from virtual email account to real email account

2006-01-25 Thread Duncan Hill
On Wednesday 25 January 2006 15:04, Binay(Local) wrote: Hi I think i've been misunderstood here. I meant whether this is achievable using PHP or not? I know and can be done very easily on server with either control panel or manual intervene but its integration with PHP is my main concern. I

Re: [PHP] Graphically displayed number to confirm user is a human

2006-01-04 Thread Duncan Hill
On Wednesday 04 January 2006 16:56, Dave M G wrote: First, is there a term for these kinds of images, or that kind of verification system? What would be the best search terms to look for source scripts? captcha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Managing upload files in multiple servers(pawns)

2005-12-31 Thread Duncan Hill
On Saturday 31 December 2005 02:06, Srinadh Sannidhanam wrote: Hi All, We have a site in php and two web servers(pawns) to balance the load. There is a page in the site through which user can upload images. When a user uploads an image, the request goes to only one of the two servers. So

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

2005-12-13 Thread Duncan Hill
On Tuesday 13 December 2005 16:13, Jay Blanchard wrote: $_SERVER['REFERER'] will give you the referer mosy of the time. More info from TFM can be found here; REFERER is the URL the client came from though, not the local IP address of the client. Methinks the OP wants REMOTE_ADDR. -- PHP

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

2005-12-13 Thread Duncan Hill
On Tuesday 13 December 2005 16:33, Dave Carrera wrote: $_SERVER['REMOTE_HOST'] but i think i should of said how do i compare any address starting with 192.168. REMOTE_HOST contains the resolved DNS name of an IP address. This value is dependent on your web server doing DNS resolution (and

Re: [PHP] Browser Control Help

2005-12-05 Thread Duncan Hill
On Monday 05 December 2005 16:36, Chirantan Ghosh wrote: As you suggested, I really would love to get a watermark which is invisible with initial viewing but activated once a copying/printing command ( Can be Ctrl+C or Alt+Printscreen) is used. Once the browser has the content, it's out of

Re: [PHP] IP Geographical

2005-08-11 Thread Duncan Hill
On Thursday 11 August 2005 16:37, John Taylor-Johnston typed: I have a field in my counter that collects IP addresses. Now the powers that be want be to collect that data and sort it geographically etc. Is there anyone who has done this? Where would I find some OS code? I've heard of it done.

Re: [PHP] Re: Konqueror does not like my Website

2005-07-22 Thread Duncan Hill
On Friday 22 July 2005 16:33, Michelle Konzack typed: Am 2005-07-22 10:12:17, schrieb John Nichel: You mean the 'posting a totally non-php question to a php list' bug? Because the page is generated by a couple of PHP scripts and ONLY THIS PAGE is not working. So I was thinking there is a

Re: [PHP] db insert question

2005-07-21 Thread Duncan Hill
On Thursday 21 July 2005 15:02, Jim Moseby typed: As far as I know, there is no way to insert 20 unique rows of data into a MySQL table without executing 20 queries.  Maybe someone else here does(?). Perhaps drop a note over on the MySQL list, since this is really more an SQL question than

Re: [PHP] db insert question

2005-07-21 Thread Duncan Hill
On Thursday 21 July 2005 15:23, Jim Moseby typed: Yes, MySQL supports an extended insert syntax of insert into foo (...) values (...), (...), (...). Interesting! Consulting the manual, I see that you are correct. So the OP would do something like: $sql=insert into foo values ;

Re: [PHP] Rasmus' 30 second AJAX Tutorial - [was Re: [PHP] AJAX PHP]

2005-07-21 Thread Duncan Hill
On Friday 22 July 2005 02:46, Richard Lynch wrote: If you NEED it to work, JS is simply not the right way to go, even with today's landscape. I think that depends on whether you have a closed environment, such as an intranet, or an open environment like a public web server. In the public

Re: [PHP] Ouput HTML w/PHP

2005-06-30 Thread Duncan Hill
On Thursday 30 June 2005 13:50, Rick Emery typed: the validator doesn't parse the PHP to get the HTML output (which is why I wonder if I'm not better writing the HTML and sticking PHP where it's needed). Is there a way for me to maybe use the PHP tidy functions on the string containing the

Re: [PHP] Re: security question...??

2005-06-21 Thread Duncan Hill
On Tuesday 21 June 2005 16:05, bruce typed: if i'm the server app, and you tell me that you're IE, v.6, i'd like the ability to somehow be able to gather information from you, such that i can then check with msoft to see if your answers match what msoft claims the answers should be. if you

Re: [PHP] How to confirm subscriptions by e-mail on a PHP site ?

2005-05-20 Thread Duncan Hill
On Friday 20 May 2005 09:21, Mário Gamito typed: Hi, I'm making this middle-range site (i. e., not so little, bit not so big, either), and i want users that subscribe to my site to have their confirmation made by email. Does anyone sugests a simple, yet effective way to do this ? When the

Re: [PHP] PHP5 binaries

2005-05-20 Thread Duncan Hill
On Friday 20 May 2005 17:58, Marcus Bointon wrote: It seems that none of the current major Linux distros provide PHP5   binary installation packages. By major I mean, RedHat, Fedora (it   will be in F4 when released), Mandriva, Debian, Ubuntu, possibly   others. Seriously, none have standard

Re: [PHP] PHP and PayPal

2005-05-18 Thread Duncan Hill
On Wednesday 18 May 2005 16:33, Robert Meyer wrote: Here is one way I would like it to work: 1) User fills out a form (user email address, etc.) then clicks the Buy Key button. 2) User, along with a link, unique ID (not Key), cost, and form data is sent to PayPal. Paypal document this in

Re: [PHP] str_replace on words?

2005-05-11 Thread Duncan Hill
On Wednesday 11 May 2005 17:13, Merlin wrote: Hi there, I am trying to strip some words from a sentence. I tried it with str_replace like described here: http://www.totallyphp.co.uk/code/find_and_replace_words_in_a_text_string_us ing_str_replace.htm Unfortunatelly it does not work the way I

Re: [PHP] Between Query (0T)

2005-05-08 Thread Duncan Hill
On Sunday 08 May 2005 14:20, Ryan A wrote: Hi, Sorry I know this is OT but I'm hoping someone will still help...it should be quite simple :-) I have a field in the database called age which is a DATE field. http://dev.mysql.com/doc/mysql/en/comparison-operators.html 'BETWEEN' -- PHP

Re: [PHP] Replacement Question.

2005-04-20 Thread Duncan Hill
On Wednesday 20 April 2005 15:22, Bob Palma typed: I have a database field that I need to read and do some conversion on. Here is what the raw data from the database looks like: -- 1084751309jpenaDisney Vignette Fleximon disk utilization alert C:\ at

Re: [PHP] Replacement Question.

2005-04-20 Thread Duncan Hill
On Wednesday 20 April 2005 16:01, Bob Palma typed: Wow! Thanks.. That works great. Just one small hitch though. After it prints all of the data properly, it adds one more '$date' on the end which gets printed as '12/31/69 7:00:pm'. Is there a way to do all groups - 1 ? No reason for it to

Re: [PHP] Last visitors

2005-04-19 Thread Duncan Hill
On Tuesday 19 April 2005 14:27, Ryan A typed: SELECT * FROM profile_visits WHERE user='adam' ORDER by time_of_visit DESC LIMIT 10 As for cleaning up... that's the bit that I can't figure out myself :(. */ Hey, Thanks for replying. ah! i see. sorry for misunderstanding you. No problem,

Re: [PHP] Simple Problem

2005-04-12 Thread Duncan Hill
On Tuesday 12 April 2005 16:24, PartyPosters typed: $sql=SELECT products.productID, products.title, products.number_per_box, products.stock_level, products.image, users.username, users.email, users.userID FROM users, products WHERE products.userID = $userID;

Re: [PHP] sprintf and arrays.

2005-04-07 Thread Duncan Hill
On Wednesday 06 April 2005 18:05, Brent Baisley typed: You want to have sprintf look at the contents of the variable instead of the variable itself. Anytime you want to do something like this you use the eval() function to evaluate the contents of the variable. Woot! $begin_string =

Re: [PHP] Web Site Security Hole

2005-04-07 Thread Duncan Hill
On Thursday 07 April 2005 14:55, Don typed: I was feeling pretty secure until a friend reminded me you can download complete sites by importing them with such tools as FrontPage and Dreamweaver. That way, the protection provided by the PHP server is non-existant. This is only possible in

[PHP] sprintf and arrays.

2005-04-06 Thread Duncan Hill
I have a snippet of code that looks something like: if (is_array($p_sub_values)) { foreach ($p_sub_values as $i = $v) { $p_sub_values_str[$i] = '$v'; } $s = join(',', $p_sub_values_str); $r = htmlentities(sprintf($tmp[0], $s, ENT_QUOTES); } $tmp[0] in this

Re: [PHP] secure document : solution wanted

2005-04-06 Thread Duncan Hill
On Wednesday 06 April 2005 16:23, Charles Hamel typed: Hi I am bulding a secure intranet.(php, mysql, apache) I am using a session and Mysql to handel the user accounts. Everythying works fine with that. The client now needs to share word/pdf document with the registered user. I created a

Re: [PHP] secure document : solution wanted

2005-04-06 Thread Duncan Hill
On Wednesday 06 April 2005 16:32, Eric Gorr typed: Perhaps, https? HTTPS is a transport security layer, not an authentication or access control layer. -- My mind not only wanders, it sometimes leaves completely. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] secure document : solution wanted

2005-04-06 Thread Duncan Hill
On Wednesday 06 April 2005 17:02, Charles Hamel wrote: Duncan Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] One way to handle this is to write a wrapper script that accepts the file name as a parameter. The script verifies that the user is allowed to access Can you

Re: [PHP] sprintf and arrays.

2005-04-06 Thread Duncan Hill
On Wednesday 06 April 2005 16:40, Brent Baisley wrote: For one, you are missing a right parenthesis ) in all of your examples. htmlentities( sprintf( $tmp[0], $s, ENT_QUOTES ) Meh, syntax blip from the cut and paste. Second, the string you are trying to format only has one variable

Re: [PHP] How to do this?

2004-04-10 Thread Duncan Hill
On Saturday 10 April 2004 14:36, Mike Mapsnac wrote: So I need to gather the information about each entry and update database. I cannot access the variable from $_POST because parameter is not static and $_POST is not working like this $_POST['$id']; $_POST[$id] does variable substitution,

Re: [PHP] (new question on this) http referer

2004-04-08 Thread Duncan Hill
On Thursday 08 April 2004 17:31, Joe Szilagyi wrote: Just a follow up on this one--I've seen where consistently that $HTTP_REFERER will only show local referers, but not stuff from other sites/hostnames. This is on mod_php... any workaround for that? Referrer is a function of the browser. If

[PHP] Auto-acks on posting.

2004-04-08 Thread Duncan Hill
Anyone else getting auto-acks from [EMAIL PROTECTED] and [EMAIL PROTECTED], originating on host76.ipowerweb.com when they post here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto-acks on posting.

2004-04-08 Thread Duncan Hill
On Thursday 08 April 2004 17:35, Arthur Radulescu wrote: Yes I get the same emails here Ho hum, then into the bit bucket they go. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extension problem

2004-04-05 Thread Duncan Hill
On Monday 05 April 2004 10:37, Enrico Comini wrote: I use php without problem, but my file is processed by php only if the extension is .php , why ? If I have for example a index.html with ?php at the beginning , this file is not parsed by php and I have to rename in index.php Thanks, Enrico

Re: [PHP] Hinding URL

2004-03-31 Thread Duncan Hill
On Wednesday 31 March 2004 14:38, Will wrote: Hello all, I am hoping someone can help me. When someone brings up a page in the browser, is there a way to hide the URL in the browser bar to a set URL?? Why should a remote server have control over what a local client can display? The closest

[PHP] Re:

2004-03-30 Thread Duncan Hill
On Tuesday 30 March 2004 09:40, Ketvin wrote: Dear all, i just move my previous php script to a new server and found that it is not working on the new machine. funny thing is that previously, say i am putting form items like input type=text name=item1 Manual: Register globals. $_POST,

Re: [PHP] API Documentation Via Comments

2004-03-24 Thread Duncan Hill
On Wednesday 24 March 2004 11:37, Hawkes, Richard wrote: Hi, As you may be aware, languages like Java allow you to add comments in a certain format, which can then be translated into a full HTML API Document later. Does PHP have a facility like this? If not, has anyone written anything to do

Re: [PHP] what is the best idea to make mirror for mysql database

2004-03-22 Thread Duncan Hill
On Monday 22 March 2004 23:20, QT wrote: do you know best mysql newsgroup address? http://lists.mysql.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Take post values

2004-03-17 Thread Duncan Hill
On Wednesday 17 March 2004 09:07, Tassos T wrote: Hello, I use a simple form and I cannot take the values when I do submit. I use post method. How I take te post values ? Thanks Tassos t http://www.php.net/manual/el/language.variables.predefined.php

Re: [PHP] Cron Jobs and php as apache module

2004-03-17 Thread Duncan Hill
On Wednesday 17 March 2004 11:03, Daryl Meese wrote: Hello all, Ok, I run php as an apache module but need to have some php scripts called from a cron. Since you can't have php installed as a cgi apache module I don't know how to do this. Any help would be appreciated. TIA Daryl

Re: [PHP] Re: hello

2004-02-23 Thread Duncan Hill
On Monday 23 February 2004 17:27, Ben Ramsey wrote: I would advise against sending attachments to the list with the message read it immediately. Chances are, it won't be opened or looked at. Please include a description of the problem you are facing, as well as the code you are using in your

Re: [PHP] post variables

2004-02-19 Thread Duncan Hill
On Thursday 19 February 2004 13:32, julian haffegee wrote: Hi all, I solved this today. It seems odd. If you define an action it DOES NOT work, but if you skip that entirely the POST variables are sent! so form method='POST' works form method='POST' action ='something.php' doesn't

Re: [PHP] Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Duncan Hill
On Friday 06 February 2004 14:06, Scott Fletcher wrote: Whoa!! Just got an email today right from bugs.php.net and it was intercepted by the Spam Firewall because it contain the Worm.SCO.A virus and was removed before being send to me. The email goes like this here --snip-- Title:

Re: [PHP] How to search for a date

2004-02-05 Thread Duncan Hill
On Thursday 05 February 2004 15:45, Brian Dunning wrote: Sorry this is such a basic question - but I couldn't find it online. I have a date field in MySQL: -00-00. I'm trying to insert or search for the current date, and I can't find the way to state that in the SQL. This is wrong, can

Re: [PHP] loosing var in class / function

2004-02-04 Thread Duncan Hill
On Wednesday 04 February 2004 17:52, Harry.de wrote: How can i save a variable in a function? The lower example doesn't work. The var is always an empty string! Anyone any solution? --- $some_var = foobar; require('something.php'); class

Re: [PHP] Does anyone have Upload meter php codes?

2003-11-28 Thread Duncan Hill
On Thursday 27 November 2003 18:21, Ryan A wrote: http://pear.php.net/package/HTML_Progress Very nice, But seems to have a problem with Netscape Communicator 4.75 Quote: Your browser should accept DHTML feature. Last I checked, Netscape 4.x weren't very good at that. -- PHP General

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Duncan Hill
On Wednesday 26 November 2003 10:04, Nigel Jones wrote: IMHO we'd be better off having a PHP Forum on php.net and scrub the Mailing List altogether. That would just about suit everyone. You get to subscribe to Topics you want to, you can subscribe to whole forums if you want to, less Privacy

Re: [PHP] when to use \n in forms

2003-11-25 Thread Duncan Hill
On Monday 24 November 2003 04:02, Nigel Jones wrote: Not to offend anyone BUT What the is DHTML and JS (and VB for that matter) meant to do, we can use PHP instead who needs onLoad=Gimmethedampopups() - not me anyway i http://www.kryogenix.org/code/browser/sorttable/ is a neat bit of JS

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Duncan Hill
Thomas Svenson said: Hi, It would be nice if the moderator of this, and the other PHP-lists could fix so the listserver automatically add a Reply-To header to all the mails. When I hit Reply my message would then automatically reply to the list and not the author. Less hassle for me when

Re: [PHP] SSH and php

2003-11-17 Thread Duncan Hill
On Monday 17 November 2003 15:02, Ryan A wrote: So I guess my question gets cut down to basically any good place/program to learn/use SSH? No such thing as an 'ssh command' really.. apart from the command used to invoke SSH. SSH (crudely) is an encrypted form of telnet. You need a beginner's

Re: [PHP] String to Array or Hash Table

2003-10-19 Thread Duncan Hill
sun zheng said: tx for the reply.. ya, it is what i am looking for.. however, your solution is not the right one.. please help me to adjust it a lot.. let us come back to the initial string .. approved=yeserror=authnumber=025968transactionnumber=313869; I definately want to get something like

RE: [PHP] Dealing with session expiry

2003-10-19 Thread Duncan Hill
Radek Zajkowski said: I use it with skins on a web page, users coming in can pick a theme and for the duration of their visit they have the theme(it's an illustrator website) the problem that I having is that session expiry will cause that site to fall apart after idle time. I notice sites

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Duncan Hill
That would be one solution, but I am on a shared hosting server. I cannot change the folder permissions. I've asked tech support to look into this. Does anyone know where I can get a class that will save the session vars to mysql? I ended up modifying the example of a postgres handler to

Re: [PHP] SQL injection

2003-10-17 Thread Duncan Hill
Hi i read many thing on sql injection but i just cant sumarize all the information. Most site (PHPadvisory.com, phpsecure.info, other found on google) dont talk to mutch on how to prevent SQL injection. One of the things I tend to do to limit any damage is tell the backend SQL server to not

Re: [PHP] Databases

2003-09-25 Thread Duncan Hill
On Thursday 25 Sep 2003 08:14, Shaun van den Berg wrote: Hi Im kinda new to php. I have a linux server witch has our website on it. I want to make a download page. If a person clicks on a link , they must be able to download from our server. How difficult is this , can you send me an example

Re: [PHP] alphanumeric randomized image

2003-09-25 Thread Duncan Hill
On Thursday 25 Sep 2003 23:10, Michael P. Carel wrote: Hi to all, I'm looking for a alphanumeric randomized image script. Can anyone give me a good link or an example for this? This was covered not more than 24 hours ago, and is in the archives. It's also been covered in the past two

Re: [PHP] IP to Postal Code CSV? anyone messed around with this and PHP

2003-09-24 Thread Duncan Hill
On Tuesday 23 Sep 2003 19:59, Joe Harman wrote: Is there a CSV file out there for this Does anyone know where I can aquire a file that has IP address with the corresponding Postal Code? How do you handle dynamic IP pools that cover entire states (or countries) ? : (Some of AOL's IPs come to

Re: [PHP] mySQL vs pgSQL | php vs others

2003-09-24 Thread Duncan Hill
On Wednesday 24 Sep 2003 11:24, nabil wrote: Dear all; I have been using Mysql for a long time, but I have a benchmark Q. Is pgsql , better ? faster ? more reliable than mysql ? How long is a piece of string? any comment ? Some people say that php is not for a very big enterprise, banking

Re: [PHP] WHAT IS PEAR?

2003-09-24 Thread Duncan Hill
On Wednesday 24 Sep 2003 13:48, Webmaster wrote: I checked the PEAR HOMEPAGE but still I don't quite understand what the project is about. I am familiar with writing classes and functions. Now, I can not figure out what the deal is. Does Pear consist of a class library that comes with the

Re: [PHP] RE : [PHP] PHP Editor - which to use?

2003-09-22 Thread Duncan Hill
On Monday 22 Sep 2003 11:35, BENARD Jean-philippe wrote: Not a php-must-have-editors but useful ones, for example, are phpEd and Zend Studio (text completion, functions library, ...). I found that Zend Studio is a good one because of internal CVS connexions, work on UNIX Windows systems,

Re: [PHP] breaking a string into chunks

2003-09-19 Thread Duncan Hill
On Friday 19 Sep 2003 10:20, David T-G wrote: Hi, all -- Now it's my turn to ask a simple question, or one that sure sounds like it should be... I have a 14-char date string like 20030917181909 and I need to break it into its component parts for a more readable 2003-09-17 18:19:09 view.

Re: [PHP] SSO (Single Sign On) for multiple PHP apps

2003-09-18 Thread Duncan Hill
On Thursday 18 Sep 2003 10:29, BENARD Jean-philippe wrote: We have multiple PHP apps running on different servers. We have an LDAP authentication based (today) on the apache .htpasswd file which obliged users to log on. This solution is not very clean. Because we More over, there are

Re: [PHP] Using 'print END'

2003-09-16 Thread Duncan Hill
On Tuesday 16 Sep 2003 08:14, Rudi Starcevic wrote: Hi, When printing like this: print END Hello world END; Is it at all possible to use a function in the output ? For example: print END; strtolower(Hello World) IIRC, heredocs print everything contained within literally, unless a

Re: [PHP] File Types

2003-09-15 Thread Duncan Hill
On Monday 15 Sep 2003 14:23, Ed Curtis wrote: On Mon, 15 Sep 2003, Raditha Dissanayake wrote: You don't need to look any further than mime.types files included in your apache distro. Did that as well as googled for the list of extensions. Still can't seem to find the mime type for .pm7,

Re: [PHP] Re: Do you really still pay for bandwidth?

2003-09-11 Thread Duncan Hill
On Thursday 11 Sep 2003 10:57, Kae Verens wrote: Dougd wrote: Do you really still pay for bandwidth? I do. And that makes me very aware of bulky HTML and unnecessary images, which I believe improves my work by forcing me to be efficient. Kae Ditto. I pay for my time online. Yes, I pay a

Re: [PHP] mysql Pattern Matching

2003-09-04 Thread Duncan Hill
From: Ralph Guzman [EMAIL PROTECTED] I know this question is best for the mySQL mailing list, but I am unable to subscribe to their list at this moment so perhaps somebody here can help me out. I have a table with a field where amenities are listed together using a comma delimiter like:

Re: [PHP] Re: Website templating schemes

2003-09-02 Thread Duncan Hill
Search google for Smarty (I believe it's www.smarty.php) It's a great way of separating output from the logic using templates. That'd be smarty.php.net ... didn't know .php was a tld :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP] Securing PHP code

2003-06-26 Thread Duncan Hill
On Thursday 26 June 2003 16:22, Jeff Harris wrote: http://www.php.net/md5 Set the column type of password to be a char(32). Then, pass the password through md5 to mysql to store it. To verify it, pass the password through md5 then compare it to what's in the database. Or, to avoid problems

[PHP] MySQL session handler.

2003-06-25 Thread Duncan Hill
Greetings, I've been scouring Google, trying to find a working MySQL handler for the PHP session data. Many places point to the PEAR one out on sourceforge, but the last time it was worked on was 2001, and the notes state the author was waiting for testing to make sure it worked properly.

[PHP] Text report templates a la Perl

2003-01-19 Thread Duncan Hill
I've been looking high and low, and haven't had much luck finding a way to mimic the @ templating capability of Perl. Does a class or similar exist? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] netscape user agent name...

2002-10-16 Thread Duncan Hill
On Wed, Oct 16, 2002 at 09:50:06PM +1100, Noodle Snacks wrote: my question is does Netscape 4.x send Netscape 4.x or mozilla something? Copy sent offlist, so here's a copy for the list. Google returns: http://www.psychedelix.com/agents.html -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Duncan Hill
On Sun, 4 Aug 2002, Acer wrote: Acknowledging the problem is the first step in recovery. *plonk* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is http://127.0.0.1?

2002-07-27 Thread Duncan Hill
On Sat, 27 Jul 2002, Matthew K. Gold wrote: ever since I put up a personal firewall, when I start MySQL I''ve been getting alerts that MySQL is trying to access this ip address when I start it... what, exactly, is it, and is there any reason why MySQL would need to access the internet if

Re: [PHP] (OT) News Reading

2002-07-10 Thread Duncan Hill
On Wed, 10 Jul 2002, Vincent Kruger wrote: I'm sick of outlook express handling this news on php and all the other lists i'm subscribed to... Ahh, then you mean best for a W32 platform. Options include Free Agent, Agent and Xnews. -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] ????????????????????????????????????????????

2002-07-09 Thread Duncan Hill
On Tue, 9 Jul 2002, Ben Ramsey wrote: I've just joined this mailing list this afternoon. Does this kind of thing happen often? If so, I'm going to leave the list. Nope.. once in a long while occurence. Same as a child throwing a tantrum really. -- PHP General Mailing List

Re: [PHP] Newbie Q: Fetching vs. Looping

2002-06-29 Thread Duncan Hill
On Sat, 29 Jun 2002, Chris Shiflett wrote: 2) if not, try very specific queries that retrieve just the data you need, and carefully free all results as you finish - also try to use persistent connections if you forsee your site being under heavy load. Something I haven't picked up in my

Re: [PHP] Newbie Q: Fetching vs. Looping

2002-06-29 Thread Duncan Hill
On Sat, 29 Jun 2002, Chris Shiflett wrote: Duncan Hill wrote: Is a free required for every query? Or can I go connect, query, query, query, free, close? You never have to free your results if you don't want to. As I understand it, doing so simply frees up the memory that is being

[PHP] Compile error.

2002-06-24 Thread Duncan Hill
Using the 4.2.1 source available from the main downloads page, I'm getting: php_functions.c:93:27: missing binary operator before '!' Peculiar to me, or known problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Compile error.

2002-06-24 Thread Duncan Hill
On Mon, 24 Jun 2002, John Holmes wrote: Using the 4.2.1 source available from the main downloads page, I'm getting: php_functions.c:93:27: missing binary operator before '!' You get an error when you do what? Unzip the source, compile it, run it, load a .php page, crap your pants??? I

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Duncan Hill
On Sun, 23 Jun 2002, Kevin J wrote: Hey all, I would like to place some files on my site and use PHP to track how many users have downloaded those files. Is this possible? Approach the problem logically: 1) You have a series of files that you want people to download. 2) You want to

Re: Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Duncan Hill
On Sun, 23 Jun 2002, Kevin J wrote: Sorry for giving up, but it seems to hard for me, plus I only have about 2 weeks to learn PhP, if I wanted to implement this... I don't think that is possible. The manual abounds with examples on how to a) connect to a database b) read / write data in

Re: [PHP] How to put a new line character with fputs($birthday_file,$content);

2002-06-23 Thread Duncan Hill
On Fri, 21 Jun 2002, Alfredo wrote: Hi, I am saving the result of a query on a text file. Then I want to open it with excel. At the moment, when I open it with excel, all results appear in one very long line. How could I insert a new line character at the end of each record? Unix

Re: [PHP] Accessing a form variable before the form is posted

2002-06-21 Thread Duncan Hill
On Fri, 21 Jun 2002, Ma Siva Kumar wrote: In one of the forms, there is a selection for City in the address details as well as one for the port of destination. If I use the function both the the select name will be form[city_id]. The port of destination selection overwrites the form[city_id]

Re: [PHP] Scree Resolution

2002-06-21 Thread Duncan Hill
On Fri, 21 Jun 2002, Edgar wrote: Hi, Are there any way to know what screen resolution use a user in your monitor? See javascript. -- Sapere aude My mind not only wanders, it sometimes leaves completely. Never attribute to malice that which can be adequately explained by stupidity. --

Re: [PHP] sending 1000 emails to subscribed members via php?

2002-06-12 Thread Duncan Hill
On Wed, 12 Jun 2002, andy wrote: Hi there, I am wondering whats wrong with my php script. I am trying to write a newsletter to 150 members. Therefore I did seperate the adresses with a , After about 1 minute php gave up telling me mail has failed. Why re-invent the wheel when there are

Re: [PHP] Posting to a form - When user hits BACK button all thedata is gone

2002-05-30 Thread Duncan Hill
On Thu, 30 May 2002, Ed Gorski wrote: At 02:43 PM 5/30/2002 -0400, Phil Schwarzmann wrote: When a user is posting data to a form and hits SUBMIT the user is taken to another page. But when the user hits the BACK button on his browser, all the posted data is gone. How can I get this data

  1   2   >