RE: [PHP] What's the use in OOP?

2004-03-31 Thread Peter Albertsson
performance, discussing whether or not to use OOP in PHP would simply be stupid (don't mean to offend anyone), there is so many other variables that will have a far bigger impact on performance than that. Regards, Peter Albertsson Software Engineer and System Architect -Original Message- From

[PHP] Wrong IP address

2004-03-30 Thread Peter Albertsson
if the request was proxied several times. Regards, Peter Albertsson -Original Message- From: ascll [mailto:[EMAIL PROTECTED] Sent: den 30 mars 2004 03:13 To: [EMAIL PROTECTED] Subject: [PHP] Wrong IP address Greetings, I make use of these: - ?php echo($_SERVER[REMOTE_ADDR]); ? to get

RE: [PHP] auto increment

2004-02-17 Thread Peter Billen
execute the following query: SELECT LAST_INSERT_ID(); Peter -Original Message- From: marc serra [mailto:[EMAIL PROTECTED] Sent: dinsdag 17 februari 2004 20:17 To: [EMAIL PROTECTED] Subject: [PHP] auto increment Hi, i use PEAR DB with a mysql database and i want to know

[PHP] Problem with XSLT parser

2004-02-16 Thread Peter Billen
' in E:\htdocs\test.php on line 5 So I believe the xsl:include in test.xsl is not working properly. If I remove that line (so I don't use test2.xsl), it works perfect, it prints out Peter Billen 16 (it uses the built-in rules). And my second question is: why is the home path of the XSLT parser c

Re: [PHP] Question about php forwarding to javascript

2004-02-15 Thread Peter Andersson
Thanks! It works like a charm! /peter On Sun, 15 Feb 2004 07:52:11 +0100 (CET), you wrote: Could be missing the point here because your question is quite vague. However... I am using a web page that uses the following php code to display the contents of a dynamically update webpage: ?php

[PHP] Question about php forwarding to javascript

2004-02-14 Thread Peter Andersson
to send that text to a javascript? I am quite stuck here so any help would be greatly appreciated. regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Copyrighting PHP, MySql, Apache,perl etc...

2004-01-29 Thread Peter Clarke
Ryan A wrote: Which brings up a little question, any idea of whats ZEND's (or anybody else that matters) opinion of using PHP in a domain name? eg: my-lovely-php-and-apache-website.com Have a look at http://www.php.net/license/ We cannot really stop you from using PHP in the name of your project

Re: [PHP] Drop down lists

2004-01-18 Thread Peter Vertes
Yes it's possible. I believe there's a way to do it with PEAR also but I've never done it that way before. I always do: --- SELECT name = username OPTION selected--- Please Choose a Username ---/OPTION ?php // retrieve a list of usernames from the DB $results = mysql_query(SELECT

Re: [PHP] Thumbnails in database

2004-01-17 Thread Peter Vertes
On Sat, 2004-01-17 at 16:44, Kevin Waterson wrote: Why create thumnails? You can resize the images on the fly when needed. This would be too expensive. I need to store the thumbnails in the database. So, I need to resize the image at the same time as I store it. I can do this and save

Re: [PHP] dynamicly generating a transparent truecolor image

2004-01-16 Thread Peter Vertes
If you want to create a transparent image don't forget it must be a GIF. At least that's what my graphics guys have been telling me all these years :) -Pete On Jan 16, 2004, at 04:41, Michel van der Breggen wrote: hi, i have a problem, i would like to dynamicly generete a transparent

Re: [PHP] URL rewriting...anybody done this?

2004-01-15 Thread Peter Vertes
I had the same problem with PHP after I've upgraded to 4.3.3 from 4.3.1. I was tearing my hair out but couldn't figure out what was wrong. I ended up editing my php.ini file and turning REGISTER GLOBALS = On. It works fine now and since this is on my development box I don't really care about

[PHP] File Upload Name Mangling Question

2004-01-12 Thread Peter Vertes
I'm trying to upload a JPEG image into a database using PHP and I was successful with the upload. However today I wanted to add a check to make sure the user can only upload JPEG files and not any other files so I use preg_match() to check for the strings .jpg or .jpeg in the filename and

Re: [PHP] File Upload Name Mangling Question

2004-01-12 Thread Peter Vertes
stone. Thanks for the help Richard ! -Peter -- perl -e 'print pack(H*, 70766572746573406E79632E72722E636F6D0A)' signature.asc Description: This is a digitally signed message part

[PHP] Ver 5.0 Questions ...

2004-01-11 Thread Peter
I was wondering if there is a timeline for version 5, if so where can I find it ... Also I am developing an application that I pass a lot of objects by reference, will that cause problems in version 5 ? As far as I can see in the http://www.php.net/zend-engine-2.php there is nothing there to

Re: [PHP] Exception number: c0000005 (access violation

2004-01-10 Thread Peter Vertes
Usually under Windows when you get a Memory Access Violation its a good indication that your power supply or RAM is on its way out. Is this happening to all apps or only PHP ? Unfortunately I don't know how to debug using a Dr. Watson dump but I do know of a free memory testing utility called

RE: [PHP] Display syslog file?

2004-01-09 Thread Peter Vertes
On Fri, 2004-01-09 at 10:05, Carlton L. Whitmore wrote: I'm using the root user to access the file so rights aren't an issue. Actually it is an issue because PHP is not running with root privileges (at least I hope you haven't changed it and made it run with root privileges; that would

Re: [PHP] md5() and string-length?

2004-01-09 Thread Peter Vertes
It's always a 32 character string. http://us4.php.net/manual/en/function.md5.php -Peter On Fri, 2004-01-09 at 11:30, Michael Mller wrote: Hi, is anybody here who knows the max_length of a string which is encoded by md5()? thx, Michael Berlin, Germany -- perl -e 'print pack(H

Re: [PHP] md5() and string-length?

2004-01-09 Thread Peter Vertes
Sorry my bad; I read your post but I didn't understand it fully. I agree with the others; there is no theoretical limit (only physical like available memory, disk space, etc..) to the size of a string which you can pass to the md5() function. -Pete On Fri, 2004-01-09 at 12:29, Michael Mller

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread Peter Vertes
On Fri, 2004-01-09 at 13:07, Matt Grimm wrote: Is there a distinct advantage to doing form validation / error checking on the server side using PHP? That's how I've always done it because I know PHP better than _javascript_, but wouldn't it make sense to validate as much of your form as

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread Peter Vertes
On Fri, 2004-01-09 at 14:22, Chris Shiflett wrote: But, no matter what, always validate data on the server. Otherwise, it's like being a teacher and having your students grade their own work; it only works when everyone is honest (and I can guarantee you that won't be the case on a public Web

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread Peter Vertes
It makes perfect sense now. Thanks for clearing it up for me Chris :) -Peter On Fri, 2004-01-09 at 15:29, Chris Shiflett wrote: --- Peter Vertes [EMAIL PROTECTED] wrote: Just to play devil's advocate; why would you validate data on the server if you have a _javascript_ that checked

[PHP] Image Resizing with GD

2004-01-07 Thread Peter Vertes
Hello List, I've tried googling but couldn't come up with anything useful so I'm turning to the list. Could anyone send me a link to a tutorial on how to resize images with GD ? Thanks in advance... -Pete -- perl -e 'print pack(H*, 70766572746573406E79632E72722E636F6D0A)'

[PHP] IN ANTICIPATION OF A MUTUAL BUSINESS RELATIONSHIP

2004-01-05 Thread PETER MBA ASSOCIATES
I am PETER MBA, an attorney at law, personal attorney to this engineering contractor, a National of your country, who used to be a contractor with a Mining Company here in South Africa. Herein shall be referred to as my client. On the 21st of April 2001, my client, his wife and their only

[PHP] possible bug in PHP function mysql_query() ?

2003-12-26 Thread Peter Walter
RC1, or at the MySQL command line, the query works without a problem. I am a PHP/MySQL newbie. Before I rush off and report this as a PHP bug, can anyone else confirm this behavior, or explain what I am doing wrong? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] programming the onclick() event in an anchor [FIXED]

2003-12-25 Thread Peter Walter
suggest how to fix that? Peter Evan Nemerson wrote: On Wednesday 24 December 2003 08:06 pm, Peter Walter wrote: I have written a session-enabled php page which displays a table of search results. The first column in the table contains anchor links to www.mydomain.com/mypage?seqno= where seqno

[PHP] programming the onclick() event in an anchor

2003-12-24 Thread Peter Walter
to display in the url of the browser. After googling a lot, it appears that I can use JavaScript to set a session variable in the onclick() event, but I have not been able to find an example of how to do it. Does anyone have experience doing this? Sample code would be greatly appreciated. Peter

Re: [PHP] sessions simply don't work

2003-12-19 Thread Peter Walter
Ken, I had exactly the same problem and it really stumped me for a while. Check your php start and end tags carefully - even a single space before or after the ?php ? tags (before the session_start() ) will cause this problem. Check any included files before the session_start(). Peter Brad

Re: [PHP] url rewriting within sessions - confused newbie needs help - [FIXED]

2003-12-14 Thread Peter Walter
I finally discovered the problem. There was extra whitespace after the php closing tag ? that was being interpreted as part of the header. Removing the whitespace fixed the problem. Peter Peter Walter wrote: Mike, I hope you mean session_start(). Yes, I did. Getting a bit dyslexic nowadays

[PHP] Re: PHP IDE?

2003-12-14 Thread Peter Walter
Rush, templatetamer looks like an environment that I would be interested in using; however, what support resources are available for templatetamer? Is there a news server, bulletin board, or other help resource for people new to templatetamer? Peter Rush wrote: Jough Jeaux [EMAIL PROTECTED

Re: [PHP] Session Link Problems

2003-12-12 Thread Peter Walter
Steve, As Mike said, I have a similar problem. I am using PHP 4.1.2. What release are you using? Peter Mike Ford wrote: On 12 December 2003 00:03, Steve Turner wrote: Hi, I am having a problem with sessions. On my testing machine my script works perfectly. However on the remote server

Re: [PHP] url rewriting within sessions - confused newbie needs help

2003-12-11 Thread Peter Walter
www.somesite.com/index.php or just www.somesite.com. In these cases, how is the url rewriting being suppressed for the links on the page? I simply want to understand the technique. Peter Jason Wong wrote: On Thursday 11 December 2003 14:16, Peter Walter wrote: From the book Core PHP programming

Re: [PHP] url rewriting within sessions - confused newbie needs h elp

2003-12-11 Thread Peter Walter
would not be able to retrieve the session variables - but the url links in the table are still rewritten. I do not understand why. Being new to the stateless paradigm of web applications, and to php, I feel a bit nervous about coding when I do not quite grasp what is going on. Peter Ford, Mike

Re: [PHP] url rewriting within sessions - confused newbie needs help

2003-12-11 Thread Peter Walter
could send you the url for the page? (password protected) Peter Ford, Mike [LSS] wrote: On 11 December 2003 18:01, Peter Walter wrote: Mike, Thanks for the additional explanation, and I understand the sequence of events as you described. However, please bear with me a bit - the results I

[PHP] url rewriting within sessions - confused newbie needs help

2003-12-10 Thread Peter Walter
is this happening? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] (More Information) was Problems with ldap_modify() and very large entries

2003-12-02 Thread Peter J Hartman
(consistently) ldap_mod_replace. Technically, 161-180 (thus, 17000-18000 characters) hangs inconsistently, while 160 and belows never hangs (16000 characters) and 181+ (181000 chars) hangs everytime. Any help on this would be highly appreciated, Peter John Hartman -- PHP General Mailing List (http

Re: [PHP] (More Information) was Problems with ldap_modify() and very large entries

2003-12-02 Thread Peter J Hartman
Just to note: the problem holds true for: ldap_mod_add, ldap_modify, and ldap_mod_replace. Also, adding ldap_set_option($conn, LDAP_OPT_SIZELIMIT, 20) doesn't resolve the problem (or setting it to 0). Peter On Tue, 2 Dec 2003, Peter J Hartman wrote: Here's a followup to my problem

[PHP] Problems with ldap_modify() and very large entries

2003-12-01 Thread Peter J Hartman
a print_r on the array passed to ldap_mod_replace and run ldap_modify from the commandline on it (after properly formatting it) and it works absolutely and quickly. I can't figure this out. Any help would be very very nice. If you need me to provide more information, let me know. Peter the ldif file

[PHP] Re: Securing PHP code..

2003-11-25 Thread Peter Clarke
/zend-safeguard-suite.php There are others also. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Some Information on A Help Database Application Using PHP and XML

2003-11-07 Thread Peter Hartman (To 1886)
be the best route to go, but I'd prefer the documentation app to also be in PHP. I'd imagine others have had a similar desire and perhaps an app is out there already. If anyone has insite, please let me know. Sincerely, Peter John Hartman caravelcms.org -- PHP General Mailing List (http://www.php.net

[PHP] Printing from PHP

2003-11-06 Thread Peter Goggin
this report on their local printer . If php will not support access to a client printer is there any way of embedding a Form Feed in the display so that if the screen report is printed than the data will be correctly paginated? Regards Peter Goggin --- Outgoing mail is certified Virus Free. Checked

[PHP] Mail() Function on Cobalt Raq 4

2003-10-22 Thread Peter Graber
Using a Cobalt Raq 4 w/php 4.3.1. The sendmail_path is : /usr/sbin/sendmail -t -iThis seems to be right. Can't get mail to send. Script works on other servers without fail. PHP Info here: http://www.ncafp.com/cgi-bin/phpInfo.php -- PHP General Mailing List (http://www.php.net/) To

[PHP] N/A

2003-10-20 Thread Peter Flachbart
I'm trying to use this function to outpot the content of a file that I change time to time so I'd like to see the added text into file to appear in the browser window. Could you help me? (stream_select doesn't work???) ? $fh = fopen('debug.txt','r+'); stream_set_blocking($fh ,true);

[PHP] mktime trouble

2003-10-20 Thread Peter Torraca
sure this is a date problem. (using mktime in my example here is just clearer than playing with unix timestamps). date() and mktime() are usually simple enough, but something is going wrong. Perhaps it is a dumb mistake on my part, but I'm not seeing it peter -- Peter Torraca Webmaster

[PHP] Re: [PHP-DB] $_POST in MySQL query issue...

2003-10-16 Thread Peter Beckman
--- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ --- -- PHP

[PHP] Re: [PHP-DB] Re: [PHP] $_POST in MySQL query issue...

2003-10-16 Thread Peter Beckman
sentence when the register_globals was on. Waste (albeit very minor) of variable space. Concat them. Beckman --- Peter Beckman Internet Guy [EMAIL PROTECTED

[PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Donahue, Peter
I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8. I am configuring Php with oci8 (Oracle) support. Is it possible to build Php on system A, and then move the files over to another Solaris 8 system and expect it to function properly? I expect there to be a problem with the ORACLE_HOME

[PHP] Can't find oci.h

2003-10-01 Thread Donahue, Peter
/demo -I/export/home/emsuser/ped/php-4.3.3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/export/home/emsuser/ped/php-4.3.3/TSRM -g -O2 -prefer-pic -c /export/home/emsuser/ped/php-4.3.3/ext/oci8/oci8.c -o ext/oci8/oci8.lo --- Peter Donahue Ciena Corp [EMAIL PROTECTED] 978-489-2116

[PHP] Portability of Php across Solaris systems

2003-10-01 Thread Donahue, Peter
in a different directory. Will I be able to do this, or will the hardcoded paths prevent this? I haven't seen anything in the php.ini file that appears to help here. Thanks Peter -- 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

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

[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

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

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

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

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

[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

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

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

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

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

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