[PHP] PHP 5.4.5 Sendmail issues on Mountain Lion

2012-08-09 Thread Mr. Gecko
I have been having issues on Mountain Lion with PHP 5.4.5 and sendmail. The issue I'm having is after a while of PHP FPM running, sendmail doesn't receive any response from php as to what to send and they just start eating CPU like no tomorrow. Result from ps -ev PID STATTIME

[PHP] INTERNATIONAL MONETARY FUND ?

2011-06-02 Thread Mr Jones Smith
INTERNATIONAL MONETARY FUND 23 HERBERT MARCULARY AVENUE WUSE 2 GARKI ABUJA FEDERAL CAPITAL TERRITORY Attention A power of attorney was forwarded to our office this morning by two gentle men, one of them is an American national and he is MR DAVID DEANE by name while the other person is MR

[PHP] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Singapore Citizen Mr. Teo En Ming (Zhang Enming)
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to

[PHP] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Singapore Citizen Mr. Teo En Ming (Zhang Enming)
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to

Re: [PHP] Copying an Object

2010-09-22 Thread mr bungle
Maybe statics members can help you with this ... On Wed, Sep 22, 2010 at 07:35, Daniel Kolbo wrote: > Hello PHPers, > > I have: > > class A { >...code > } > > class B extends A { >...code > } > > $a = new A(); > > $b = new B(); > > I would like to get all of the properties of $a

Re: [PHP] Using php in custom built http server

2008-12-20 Thread Mr. Gecko
Thanks for the suggestions. I'll read on about it and tell you what I came up with, so if someone else want's to do something similar they can base it off of what I built. Here are some replies to what you guys asked I don't know if I would go open source on this. I can use c code in Objectiv

[PHP] Using php in custom built http server

2008-12-19 Thread Mr. Gecko
refer doing it with terminal commands, but I am willing it do it with a library or however I have to do it. Thanks, Mr. Gecko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using php in custom built http server

2008-12-19 Thread Mr. Gecko
refer doing it with terminal commands, but I am willing it do it with a library or however I have to do it. Thanks, Mr. Gecko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: opening a big file

2008-04-06 Thread Mr. Shawn H. Corey
On Sun, 2008-04-06 at 22:36 -0400, Richard Lee wrote: > I am trying to open a big file and go through line by line while > limiting the resource on the system. > What is the best way to do it? > > Does below read the entire file and store them in memory(not good if > that's the case).. > > open

[PHP] Re: Arbitrary mathematical relations, not just hashes

2008-04-06 Thread Mr. Shawn H. Corey
On Sun, 2008-04-06 at 16:52 -0700, Kelly Jones wrote: > Many programming languages (including Perl, Ruby, and PHP) support hashes: > > $color['apple'] = 'red'; > $color['ruby'] = 'red'; > > $type['apple'] = 'fruit'; > $type['ruby'] = 'gem'; > > This quickly lets me find the color or type of a gi

RE: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Mr Webber
I haven't' tried this yet ... so I would appreciate your feedback. -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 4:28 AM To: php-general@lists.php.net Subject: Re: [PHP] PHP & Ajax progress bar Quoting Shelley <[EMAIL PROTECTED]>: >

RE: [PHP] dont print echo

2008-02-28 Thread Mr Webber
Your script is screwed at the point where you do not close the quote: $folder = 'pictures; -Original Message- From: Emiliano Boragina [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 11:09 PM To: php-general@lists.php.net Subject: [PHP] dont print echo Hi list… All this in

RE: [PHP] Re: Tool for programmer team

2008-02-05 Thread Mr Webber
Use Dreamweaver. It has a lo-tech check-in -- check-out capabilities -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Colin Guthrie Sent: Tuesday, January 22, 2008 4:32 AM To: php-general@lists.php.net Subject: [PHP] Re: Tool for programmer team Ronald Wiplinger wrote

RE: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Mr Webber
My thoughts, exactly. I had to count to 10 to keep myself from replying to "His Rudeness". -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:17 PM To: php-general@lists.php.net Subject: Re: [PHP] Calling All Opinionated On 2/

RE: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Mr Webber
PHP is a server-side page generator. It has NOTHING to do with the browser. The PHP programmer determines the content of the resulting HTML and the browser reacts to THAT. Browsers never see a line of PHP script! -Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED] Sent: T

