[PHP] RE: MensHealth 12916

2008-04-02 Thread php-general
Canadian Doctor Clara Best Price On Net 79% OFF http://www.beautywarm.com No virus found in this outgoing message Checked by PC Tools AntiVirus (4.0.0.26 - 10.067.006). http://www.pctools.com/free-antivirus/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Reading an xml file from a POST array

2008-04-02 Thread Michael Horowitz
Simple XML has great tools to read xml from a string or a file. But I have it coming in as an http POST and none of them work. Its coming in as a straight file and not as a variable = value pairing like a form does. What is the best way to do this in PHP Thanks for any help -- Michael Horow

Re: [PHP] autoload with namespace

2008-04-02 Thread Larry Garfield
On Wednesday 02 April 2008, Jochem Maas wrote: > > there is one curiosity / caveat underlying the 5.3 implementation... so > > does the namespace get supplied to the autoload function as well as the > > class name? is it just one big string or are they separate? > > one big string. how does php

[PHP] pecl/PAM

2008-04-02 Thread Kyle B
Hi, I've recently installed the pecl/PAM module, however, it appears that it is not functioning as it should. It's returning a value of 1, even if the username and password are completely incorrect. This is the file I'm using to test: development# cat test.php I've created the /etc/pam.d/ph

[PHP] PAM Authentication

2008-04-02 Thread Kyle Baczynski
Hi, I'm writing a script which requires PAM authentication in order for my users to log in. Unfortunately, it seems the PAM package on PECL won't work, as FreeBSD has no pam_pwdb.so file, so it returns a blank result. Can someone enlighten me on how to get pecl/PAM working, or another method

Re: [PHP] php + copy file

2008-04-02 Thread Chris
$carpeta = "subidos"; // nombre de la carpeta ya creada. chmool 777 (todos los permisos) copy($_FILES['file']['tmp_name'] , $carpeta . '/' . $_FILE ['file']['name']); It's $_FILES not $_FILE (an 's' on the end). It's always worth using error_reporting(E_ALL) and ini_

RE: [PHP] Get Free Information for Top twenty (20) online colleges and universities

2008-04-02 Thread admin
I ask you remove this spammer from our LIST Richard L. Buskirk Senior Software Engineer -Original Message- From: steve_carpenter [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 5:14 PM To: php-general@lists.php.net Subject: [PHP] Get Free Information for Top twenty (20) online

[PHP] Get Free Information for Top twenty (20) online colleges and universities

2008-04-02 Thread steve_carpenter
Site which provide free information about Top twenty online colleges. http://www.online-colleges-and-degrees.com/ -- View this message in context: http://www.nabble.com/Get-Free-Information-for-Top-twenty-%2820%29-online-colleges-and-universities-tp16453305p16453305.html Sent from the PHP - Gen

[PHP] php + copy file

2008-04-02 Thread Emiliano Boragina
Hello I have the next code: -- archive_a_subir.php -- In archive_subir.php: You can see this in http://www.portbora.com.ar/foro/archivo_a_subir.php, when I run

Re: [PHP] Memory usage very high under AMD64?

2008-04-02 Thread Ed W
45MB x2 is a lot less than 215MB... Also, I would expect the actual consumption to be less than 2x since not all the data will be doubled in size..? Any other suggestions on how to debug this 5x jump in memory usage? Thanks Ed W Robert Cummings wrote: 64 bit integers are twice as big as 3

[PHP] Re: autoload with namespace

2008-04-02 Thread Ryan Panning
Colin Guthrie wrote: Ryan Panning wrote: Your idea for replacing '::' with '/' is good but I'd think it'll interfere with the arithmetic operator '/'. I'm sure they must have discussed such options. He didn't mean doing that in the code syntax, just in the autoload function to convert it to a

Re: [PHP] Memory usage very high under AMD64?

2008-04-02 Thread Robert Cummings
64 bit integers are twice as big as 32 bit integers. Cheers, Rob. On Wed, 2008-04-02 at 20:16 +0100, Ed W wrote: > Hi > > I am trying to figure out expected memory usage of PHP > > Under my 32bit install Apache 2 processes are drawing around 45MB > virtual and 25MB RSS. (XCache enabled) > > H

[PHP] Memory usage very high under AMD64?

2008-04-02 Thread Ed W
Hi I am trying to figure out expected memory usage of PHP Under my 32bit install Apache 2 processes are drawing around 45MB virtual and 25MB RSS. (XCache enabled) However, under 64bit, same PHP and Apache versions, FastCGI is consuming around 110MB virt and 25MB RSS. However, Apache2 processes

[PHP] Re: autoload with namespace

2008-04-02 Thread Colin Guthrie
Ryan Panning wrote: > Richard Heyes wrote: >>> err-um sorry for the noise; actually the namespaces work w/ functions >>> as well. >> >> So not OO specific? Is there anything I can read that describes them? >> > Yes, it's on the docs site. Although this continues to change as I > believe brackets {}

[PHP] Re: autoload with namespace

2008-04-02 Thread Colin Guthrie
Ryan Panning wrote: > Jochem Maas wrote: >> essentially it boils down to replacing '::' with '/' to determine the >> path >> from the namespace in your case - that is easy enough, your still >> stuck with >> finding out whether your being asked to load a namespace, class, or >> function >> (do name

Re: [PHP] autoload with namespace

2008-04-02 Thread Ryan Panning
Richard Heyes wrote: err-um sorry for the noise; actually the namespaces work w/ functions as well. So not OO specific? Is there anything I can read that describes them? Yes, it's on the docs site. Although this continues to change as I believe brackets {} are now the declaration method (but

Re: [PHP] autoload with namespace

2008-04-02 Thread Richard Heyes
err-um sorry for the noise; actually the namespaces work w/ functions as well. So not OO specific? Is there anything I can read that describes them? -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] autoload with namespace

2008-04-02 Thread Nathan Nobbe
On Wed, Apr 2, 2008 at 12:44 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Apr 2, 2008 at 12:25 PM, Richard Heyes <[EMAIL PROTECTED]> > wrote: > > > Playing around with dev PHP 5.3 and namespaces > > > > > > > PHP 5.3 will have namespaces? > > > ya; that and late static binding are like t

Re: [PHP] autoload with namespace

2008-04-02 Thread Nathan Nobbe
On Wed, Apr 2, 2008 at 12:25 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > Playing around with dev PHP 5.3 and namespaces > > > > PHP 5.3 will have namespaces? ya; that and late static binding are like the two headliners. both oo btw ;) -nathan

