[PHP] Re: crazy readdir bug

2004-06-18 Thread Peter Clarke
t; } 369> } 370>} line 364 $rDirectory line 365 $srDirectory so $srDirectory does not exist. -Peter The class is constructed successfully, the function is called successfuly, the if($rDirectory = opendir("/templates")) statement returns true, and the directory most certainly e

Re: [PHP] php as CGI and $_POST

2004-06-05 Thread Peter Risdon
David T-G wrote: Peter -- ...and then Peter Risdon said... % % David T-G wrote: % % > bash-2.05a$ /usr/local/bin/php -v % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % You probably need the cgi version - not the command line one you % actually have. Ooohhh... Ouch. So

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread Peter Risdon
local/bin/php -v PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) You probably need the cgi version - not the command line one you actually have. Peter. Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies % % % Curt TIA & HAND :-D --

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
I have not changed my configuration lateley, what I know of. There is another guy working on the server, but he said he had changed nothing either. I've been running this configuration for a couple of months now and it has never caused me any troubles. /peter Michael Sims wrote: pe

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
PHP configuration has not been changed though... so it's just strange.. I read something about a similiar trouble if you SSL on the server, I have SSL installed but this site is not under https. Anybody now anything about that? /peter Chris W. Parker wrote: peter a <mailt

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
file is there.. it just won't load.. In a working PHP-file I added some code that for sure wouldn't work, and the page froze. Still showed up in the access log though.. but it didn't display any output at all obviously. /peter Peter Risdon wrote: peter a wrote: I have stumbled o

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
It not just that page.. it is all pages the will generate some sort of PHP error. Instead of the usual error output I get nothing. /peter Chris W. Parker wrote: peter a <mailto:[EMAIL PROTECTED]> on Friday, May 28, 2004 9:12 AM said: Nothing complicated at all. It loops out some

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
Nothing complicated at all. It loops out some values from a MySQL database with not more than 20 entries. It's not that.. /peter Chris W. Parker wrote: peter a <mailto:[EMAIL PROTECTED]> on Friday, May 28, 2004 9:06 AM said: Thanks, but that didn't take me anywhere. My bro

Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
Thanks, but that didn't take me anywhere. My browser still seems to hang itself or load a part of the page. I suppose it could be any of my http-processes that freezes up.. but I don't seems like it and I don't know why it would. Doesn't matter which browser I use eithe

[PHP] Unable to load pages with errors

2004-05-28 Thread peter a
run PHP 4.3.2 and Apache 2.0.47 on RedHat 9. Ideas anyone? /peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Now I can't start the session either...

2004-05-25 Thread Peter Risdon
Brian Dunning wrote: On May 25, 2004, at 9:06 AM, Craig wrote: It doesnt necessarily mean the error occured on that line, that may have been the last executed statement post a few more lines or we cant help you. // Start the session if (! session_id()) session_start(); if (not is_string($_SESSION

Re: [PHP] Sessions simply do not work?

2004-05-24 Thread Peter Risdon
Michael R. Wayne wrote: In my continuing efforts to actually get sessions to work, I upgraded to PHP 4.3.6 and apache 1.3.31. This did not make the slighest difference. So, does ANYone have ideas of how to debug this? Or is PHP simply broken and no longer able to maintain sessions? /\/\ \/\/

[PHP] apache suexec, CGI PHP and filesystem stuff

2004-05-23 Thread Peter Risdon
I posted a few days ago about problems with filesystem commands like copy(), move_uploaded_file(), backticked shell commands and so on while using CGI PHP under apache suexec. It seems that these only work in directory trees starting in the directory in which the script itself resides. So if th

Re: [PHP] Where to change upload_tmp_dir ini setting

2004-05-21 Thread Peter Risdon
Peter Risdon wrote: Hi, This page: http://www.php.net/manual/en/function.ini-set.php tells me that upload_tmp_dir is of level PHP_INI_SYSTEM and can therefore only be altered in php.ini or httpd.conf I want to be able to set this by virtual host. My httpd.conf s a directory which contains

[PHP] Where to change upload_tmp_dir ini setting

2004-05-21 Thread Peter Risdon
Hi, This page: http://www.php.net/manual/en/function.ini-set.php tells me that upload_tmp_dir is of level PHP_INI_SYSTEM and can therefore only be altered in php.ini or httpd.conf I want to be able to set this by virtual host. My httpd.conf s a directory which contains seperate files for each vi

[PHP] php cgi, apache suexec, filesystem problems

2004-05-21 Thread Peter Risdon
Hi, I am having a lot of problems with any PHP routines that have to access the filesystem - things like exec(), shell_exec(), system(), backticked shell commands, copy(), move_uploaded_file() and so on. I have a non-standard setup with CLI, CGI and mod_php all installed. These scripts are usin

[PHP] Anyone who can help me????

2004-04-16 Thread Peter Hansen
come up when i click on the link as you can do by click on the link below and see the error message http://www.flashwebb.se/bf1942live/vietnam.pl I'am running win2003 Anyone who can help me here??? Regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shell_exec

2004-04-15 Thread Peter Hansen
do can see here http://www.flashwebb.se/bf1942live/vietnam.pl Anyone who can help me here??? Regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with livestat

2004-04-15 Thread Peter Hansen
do can see here http://www.flashwebb.se/bf1942live/vietnam.pl Anyone who can help me here??? Regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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-