RE: [PHP] determine file-upload's tmp-filename

2008-01-28 Thread Mr Webber
ry 28, 2008 3:51 PM To: 'php-general' Subject: RE: [PHP] determine file-upload's tmp-filename On Mon, 2008-01-28 at 15:34 -0500, Mr Webber wrote: > On Mon, 2008-01-28 at 12:17 -0600, Richard Lynch wrote: > > On Sat, January 26, 2008 5:57 pm, Michael Fischer wrote: > >

RE: [PHP] determine file-upload's tmp-filename

2008-01-28 Thread Mr Webber
This is the info available to upload scripts I have not done this, but am inspired to do it now. My design is to develop my own meter by compare $FILES;'size'] to the actual size on disk as the file uploads; I would use some sort of JavaScript / Ajax service connection so that the upload meter i

Re: [PHP] unlink, symlink and caching

2005-12-22 Thread jgmtfia Mr
> Be sure to include the OS, filesystem type and the configure line > in the report, cause there seems to be something system dependent > causing it since the script you posted earlier worked fine on my > system. Thanks for your help. I appreciate it. -- PHP General Mailing List (http://www.php.

Re: [PHP] unlink, symlink and caching

2005-12-22 Thread jgmtfia Mr
> > I just ran the test with php4 cli and it works correctly. > > PHP 4.3.10-15 (cli) (built: May 9 2005 08:54:56) > > > > But with php5 cli and apache2 module it does not: > > PHP 5.1.0b3 (cli) (built: Oct 18 2005 16:13:19) > > PHP 5.1.0 apache module > > The versions I ran the tests were on: >

Re: [PHP] unlink, symlink and caching

2005-12-22 Thread jgmtfia Mr
> Thank you for checking on this. > > I am using debain stable with a 2.6.14.3 kernel. The filesystem in > question is ext2 on a 48 MB ramdisk. > > I also did the following on another machine using ext2 on a harddisk > with command line php. I just ran the test with php4 cli and it works correctl

Re: [PHP] unlink, symlink and caching

2005-12-21 Thread jgmtfia Mr
> > The loop then continues forever with file_exists() returning true, but > > unlink() returns false with the error message "Warning: > > unlink(/config1/C) [function.unlink]: No such file or directory in > > /www/script.php on line 10" > > This might be an issue with the OS or Filessystem. The c

[PHP] unlink, symlink and caching

2005-12-21 Thread jgmtfia Mr
I have a directory with the files: /config/A /config/B and /config/C is a symlink to /config/A. Via php I unlink /config/C: $FILE = '/config/C'; while(file_exists($FILE)){ unlink($FILE); clearstatcache(); } When run,

[PHP] Exception

2005-12-04 Thread mr php
Hello Is it good to use exception handling for error handling or I should use only for exceptions? For example: Is it good to throwing user input errors with throw new Exception(). Thanks

[PHP] test

2005-12-04 Thread mr php
test

[PHP] help wanted for project

2005-04-28 Thread Mr R H
We have a web site and we need added functionality. We need a form developed which based on answers to three questions tells the patient which test he needs to buy. The purchast takes place via paypal code (already in place) and then another form is available for the patient to fill in a more detai

[PHP] Looking for a good free IDE supporting PHP

2004-11-03 Thread Do Minh Hieu, Mr
Hi all, I'm new at PHP. I am looking for a good free IDE supporting PHP; and the way to configure the IDE so that I can see the results in IDE. Can any one help me? Thanks. Do Minh Hieu, Software Engineer ELCA Information Technology (Vietnam) Ltd. / www.elca.ch

[PHP] Re: strlen question

2004-07-23 Thread Mr. Bogomil Shopov
try isset() Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: string filtering

2004-07-21 Thread Mr. Bogomil Shopov
Hello http://bg2.php.net/manual/en/function.preg-match.php Regards Bogomil http://spisanie.com/indexen.php - WebDevMagazine C.F. Scheidecker Antunes wrote: Hello all, I need to filter some strings. They can only contain characters like a...z or A..Z and 0..9. Some strings have blank spaces, -,./?

[PHP] PHP Contest (rev2)

2004-06-21 Thread Mr. Bogomil Shopov
The Spisanie.com Magazine together with its enlisted partners is the organizers of the Balkan PHP programming/developing competition. The first stage had already been started and will reach completion on the 15th of July 2004 with the following task: Development of an encryption algorithm for c

[PHP] Re: is there any application ,

2004-06-21 Thread Mr. Bogomil Shopov
hello , yes there is a phpBlender application.Please look at http://phpblender.com All the Best Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can I make make email accounts in vpopmail using PHP

2004-06-18 Thread Mr. Bogomil Shopov
Thanks Smarty ;))) I would like to know How I can make user email accounts using vpopmail, but Not using PECL extension. Regards Bogomil Jay Blanchard wrote: [snip] Can I make make email accounts in vpopmail using PHP. Thank you [/snip] Yes. You're welcome http://catb.org/~esr/faqs/smart-question