Re: [PHP] autoload with namespace

2008-04-02 Thread Ryan Panning
Jochem Maas wrote: essentially it boils down to replacing '::' with '/' to determine the path from the namespace in your case - that is easy enough, your still stuck with finding out whether your being asked to load a namespace, class, or function (do namespaced functions even trigger an autolo

Re: [PHP] autoload with namespace

2008-04-02 Thread Richard Heyes
Playing around with dev PHP 5.3 and namespaces PHP 5.3 will have namespaces? -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] autoload with namespace

2008-04-02 Thread Jochem Maas
Nathan Nobbe schreef: On Tue, Apr 1, 2008 at 8:28 PM, Ryan Panning <[EMAIL PROTECTED]> wrote: I haven't been keeping an eye on this list so if this has come up before please point me in the right direction. :) Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to write an auto

Re: [PHP] autoload with namespace

2008-04-02 Thread Nathan Nobbe
On Tue, Apr 1, 2008 at 8:28 PM, Ryan Panning <[EMAIL PROTECTED]> wrote: > I haven't been keeping an eye on this list so if this has come up before > please point me in the right direction. :) > > Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to > write an autoload function. S

Re: [PHP] Help with inputbox

2008-04-02 Thread Wolf
> ID : $x >    >Criação:  name=\"\" value=$creation> >Modificação:  name=\"\" value=$modif> >Origin_Val:  name=\"\" value=$origin_val> >Dealer_Id:  name=\"\" value=$dealer_id> >Name:  value=$name> > > > "; > --> There's more code, but is the same steps You aren

Re: [PHP] an easy destroying session issue...

2008-04-02 Thread Daniel Brown
On Wed, Apr 2, 2008 at 10:34 AM, pere roca <[EMAIL PROTECTED]> wrote: > >session_start(); > $_SESSION = array(); > session_destroy(); > > $userid = safehtml($_POST['userid']); > session_start(); > >//$sessionid can be used to retrieve the current name and session id

[PHP] an easy destroying session issue...

2008-04-02 Thread pere roca
for destroying the session without closing the browser it should work... http://www.nabble.com/an-easy-destroying-session-issue...-tp16447090p16447090.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] E-Library Software

2008-04-02 Thread Daniel Brown
On Wed, Apr 2, 2008 at 7:57 AM, Wolf <[EMAIL PROTECTED]> wrote: > STFW > > What has your searches on Google turned up? > > What about your browsing through sourceforge? Not to mention the the question, since your first message didn't get any responses from the list three days ago, why didn't

Re: [PHP] cuRL script won't submit

