re: [PHP] Zip to postcode

2003-04-02 Thread Peter Hicks
Don't forget some London postcodes are Q1Q QQQ! Peter. On Wed, 2 Apr 2003, skate wrote: sorry, don't have anything to add for code, but just a note to remember that UK post codes can also be in the form... QQ11 1QQ Q1 1QQ Q11 1QQ QQ1 1QQ so it's a real pain to write an expression

Re: [PHP] Making it so the .php isn't needed

2003-04-02 Thread Peter Houchin
passing variables to a php file, I don't have to include the .php in the link...so i can have http://www.my-domain.com/page1?var1=3var2=4 instead of http://www.my-domain.com/page1.php?var1=3var2=4 Anybody know how i can make this work? THanks Teren -- Peter Houchin Sun Rentals STR Manager

Re: [PHP] Theme selector?

2003-04-01 Thread peter
foolish. The real little extra time you might need to use a template system is richly rewarded in code re-use and future changes to the site not to mention, imho, thinking better about what one is doing. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] daylight savings time ?

2003-04-01 Thread Peter Houchin
=32DI=1059 -- Peter Houchin Sun Rentals STR Manager Phone: 03 9869 6452 Fax: 03 9866 2511 Mobile:0438 789 220 [EMAIL PROTECTED] http://www.sunrentals.com.au/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ereg question

2003-03-30 Thread Peter Houchin
Beauford, Jason, Build a bridge and get over it already sheeesh TYVMIA Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: help please was: openssl php 4.3.1

2003-03-27 Thread Peter Clarke
Kalin Mintchev wrote: here is a real example: $fp = fopen (http://store.el.net/index.html;, r); while (!feof($fp)) { echo fgets ($fp,4096); } this works fine... if you try it with https you'll get an error - file not found from php I've just tried with https and it works fine. Are you

Re: [PHP] Can anyone help me

2003-03-27 Thread Peter Houchin
Dude have a look on the web 1000's of examples/tutorials there and also in it's documentation. The PHP mailing list is NOT the place to be asking this as setting/learning how to use OpenSSL aint related to PHP. Cheers Peter Suhas Pharkute wrote: Can anyone give me a basic tutorial for Secure

Re: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Peter Houchin
yes there is java script Dan wrote: On Thu, 27 Mar 2003 12:32:06 -0800 (PST), [EMAIL PROTECTED] (Manuel Ochoa) wrote: Is there any way of using php to launch a new browser without the IE toolbars? No. PHP is server side, not client side. -- Peter Houchin Sun Rentals STR Manager Phone: 03

Re: [PHP] Re Sessionid

2003-03-16 Thread Peter Goggin
i.e. every time i started a new session I got a unique string, while the string remained the sme within the same session. How is this string derived? Regards Peter Goggin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re user Identifying

2003-03-14 Thread Peter Goggin
of the session. How do I identify shopping baskets belonging to different concurrent users? Should I include the session Id in the record, use cookies or what? Is the php session Id a unique ID ? Regards Peter Goggin - Original Message - From: -{ Rene Brehmer }- [EMAIL PROTECTED] To: Peter Goggin

[PHP] Re user Identifying

2003-03-13 Thread Peter Goggin
in parallel. so that the user can choose either method. i.e. choose to register as a customer, or use the default id (perhaps via the cookie) and enter customer information at the time of placing the order? Any advice on the best way of doing this would be greatly appreciated. Regards Peter Goggin

[PHP] Re: google-apis

2003-03-10 Thread Peter Clarke
Jens Lehmann wrote: James wrote: LWP is a perl thing. Curl is probably the best thing to use. Have you tried using googles php api which they provide free? http://www.google.com/apis/ I had a look at the API, but I'm not sure if it's appropriate and easy to use with PHP. It's still beta and

[PHP] A Refreshing Problem

2003-03-06 Thread Peter Goldenberg
other than 80) PHP 4.3.1 I noticed older posts (PHP Bugs: #9232, etc.) about this problem, but can't find a resolution. Any help would be greatly appreciated. * Peter Goldenberg [mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Using mod_rewrite and PHP

2003-02-27 Thread Peter Janett
You can do this in your PHP code by itself, no need to use Apache. Search for search engine safe or search engine friendly. Fusebox.org has some default code that does this (follow the links for PHP fusebox). HTH, Peter Janett New Media One Web Services New

[PHP] update query not working

2003-02-23 Thread Peter Gumbrell
the statement updated!!! printed, but I cannot see anything wrong with my syntax. Any help would be appreciated. Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP_SELF syntax

2003-02-23 Thread Peter Gumbrell
Could someone tell me why this code prompts a parse error. I have tried it several different way. The statement is called from within a function: print form method=\POST\ name=\update_workshop\ action=\$_SERVER['PHP_SELF']\\n; Many thanks Peter -- PHP General Mailing List (http

[PHP] Variables not being received from form

2003-02-23 Thread Peter Gumbrell
) or die(display_db_query: . mysql_error()); } } Many thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Peter Hicks
Nick, md5 is a hashing function, not an encryption function. You need anti-replay if you want the password transfer to be secure On Tue, 18 Feb 2003, Clarkson, Nick wrote: Would this pass both variables in clear text back to the server ? If so would it be better to do this; [cut] Would

