Re: [PHP] slow upload with http post

2004-04-22 Thread Yavuz Maslak
sysctl -a | grep '^hw' hw.machine: i386 hw.model: Intel(R) Xeon(TM) CPU 2.80GHz hw.ncpu: 1 hw.byteorder: 1234 hw.physmem: 2142687232 hw.usermem: 1884921856 hw.pagesize: 4096 hw.floatingpoint: 1 hw.machine_arch: i386 hw.aac.iosize_max: 65536 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0

[PHP] Session not working while accessing through IE on Windows 2000

2004-04-22 Thread Sheni R. Meledath
Hello: We have set up a login page using sessions in PHP. Its working fine. The server is a FreeBSD/Apache/PHP 4. While accessing this page from IE 6 on Windows 2000, the sessions are not working and they are getting the login page again again. Are there any known issues of PHP using

[PHP] Re: SQL Hell

2004-04-22 Thread Red Wingate
Guess some guys don't get the point of this posting or have no idea what foreign keys are about. This problem can easily be solved using JOINs -- red Lester Caine wrote: Jason Barnett wrote: So far I've made multiple statements pulling out all the data and using PHP to formulate the

[PHP] Altering Content-Type with CURL

2004-04-22 Thread Monty
I need the Content-Type header for a CURL POST to be this: Content-Type: text/comma-separated-values instead of the default application/x-www-form-urlencoded that is set by the CURLOPT_POST parameter set with curl_setopt(). How is this done? Monty -- PHP General Mailing List

[PHP] Re: SQL Hell

2004-04-22 Thread Marc Greenstock
Alternatively, use a better database :) Firebird has had Triggers and Stored Procedures from the start. Using these with PHP gives the power needed to update cross references without having to build complex PHP code. http://www.firebirdsql.org/ I just downloaded and installed fire bird,

Re: [PHP] Session not working while accessing through IE on Windows 2000

2004-04-22 Thread Miguel J. Jiménez
Be sure to know all about session cookies. By default, PHP stores the session in a cookie Sheni R. Meledath escribió: Hello: We have set up a login page using sessions in PHP. Its working fine. The server is a FreeBSD/Apache/PHP 4. While accessing this page from IE 6 on Windows 2000, the

RE: [PHP] Session not working while accessing through IE on Windows 2000

2004-04-22 Thread Vincent DUPONT
Hi, I use win2k and IE 6 every day with PHP, and it works fine. I guess your problem comes from the Internet Options of IE (tools/Internet Options). As Miguel Jiménez suggested, check the cookie setting in the Internet Options. Vincent -Original Message- From: Sheni R. Meledath

Re: [PHP] Session not working while accessing through IE on Windows 2000

2004-04-22 Thread Miguel J. Jiménez
You may use: ?php session.use_cookies=0; ? to deactivate the cookies from sessions in runtime... -- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) [EMAIL PROTECTED] --- http://www.isotrol.com TLFNO. 955036800 ext. 111 -- PHP General Mailing

[PHP] Re: phpedit

2004-04-22 Thread Saulius
it does take quite some time even on a fast machine if you install all the packages. and then if you don't have those packages ready in your hard disk, it needs to download them (~12 Mb), then it all depends on your connection. Andy B [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i

RE: [PHP] Session not working while accessing through IE on Windows 2000

2004-04-22 Thread Sheni R. Meledath
Hi, Thank you very much for your comments. We are facing a similar problem in one of local systems which has Windows 2000 IE 6.0. Now one of the users has complained about the same problem. His system configuration is the same as above. In one of the news groups, I have read before about a

[PHP] mysql version

2004-04-22 Thread Angelo Zanetti
SOrry for off topic post, but how does one determine the version of the mysql server they are using? thanx in advance Disclaimer This e-mail transmission contains confidential information, which is the property of the sender.

RE: [PHP] mysql version SOLVED