[PHP] Can I make make email accounts in vpopmail using PHP

2004-06-18 Thread Mr. Bogomil Shopov
Can I make make email accounts in vpopmail using PHP. Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
That would explain why it displays the second message saying it was not successful. But why then does it still display this warning? Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\admin\stories.php on line 112 Mr. Austin - Original

[PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
title\" was not successful. Please check with the site administrator for assistance."); } The above SQL statement works perfectly with phpMyAdmin (and, oddly enough, works with the above script, yet the Warning is produced and the 'not successful' message is displayed) Any thoughts are appreciated! Mr. Austin

Re: [PHP] Help with files

2004-02-01 Thread Mr. Austin
I'm not entirely sure why it is that you assume I did not read the manual or the online documentation (which is very thorough). I'll find my answers elsewhere. Thank you, Mr. Austin - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[E

[PHP] Help with files

2004-02-01 Thread Mr. Austin
Hello all, I am trying to open a file (successful), then rewrite over the file when it is saved via a form on a website. I have used the following code, yet it simple rewrites from the file pointer, but does not clear the file before writing. Thanks for any help.

[PHP] VERY URGENT.....

2004-02-01 Thread Mr JAMES OKORO
Mr JAMES OKORO Bank Of The North, Victoria Island Branch, Lagos, Nigeria. ATTN: MD/CEO I am Mr JAMES OKORO , Branch Manager with Bank of the North, Victoria Island Branch, Lagos, Nigeria. I have an urgent and very profitable business proposition for you that should be handled with extreme

[PHP] xslt_create error

2003-11-21 Thread Mr. Me
Hi! I get the error: "Fatal error: Call to undefined function: xslt_create() on line 5" when I try a call to the function... I'm using a webhotel with PHP: PHP Version 4.3.3 System FreeBSD web06.talkactive.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct i386 Build Date Aug 29 2003 16:48:03 C

[PHP] PHP and MySQL problem, please help

2003-11-18 Thread Mr. Bogomil Shopov
hi folks, A query in mysql become with STATE set to STATISTICS and all queries after this query are LOCKED. What is the decision please. Best Regards Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: COM and PHP.ini

2003-11-07 Thread Mr. Bogomil Shopov
see this page http://purplerain.org/article.php ensure that are you using all necessary settings Regards Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Conf 2004 Sofia, Bulgaria

2003-11-07 Thread Mr. Bogomil Shopov
The first Web Technology conference in Bulgaria will be held in March 2004 at the city of Sofia. Within its framework, the first PHP conference will be held. The purpose of this meeting is to discuss the new tendencies in this direction and to popularize the Internet technologies in the spheres

[PHP] PHP and XML help needed

2003-09-11 Thread Mr. Bogomil Shopov
Hi folks How I can put some php code in a XSL template. I have a function that returns a value and I want this value to be entered in a tag in XSL template? Thanks Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] URGENT BUSINESS RELATIONSHIP