2008-04-02 Thread Daniel Brown
On Wed, Apr 2, 2008 at 10:23 AM, Test User <[EMAIL PROTECTED]> wrote: > many thanks.. I have been working on this for weeks! > now I have to figure out how to extract that dynamic URL from the form > before I post.. This may help to start: http://www.website.com/html_form.html'); preg_match

Re: [PHP] cuRL script won't submit

2008-04-02 Thread Test User
many thanks.. I have been working on this for weeks! now I have to figure out how to extract that dynamic URL from the form before I post.. - Original Message From: Daniel Brown <[EMAIL PROTECTED]> To: Test User <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Wednesday, April 2,

[PHP] Help with inputbox

2008-04-02 Thread Ricardo Pinto
Description: text including spaces placed in an input text control in HTML show the whole text. text including spaces placed in an input text control in PHP does not show the whole text, only the first word up to the first space is displayed. The same happens with variables from a BD.

Re: [PHP] OT -> Hosting Services for Non-profit

2008-04-02 Thread Daniel Brown
On Wed, Apr 2, 2008 at 8:40 AM, Wolf <[EMAIL PROTECTED]> wrote: > I know there is at least 1 hoster on this list... > > I have a friend who works for a non-profit and they are currently looking > for a new place to host their domain including the site and the email. > > I'm not sure what they ca

Re: [PHP] cuRL script won't submit

2008-04-02 Thread Daniel Brown
On Wed, Apr 2, 2008 at 9:24 AM, Test User <[EMAIL PROTECTED]> wrote: > why will this script not submit the form - it does input data into the form - > but not submit it. below is the script and then the html form.. thanks > [snip!] > curl_setopt($ch, > CURLOPT_URL,"http://192.168.10.10/?link=ans

Re: [PHP] cuRL script won't submit

2008-04-02 Thread Test User
I added more info below and corrected the spelling of a word - very sorry to add more to your already full mailbox why will this script not submit the form - it does input data into the form - but not submit it. below is the script and then the html form.. thanks #!/usr/bin/php http://192.168.1

[PHP] cuRL script won't submit

2008-04-02 Thread Test User
why will this script not submit the form - it does input data into the form - but not submit it. below is the script and then the html form.. thanks #!/usr/bin/php http://192.168.10.10/?link=answer&l=c&qid=25AA98zRa";;); curl_setopt ($ch, CURLOPT_POSTFIELDS, "link=answer&qid=25AA98zRa&.crumb=x88

[PHP] OT -> Hosting Services for Non-profit

2008-04-02 Thread Wolf
I know there is at least 1 hoster on this list... I have a friend who works for a non-profit and they are currently looking for a new place to host their domain including the site and the email. I'm not sure what they can pay or anything at this point, but I figured I'd see about checking with

[PHP] E-Library Software

2008-04-02 Thread Ali Reza Sajedi
Hello, I am looking for an open source php based E-Library sofware. Could anybody help? Regards Ali -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help needed building php_dblib for PHP 5.2.5 on windows

2008-04-02 Thread Jason
Hi all, I have previously posted this on the windows specific list, however I believe this list reaches a wider audience so i'll try again. I am trying to recompile php 5.2.5 on win32, specifically trying to rebuild the freetds extension with the latest RC code from FreeTDS.org. I am gettin

Re: [PHP] how to possibly cache something and the theory of better performance / better speed

2008-04-02 Thread Per Jessen
Joey wrote: > OK now, getting greedy I want to take it to another level. Instead of > having to read the folder for images every time, why not read the > image names into a file so that we can maintain therbey caching the > list. Your filesystem cache will do that for you anyway. /Per Jessen

Re: [PHP] Reporting mail as spam

2008-04-02 Thread Manuel Lemos
Hello, On Mon, Mar 31, 2008 at 12:01 PM, Sándor Tamás wrote: > Hi, > > I wrote a little registration routine, which will send a confirmation letter > to the user with a random number in the message body (my site is on a host, > so I can't write in the subject, and ask the user to reply), which

Re: [PHP] PHP: array with null shows different with print_r and var_dump

2008-04-02 Thread Robert Cummings
On Wed, 2008-04-02 at 12:19 +0530, Sanjay Mantoor wrote: > Hello, > > I am new to PHP and PHP community. > > Following program outputs different values with print_r and var_dump. > > $array = array(null, NULL); > > print_r($array); prints values like below > Array > ( > [0] => > [1] =>

Re: [PHP] APC & FastCGI != upload progress ?

2008-04-02 Thread Manuel Lemos
Hello, on 03/30/2008 02:52 PM steve said the following: > Hmmm... I am working on a PHP daemon for comet style connections... > I'll keep that idea in mind. I guess that using Flash is best solution > at the moment.. at least the only one I have working... I implement COMET connections with plain