2004-04-22 Thread Angelo Zanetti
sorry but I solved it select version(); for those of you who didnt know. -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 10:19 AM To: [EMAIL PROTECTED] Subject: [PHP] mysql version SOrry for off topic post, but how does one determine the

[PHP] Re: SQL Hell

2004-04-22 Thread Lester Caine
Marc Greenstock wrote: I just downloaded and installed fire bird, looks interesting. But it's not for this current development. Perhaps later, not the project is 3/4 complete. Depends how you are accessing MySQL ;) Tell me how do you interface firebird with PHP? Interbase module - Firebird is a

[PHP] Implementing compulsory fields in a mySQL driven, SMARTY templated site?

2004-04-22 Thread Tom
Hello. As per the subject: I am using PHP, mySQL and Smarty for a web site with lots of forms everywhere. The site is split into display, content and logic. And I want to introduce the concept of mandatory fields. Manually editing all the content files to mark the mandatory fields and matching

[PHP] file upload via email

2004-04-22 Thread Yury B .
Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which would be translated to the form of files and site update can be done this way. The

Re: [PHP] file upload via email

2004-04-22 Thread Torsten Roehr
Yury B . [EMAIL PROTECTED]@ctb-mesg6.saix.net wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which

Re: [PHP] Freelance PHP Bids

2004-04-22 Thread David T-G
Navid -- ...and then [EMAIL PROTECTED] said... % % Hello, Hi! % % There is a person asking me where she can find a website developer that will % create an e-commerce solution for her. I don't feel I'm ready to help her % out in that area yet, but I still want her to be able to have other

Re: [PHP] Why NNTP is not default protocol for php groups

2004-04-22 Thread David T-G
Hi -- ...and then T. H. Grejc said... % % Justin Patrin wrote: % The threading works just fine. The problem is that users have ignorant % mail software that don't set the thread headers correctly. Even % newsgroup client software might do this. This is *not* the server's % fault in any way,

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
Arthur -- ...and then Arthur Pelkey said... % % I am all for adventure when money goes into my wallet, the same cannot % be said for the opposite ;) Being all for money when adventure goes into your wallet? Heck, I'd be all for that ;-) HAND :-D -- David T-G [EMAIL PROTECTED]

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
Rene, et al -- ...and then -{ Rene Brehmer }- said... % % According to historical records, on Tue, 20 Apr 2004 10:39:33 -0400 John % Nichel [EMAIL PROTECTED] wrote about Re: [PHP] PHP Web Hosting: % % -{ Rene Brehmer }- wrote: % At 21:19 19-04-2004, John Nichel wrote: % % Greg Donald wrote:

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
Stanley, et al -- ...and then Stanley X. Martin said... % % Why don't you two just email each other instead of including us all in % your little pissing contest? Aw, where's your sense of adventure? Oops; that one's been used already ;-) % % Stanley G. Martin HAND :-D -- David T-G

Re: [PHP] Whats faster? text files or mysql?

2004-04-22 Thread David T-G
Andrew -- ...and then Andrew Fenn said... % % I have two text files with two rows of data on each line sperated by a tab for about 20 lines in each file. Would it be faster accessing this data by putting it in a mysql table? For something so small I'd go with a text file unless you happen to

[PHP] file upload via email

2004-04-22 Thread Yury
Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which would be translated to the form of files and site update can be done this way. The

Re: [PHP] file upload via email

2004-04-22 Thread Yury
Thank you very much I'll try it Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yury B . [EMAIL PROTECTED]@ctb-mesg6.saix.net wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location

Re: [PHP] file upload via email