[PHP] Wrong IP address

2004-03-30 Thread Peter Albertsson
_FOR'] may be an array 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: - to get the

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 if there

[PHP] Problem with XSLT parser

2004-02-16 Thread Peter Billen
Hello group, I am having problems to transform xml document with xslt_process(). This is my code: test.xml: Peter Billen 16 test.xsl: http://www.w3.org/1999/XSL/Transform";> test2.xsl: http://www.w3.org/1999/XSL/T

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

[PHP] Question about php "forwarding" to javascript

2004-02-14 Thread Peter Andersson
p me" is it possible 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: ---     --- Please Choose a Username ---         // retrieve a list of usernames from the DB     $results = mysql_query("SELECT userID, username FROM users")  

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 truecol

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

Re: [PHP] File Upload Name Mangling Question

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

[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

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

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 cal

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 _javascr

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

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 Müller

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 Müller wrote: Hi, is anybody here who knows the max_length of a string which is encoded by md5()? thx, Michael Berlin, Germany -- perl -e 'pri

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

[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
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: http://www.php.net/unsub.php

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

2003-12-25 Thread Peter Walter
g code: ($seqno is the data to be passed) print ""; Result: $HTTP_POST_VARS['seqnum'] will be set to the sequence number. The only downside to this method seems to be that the "visited" anchors do not change color. Can anyone suggest how to fix t

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

2003-12-24 Thread Peter Walter
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 tags (before the session_start() ) will cause this problem. Check any included files before the session_start(). Peter Brad Pauly

[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&quo

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 nowad

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 it

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

2003-12-11 Thread Peter Walter
een a "bug" and a "feature". If it would help, I 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 y

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

2003-12-11 Thread Peter Walter
etrieve 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 [LSS] wrote: On

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

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

2003-12-10 Thread Peter Walter
ifier." My php pages all include start_session() before any content is sent to the browser, and my browser is configured to accept cookies. Nevertheless, any coded relative url links ( 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
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

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

2003-12-02 Thread Peter J Hartman
= $output; ldap_mod_replace($conn, $dn, $array); Setting the top of $i to 170 or above hangs (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 he

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

2003-12-01 Thread Peter J Hartman
do 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

[PHP] Re: Securing PHP code..

2003-11-25 Thread Peter Clarke
/store/products/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)
uld 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

[PHP] Printing from PHP

2003-11-06 Thread Peter Goggin
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 unsubs

[PHP] mktime trouble

2003-10-20 Thread Peter Torraca
date a Unix timestamp, so I'm 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 i

[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???) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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

2003-10-16 Thread Peter Beckman
$_POST[elementName], like $elementName > = $_POST[elementName], then continute use your original SQL sentence > when the register_globals was on. Waste (albeit very minor) of variable space. Concat them. Beckman --

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

2003-10-16 Thread Peter Beckman
use single quotes and concat the variables outside of the quoted line. Better performance, less problems with variables not being expanded correctly. Beckman --

[PHP] Portability of Php across Solaris systems

2003-10-01 Thread Donahue, Peter
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] Can't find oci.h

2003-10-01 Thread Donahue, Peter
I/export/home/oracle/OraHome1/rdbms/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

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

[PHP] safe_mode problem

2003-09-24 Thread Peter Torraca
p_admin_value user_dir WWW php_admin_flag engine On php_value max_execution_time 90 Currently, this setup throws "SAFE MODE Restriction in effect" errors when I try to include /pkgs/php-4.2.3/share/pear. Includes work when I turn safe_mode off. Anyone see what I'm doing

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

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
bly not the venue for his question... Cheers, Pete. - Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Raditha Dissanayake" <[EMAIL PROTECTED]> Cc: "Peter James" <[EMAIL PROTECTED]>; "PHP-General" <[EMAIL PROTECTED]&

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] some kind of redirection (not the header function)

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

[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

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

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.net&hl=en&ie=UTF-8 -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Maga

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

2003-08-21 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 Professi

Re: [PHP] virus on the list

2003-08-21 Thread Peter James
the return 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

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

[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

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

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

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: and the copycode: copy($_FILES['img1']['tmp_name'], "$ufolder".$_FILES['img1']['name']) "Jay Blanchard" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] [snip] I'm

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

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

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
or in php 4.3 echo join($wresult); -- 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 Mo

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.p

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 Profes

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: &quo

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

2003-07-30 Thread Peter James
Via: http://www.google.ca/search?q=Crime+Perfect+2003&ie=UTF-8&oe=UTF-8&hl=en&meta= 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 h

RE: [PHP] formating date

2003-07-30 Thread Peter Knight
> Any idea how I do this? > > > Try this: $mailed=$row["mailed"]; $payment=$row["payment"]; $ID=$row["ID"]; $Timestamp=strtotime($row[mailed]); $thisdate=date("F/d/Y",$Timestamp); echo "$thisdate$payment"; Before you can use date with a string I believe you have to get 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] 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&quo

Re: [PHP] DB resource as Session var

2003-07-29 Thread Peter James
sible 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 P

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 Kallstro

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 failu

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

2003-07-29 Thread Peter James
se a parse error 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. -- -- P

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]

Re: [PHP] Please HELP me

2003-07-27 Thread Peter James
ou do, you should 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 ---

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 >

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