[PHP] Getting around the LOAD DATA LOCAL with MySQL 3.23.49 + using PHP?

2003-02-17 Thread Peter Janett
Linux, Apache (Stronghold 3.x), and MySQL 3.23.52 Any help or hints most appreciated. Thanks, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1 Sun Solaris (UNIX) accounts - PHP 4.1.2

Re: [PHP] Protecting files

2003-02-17 Thread Peter Janett
/function.fopen.php HTH, Peter Janett New Media One Web Services http://www.newmediaone.net [EMAIL PROTECTED] (303)828-9882 - Original Message - From: Justin French [EMAIL PROTECTED] To: Pax [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 17, 2003 5:40 PM Subject: Re: [PHP

[PHP] ereg usage

2003-02-16 Thread Peter Gumbrell
Could someone please tell me why this code is not working: ereg ('^[A-H]*([0-9]+)-$', $rank, $matches); $workshop_ID = $matches[1][2}; where $rank is something like C12-1 and I just need the C12 part. Many thanks Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] function problem

2003-02-14 Thread Peter Gumbrell
with scope here. I made the $option_block variable global but it still won't print. I have tested that the $column field is being populated and it is, so I believe that it must be the $option_block part that isn't working. Does anyone have any suggestions? Peter Gumbrell [EMAIL PROTECTED] -- PHP General

RE: [PHP] function problem

2003-02-14 Thread Peter Gumbrell
Exactly where does $option_block get put into $string? -Kevin - Original Message - From: Peter Gumbrell [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Friday, February 14, 2003 4:11 PM Subject: [PHP] function problem I have a function below which populates a select list, based

Re: [PHP] setcookie() in various browsers.. 3rd followup.. anyone?

2003-02-11 Thread Peter Janett
. Then, make sure your site NEVER loads without the www. (or something dot domain). Kind of a pain, but since newer browsers aren't sticking to that original spec (not sure I.E. ever did), the issue is going away with time. HTH, Peter Janett New Media One Web Services

[PHP] problems with ==?

2003-02-06 Thread Peter Gumbrell
'vendor' but none of them work. Thanks Peter Gumbrell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using 404 instead of mod_rewrite

2003-02-03 Thread Peter Janett
be called from anywhere in your web tree, so paths like ../images/img.gif won't work if a 404 is thrown in /directory/subdirectory/nothersubdirectory HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0

[PHP] selecting from an array based on form content

2003-02-02 Thread Peter Gumbrell
with the code for this. Many thanks, Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] selecting from an array based on form content

2003-02-02 Thread Peter Gumbrell
Thanks for the suggestion, John. When I implement your code, however, I get an error saying Warning: Invalid argument supplied for foreach() in home/student/peter/public_html/week4.php on line 153 where line 153 is foreach($strandx[$subject] as $strandy ) This is the code as I have it now

RE: [PHP] selecting from an array based on form content

2003-02-02 Thread Peter Gumbrell
and Probability')); Peter Gumbrell [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 2:50 PM To: 'Peter Gumbrell'; [EMAIL PROTECTED] Subject: RE: [PHP] selecting from an array based on form content Where do you define

[PHP] select unique values from an array

2003-02-01 Thread Peter Gumbrell
? Many thanks Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] selecting items from an array

2003-02-01 Thread Peter Gumbrell
, Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XORing a string with some hash???