2004-04-22 Thread Yury
Sorry, This message is sent by mistake: Yury [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain

[PHP] JScript

2004-04-22 Thread Brent Clark
Hi I know this is not a javascript mailing list and I do apologies. Does anyone know how display a javascript window, WITHOUT having to reload or refresh a page on which the link was clicked Below is a copied and pasted section of my code Please keep in mind that I am new to javascript Kind

Re: [PHP] JScript

2004-04-22 Thread Brent Clark
Hi sorry I figured it out here is my example Kind Regards Brent Clark echotdstronga href=\\ onclick=\window.open('displaybcode.php?file=$var','Test','height=300,width= 300,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes');opener =self;return false;\$var/a/strong/font/td; I add

[PHP] Mathematical expression calculation function?

2004-04-22 Thread Enfors Christer
Hi. I need a function that takes a mathematical expression in the form of a string, and calculates the result. PHP itself doesn't seem to provide one. I need something which can handle strings like: 10*73.2+3-(4*358.2874)/352 ... and so on. If it handles functions (like cos(), pow(), exp())

Re: [PHP] mysql version

2004-04-22 Thread Andy B
select version as version; if used directly in the server (i.e. mysql)... if you want to use it in php: $query=select version() as mysql_version; $result=mysql_query($query) or die(); if(!$result){ echo cant determine mysql version; } else { //whatever you want to do with it } - Original

[PHP] Re: Mathematical expression calculation function?

2004-04-22 Thread Torsten Roehr
Take a look at eval(): http://de2.php.net/manual/en/function.eval.php Regards, Torsten Enfors Christer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi. I need a function that takes a mathematical expression in the form of a string, and calculates the result. PHP itself doesn't

Re: [PHP] Re: phpedit

2004-04-22 Thread Andy B
well so far im running close to 12 hours for an install on it...had to restart it once though cuz the load was messing around with my connection and the computer crashed cry!! will be glad when it gets done...just hope that it works this time... last time i tried it about a year ago it didnt work

[PHP] self documenting php

2004-04-22 Thread Edward Peloke
Hello, What is a good tool to use for documenting php? I am looking for something like javadoc. I think there is phpdoc, just not sure if it's any good or if I should try to create my own. Thanks, Eddie WARNING: The information contained in this message and any attachments is intended only

[PHP] Re: self documenting php

2004-04-22 Thread Torsten Roehr
Edward Peloke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, What is a good tool to use for documenting php? I am looking for something like javadoc. I think there is phpdoc, just not sure if it's any good or if I should try to create my own. Hi Eddie, try PHPDocumentor

Re: [PHP] self documenting php

2004-04-22 Thread Andy B
so far i like phpdoc... most reliable that i found and besides it gives more of a range of different output types: chm (windows help file format) html, xml, pdf and so on... i think its pretty cool... - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] self documenting php

2004-04-22 Thread Matt Matijevich
[snip] What is a good tool to use for documenting php? I am looking for something like javadoc. I think there is phpdoc, just not sure if it's any good or if I should try to create my own. [/snip] http://pear.php.net/package/PhpDocumentor -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Re: self documenting php

2004-04-22 Thread Edward Peloke
thanks, I just downloaded it from sourceforge. -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 8:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: self documenting php Edward Peloke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

[PHP] question

2004-04-22 Thread Johnson, Andrew William
I've now installed apache and php, however I'm experiencing the following problem when I try to run test.php file:- I get prompted with a dialogue box asking if I would like to download the file, any ideas on why this is happening, once this is fixed I think I'll have everything

RE: [PHP] question

2004-04-22 Thread Jay Blanchard
[snip] I've now installed apache and php, however I'm experiencing the following problem when I try to run test.php file:- I get prompted with a dialogue box asking if I would like to download the file, any ideas on why this is happening, once this is fixed I think I'll have everything working

[PHP] PHP vs PERL?

2004-04-22 Thread peery
What would be the technical arguments of PHP vs. PERL? Thanks, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Activate function in another frame

2004-04-22 Thread Jeff McKeon
My PHP website displays data from our database. Sometimes the sql pulls take a while. I'd like to give some visual aid to the user that the script is still working. The site is made up of two frames, a left side frame that contains the menu and a main frame that all the pages load into. Is

RE: [PHP] PHP vs PERL?

2004-04-22 Thread Jay Blanchard
[snip] What would be the technical arguments of PHP vs. PERL? [/snip] That is like asking what would be the technical arguements of an 10 miter saw and a 12 miter saw. Both are tools, each is better suited to some things and not as well suited for others. In some projects we have several

RE: [PHP] Activate function in another frame

2004-04-22 Thread Jay Blanchard
[snip] Is there a way to start a process in the menuframe as soon as a page in the main frame begins to load and then kill it when the main page is finished loading? [/snip] JavaScript is your friend. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Activate function in another frame

2004-04-22 Thread Jeff McKeon
JavaScript is your friend. Yeah I thought it would probably involve some javascript. I'm just not very good at it and not sure how to refernce the other window in a frameset. I know there is a way, I just don't know the mechanics of it. Jeff -Original Message- From: Jay

Re: [PHP] PHP vs PERL?

2004-04-22 Thread raditha dissanayake
[EMAIL PROTECTED] wrote: What would be the technical arguments of PHP vs. PERL? This is a religious question. Thanks, JP -- Raditha Dissanayake. - http://www.radinks.com/print/upload.php SFTP, FTP and HTTP File Upload solutions -- PHP General

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John W. Holmes
From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
[EMAIL PROTECTED] wrote: What would be the technical arguments of PHP vs. PERL? Thanks, JP Well, Perl is older and has four letters in it's name. PHP has youth on it's side. Perl is a Camel and PHP is a bird (Thrush or Roadrunner...I don't know my birds). Perl is misspelled more often than

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
John W. Holmes wrote: From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... Uh-oh, does that mean an Atheist has to use ASP??? ;) --

[PHP] install IIS ISAPI

2004-04-22 Thread Vincent DUPONT
Hi, I use to install PHP under IIS as a ISAPI module. So I add a ISAPI filter and define a new App mapping in 'configure' When looking at the documentation (see http://be.php.net/manual/en/install.iis.php, Windows NT/2000/XP and IIS 4 or newer) I can read : If you don't want to perform HTTP

Re: [PHP] PHP vs PERL?

2004-04-22 Thread raditha dissanayake
John Nichel wrote: John W. Holmes wrote: From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... Uh-oh, does that mean an Atheist has to use ASP??? ;) oh d..n i hate ASP. -- Raditha

RE: [PHP] phpedit

2004-04-22 Thread Jason Sheets
Took me about 30 minutes to install the development snapshot, the reason being that it downloads files from their website which is incredibly slow. Jason -Original Message- From: Andy B [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 10:51 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] PHP vs PERL? (Seriously OT Now....)

2004-04-22 Thread Jay Blanchard
[snip] Uh-oh, does that mean an Atheist has to use ASP??? ;) [/snip] And if so, what must a Buddhist use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] install IIS ISAPI

