Re: [PHP] Ways to tell if existing setup is SAPI or Shared Object?

2007-04-19 Thread Weston C
On 4/19/07, Edward Vermillion <[EMAIL PROTECTED]> wrote: Fedora, and I'm assuming RedHat and possibly others that use their system layout, will put the loading line in /etc/httpd/conf.d/ php.conf so yes it can be in an external configuration file. That's the exact location, and it's a shared o

[PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
headerfields $fullto = $recipientname . " <" . $recipient . ">"; //$fullto = $recipientname . " <" . $recipient . ">".", ".$recip2; ini_set('sendmail_from', 't...@test.com'); mail($fullto, $subject, $mail_body, $header); //mail command :) ?> Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 3:47 PM, c...@hosting4days.com wrote: I'm having a problem with mail body issue trying to use 'do while' loop in the $mail_body var. this line: do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc ($get1)) will show ok when i

[PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
I have many of these tags on a site... They work well with all browsers i've tested - except explorer 8 (pc) '; ?> It just goes into an endless loop but stays on the original page - never going to page2.php Q: Any idea how to fix this? Thanks, c...@hosting4days.com

Re: [PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 7:57 PM, kranthi wrote: '; ?> may b u should have '; ?> Thanks kranthi & HallMarc Websites url= ... - that did the trick! Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parse Question Using list()

2009-10-01 Thread c...@hosting4days.com
& $col3 to the full contents of each for each line (not just 1st char)? '; // this shows the whole line ok echo "c1 is $col1 and c2 is $col2 and c3 is $col3".''; // this shows just 1st char of each field } ?> Thanks, c...@hosting4days.com -

Re: [PHP] Parse Question Using list()

2009-10-01 Thread c...@hosting4days.com
9 11:21:37 AM = not good for sql import Q: any way to turn this auto reformat off in excel and keep it the way I had it? (I saw nothing in pref's) Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Plotting a Line Graph It seems that the google charts work from a url - so 500 points would be way to long for any url - so I guess that option is out.

2009-10-16 Thread c...@hosting4days.com
help - dave Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread c...@hosting4days.com
Jim Lucas wrote: I would recommend http://www.rgraph.net/ It was written and is currently maintained by a member of this list. Jim Lucas Hi Jim, rgraph looks cool... most demos I see show just a few points - do you think this could display 500 points? (I'm looking through their docs now.

[PHP] Force-Saving an Audio File

2009-12-08 Thread c...@hosting4days.com
eg": case "jpg": $ctype="image/jpg"; break; case "wav": case "mp3": $ctype="application/iTunes"; break; default: $ctype="application/force-download"; } header("Pragma: public"); header("Expires: 0"); header

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread c...@hosting4days.com
Thanks Gaurav & Shawn, I'll check into your suggestions. Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML id attribute and arrays

2010-12-17 Thread Martin C
Hi, PHP converts x[a]=b parameter of the HTTP request as an array named x with its item named a set to value b. So, it seems possible to have the following (X)HTML code: Unfortunatelly, HTML specification does not allow neither "[" nor "]" inside the id attribute. Specifically: * Must begin

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
The "name" and "id" attributes do not have to be the same. Thank you, I thought it should be the same You're probably thinking of: http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 "The id and name attributes share the same name space. This means that they cannot both define an anchor w

[PHP] Adding Business Days

2005-02-11 Thread Ben C
I am trying to add 5 business/week days to today's date. Does anyone know a good way of how to do it? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XPath Query Exressions and Quote Characters

2005-03-16 Thread C Drozdowski
I've got a problem with quote characters and building XPath query expressions (PHP 5.0.3). What do I need to do to get them to work? I've tried various encoding functions but cannot figure it out. Given this expression, if $id contains one or more double quotes, an error is thrown. $query = '/

[PHP] Re: XPath Query Exressions and Quote Characters

2005-03-16 Thread C Drozdowski
$name . '"]'; Variable Assignment: $name = utf_encode('"Home"'); Using the expression throws the "Invalid Predicate" Error. On 2005-03-16 12:06:24 -0500, [EMAIL PROTECTED] (Jason Barnett) said: C Drozdowski wrote: ... $query = '//book/chapter' .

[PHP] PHP 5 DOM, XPath, UTF-8, and Form Input

2005-03-19 Thread C Drozdowski
I have been doing some testing and need confirmation that the following is correct. You have a DOMDocument that potentially contains UTF-8 encoded data (it might not however). You want to search it via DOMXpath->query() using a value that comes from a $_POST value. If the page that posts the

[PHP] Borrowed code- how to give credit

2005-03-22 Thread C Drozdowski
Hey, I used a single line of code (ver batim) from a pear class in my own code. I try to always be honest and not steal code but this single line does exactly what I need. The code is for a NPO website and will never be sold or anything like that. How should I give credit for the line of code i

[PHP] Re: mySQL outputting XML

2005-03-25 Thread C Drozdowski
There is a pear package that does this: XML_sql2xml. It's at: http://pear.php.net/package-info.php?pacid=18 There is more info at: http://php.chregu.tv/sql2xml/ It's pretty flexible. But not so complicated that you cannot read through the code to figure out what's going on. -- PHP General Mailing

[PHP] Using header(0 to manage user inactivity

2005-04-03 Thread C Drozdowski
I'd like to be able to "timeout" a user if they are inactive for X minutes. Say, if they walk away from the browser leaving sensivive data in plain view. Is there any reason that using the header() function as below wouldn't be a reliable way to do this (albeit user-unfriendly)? It "works for

[PHP] Why do I have to declare __set if I declare __get for read-only properties?

2005-04-04 Thread C Drozdowski
Howdy, I'd like to access some of the private members of my classes as read-only properties without resorting to function calls to access them. (e.g. $testClass->privateMember instead of $testClass->privateMember(), etc) Based on my research and testing, using the __get and __set overloading m

[PHP] cancelling

2005-04-05 Thread newbie c
Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. Basically, I have a mypictures.php file. There are select statements, grep statements, and a call to executables. I don't understand why there isn't that much around about this c

RE: [PHP] cancelling

2005-04-05 Thread newbie c
user from making some huge request then going away for a couple of days. I don't want to restrict the requests of a user however how can I stop them from monopolizing the server? thanks! "Chris W. Parker" <[EMAIL PROTECTED]> wrote: newbie c on Tuesday, April 05, 2005 11

[PHP] Smart Trimming of UTF-8 Entities for Database

2005-04-07 Thread C Drozdowski
I need to be able to store UTF-8 characters from a form into a MySQL table. But I need to support pre-UTF-8 MySQL (< 4.1). So I'm converting UTF-8 characters into their numeric entities (e.g. ñ = ñ). The problem is that if the user enters a character that gets converted to an entity, the strin

[PHP] Including class of Exception in exception message

2005-04-09 Thread C Drozdowski
I'm using Exceptions and variously handling them in try..catch blocks or defaulting to my set_exception_handler handler. When I create an Exception I'd like to prepend the class of the Exception to the message. Can this be done with code or do I have to hard code the name of the Exception class

[PHP] Advantages of declared vs undeclared object properties

2008-05-25 Thread Weston C
In a setup like you've got with a SimpleXML object, where object properties aren't necessarily declared in the class definition but are added on an ad hoc basis, is there any performance hit? If not, other than the ability to mark properties as private, is there any other particular advantage to d

[PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Weston C
This might be a dumb question with an obvious answer somewhere, but I'm wondering if it's possible to build php extensions as shared objects that plug into the PHP binary much like an apache shared module plugs into apache. Is PECL close to this? Sorry if this is obvious. Searches on the topic a

Re: [PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Weston C
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote: > See http://www.php.net/dl (though a lot of hosts disable this > functionality for security reasons). Fortunately, I'll have full control of the hosting environment in the context this matters. :) dl is definitely interesting, bu

[PHP] PHP Form isnt emailing me

2007-06-08 Thread Austin C
Hello, I just finished making a PHP contact form for my webite, and I can run through the whole thing, and get no errors, but it doesnt email me the form contents. *Here is th actual form page:* Contact Me Please

[PHP] PHP Source File Encoding

2006-11-11 Thread C Drozdowski
Gotta a question whose answer should be really obvious to me but, for some reason, is just eluding me. Which encodings can PHP handle for source files? I've been using iso-8859-1 but what about utf-8? Thanks, C Drozdowski -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] 5.3 Timeline and Features(true anon functions? shorter array syntax?)

2008-06-21 Thread Weston C
Just curious if anyone knows the rough timeline for PHP 5.3. Also curious if anyone knows whether anon functions/closures or a shorter JSON-ish array syntax are being considered for inclusion. I know there were two patches announced in December/January: http://marc.info/?l=php-internals&m=1198336

[PHP] PHP 5 auto-htmlentitizing strings?

2008-08-02 Thread Weston C
I just switched over an app from PHP 4 to PHP 5, and one of the weird things I'm noticing initially is that some of the html output seems to be html entitized. For example, a link that was showing up in html output as: "http://metaphilm.com/philm.php?id=29_0_2_0";>Is Tyler Durden Hobbes?" now ge

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Chacha C
Somehow .. I feel this isn't PHP Related. On Sat, Aug 2, 2008 at 11:08 AM, Robert Cummings <[EMAIL PROTECTED]>wrote: > On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote: > > On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > > > > Sorry, I hired a profession fo

Re: [PHP] PHP Memory Management

2008-08-03 Thread Chacha C
is it possible because you can assign $func = foo and call $func() and it will call foo(), maybe that its creating an endless loop of assigning the function to itself? On Sun, Aug 3, 2008 at 11:17 AM, brian <[EMAIL PROTECTED]> wrote: > Waynn Lue wrote: > >> I've been running the script below: >>

[PHP] Echo in __GET()

2008-08-05 Thread Tyler C.
Is the a way to have an array, or use __get() to provide different data if you are echoing a variable, rather than if you are using it in a 'if' statement? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] "make install" doesn't seem to work on "downgrade" on OS X -- anyone else seen this?

2008-08-19 Thread Weston C
I recently downgraded from a build of 5.3 to 5.2.6 on OS X, and had a bit of time figuring out what was going on when "make install" didn't seem to actually copy the CLI binary and Apache SO to their target spots. Has anyone else seen this problem? What category would a bug report for this be und

Re: [PHP] "make install" doesn't seem to work on "downgrade" on OS X -- anyone else seen this?

2008-08-19 Thread Weston C
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Is there a particular reason you are downgrading? I'm pretty happy with some of the features in 5.3, but have been asked to work with a codebase that turned out to have some issues under 5.3 that didn't show up under 5.2.x.

[PHP] Forcing Mac's to show download box, rather than inline

2004-04-02 Thread Mark C
Hi, I'm trying to server an image(s) up from a php script, this script, checks for the image and then outputs the required header types, I'm trying to get the browsers to download the requested image (when they click the link), rather than display inline. I've got it working on both Mozilla and I

Re: [PHP] Forcing Mac's to show download box, rather than inline

2004-04-02 Thread Mark C
Once upon a time Mark C was quoted as saying: > Hi, > > I'm trying to server an image(s) up from a php script, this script, > checks for the image and then outputs the required header types, I'm > trying to get the browsers to download the requested image (when they >

Re: [PHP] tiff to pdf conversion

2004-04-02 Thread Mark C
Once upon a time Jason Wong was quoted as saying: > On Friday 02 April 2004 16:39, Brent Clark wrote: > >> anyone know of a quick way to convert a tiff file to a pdf format >> file. I was thinking of a shell script. you could give ImageMagick a try, i.e convert somefile.tif somefile.pdf http://

[PHP] Warning: exec(): Unable to fork

2004-04-05 Thread Mark C
ve tried system, exec, passthru), yet they all give this error: Warning: exec(): Unable to fork [C:\WINNT\SYSTEM32\CMD.EXE /?] in index.php on line 45 >From googleing this would seem a windows specfic problem, but as of yet I have not found an answer, it seems pretty common on windows. Has a

[PHP] file upload

2004-10-25 Thread Victor C.
Hi, I'm trying to submit a file from "index.php" to "index2.php". I know how to do file upload in PHP. On "index.php" I have: The next page would only need to use $HTTP_POST_FILES['myfile'] to access the submitted file. My question is: if I already know which file I want to submit, say "fil

Re: [PHP] file upload

2004-10-25 Thread Victor C.
ws:[EMAIL PROTECTED] > You can't, at least you SHOULDN'T. Just think about what you're asking > for, you want to download a file from a users computer, without them > knowing about it. > > Major security/privacy issues there that browsers try to prevent. > > Chris &g

Re: [PHP] file upload

2004-10-25 Thread Victor C.
P the file from one > server to the other. Just 2 examples. And, you could even POST the file > from one to the other. > > That solution seems a bit icky to me, but it all really depends on what > you need. Pulling is generally easier than pushing. > > Chris > > Victor C.

[PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Hi, I'm trying to get PHP to display the millisecond of current time. I can't find that option in "Date()".. Any hints? Thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Thank you all for answering! Really appreciate it. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > Hi, > > > > I'm trying to get PHP to display the millisecond of current time. I can't > > find

[PHP] Timezone

2004-10-27 Thread Victor C.
Is there a way to get PHP to display the full name of time zone? date(t) only displays in the format of 'EDT', 'PDT', etc.. But I need the full name of the timezone, ie. "Pacific daylight saving time". I know I can hard code all of these using switch statemetns. I'm just wondering if there is a fu

[PHP] PHP and send XML

2004-10-28 Thread Victor C.
Hi, I'm trying to pass XML file from Site A to Site B for Site B to parse. Site B is maintained by other company, so I only need to worry about sending over the XML file. I've been hinted that fsockopen() can do the job. I've done the following through PHP: $port="80"; $host="134.134.134.134" $

[PHP] php array question

2004-11-01 Thread Victor C.
Hi, I have a line of php that I don't really understand. foreach($this->orders as $OrderID => $value) { echo $OrderID.""; $OrderObject =$this->orders[$OrderID=>$value]; echo $OrderObject->OrderID."<--all the same"; } I know that $this->orders is an array of "order" objects. the resul

[PHP] Re: php array question

2004-11-01 Thread Victor C.
But why would the this line generate different OrderID on lines 1 and 3? "Ben Ramsey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > $OrderObject =$this->orders[$OrderID=>$value]; > > This line is confusing. $OrderI

[PHP] Re: php array question

2004-11-01 Thread Victor C.
firsttime] => 1 ) [OrderID] => 392 [CartID] => 90 [TemplateID] => 1 [UserID] => E2401 [completed] => 1 [ordername] => 4312 [existsindb] => 1 [cost] => 3665.2 [totalcopies] => [directmailquantity] => [directshippingmethod] => [overprintquantity] => 4312 [overprint

[PHP] Re: php array question

2004-11-01 Thread Victor C.
Hi Ben, I tried your portion of code and find out what was wrong... Apparently I used & in adding order to the array and that was messing things up... Everything is working now. Thanks for all the help "Victor C." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

[PHP] page redirect question

2004-11-09 Thread Victor C.
Hi, Is there anyway to redirect php page other than using HEADER("LOCATION:URL") ? Header can only be called if nothing is written to HTML... Is there anyway around it? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms and viewing Text Area

2004-12-09 Thread Ben C
I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? -- PHP General Mailing List (http://www.

[PHP] Emacs PHP doc/ref system?

2001-02-06 Thread Phil. C
Does anyone know of a PHP quick reference or documentation system for Emacs? I have been playing around with the HTML manual, trying to get it to load into a window based on the current function, but I'm not having much success. Any help would be greatly appreciated! Thank you, Phil. -- PHP G

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Ricardo C. Fernandez de C.
Something wrong is with your "uploader" program... look at this: Content-Disposition: form-data; name="upload"; filename="C:\Documents and Settin gs\gossep\Desktop\ewimages\1.gif" And if you look closer to the data in the file, you will see it has 2 GIF or somethi

Re: [PHP] PHP 4.3.0 with Oracle

2003-01-09 Thread Thies C. Arntzen
On Wed, Jan 08, 2003 at 04:38:25PM -0200, José Manuel Valente wrote: > Hy Guys, > > I´m a newby here. > > I´am trying to compile PHP 4.3.0 with Oracle support. When it > compiles oci8.c , it returns an error, like follows: > > /bin/sh libtool --sil

[PHP] parsing ini files

2003-01-28 Thread Erich C. Beyrent
Hey everybody, I'm new the list and to PHP, so I thought I'd launch right in with a question. I have a file which contains the following syntax: ; Events listings [event] month = january day = 23 year = 2003 venue = some club description = this is an event [event] month = january day = 12 year

[PHP] Re: Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
> Hey everyone, > > I am reading an ini file into an array using the parse_ini_file() function. What I >want to do is delete a section from the ini file, and > thought that the best way to >do it would be to unset one of the keys in the array returned by the parse function. >I then want to >

[PHP] Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
Hey everyone, I am reading an ini file into an array using the parse_ini_file() function. What I want to do is delete a section from the ini file, and thought that the best way to do it would be to unset one of the keys in the array returned by the parse function. I then want to write the mod

[PHP] html tags

2003-02-08 Thread Erich C. Beyrent
Hi everyone, A quick question about html tags and PHP. I have a text area where users can submit text, and I need them to able to have links in the text if they so choose. The contents get written to an ini style flat file database. The problem comes when I try to print that content back out fr

[PHP] HELP: Compiling php 4.3.0 and oracle

2003-02-15 Thread Bradley C. Goldsmith
;*' token /root/downloads/php-4.3.0/ext/oracle/oracle.c: In function `ora_set_param_values':/root/downloads/php-4.3.0/ext/oracle/oracle.c:1731: `cursor' undeclared (first use in this function) /root/downloads/php-4.3.0/ext/oracle/oracle.c:1749: `isout' undeclared (first use in this

[PHP] HELP: Compiling php 4.3.0 and oracle

2003-02-15 Thread Bradley C. Goldsmith
x27; token /root/downloads/php-4.3.0/ext/oracle/oracle.c: In function `ora_set_param_values':/root/downloads/php-4.3.0/ext/oracle/oracle.c:1731: `cursor' undeclared (first use in this function) /root/downloads/php-4.3.0/ext/oracle/oracle.c:1749: `isout' undeclared (first use in this

[PHP] Me again...

2003-02-24 Thread Francisco Mosse \(c\)
Hi, please see the following red code... it adds info to a MySQL Table called "Schools". Whats the problem? Although the first time you execute it, it works, after the first time you send the form you get ERROR. $qs = 'INSERT INTO Schools (LongName, Abbreviation) VALUES (' . "'" . add

Re: [PHP] Php, Blob, Oracle

2003-02-27 Thread Thies C. Arntzen
)){ > $displaypage =$displaypage. > " > >".$row["blobcolumn"].""; ".$row["BLOBCOLUMN"].""; > >}; > $displaypage=" > <\table>"; > r

[PHP] PHP 4.3.1, ini_set, ini_get, memory_limit, and max_input_time

2003-07-06 Thread Raymond C . Rodgers
or that might be specific to my OpenBSD/Apache server? (In short, will this work properly on the Red Hat Linux/Apache installation that this script will be placed on?) Or is this a known bug in PHP 4.3.1? (As I seem to have no problem with a few other ini_get() calls.) Or is this behavior just

[PHP] Reminder programs

2003-07-23 Thread c b gambrell
Does anyone have experience with any of these email reminder programs or can someone suggest a better alternative? "myAgenda" "E*Reminders" "Flash - Reminders" "Email Reminders" These seem to address my needs (support web-based creation of reminder, support single or recurring reminders, can

[PHP] php based spreadsheet-like app?

2003-03-23 Thread Bradley C. Goldsmith
Hi, Does anyone know of a php (or other really) based web app that provides spreadsheet like tables with formulae support? Cheers, Brad -- Bradley C. Goldsmith <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 4.3.2 compile error on redhat 7.3, gcc 2.96

2003-06-05 Thread Kent C. Kollasch
I just downloaded 4.3.2 and tried to compile it and got the following error. tmp/ccD1yFXu.s: Assembler messages: /tmp/ccD1yFXu.s:948: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccD1yFXu.s:948: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccD1yFXu.s:948: Error: Rest of

Re: [PHP] Compile 4.3.2 Errors.

2003-06-05 Thread Kent C. Kollasch
The build doesn't even get past the first program to compile. I used the defaults in configure and ran make an it fails immediately. Evan Nemerson wrote: Don't know about 4.3.2, but at the end of 5.0-dev make, the following message is output: Build complete. (It is safe to ignore warnings abou

[PHP] nl2br and

2003-06-27 Thread Raymond C. Rodgers
If unspecified, the call to nl2br() would continue to function as it always has. However if specified, and set to false, the function would return the HTML compliant break tag . Thoughts? Comments? -- Raymond C. Rodgers http://bbnk.dhs.org/~rrodgers/ http://www.j-a-n.net/ -- PHP Genera

[PHP] Geting information from XML

2003-06-30 Thread Denis C(ahuk
Can someone tell how to get information from an XML file, without the F* commands, in PHP? e.g.: Hello -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Thies C. Arntzen
On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote: > Is there a way to limit the total number of persistent connection to an > oracle database? I know this functionality exists for MySQL through a > setting in the php.ini but I haven't found it for oracle. I am in an > environment wher

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Thies C. Arntzen
ting a new session over an already established link is still fast) - not use oracle (just kidding;-) or, do you have any better ideas? re, tc > > Eric > > On Tue, 23 Jul 2002, Thies C. Arntzen wrote: > > > On Tue, Jul 23, 2002 at 11:00:43AM -0700, Er

Re: [PHP] 4.04 --> 4.1.2 incompatible

2002-08-20 Thread Thies C. Arntzen
On Tue, Aug 20, 2002 at 11:28:55AM +0200, Petre Agenbag wrote: > Hi > Can someone please tell me what settings to check for on 4.1.2 in order > to ensure that scripts that runs on 4.0.4 will run on 4.1.2? > > I HAVE checked registered_globals = on, but I still get variables that > are not passed

Re: [PHP] 4.04 --> 4.1.2 incompatible

2002-08-20 Thread Thies C. Arntzen
> On Tue, 2002-08-20 at 11:52, Thies C. Arntzen wrote: > > On Tue, Aug 20, 2002 at 11:28:55AM +0200, Petre Agenbag wrote: > > > Hi > > > Can someone please tell me what settings to check for on 4.1.2 in order > > > to ensure that scripts that runs on 4.0.4 will

[PHP] SMS

2002-09-03 Thread Lejanson C. Go
what are the components to be use if you want to set up a site that SENDS Free SMS and uses PHP? -- Lejanson C. Go, SDE I -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Conditionally include file based on document location

2002-09-17 Thread Eric C. Pollitt
le. The closest PHP example that I have found thus far follows: [INCOMPLETE] PHP CONDITIONAL INCLUDE EXAMPLE Extracted from: <http://www.jwweb.com/20010629.html> ------

Re: [PHP] Oracle connection release

2002-09-18 Thread Thies C. Arntzen
On Wed, Sep 18, 2002 at 02:48:13PM +0200, Rasmus Sellberg wrote: > Does PHP release the Oracle connection if I run PHP from the command line? yes tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Image resolution and php

2002-09-18 Thread Eric C. Pollitt
file type, resolution, color profile, date created, date modified and copyright. The File Browser also gives you the added advantage of being able to search for images visually rather than just by file name. Eric C. Pollitt, Founder 401 E. Illinois Ave. Peoria, IL 61603 Global Hemp - Portal to the

Re: [PHP] mid-level PHP/MySQL people in Los Angeles?

2002-09-18 Thread Eric C. Pollitt
/Remotely _Provided_Services/> to find more. PS I am not affiliated with Elance, just a suggestion. Eric C. Pollitt, Founder 401 E. Illinois Ave. Peoria, IL 61603 Global Hemp - Portal to the hemp community http://www.globalhemp.com/ Create like a god. Command like a king. Work like a slave! -- Constan

Re: [PHP] Conditionally include file based on document location

2002-09-18 Thread Eric C. Pollitt
hanks, Eric C. Pollitt, Founder 401 E. Illinois Ave. Peoria, IL 61603 Global Hemp - Portal to the hemp community http://www.globalhemp.com/ "Hemp is of first necessity to commerce and marine, in other words, to the wealth and protection of the country." -- Thomas Jefferson > From: Marek

Re: [PHP] editor php

2002-09-19 Thread Eric C. Pollitt
I haven't tried this, but it's a PHP Class named, "EditPHP." http://spunge.mirrors.phpclasses.org/goto/browse.html/package/43.html Eric C. Pollitt, Founder 401 E. Illinois Ave. Peoria, IL 61603 Global Hemp - Portal to the hemp community http://www.globalhemp.com/ "

[PHP] OSCON: anybody interested in my Oracle talk?

2002-06-26 Thread Thies C. Arntzen
hi, seems like oreilley will cancel my tutorial about PHP and Oracle at OSCON in san diego as there are not enough ppls interested. so - if you go to oscon, and if you are interested in that subject _and_ if you have not decided to sign up for my tutorial - hurry up

Re: [PHP] PHP Oracle 8 Functions Efficiency Problem

2002-06-29 Thread Thies C. Arntzen
On Thu, Jun 27, 2002 at 11:09:23AM -0600, notoriousvic_ca wrote: > I have an HTML form which allows users to query data in an Oracle 8 > Database. Usualy a search may return over 100 records so I diplay 10 > records per page. I would like to make the search more efficient by > using the OCISetPre

Re: [PHP] PostgreSQL

2002-07-16 Thread Lejanson C. Go
ess of the host that will access the postgreSQL database at the server. i hope i got it right -- Lejanson C. Go, SDE I -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] detaching and running php processes in the background

2003-11-21 Thread Gary C. New
What is the best way to detach and run a command line based php script in the background from a web-based php script, without the need for reporting? I have a web-based php script that gathers information and then passes it off to several functions, which execute several other php scripts. The

[PHP] PHP 4.3.4 configure

2003-12-18 Thread Bernard C. Saulter
I'm trying to configure/compile PHP4.3.4 on Solaris 2.8. Seem that 'configure' just hangs now. The 'new' build systems is broken. I can build older version with no problem. Seem something that was not broken was 'fixed'. (Not a good idea.) So, the old command of: 'configure --prefix=(what ever) --w

[PHP] PHP 4.3.4 configure

2003-12-20 Thread Bernard C. Saulter
I'm trying to configure/compile PHP4.3.4 on Solaris 2.8. Seem that 'configure' just hangs now. The 'new' build systems is broken. I can build older version with no problem. Seem something that was not broken was 'fixed'. (Not a good idea.) So, the old command of: 'configure --prefix=(what ever) --

[PHP] Re: detaching and running php processes in the background

2004-01-06 Thread Gary C. New
$u && $p"); That's it! I know it sounds a bit complicated, but after you have all the right components functional it is quite easy. Hope this helps all those of you who have requested it. Respectfully, Gary Gary C. New wrote: What is the best way to detach and run a comm

[PHP] web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
I am trying to figure out how to encrypt data using the web-based php mcrypt function and then decrypt it using the command line (cli) mcrypt binary, and vica-versa. I cannot seem to get the same encrypted output for the same data, between the two methods. I've tried to ensure I am using the s

[PHP] Re: PHP/MySQL with Microsoft Word

2004-01-06 Thread Gary C. New
Use MySQLODBC... I use it to manage my databases through MS Access. I haven't integrated it yet with Word, but it is my intention in the near future. Hope this helps. Respectfully, Gary Satch wrote: Is there any way to have a web page (PHP) that draws data from a database (MySQL) then popula

[PHP] Re: web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
Tom, I appreciate the suggestion, but even after setting the iv to zero within the php code and including the --noiv option within the command line; it still does not produce the same base64 encoded string under both methods. I noticed that the command line was keying off of 2 passphrases and

[PHP]

2004-01-19 Thread Ian C roberts
hello all, Im having troubled with horde and imp with php 4.3.4. I receive the '' in the login field. This is a bit of a nuisance whenever someone wants to log in they have to remove this from the login field. Is there a php.ini configuration setting i can set to get rid of this? How do I pr

[PHP] info.php something missing (REMOTE_USER)

2004-01-20 Thread Ian C roberts
I have a problem with login fields. Whenever I get to my horde/imp login screen php dumps into the username field, I cannot seem to find an answer as how to prevent this. I am using, OS X 10.3 Apache 1.3.28 Horde 2.2.4 IMP 3.2.2 PHP 4.3.3 (with imap2002e) Here is the config line I have to con

[PHP-CVS] cvs: php4 /ext/standard exec.c

2001-01-10 Thread Thies C. Arntzen
standard/head.h" +#include "ext/standard/file.h" #include "exec.h" #include "php_globals.h" #include "SAPI.h" @@ -45,6 +46,7 @@ int buflen = 0; int t, l, ret, output=1; int overflow_limit, lcmd, ldir; +

Re: [PHP] iptc fields

2001-01-10 Thread Thies C. Arntzen
On Wed, Jan 10, 2001 at 02:31:48PM +0100, Markus H. Maussner wrote: > hi.. > > is there a solution how i can get all iptc fields out of an immage ? > > i tried the 'iptcparse' command wich works quiet well.. just that anny > commas are taken out.. > like from the original field > 'red,dog,cat'

[PHP-CVS] cvs: php4 /ext/standard file.c

2001-01-14 Thread Thies C. Arntzen
thies Sun Jan 14 06:11:38 2001 EDT Modified files: /php4/ext/standard file.c Log: fixed readfile() fd-leak. guys, always remember that every function that *generates output* could cause a bailout if ignore_user_abort is set to false (and the user _aborts

<    1   2   3   4   5   6   >