2003-09-10 Thread MR BEN IFEANYI.
SHOULD NOT ENTERTAIN ANY FEAR AS THE WHOLE REQUIRED ARRANGEMENT HAS BEEN MADE FOR THE TRANSFER. YOU SHOULD CONTACT ME IMMEDIATELY AS SOON AS YOU RECEIVE THIS LETTER. TRUSTING TO HEAR FROM YOU. YOURS RESPECTFULLY, MR BEN IFEANYI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] ActivePHP help

2003-07-22 Thread Mr Bogomil Shopov
I have compiled php4activescript.dll and a register it with regsvr32 and then when i try the sample code , didnt work, please! Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Permission Problem

2003-07-05 Thread Mr|P
I moved from myphpnuke to phpnuke. When trying to register a new user account on the website it get the error: You are trying to access a restricted area. We are Sorry, but this section of our site is for Registered Users Only. Thanks for your help. -- PHP General Mailing List (http://www.php

[PHP] Help inserting compressed data into a mysql database

2003-06-16 Thread Mr Percival
Hi, I am trying to insert compressed data into a database. Inserting it in seems to work file: $data = addslashes(gzdeflate($data, 9)); For the most part it works on reteiving the data but sometimes the data is unreadable. $data = @gzinflate($data); What is the best way to be able to store

[PHP] My Sincere Greetings

2003-06-04 Thread MR NZANGA JOSEPH MOBUTU
that this is a very safe transaction as this money is my share of my father's estate. I am waiting for your response to enable us proceed. PLEASE REPLY THROUGH THE ABOVE DIRECT EMAIL BOX;[EMAIL PROTECTED] Regards, Mr. Nzanga Joseph Mobutu. -- PHP General Mailing List (http://www.ph

Re: [PHP] ob_start problem

2003-03-21 Thread Mr Percival
the page before the ob_start is called? > *guess* you're including the footer twice, or are calling ob_end_flush() > more than once. > > not anywhere near sure though!! > > Justin > > 21/03/03 11:33 PM, Mr Percival ([EMAIL PROTECTED]) wrote: > > >

[PHP] ob_start problem

2003-03-21 Thread Mr Percival
Hi, I have a page that has an include at the top of the page and an include at the bottom of the page. in the top include file I have added the command: ob_start("ob_gzhandler"); in the bottom include I have added: ob_end_flush(); <-- i thought this was supposed to be run to clean up at the

RE: [PHP] session_start

2003-02-26 Thread Mr Percival
be able to give a error message if the server was having this problem, but in order to do that I was needing a way of knowing if it was because the session_start failed or users who didnt have cookies turned on. I probably just need to get a new host since these disk f

Re: [PHP] session_start

2003-02-24 Thread Mr Percival
So how do I check if the session write failed? I thought perhaps if(session_id() == ""){ echo "error"; } but if all session_start does is basically assign a session ID then session_id will never be empty even when the write fails. Thanks! :) -- PHP General Mailing List (http://www.php.

[PHP] session_start

2003-02-23 Thread Mr Percival
Hi, According to the PHP manual session_start always returns true. Ther are times (like when there is a disk full error on the server) that the sesison_start will fail because its unable to write the session tmp file. So shouldnt session_start be able to return false if the file write fails? O

[PHP] Knowing what page u came from...

2003-02-03 Thread Mr. BuNgL3
Hi again... There is any way to know what page we came from in php? I want to make a clause if i came from certain page in my web site... Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can anyone help me? i'm getting crazy... : |

2003-02-03 Thread Mr. BuNgL3
I'm trying to delete a some records from a table with checkboxes and then i have this code: Lista de Filmes (DivX) ...TítuloCds $titulo$cds "; $i++; } echo ""; if($HTTP_COOKIE_VARS["cookie1"] && $HTTP_COOKIE_VARS["cookie2"]) { include('menuadmin2.php');

[PHP] Re: move a record into a different table

2003-01-31 Thread Mr. BuNgL3
put the data into variables, erase the record and then create a new one in the new table with the variable values! "Dc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I want to delete a record from my table 1, but would like all the data for > that

[PHP] doing auto number myself to a primary key...

2003-01-31 Thread Mr. BuNgL3
$sql="SELECT TOP(id) FROM divxtemp"; $res=mysql_db_query("DB",$sql) or die (mysql_error()); $reg=mysql_fetch_array($res); $id=$reg["id"]+1; $sql="INSERT INTO divxtemp (titulo,cds,id) VALUES ('$titulotxt','$cdstxt','$id')"; mysql_db_query("DB",$sql) or die (mysql_error(

[PHP] checkboxes and php...

2003-01-31 Thread Mr. BuNgL3
Hi... can you give me some lights in this subject? How checkboxes work with php? Or where i can find some info about this? Or both :) Ex: if i want to erase from db all data with the checkbox active... thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] preg_split

2002-12-28 Thread Mr Nik Frengle
I have the following code with a rather odd behaviour: Test> Hopefully it gets done here I would like that very much but whether it will happen or not is difficult to say.'; $Xarray=preg_split('/(?=)/',$string,-1, 'SPLIT_DELIM_CAPTURE'); $count=count($Xa

[PHP] PHP/MySQL

2002-11-22 Thread Mr. BuNgL3
Hi... What is the line code to optain the system date? I propose is to compare the system date with the date in one field in the database... Then what would be the mysql command to select all the rows with date with 10 days or less from the system date? Thanks... -- PHP General Mailing List (ht

[PHP] Newbie: PHP/MySQL (SELECT)

2002-11-20 Thread Mr. BuNgL3
Hi... I'm with a little sintax problem... The question is that i have two search fields (titulotxt and cdstxt) and i want to create an mysql condition... i trying: $sql1=($titulotxt) ? "titulo like '%".$titulotxt."%'":""; $sql2=($cdstxt) ? "cds like '$cdstxt'":""; $sql="SELECT * FROM divx WHERE

[PHP] Newbie: php/mysql (Select)

2002-11-20 Thread Mr. BuNgL3
Hi... I'm with a little sintax problem... The question is that i have two search fields (titulotxt and cdstxt) and i want to create an mysql condition... i trying: $sql1=($titulotxt) ? "titulo like '%".$titulotxt."%'":""; $sql2=($cdstxt) ? "cds like '$cdstxt'":""; $sql="SELECT * FROM divx WHERE

[PHP] damn it... i want to tranfer data from one table to another!

2002-11-17 Thread Mr. BuNgL3
Why i can't tranfer data from one table to another with this code? I can't pass "$reg" to $c and $t... : \ thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calling $PATH_INFO

2002-11-17 Thread Mr. BuNgL3
I'm with a little problem... i have this php code and when i lick F5 (refresh) it keeps adding files do database... i think "if ($Submit)" is not doing what i want! My propose is clicking on submit it adds me the $titulotxt and $cds to the database using $PATH_INFO. How must i do to resolve my prob

[PHP] connecting to a remote host through mysql.exe

2002-11-14 Thread Mr. BuNgL3
Hi... How can i connect to a remote host database through mysql.exe? Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] what i'm doing wrong? (mysql/php)

2002-11-03 Thread Mr. BuNgL3
I can't validate this two variables ($logintxt, $passwdtxt) ERROR!! Problemas na ligação á base de dados! "; } else { $pass=md5($passwdtxt); $sql="SELECT login,passwd FROM users WHERE (login='$logintxt') && (passwd='$pass')"; $result=mysql_db_query("mysite",$sql) or die (mysql_erro

[PHP] Can't store info on a mysql database...

2002-11-01 Thread Mr. BuNgL3
Hi... My problem is that i can't store info in a mysql database... ex: I want to store this info in my database: login/passwd and i have the php code... what i'm doing wrong? : | thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

RE: [PHP] str_replace

2002-10-31 Thread Thoenen, Peter Mr. EPS
try $file = preg_replace("/[[:punct:][:space:]]/",'',$file); PEter > -Original Message- > From: rick [mailto:rick@;somers.net] > Sent: Friday, November 01, 2002 00:22 > To: [EMAIL PROTECTED] > Subject: [PHP] str_replace > > > How could this be written better? Is there a way to do it all

[PHP] newbie: apache prob...

2002-10-28 Thread Mr. BuNgL3
Hi... I have a little problem... when i do //localhost/ on the browser i don't get nothing it gives me "Forbidden - u don't have permission to access"... but i was the one that installed the apache server!! do u know what's the problem? Thanks -- PHP General Mailing List (http://www.php.net/) T

[PHP] newbie: php/mysql

2002-10-27 Thread Mr. BuNgL3
Hey... I have a little problem... i want to read an encrypted field from mysql database to a php variable... what is the code line that i must enter? (ex: password validation in a login form) Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] Trouble with switch statements