2004-04-22 Thread John W. Holmes
From: Vincent DUPONT [EMAIL PROTECTED] I use to install PHP under IIS as a ISAPI module. So I add a ISAPI filter and define a new App mapping in 'configure' When looking at the documentation (see http://be.php.net/manual/en/install.iis.php, Windows NT/2000/XP and IIS 4 or newer) I can read

RE: [PHP] PHP vs PERL? (Seriously OT Now....)

2004-04-22 Thread Michal Migurski
Uh-oh, does that mean an Atheist has to use ASP??? ;) [/snip] And if so, what must a Buddhist use? Lisp, of course. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP

[PHP] virtual domain own php.ini

2004-04-22 Thread Robby Russell
Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't seem to notice my own php.ini file. When the PHP interpreter starts up, it

[PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
Hello! I need to search on the disk trough doc and pdf files. What would you suggest me to use for reading and indexing those kind of files? Thanks, Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions

Re: [PHP] umask wierdness

2004-04-22 Thread Bret Hughes
On Wed, 2004-04-21 at 22:10, Curt Zirzow wrote: * Thus wrote Bret Hughes ([EMAIL PROTECTED]): I have found a funky situation that I am trying to figure out if it is bug or not: I see this behavior on both redhat 9 and fedora running php 4.3.4 httpd(apache) 2.0.48 calling

Re: [PHP] searching trough doc and pdf files

2004-04-22 Thread John W. Holmes
From: Arthur Radulescu [EMAIL PROTECTED] I need to search on the disk trough doc and pdf files. What would you suggest me to use for reading and indexing those kind of files? I've heard of some doc-html/text and pdf-html/text converters. You could convert them to that format (since you're just

Re: [PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
I've heard of some doc-html/text and pdf-html/text converters. You could convert them to that format (since you're just after the text, right?), and then search them that way. Might be able to use COM if you're on a Windows system, also. Any ideea what the name was? I am on a Linux system,

Re[2]: [PHP] PHP vs PERL?

2004-04-22 Thread Richard Davey
Hello John, Thursday, April 22, 2004, 2:37:30 PM, you wrote: JN Uh-oh, does that mean an Atheist has to use ASP??? ;) You meant satanist, surely? ;) (or a masochist!) -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List