2003-01-25 Thread Peter Litov
Hello everybody, I was wondering if someone can tell me how do I XOR a given string with some hash .. like MD5 hash or something. I know how to do this in C - it's more than easy but with PHP I can't find a way at all. Thank you all in advance. Regards, Peter -- PHP General Mailing

[PHP] Re: Check if directory has changed

2003-01-25 Thread Peter Litov
the timestamps using stat() function. Regards, Peter Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in message 003301c2c4df$d3fa42e0$9d505ad1@Nando0">news:003301c2c4df$d3fa42e0$9d505ad1@Nando0... I would like to write a function to check if the contents of a directory, its files, h

Re: [PHP] htpasswd

2003-01-23 Thread Peter Janett
that Evan pointed out (unless you're not in a shred environment, or are running PHP as cgi with Apache SuExe.), but those issues are for anything you do in PHP. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold

Re: [PHP] Re: query caching caching in general

2003-01-23 Thread Peter Janett
files, but I'm guessing that having the results cached in memory would be faster than in files. I think maybe the file caching was part of a database abstraction layer. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts

[PHP] Uploading and storing large files

2003-01-23 Thread peter a
a-b store in this folder c-d to in this and so on... Would it be stupid to store a 1 10mb mpegs in one database? Any suggestions? /peter a -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload security

2003-01-23 Thread peter a
Files in web folders should usually be 755 /peter a At 2003-01-23 11:15, Marco Alting wrote: Hi, I have a php script which uploads file to a webserver. The idea is that anyone can upload files, but only another php script can read the files. At this moment I think someone is deleting file

[PHP] Re: chown() despiration

2003-01-23 Thread Peter Clarke
on my Linux system (using a user on my system) produced: drwxrwxrwx2 leagas root 4096 Jan 23 16:43 test Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] $header = Location:........ being ignored!

2003-01-22 Thread Peter Hutnick
not using an else there is causing your problem. Using the exit as above should work, but is not a very good practice. Using the else will allow the rest of the script to run, which might be nice, or necessary. If you have a lot of if statements consider using the case/switch construct. -Peter

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
terms you want on code that relies on them. Good Luck! And seriously, talk to a lawyer. -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
. There are some pages on this subject to be found on the GPL site. Perhaps you mean the GNU site? If all else fails you could sell your hours to get the code working, and give the code for free, if needed under a distribution limitation or encoded. Now you're talking ;-) -Peter -- PHP General

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
John Wells said: However - if you want to sell software under a closed licence you will need to be carefull to avoid 'linking' with gpl'd code. The problem is that 'linking' as used in the gpl seems to refer to C programming - and is an unclear term when refering to php. I know I read this

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
John Wells said: Peter Hutnick said: Yeah...that's really what I'm wondering. If I have my own code, but make function calls and the like to script libraries licensed under the GPL, does it mean my code will have to be GPL'd as well? In a word, yes. Even if the script libraries

Re: [PHP] Re: Is there a way to undo the md5() encryption??

2003-01-22 Thread Peter Hutnick
of MD5 is not encrypted, it is a digest. That, BTW, is what the D stands for. -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dreading OOP

2003-01-21 Thread Peter Hutnick
Larry Brown said: equates an object to a function You'd be better off trying to equate an object to a data type. -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dreading OOP

2003-01-21 Thread Peter Hutnick
the member functions of an object to be easily testable black-boxes. Good luck! -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] working with pop up windows

2003-01-21 Thread Peter Houchin
either by just a refresh or what eva.. and I can't just use meta refreash as it's only on this instance that the page needs to be refreashed .. TIA Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] working with pop up windows

2003-01-21 Thread Peter Houchin
ahh shoot!!! forgot to add the values of the form once submitted go to another page before it's ment to go back to the parent page.. -Original Message- From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 11:18 AM To: 'Peter Houchin'; 'php gen

[PHP] Measuring Query Times

2003-01-21 Thread Peter Janett
I'm trying to figure out if there is an easy way to measure how long my queries in PHP/MySQL are taking to execute. Any tips or code examples most appreciated. Thanks, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts

[PHP] Re: Security

2003-01-20 Thread Peter Clarke
VirtualHost in apache's httpd.conf php_admin_value open_basedir /path/to/accessable/files Peter Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions or Cookies?