2002-10-26 Thread Thoenen, Peter Mr. EPS
switch($_GET['select']){ case 1: .. -Peter > -Original Message- > From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca] > Sent: Friday, October 25, 2002 19:47 > To: [EMAIL PROTECTED] > Subject: [PHP] Trouble with switch statements > > > Ok...I just recently installed Apa

RE: [PHP] Replace illegal filename chars???

2002-10-24 Thread Thoenen, Peter Mr. EPS
close but preg_replace("/[^[:print:]]/",'',$str); is what you want. The below would work but typo'ed ... ereg_replce should be ereg_replace Also..that is just A-Za-z0-9 ... many OS's allow punctation also...[:print:] will cover this. Now only if php supported [:control:] and [:graph:] :) -Pet

[PHP] global variable preference for self

2002-10-13 Thread Thoenen, Peter Mr. EPS
Anybody have reason for using $_SERVER['PHP_SELF'] -v- $_SERVER['URL'] ? They both seem to always be the same in every instance I have seen so curious is their is a preferance for one or the other and if there is a case where PHP_SELF!=URL Cheers, -Peter ## Peter

RE: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread Thoenen, Peter Mr. EPS
In you php.ini, find max_execution_time = 360 and up it. -Peter > -Original Message- > From: scott [mailto:[EMAIL PROTECTED]] > Sent: Sunday, October 13, 2002 20:06 > To: [EMAIL PROTECTED] > Subject: [PHP] Fatal error: Maximum execution time of 30 seconds > exceeded > > > Hello > Tryi