[PHP] A to Z incremental

2004-04-22 Thread Paul
Hi! Got this script: ?php for($i='A';$i='Z';$i++){ echo $i.' | '; } ? The output is: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | ... YX | YY | YZ | where is should display only letters from A to Z. Why is that?

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
Richard Davey wrote: Hello John, Thursday, April 22, 2004, 2:37:30 PM, you wrote: JN Uh-oh, does that mean an Atheist has to use ASP??? ;) You meant satanist, surely? ;) (or a masochist!) Ah, yes. My apologies, you're right. Evil has to stick together. An Atheist wouldn't use anything

[PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
http://www.bagley.org/~doug/shootout/index2.shtml http://www.bagley.org/~doug/shootout/bench/ary3/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] A good search tutorial

2004-04-22 Thread Angelo Zanetti
there is also full-text search, search for it in the mysql manual or at www.mysql.com hope this helps angelo -Original Message- From: Phpu [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] A good search tutorial Hi there I have a

RE: [PHP] A to Z incremental

2004-04-22 Thread Pablo Gosse
snip Hi! Got this script: ?php for($i='A';$i='Z';$i++){ echo $i.' | '; } The output is: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | ... YX | YY | YZ | where is should display only letters from A to

[PHP] Apache 2 and PHP 4.3

2004-04-22 Thread William Lovaton
Hello there, Does someone know if Apache 2 support in PHP is stable when using Apache 2 as prcoess spawning only, I mean, no threads. Somebody has seen performance improvements in Apache 2 when compared to Apache 1.3?? I know it is experimental because of the threads configuration in the new

Re: [PHP] searching trough doc and pdf files

2004-04-22 Thread raditha dissanayake
Arthur Radulescu wrote: I've heard of some doc-html/text and pdf-html/text converters. You could convert them to that format (since you're just after the text, right?), and then search them that way. Might be able to use COM if you're on a Windows system, also. Any ideea what the

[PHP] Remove white space?