2003-01-17 Thread Peter Janett
Sessions themselves use cookies, though, right? So, if you want your app to work for those who don't have cookies, you have to pass the session data in the url string, at least that's my understanding. Peter Janett New Media One Web Services New Upgrades Are Now

[PHP] Ever complained about lousy PHP programmers?

2003-01-16 Thread Peter Hutnick
comments as gospel. References will help me take comments to heart. It will be easier on me if you send or CC comments to [EMAIL PROTECTED] Thanks a million! -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Ever complained about lousy PHP programmers?

2003-01-16 Thread Peter Hutnick
strings as input. I think I will remove the parentheses, though. -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Data type issues

2003-01-14 Thread Peter Hutnick
;, but that doesn't make a difference. Is there some whole different way of thinking I should be engaged in? Is there some way to make PHP add an int to the ASCII value of a single character string (since there seems to be no char type)? Thanks, Peter -- PHP General Mailing List (http://www.php.net

Re: [PHP] data move, Please Help..

2003-01-14 Thread Peter Janett
that doesn't exist, in order to break the DSN lock. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1 Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25, Stronghold/3.0 (Apache/1.3.22

[PHP] Favorite Email validation routine?

2003-01-12 Thread Peter Janett
, clean and fast email address syntax check. So, what is your favorite bit of code to do that? Thanks, Peter Janett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need a suggestion on developing a php-related system

2003-01-07 Thread Peter Houchin
check out php nuke or post nuke -Original Message- From: Kelvin Poon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Need a suggestion on developing a php-related system HI, I am new to PHP and I am just wondering if anyone

RE: [PHP] Need a suggestion on developing a php-related system

2003-01-07 Thread Peter Houchin
: [PHP] Need a suggestion on developing a php-related system THanks a lot Peter, would you mind explaining what is PHP nuke? From: Peter Houchin [EMAIL PROTECTED] To: Kelvin Poon [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Need a suggestion on developing a php-related system

RE: [PHP] PHP sendmail configuration

2003-01-06 Thread Peter Houchin
richard check your php.ini the mail stuff in there .. it's most likely using the address either there or ur web server config file -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 7 January 2003 10:49 AM To: PHP General Subject: [PHP] PHP sendmail

RE: [PHP] Access page via user password

2003-01-06 Thread Peter Houchin
yep look at sites like phpbeginner.com, phpwizard.com,zend.com, phpbuilder.com and browse ya way thru the tutorials there are plently of sites out there such as the ones mentioned that will give you a great helping hand :) -Original Message- From: Ezequiel Sapoznik [mailto:[EMAIL

RE: [PHP] Code contents of a function

2003-01-02 Thread Peter Houchin
so put it in a if or switch statement eg if ($var){ myfunction(); } else { sumotherfunction(); } etc -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED]] Sent: Friday, 3 January 2003 12:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Code contents of a function I

[PHP] send page with https and php sessions problem

2002-12-30 Thread Kocnár Peter
by the combination of https and php session. Is there a solution? Thanks in advance. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] rounding...sort of

2002-12-28 Thread Peter Lavender
Hi everyone, I have a nubmer: 4.1 but I only want the whole number 4, even if it's 4.9, so this rules out using round (Unless I missed a parameter). How could I do this.. I'm drawing a blank... Pete -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Date fields

2002-12-28 Thread Peter Goggin
I have a form with several date fields. I want to be able to set these by selecting from a calendar display. Does anyone know of any php function or code which would let me do this? Regards Peter Goggin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Mass Mailing

2002-12-26 Thread peter a
for the latter if anybody is interested. But please get back with some tips how to queue mail straight to the mail queue for fast delievery. /peter a At 2002-12-22 20:52, Manuel Lemos wrote: Hello, On 12/22/2002 02:52 PM, Jonathan Chum wrote: I was considering of writing the mass mailing

[PHP] LDAP support...

2002-12-23 Thread Peter Lavender
Hi everyone Quick question: I'm running debian and have apt-get php and openldap. openldap works, as does php. I'm now working with the ldap functions and here is where I'm stuck. I can see from phpinfo() that ldap has been compiled in: '--with-ldap=shared,/usr' My problem is the following

Re: [PHP] LDAP support...

