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

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] 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] 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

[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

[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] 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

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] Re: Hi All

2003-07-23 Thread Peter Clarke
page would tell a browser with: meta http-equiv=Content-Type content=text/html; charset=UTF-8 Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] REVISED: PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Peter Clarke
Robert Fitzpatrick wrote: Sorry, the correct request and response is below, the one I copied before was from the browser: Request: Request:brPOST /XMLCommunicationServlet HTTP/1.0 Content-Type: application/x-www-form-urlencoded User-Agent: PHP XMLRPC Host: api.newedgenetworks.com:80 Connection:

Re: [PHP] Parsing PHP

2003-07-26 Thread Peter James
There is the tokenizer extension... http://www.php.net/tokenizer This might give you a good start. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Nikhil G. Daddikar [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
/manual/function.memory-get-usage.php HTH. Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: Torsten Rosenberger [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

Re: [PHP] small request

2003-07-27 Thread Peter James
Yes. . -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 27, 2003 8:34 AM Subject: [PHP] small request Hi, I want to find out

Re: [PHP] Please HELP me

2003-07-27 Thread Peter James
be referencing your uploaded file with $_FILES['util']['tmp_name'] 3. You should read the manual here:http://ca2.php.net/features.file-upload HTH. Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Rausch

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
I think it's pretty standard. It just means that you can control how much memory your script uses. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: Peter James

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
when encountered. Move this up a few lines at a time, until the original parse error goes away, and this one starts. This will help you identify where your problem is. This is a very frustrating error message, but the above should take some of the pain away. :-) HTH. Pete. -- -- Peter James

Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
Just forwarding this reply back to the list. - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Peter James [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:26 AM Subject: RE: [PHP] debuging and getting mor information about failures Peter James mailto:[EMAIL PROTECTED

Re: [PHP] Curl alternative?

2003-07-29 Thread Peter James
You can do anything (almost) with fopen() and fsockopen()... but it won't necessarilybe easy. It depends what you want to do. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Steven Kallstrom [EMAIL

Re: [PHP] DB resource as Session var

2003-07-29 Thread Peter James
to persist any type of resource from one request to the next. Cheers, Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Jackson Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 29

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Peter James
I wonder if something like mod_filter, that would be able to access each request before it hit PHP, would work for this. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Nicholas Robinson [EMAIL

RE: [PHP] formating date

2003-07-30 Thread Peter Knight
the timestamp from your string and then use that to format date. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Peter James
Via: http://www.google.ca/search?q=Crime+Perfect+2003ie=UTF-8oe=UTF-8hl=enmeta= Found: http://www.zone-h.org/ Search: Crime Perfect See: Results (doesn't look good) :-( -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original

Re: [PHP] Flash Actionscript List or Forum

2003-08-09 Thread Peter James
Not sure about a list, but this site has a boatload of tutorials and answered lots of questions that I had. http://actionscript.org/tutorials.shtml -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Joe

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
Of course, in this case, it would be much easier replace all of the above with echo join(' ', $search_string); and be done with it. :-) -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com

Re: [PHP] how to use array_map() with a class callback function?

2003-08-14 Thread Peter James
array_map(array('Maker', 'sGetNameId'), array(1) ) Have a look at the callback type, here: http://www.php.net/manual/en/language.pseudo-types.php -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
); -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Matt Giddings [EMAIL PROTECTED] To: 'Micah Montoy' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 12

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread Peter James
Use the post method? -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: murugesan [EMAIL PROTECTED] To: Robert Cummings [EMAIL PROTECTED]; Kris Reid [EMAIL

Re: [PHP] Calling to a page without having to load it

2003-08-14 Thread Peter James
Make your request, but send a 204 HTTP response header back. http://ppewww.ph.gla.ac.uk/~flavell/www/status204/results.html -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Creative Solutions New Media

[PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Peter Berglund
I'm getting corrupt files after I've used my upload-script. For images it works good but when I upload an wav-file , 222KB, the file gets corrupt and I can't play it. Whats the problem ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Peter Berglund
since it works with other files I think that it's some configuration somewhere that is wrong, this is the form head: FORM ENCTYPE=multipart/form-data name='spara' method='post' action='filadmin.php' and the copycode: copy($_FILES['img1']['tmp_name'], $ufolder.$_FILES['img1']['name']) Jay

Re: [PHP] Help with parse error

2003-08-20 Thread Peter James
Can you give us a couple lines either side of this? This could be due to a missing semicolon on the previous line. -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message

[PHP] uploading binary files, getting corrupt

2003-08-20 Thread Peter Berglund
I've problems uploading binary files via POST. They get corrupt. As told on this pag: http://se2.php.net/features.file-upload in the comments there are some walkarounds for this, but I can't found thoose rows to edit in the apache config. Sol 1: Your binary files may be uploaded incorrectly if

[PHP] error in apache log

2003-08-20 Thread Peter Berglund
I got alot of this error in my apache log, how do I fix it? [warn] Cannot get media type from 'application-x-httpd-php' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error in apache log

2003-08-20 Thread Peter Berglund
How to fix, where's the problem? Marek Kilimajer [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Should be application/x-httpd-php. I bet you have this mistake in your apache config files. Peter Berglund wrote: I got alot of this error in my apache log, how do I fix

Re: [PHP] virus on the list

2003-08-21 Thread Peter James
address). This version also looks through the victim's cached webpages, so any email address found on websites that many people visit have discovered that their getting hundreds or thousands of virus emails. -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect

Re: [PHP] OT-Re: worm on th list

2003-08-22 Thread Peter James
As an aside... I wonder what the ratio is of emails *from* the virus vs. emails *about* the virus. The latter certainly doesn't help the impulse response of the attack. :-) -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals

Re: [PHP] auto_prepend_file

2003-08-23 Thread Peter James
Check out php_admin_value, highlighted in the link below http://216.239.33.104/search?q=cache:mpDXuwrDs_gJ:www.php.net/configuration.changes+php_admin_value+site:www.php.nethl=enie=UTF-8 -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP

Re: [PHP] PHP Interview questions

2003-08-26 Thread Peter James
a big difference between talking and walking. My 2 cents. -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: Micheal Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

[PHP] Brainiacs please help! PostgreSQL and foreach() problem

2003-09-09 Thread Peter Sharpe
I have a database full of names. each name could be linked to any number of sub-names, each sub-name could be linked to any number of sub-sub-names, to infinity (unlikely but possible). I need to iterate through this nest of names starting with a main name; lets call the main name Peter. Peter

[PHP] pdf2txt or rtf

2003-09-11 Thread Peter Rinab
I am looking for a php class which is able to read a pdf file and dump the content in txt or rtf format file. Any solutions? Regards -- Peter Rinab eHelp24 Allescherstrasse 32 81479 München Tel.: +49/89/74909-445 Fax.:+49/89/74909-351 Mobil: +49/171/4222676 www.eHelp24.com -- PHP General

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Peter James
I thought that maybe with some Apache stuff, but I dont think there something that will help, since directives such as RedirectMatch, etc. rewrite the URL, and I dont want that, I want the URL to remain http://www.domain.com/directoryX/whatever.php mod_rewrite allows you to do internal

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
You guys running Linux sure are cocky about these sorts of things. I have no doubt that Linux' time will come, and then it will be the MacOS X users, or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar here] users that think they are untouchable. If Linux enjoyed the same

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
question... Cheers, Pete. - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Raditha Dissanayake [EMAIL PROTECTED] Cc: Peter James [EMAIL PROTECTED]; PHP-General [EMAIL PROTECTED] Sent: Sunday, September 21, 2003 11:08 PM Subject: Re: [PHP] non-php issue On Mon, 2003-09-22 at 01

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
Hey, man. This is NOT AIDS. Oh, sorry... wrong list. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] safe_mode problem

2003-09-24 Thread Peter Torraca
turn safe_mode off. Anyone see what I'm doing wrong or what I should be doing differently? Peter -- Peter Torraca Webmaster, Math Department Purdue Univ., Math 813 765-494-9998 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php4isapi.dll and header(Location: ...)

2003-06-06 Thread Peter Clarke
: - output_buffering = on Have you tried: ob_end_clean(); header(Location: http://...;); to throw away the contents of the output buffer before sending the Location header, then its nice and clean. Peter - zlib.output_compression = on Any idea ?? Other bugs with ISAPI module ??? Thanks for help

[PHP] $mc=new myclass(); or $mc= new myclass(); ?

2003-06-06 Thread Peter Misun
need knowledge help - what do you suggest to use: $mc = new myclass(); or $mc = new myclass(); because in any tutorial I can see the first form, but on page what references do in PHP manual I found out the second form so? 5o -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] selecting count and then dumping to an array

2003-06-07 Thread Peter Goggin
Try select type, count(*) from table group by type; This should return a count for each distinct type value. Regards Peter Goggin - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 12:13 AM Subject: [PHP] selecting count

[PHP] how to count memory used by a script

2003-06-09 Thread Peter Berglund
How do I count the memory usage of a script/page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] interact with .htaccess