2004-04-22 Thread Robert Sossomon
I am pulling data from a MySQL DB and I need to remove the whitespace on the variable and turn it to lowercase. ! Code Snippet $get_items = select * from PFS_items; $get_items_res = mysql_query($get_items) or die(mysql_error()); while ($items = mysql_fetch_array($get_items_res)) { $item_id =

[PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
I need to add PHP calls to include a file to each page as it is generated, the only thing is I can't get the includes to come through correctly: ! Code $display_block .= ?php include(\nav/top_nav.html\); ?; $display_block .= ?php include(\nav/side_nav.html\); ?; ! End Code At the end of

Re: [PHP] Adding includes to files

2004-04-22 Thread John W. Holmes
From: Robert Sossomon [EMAIL PROTECTED] I need to add PHP calls to include a file to each page as it is generated, the only thing is I can't get the includes to come through correctly: ! Code $display_block .= ?php include(\nav/top_nav.html\); ?; $display_block .= ?php

[PHP] PHP vs PERL - thanks

2004-04-22 Thread peery
Got a lot of good replies, and info! Thanks, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mathematical expression calculation function?

2004-04-22 Thread John W. Holmes
From: Enfors Christer [EMAIL PROTECTED] Hi. I need a function that takes a mathematical expression in the form of a string, and calculates the result. PHP itself doesn't seem to provide one. I need something which can handle strings like: 10*73.2+3-(4*358.2874)/352 $str =

[PHP] Safe mode effect

2004-04-22 Thread Ravi kumar
HI, goole.com found so many details about safe mode too much to understand. My hosting provider set php safe mode = enable . so iam unable to use so many scripts . can any one give good free image gallery software which will work under safe mode = enable . is it true that with apache 2.x

Re: [PHP] A to Z incremental

2004-04-22 Thread John W. Holmes
From: Paul [EMAIL PROTECTED] ?php for($i='A';$i='Z';$i++){ echo $i.' | '; } ? The output is: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | ... YX | YY | YZ | where is should display only letters from A to Z.

Re: [PHP] Adding includes to files

2004-04-22 Thread Richard Harb
You could either include the files without assigning the contents to a variable - but that would display those right away: ?php include('nav/top_nav.html'); ? or you could read the contents of the file like: ?php $display_block .= is_readable('nav/top_nav.html') ?

Re: [PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
That's a really interesting link. Thanks! No problem, my pleasure I was quite shocked to see how PHP performed gcc still rocks though Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Remove white space?

2004-04-22 Thread Chris W. Parker
Robert Sossomon mailto:[EMAIL PROTECTED] on Thursday, April 22, 2004 7:51 AM said: I am pulling data from a MySQL DB and I need to remove the whitespace on the variable and turn it to lowercase. remove whitespace *on* the variable?? i don't get it. chris. -- PHP General Mailing List

[PHP] Re: objects in sessions again

2004-04-22 Thread Justin Patrin
[EMAIL PROTECTED] wrote: Hi there, needing some more advise, is this function correct ? function create_object($class_name,$dir = null, $serialize = null) { $dir ? $dir = $dir./ : $dir = ; require_once(.CLASS_PATH.$dir.$class_name..php);

[PHP] Re: includes and classes

2004-04-22 Thread Justin Patrin
Jason Barnett wrote: Dubreuilmedia wrote: Hi I was wondering about includes and classes. I have a class in which depending on a member variable, i should load the proper include, which is really the proper config file for that moment. How does a member variable control this? E.g. you set

Re: [PHP] Why NNTP is not default protocol for php groups

2004-04-22 Thread Justin Patrin
David T-G wrote: Hi -- ...and then T. H. Grejc said... % % Justin Patrin wrote: % The threading works just fine. The problem is that users have ignorant % mail software that don't set the thread headers correctly. Even % newsgroup client software might do this. This is *not* the server's %

Re[2]: [PHP] A to Z incremental

2004-04-22 Thread Paul
Hello Pablo, Thursday, April 22, 2004, 4:05:23 PM, you wrote: Hi! Got this script: ?php for($i='A';$i='Z';$i++){ echo $i.' | '; } The output is: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | ... YX | YY |

RE: Re[2]: [PHP] A to Z incremental

2004-04-22 Thread Pablo Gosse
Paul wrote: Hello Pablo, Thursday, April 22, 2004, 4:05:23 PM, you wrote: Hi! Got this script: ?php for($i='A';$i='Z';$i++){ echo $i.' | '; } The output is: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC

[PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: 02/11/2004 06:55:27 SMTP to rcpt: Al Smith [EMAIL PROTECTED] 02/11/2004 06:55:29 +OK GroupWise

Re: [PHP] SMTP and GroupWise

2004-04-22 Thread David O'Brien
That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before sending the email. Most mail servers cache this info for a certain amount of time so you may not have to do it every time you send. I know that

Re: [PHP] What's wrong with this IF statement?

2004-04-22 Thread Richard Davey
Hello Robert, Thursday, April 22, 2004, 8:02:55 PM, you wrote: RS $cat_id = $cats[id_num]; Try this: $cat_id = $cats['id_num']; You need to quote array elements otherwise PHP expects a constant. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't seem to

[PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Gabino Travassos
Hello I'm wondering if Regular Expressions are the same in Perl and PHP (and possibly Actionscript)? They look the same and smell the same, but if I see a book in a store for Perl Regular Expressions that's $10 cheaper than the PHP one (is there one?), then is it the same thing? While we're on

Re[2]: [PHP] virtual domain own php.ini

2004-04-22 Thread Richard Davey
Hello pan, Thursday, April 22, 2004, 8:19:39 PM, you wrote: p rtfm on ini_set() What on earth has ini_set() got to do with the web server not picking up the alternative php.ini file located in the web root? Sure it will allow you to change *some* of the ini variables, but that wasn't even the

Re: [PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
David - I am using the phpmailer class, and I do not see mention of using the POP3 for authentication. Am I missing something? Todd David O'Brien wrote: That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread John Nichel
pan wrote: Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't

RE: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Chris W. Parker
Gabino Travassos mailto:[EMAIL PROTECTED] on Thursday, April 22, 2004 12:24 PM said: I'm wondering if Regular Expressions are the same in Perl and PHP (and possibly Actionscript)? They look the same and smell the same, but if I see a book in a store for Perl Regular Expressions that's $10

Re: Re[2]: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello pan, Thursday, April 22, 2004, 8:19:39 PM, you wrote: p rtfm on ini_set() What on earth has ini_set() got to do with the web server not picking up the alternative php.ini file located in the web root? Sure it

[PHP] Conditional Functions

2004-04-22 Thread Anguz
Hello, I was wondering if using conditional functions would save resources. The thing is that there's many functions in the code I'm using, but most aren't used in each case. I was thinking that maybe, even if the functions are in the included files, I could not define them making them

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] pan wrote: Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites

Re[4]: [PHP] virtual domain own php.ini

2004-04-22 Thread Richard Davey
Hello pan, Thursday, April 22, 2004, 8:36:51 PM, you wrote: p on most servers ini_set will be the best you can hope for p security settings won't allow alternative php.ini file reads p that's why Perhaps it would have been more useful to state this in the original post. -- Best regards,

RE: [PHP] Conditional Functions

2004-04-22 Thread Jay Blanchard
[snip] I was wondering if using conditional functions would save resources. The thing is that there's many functions in the code I'm using, but most aren't used in each case. I was thinking that maybe, even if the functions are in the included files, I could not define them making them

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread John W. Holmes
From: Gabino Travassos [EMAIL PROTECTED] I'm wondering if Regular Expressions are the same in Perl and PHP (and possibly Actionscript)? They look the same and smell the same, but if I see a book in a store for Perl Regular Expressions that's $10 cheaper than the PHP one (is there one?), then

RE: [PHP] Conditional Functions

2004-04-22 Thread Chris W. Parker
Anguz mailto:[EMAIL PROTECTED] on Thursday, April 22, 2004 12:21 PM said: I was wondering if using conditional functions would save resources. The thing is that there's many functions in the code I'm using, but most aren't used in each case. I was thinking that maybe, even if the

Re: [PHP] Conditional Functions

2004-04-22 Thread Torsten Roehr
Maybe you could group them by purpose and put them into different include files. Then you just include the file containing the functions you need at this point in the script. Regards, Torsten Roehr Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I was wondering if

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Gabino Travassos
I forgot to mention that in my XML file, inside the quotes in this attribute backColour=xx the x's will be variable..., so I need some kind of wildcard to select everything from backColour + the next 8 or 9 characters, cuz it might be backColour=333990 or whatnot. 'backColour' will be a

RE: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Michal Migurski
I'm wondering if Regular Expressions are the same in Perl and PHP (and possibly Actionscript)? They look the same and smell the same, but if I see a book in a store for Perl Regular Expressions that's $10 cheaper than the PHP one (is there one?), then is it the same thing? this page will

  1   2   >