2002-12-23 Thread Peter Lavender
OK this is lame, but I'm posting a reply straight after the message hits my box... I'm running debian and have apt-get php and openldap. openldap works, as does php. I'm now working with the ldap functions and here is where I'm stuck. apt-cache search php4 what turns up? php4-ldap I've

[PHP] Which one to use..

2002-12-22 Thread Peter Houchin
= index.php do this else do that now to my actual question which way/function would be the better option to use for this.. $_SERVER[REQUEST_URI], $_SERVER[SCRIPT_NAME] or try and do something with $_SERVER[PHP_INFO], or is the one that I am missing .. ? Cheers Peter the only dumb question

RE: [PHP] php/dreamweaver mx/mysql server question...

2002-12-22 Thread Peter Houchin
localhost refferes to the actual machine your are on .. what is the remote server's host name or ip number .. use one of them instead of local host -Original Message- From: Kelly Meeks [mailto:[EMAIL PROTECTED]] Sent: Saturday, 21 December 2002 10:00 AM To: [EMAIL PROTECTED] Subject:

[PHP] problem with sending pages directly from browser

2002-12-19 Thread Kocnár Peter
that it is caused by the combination of https and php session. Is there a solution? Thanks in advance. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] URL path problems

2002-12-19 Thread Peter Houchin
if ur using apache using .htaccess in the directory .. and you can also set it in the httpd.conf -Original Message- From: ªüYam [mailto:[EMAIL PROTECTED]] Sent: Friday, 20 December 2002 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP] URL path problems Suppose my web domain is

[PHP] problem with sending pages directly from browser

2002-12-18 Thread Peter Kocnar
that it is caused by the combination of https and php session. Is there a solution? Thanks in advance. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with sending pages directly from browser

2002-12-18 Thread Kocnár Peter
that it is caused by the combination of https and php session. Is there a solution? Thanks in advance. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with sending pages directly from browser

2002-12-18 Thread Kocnár Peter
that it is caused by the combination of https and php session. Is there a solution? Thanks in advance. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] No Subject

2002-12-17 Thread Peter Trotman
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php reference behavior

2002-12-17 Thread Peter Clarke
are not like C pointers, they are symbol table aliases./quote Instead of: $var1['arrayref'] = NULL; use: unset($var1['arrayref']); Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Plz help to solve my problem.

2002-12-16 Thread Peter Houchin
you will need to say what drive the temp folder is on so c:\temp\ in the php.ini -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 17 December 2002 4:11 PM To: 'Elaine Kwek'; PHP Subject: RE: [PHP] Plz help to solve my problem. From this error

[PHP] Re: Uploading a directory via browser w/ php

2002-12-11 Thread Peter Dotinga
such as ftp or scp. Regards, Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Peter Houchin
Steven, given what you've just said have you double checked that the spelling is the same for the field names in your code and also in the db.. also have you tried to just pass the info on to another page and displaying it? -Original Message- From: Steven M [mailto:[EMAIL PROTECTED]]

RE: [PHP] Report Viruses

2002-12-10 Thread Peter Houchin
only 8? i came in to work this morning and had over 20 of em :( -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 12:13 PM To: Justin French Cc: PHP List Subject: Re: [PHP] Report Viruses Both return mailer demons... 8 more viruses

RE: [PHP] Sendmail

2002-12-10 Thread Peter Houchin
check out sendmail.org -Original Message- From: Kris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 6:03 PM To: PHP List Subject: [PHP] Sendmail Hey Guys I know this is off subject but you people seem to be the only people on the net that know anything :)

RE: [PHP] Solaris

2002-12-08 Thread Peter Houchin
Kris, a couple of options for you to try are http://www.sun.com/bigadmin http://www.solariscentral.com also have a search in google also you can try this... resart the machine and press stop a after the banner comes up and you get the ok prompt .. then type boot -s (for single user mode) (you

Re: [PHP] Generating forms using OOP

2002-12-06 Thread Peter J. Schoenster
formElement. But why, why in the world do you REALLY want to do this? Have you truly used and understood smarty and yet felt this must be done? I haven't. http://smarty.php.net/ It lets you focus on your application. Peter ?php // require_once 'selectField.php'; $test[] = Yea, this works

RE: [PHP] passing sessions via POST