2003-06-15 Thread Peter Berglund
I want to send user and password from php to a protected directory. For example: If I go directly to the directory I get a popup to enter user and password, the normallt way. But if I go through a php-script that checks if I'm a valid user from a database I will get access to the folder. So i

[PHP] Re: interact with .htaccess

2003-06-15 Thread Peter Berglund
what I mean is if you can create a form page in PHP prompting for a username and password and then redirect into an .htaccess protected directory without having the server pop up another username/password box? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: interact with .htaccess

2003-06-15 Thread Peter Berglund
ok, I change my question, how do I protect downloadable files from users that are not valid? without the use of htaccess? Peter Berglund [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] I want to send user and password from php to a protected directory. For example: If I go directly

[PHP] Reverse Phone Number Lookup in importable format

2003-06-16 Thread Peter Janett
option would be viable long term, and I'm hoping to avoid a legal discussion about scraping this kind of data, privacy, etc. Any ideas, resources, etc would be most appreciated. Thanks, Peter Janett New Media One Web Services, LLC http://www.newmediaone.net webmaster at newmediaone.net (303)828-9882

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Peter Janett
thoughts on how someone could still get the passwords with this setup? Thanks, Peter Janett New Media One Web Services, LLC http://www.newmediaone.net [EMAIL PROTECTED] (303)828-9882 -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 8:34 AM To: Jaap van