RE: [PHP] is there an alternative to this code?

2002-10-07 Thread Thoenen, Peter Mr. EPS
What you want is: http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en"> Foo What I dont' understand is why you are using a POST for this. why not just do something like below and get rid of the form competely. W

RE: [PHP] Posting a value to one form to another

2002-09-28 Thread Thoenen, Peter Mr. EPS
You are using method GET correct? This will not work for POST's on any platform that I know of. Browser default behavior for clicks are GET. You could create a custom browser to POST all clicks..but wouldn't work very well :) Only reason I am asking is "Posting a value" ...though Posting might

RE: [PHP] preg help ?

2002-09-28 Thread Thoenen, Peter Mr. EPS
// should work ... prob. a better way to do this but its functional :) -Peter > -Original Message- > From: :B nerdy [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 02:05 > To: [EMAIL PROTECTED] > Subject: [PHP] preg help ? > > > ive got a html document with the following

[PHP] error with php and pdflib

2002-09-22 Thread Thoenen, Peter Mr. EPS
Hello everybody, Getting the following error when trying to generate a pdf file. Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope in E:\php\pdf.php on line 6 >From what I can tell (google and php manual online) this error is caused when your webserver (IIS

RE: [PHP] Reg Exp issue

2002-09-20 Thread Thoenen, Peter Mr. EPS
Not that familiar with MySQL's flavor of RegEx (and the documentation seems to be extremely bad ... or at least I can't seem to find any with casually searching) but have you tried escaping the RegEx special characters? eg REGEXP ('ok\/2.0 \(hah 3\.0; BAM oh 5\.1; \.hi CLR 1\.0\.4725\)'); -Peter