2002-12-04 Thread Peter Houchin
. Any help?? to set sessions 1st make sure session_start(); is towards, if not at, the top of every page to set session vars $_SESSION[var] = $_POST[var] to call a session var echo $_SESSION[var]; Cheers Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Prevent storing data when reload

2002-12-03 Thread Peter Houchin
yep have the submit got to another page and then have a header location in there to go back to the original page that the form is on -Original Message- From: Lars Espelid [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] how to make a individual submit...

2002-12-03 Thread Peter Houchin
br; echo $passwd; echo br; echo $fname; echo br; } --- Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Whimper, help :)

2002-12-03 Thread Peter Houchin
what are the field types in the mysql DB? -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 4:13 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Whimper, help :) Tom, Anyone, No I'm not looking for a , I'm trying to pass

[PHP] invalid range

2002-12-02 Thread peter a
and PHP4.0something I get this error. Can anyone help me out here? Any clues? /peter a -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] hiding php

2002-12-02 Thread Peter Houchin
yes look around for sum thing like chilli soft from sun microsystems, but it's not free.. i dunno if there is a free one.. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 4:13 PM To: PHP List Subject: [PHP] hiding php This should bump

RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

2002-12-01 Thread Peter Houchin
if its not there add it -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Monday, 2 December 2002 10:31 AM To: PHP List; Evan Nemerson Subject: RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php That's what I'm saying, there is

RE: [PHP] Postnuke --- Meta keywords and title different for all the pages...

2002-11-28 Thread Peter Houchin
Howdy, um what exactly do you want to do? add meta tag's to each individual page? -Original Message- From: Manoj Nahar [mailto:[EMAIL PROTECTED]] Sent: Friday, 29 November 2002 5:26 AM To: [EMAIL PROTECTED] Subject: [PHP] Postnuke --- Meta keywords and title different for all

Re: [PHP] controlling ownership on file uploads ...

2002-11-27 Thread Peter Janett
Since the user Apache is running as created the file, it owns it too. Make a quick PHP script to delete the files when ready. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1 Sun

Re: [PHP] problem with https

2002-11-27 Thread Peter Janett
on port 443 to point to the wrong DocumentRoot, or you need to set one up on port 443, pointing to the right DocumentRoot. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1 Sun Solaris (UNIX

[PHP] deleting a record.

2002-11-26 Thread Peter Houchin
resellers WHERE id=$id); header(Location: admin2.php?op=resellers); } I am relying on the $delete and $id to be set by the url link. any idea's as I'd like to be able to do this with out having to use a form with hidden vars.. Cheers Peter the only dumb question is the one that wasn't asked

RE: [PHP] Re: deleting a record.

2002-11-26 Thread Peter Houchin
Thanks Kyle, got it working like a treat :) for some reason it wasn't selecting the DB but it is now :D -Original Message- From: Kyle Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 10:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: deleting a record. ? //

[PHP] displaying record number in a cell in a table

2002-11-26 Thread Peter Houchin
12345etc in every cell of the html table when i need it to display as 1 2 3 4 5 etc with each number on a new row in the html table .. TIA I hope i've made what am after clear enough... Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List (http

RE: [PHP] displaying record number in a cell in a table

2002-11-26 Thread Peter Houchin
Thanks Robert -Original Message- From: Van Andel, Robert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 11:43 AM To: Peter Houchin; php_gen Subject: RE: [PHP] displaying record number in a cell in a table $result = mysql_query(select * from [database table]); echo

RE: [PHP] forum module for NUKE?

2002-11-25 Thread Peter Houchin
there's sort of one in there already ... but also check out http://www.nukescripts.net/ and that has links off that for other nuke sites/add on's -Original Message- From: The Gabster [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 26 November 2002 9:35 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] Warning with Header(Location: test.php)

2002-11-25 Thread Peter Houchin
your header command must go before any other out put to the page .. eg ?PHP lots of or no php other stuff, with out writing to the page .. .. .. Header(location: test.php); html head titleboo/title /head body etc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

[PHP] perplexed as to why this is happening...

2002-11-24 Thread Peter Houchin
( as is sposed to ) } if (!$sec = 1){ echo font class='content'please contact your nearest representive/font; } else { echo $sec; // on this echo $sec has changed value from 2 to 1 Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List (http://www.php.net

<    6   7   8   9   10   11   12   13   14   15   >