[PHP] HTTP Authentication does not work

2003-07-01 Thread Peter Holmberg
either. Does anyone have any ideas? Peter Holmberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-01 Thread Peter Janett
/www/html/mydatabase. That would mean that in order for someone to get the user/pass, they would have to write a php script into my directory. Any more thoughts? This seems very appealing to me. Thanks, Peter Janett New Media One Web Services, LLC http://www.newmediaone.net [EMAIL PROTECTED

[PHP] Re: Need Help: Please click on Test Link

2003-07-17 Thread Peter Clarke
and got the following result: United Kingdom, England, Southend-on-Sea So providing feedback with your options is a little tricky. England is a country not a state. It'll cause confusion if you regard it as such. Southend-on-Sea is not where I'm located. Close but no cigar :) Peter -- PHP General

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

2003-07-17 Thread Peter Clarke
Dave wrote: looking for code snippets or links to examples of the following; - Have a database with multiple fields that will be searched against (happens to be PostgreSQL in this instance, but we can migrate any MySQL based examples/code) - We wish to score search results - ie: a match in

[PHP] Re: Error - when trying to connect to postgresql

2003-07-21 Thread Peter Torraca
is missing at least a username and password. From http://us4.php.net/pg_connect : $dbconn3 = pg_connect (host=sheep port=5432 dbname=mary user=lamb password=foo); //connect to a database named mary on the host sheep with a username and password Good luck peter -- Peter Torraca [EMAIL PROTECTED

Re: [PHP] Mail From option in PHP.ini

2003-07-21 Thread Peter Torraca
and some others on the http://us4.php.net/mail page (it's a 06-Nov-2002 comment). I'm coming in a bit late to this conversation -- hopefully I'm not too far off base with this reply. If I am, sorry! peter -- Peter Torraca Webmaster, Math Department Purdue Univ., Math 813 765-494-9998 -- PHP

[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] 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] 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

[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] 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

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] 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] 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] 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

[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] 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

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

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

[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] 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

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] 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] Configure php for windows

2002-09-30 Thread Peter Houchin
ScriptAlias /php/ c:/path-to-php-dir/ one would assume that you change the C:/path-to-php-dir/ to the path of the cd drive to get it to work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PEAR DB problem

2002-10-01 Thread Peter Hall
: $database_address = mysql://user:[EMAIL PROTECTED]/dbname; require_once('DB.php'); $c_db = DB::connect($database_address); if(DB::iserror($c_db)){ die($c_db-getMessage()); } Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Flash

2002-10-01 Thread Peter Houchin
do you mean load into the menu as in populate the menu? if so then that is working but if u mean u click on a link then nothing comes up -Original Message- From: Rebekah Garner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP]

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