[PHP] mysql_query w/ JOIN results giving unexpected results w/ PHP (not regular SQL though)

2002-09-18 Thread Thoenen, Peter Mr. EPS
Hello everybody, Having an issue where I am getting unexpected results with a simple query and at a lost to explain why. At the end is my code. The problem I believe though I have narrowed down to the following statement. 1. When I run SELECT accounts.id, accounts.action, people.last, people.

[PHP] turn off a warning with $GET_['var'];

2002-09-01 Thread Thoenen, Peter Mr. EPS
Hello, trying to figure a way to turn off the following warning. @ doesn't seem to work neither does switch (isset($_GET['status'])){ Notice: Undefined index: status in E:\php\tt\index.php on line 6 switch ($_GET['status']){ scenario is this var is set in every instance but the first GET

[PHP] Strange session id problem - code is issuing a new one randomly

2002-08-14 Thread Thoenen, Peter Mr. EPS
# START CODE SNIPPET ... COMMENTS BELOW (and yes I am not a db guru by anymeans, might be easier ways to do this) https://example.org'); die; } break; Now this is where I have issues. The header ('Location: https://example.org') works as it is sup

[PHP] gzinflate and gzdeflate

2002-01-16 Thread Mr Percival
error even tho it deflates ok (or so it seems to). What am i doing wrong? Im using PHP 4.1.0 on debian. Thanks :) Mr P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Mr. Adam ALLEN.
t projects finsihed, I'm answering newsgroups ;-) I'd be interested to hear what others think anyway Yours Mr. Adam ALLEN. [EMAIL PROTECTED] http://www.dynamicinteraction.co.uk > -Original Message- > From: Steven Haryanto [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 19,

[PHP] Call-time pass by reference has deprecated

2001-05-10 Thread Mr. Adam ALLEN.
ot;") $cntmessg =$messages; for($i=1;$i<=$messages;$i++) { if(($error=$pop3_connection->RetrieveMessage($i,&$headers,&$body,-1))=="") { for($line=0;$lineClose(); return 1; } Yours Mr. Adam ALLEN. [EMAIL PROTECTED] http://w

[PHP] scripts execute as user nobody

2001-04-26 Thread Mr. Adam ALLEN.
ow if a user browsing a php site in directories with permission 777 can exploit this). I am using PHP 3.0.14 (when using PHP4.05 RC1 on a different host I don't get this problem - but need this working with PHP 3.0.14) Thanks for any help Mr. Adam ALLEN. [EMAIL PROTE

Re: [PHP] Form's and oracle

2001-02-03 Thread Iván Sánchez Ortega \&quot;MR\"
"Christoph Kempen" ... > For example: > I¹ts a test php:I\¹ts a test > But oracle wants: I¹¹ts a test I think that a predefined replace function, with ' and " should do the trick... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

Re: [PHP] Oracle failed to connect

2001-02-01 Thread Iván Sánchez Ortega \&quot;MR\"
""kaab kaoutar"" ... > Hi! > I'm using orcale8 and as long as oracle8 ocilogon does not work, i tried the > oracle function and i always get: > for Ora_Logon("kaab@KKAnn", "kaab"); > connection failed could not resolve service name Just try to reinstall PHP, and the Oracle 8 libraries for PHP

Re: [PHP] really need help...

2001-01-26 Thread Iván Sánchez Ortega \&quot;MR\"
""Shane McBride"" ... > I am getting this error and I don't understand. I am running > PHP 4.0.4 and Xitami web server on Windows 98SE. I know this > is not the most ideal setup, but I just use it for developing. Usually, webservers running PHP won't allow to execute any commands regarding creati

Re: [PHP] arg....

2001-01-26 Thread Iván Sánchez Ortega \&quot;MR\"
"Kurth Bemis" ... > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); > >i'm having a horrible time updating 2 f

Re: [PHP] To much PHP (Newbie)

2001-01-24 Thread Iván Sánchez Ortega \&quot;MR\"
""Chris Lee"" ... > If your refering to old Pascal pre-3.0 in how you could only have X number > of bytes in a file (32k I think) then pascal would not parse the rest, then > no php isnt limited to this, your pages will just get slower and slower > because of more hits. Anyway, if your pages are

Re: [PHP] tengo un problema

2001-01-22 Thread Iván Sánchez Ortega \&quot;MR\"
mnihttpd, y la instalación va de lujo... te instala las extensiones para PHP y el propio PHP automáticamente... -- _ Iván Sánchez Ortega "MR" /|/| |_>(eme)(erre)(punto)(arroba)wanadoo.es / | | | \ /|\No, mamá, no toques ese cab#@@%%## [NO C

Re: [PHP] mixing HTML and PHP code

2001-01-16 Thread Iván Sánchez Ortega \&quot;MR\"
"Alex Black" ... > >> the horse is back from the dead! > > > >huh? > > inside joke. Doh. > > > I don't like to do database connections when I've already output markup, > > > what if something goes wrong, or I want to do a redirect, etc? > > > > If something goes wrong -> It's the DBA fault. :-)

Re: [PHP] tie string value together

2001-01-15 Thread Iván Sánchez Ortega \&quot;MR\"
"Brian Clark" ... > > Not quite; you want the concatenation operator: > > $Birthdate = $year . $month . $day; /* assuming &&day was a typo */ > > This will also work: > > $Birthdate = "$year$month$day"; As i know, databases use a 00/00/ date format, so the thing you may do is $birthdate = $d

Re: [PHP] mixing HTML and PHP code

2001-01-15 Thread Iván Sánchez Ortega \&quot;MR\"
"Alex Black" ... > the horse is back from the dead! huh? > > And aside from that, i don't have a one and only common_head.php ... i have > > a separate plain common head, in plain HTML... the real common_head.php > > should look like (definitively not real PHP sintax): > > right, and though this

Re: [PHP] SMs

2001-01-14 Thread Iván Sánchez Ortega \&quot;MR\"
""Bastian"" ... > Hello! > > A requirement is a special server that sends them, but such a server costs > money, every message costs some. I read somewhere that you could send SMs if you had your mobile phone linked to your computer, and special software to needful to make the PC-mobile interacti

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \&quot;MR\"
t text in the place of the spitted-out-from-database-data), and you as PHPer only have to cut out the HTML code (not a really hard work) into two parts. As i see, it can work perfectly this way. How you format the spitted data and stuff is another matter but anyway, getting the code that dream

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \&quot;MR\"
"Mark Maggelet" ... > I think you missed something: > > while (fetch_row_from_query()){ >$output = data_from_fetched_row(); >$more_output = more_data_from_fetched_row();?> > > > > > > > tell me that's not easier on your eyes :) Yes, but i wrote that because the w

RE: [PHP] mixing HTML and PHP code

2001-01-12 Thread MR
Alex Black ... > > > is really not that much harder to write. > > html people can ignore it, php can find their code, and those that know both > can reap the benefits. > > what about loops? You mean that this code "; while (fetch_row_from_query()) { $output = data_from_fetched_row();

RE: [PHP] mixing HTML and PHP code

2001-01-12 Thread MR
Christian Reiniger ... > One reason why I don't like the "echo" route: I lose the syntax > highlighting for the HTML that way. String constants should be > highlighted as, well, string constants normally, but when they contain > HTML code that's just plain ugly. Well, that's the point about usin

RE: [PHP] mixing HTML and PHP code

2001-01-12 Thread MR
Philip Olson ... > You know what's annoying? This (yes, it happens) : > > echo (""); > echo (""); > echo (""); > print("Name :"); > $name = 'johnny'; > printf("%s %s %s","","$name",""); > echo (""); > echo (""); > print("Title :"); > $title = 'smith'; >

  1   2   >