Re: [PHP] How to delete text with replies for archive pages

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 13:26, Will McCullough wrote: We are writing a web archive to a mail list server. We want to be able to delete the footer that comes through on every email so that we don't end up with those long footers that are 4x repeated sometimes like in the example here: If

[PHP] CMS

2004-12-28 Thread Javier Leyba
Hi I'm looking for a good CMS recommendation. I've seen comments in opencms and tested a few (Xaraya was good when I read features but so slow at testing time) but I can't test all and may be other user experience could reduce my test universe. I want a CMS with html code separated from PHP

Fwd: Re: [PHP] How to delete text with replies for archive pages

2004-12-28 Thread Will McCullough
__ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250---BeginMessage--- That will result in the same problem, some lines after replies, then would be:

Re: Fwd: Re: [PHP] How to delete text with replies for archive pages

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 18:09, Will McCullough wrote: That will result in the same problem, some lines after replies, then would be: And finding out how to delete that with the in front is my problem That's where the good luck comes in. Sorry if you

Re: [PHP] CMS

2004-12-28 Thread kalinga
typo3, it's a good one.. try it ;-) vk. On Tue, 28 Dec 2004 11:00:32 +0100, Javier Leyba [EMAIL PROTECTED] wrote: Hi I'm looking for a good CMS recommendation. I've seen comments in opencms and tested a few (Xaraya was good when I read features but so slow at testing time) but I

[PHP] PHP variables on SSL and IE5.x

2004-12-28 Thread Merlin
Hi there, I am having trouble with posting a form to a php script through SSL on IE prior 5.5 sp1. It works like a charm on all other browsers. In IE it works without SSL, but when SSL is enabled, the browser pops up with a message that he is switching to an unsecure site and then all then

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 13:00, GH wrote: I am having a problem with some php that I have written... In an attempt to clearly state the problem and how it is supposed to work the following may be lengthy, to which I appologize for. It's better to have a lengthy explanation of what your

Re: [PHP] Re: negative numbers

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 01:13, Ford, Mike wrote: abs(): $doo = -20; for ($i = 1; $i 1000; $i++) { $dah = abs($doo); } That's not a valid benchmark, since only on the first pass through the loop is $doo negative. I'm not sure what you mean by that,

[PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Ewout de Boer
I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. $data = file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid=0 ); if

Re: [PHP] PHP based Apache admin tool?

2004-12-28 Thread John Nichel
Brian Dunning wrote: Is there any such thing as a PHP based GUI tool for administering Apache? I've searched high low and found nothing. - Brian I don't know of any php based ones, but there's webmin; Perl based. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
The isAttendanceReport() fails... so in the displayMenu() function I get Print Attendance Sheet No Attendance Report Available1 Note that it is good practice to use { } around your statement(s). I am under the opression that it is only for when you have multistatement groups and not just a one

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 22:29, GH wrote: Please do not top post. The isAttendanceReport() fails... so in the displayMenu() function I get Print Attendance Sheet No Attendance Report Available1 OK, so why does isAttendanceReport() return 0? When debugging it's always a good idea to

Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 20:03, Ewout de Boer wrote: $data = file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid= 0 ); if ($data) { ... the string this function returns is the webpage from the default website of the server where this php code is running

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
Ok here is what I get... The isAttendanceReport() fails... so in the displayMenu() function I get Print Attendance Sheet No Attendance Report Available1 OK, so why does isAttendanceReport() return 0? When debugging it's always a good idea to plugin absolute values where possible,

Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread John Hicks
Ewout de Boer wrote: I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. $data =

[PHP] [SOLVED] Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Ewout de Boer
I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. The ISP made a mistake in the server config :-( ... it works again regards, Ewout -- PHP

[PHP] Test, please ignore

2004-12-28 Thread Steven Spierenburg
to see if i can post... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Environment and Modules

2004-12-28 Thread Steven Spierenburg
Hi There, I recently installed PHP and have two things going on that I can't seem to rectify or solve. If I may use the collective knowledge of PHP users/developers on these groups I would be grateful. First some info on my setup: OS : Windows 2000 Server Webserver :IIS6 PHP : 4.3.10 (extracted

[PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on Google. Here is my files array: [userfile] = Array ( [name] = Readme.txt [type] = [tmp_name] = [error] = 6 [size] = 0 ) Doesn't make sense.

Re: [PHP] Test, please ignore

2004-12-28 Thread Robby Russell
On Tue, 2004-12-28 at 18:09 +0100, Steven Spierenburg wrote: to see if i can post... no, you can't. -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 |

[PHP] Function Default Values

2004-12-28 Thread The Disguised Jedi
I have written a function to generate and store a salt data for a session cookie. I haven't written the MySQL code, so that is absent. Basically what I am trying to do is make it so that if there is no value submitted for an argument, I want it to fall back to the defaults set up in my

Re: [PHP] Test, please ignore

2004-12-28 Thread Jason Wong
On Wednesday 29 December 2004 01:09, Steven Spierenburg wrote: to see if i can post... If you have something to post why not just post it. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Jason Wong
On Wednesday 29 December 2004 01:40, Al wrote: What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on Google. Here is my files array: [userfile] = Array ( [name] = Readme.txt [type] = [tmp_name] =

Re: [PHP] Function Default Values

2004-12-28 Thread Jason Wong
On Wednesday 29 December 2004 01:46, The Disguised Jedi wrote: Can you not default to variables in a function? No. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

[PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread user
Hi all I am making a gallery for my Homepage. Now, I want to make little tumbnails of my work and make a table out of them. So, to not put them all in a row, what whould make the site unreadable, i have to put them in a little table, an i think 4 in each row would be ok. I like to read out the

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 23:43, GH wrote: During the code... it gets to the following point... [snip] # # Check if report report is present or not # #

Re: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread Robby Russell
On Tue, 2004-12-28 at 19:47 +0100, [EMAIL PROTECTED] wrote: Hi all I am making a gallery for my Homepage. Now, I want to make little tumbnails of my work and make a table out of them. So, to not put them all in a row, what whould make the site unreadable, i have to put them in a little

RE: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread Mike Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi all I am making a gallery for my Homepage. Now, I want to make little tumbnails of my work and make a table out of them. So, to not put them all in a row, what whould make the site unreadable, i have to put them in a little table, an

Re: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread John Nichel
Robby Russell wrote: I'd reply, but I don't think it would go anywhere: [EMAIL PROTECTED] wrote: So that's who has 'domain.invalid'. Damn, I wanted to register that. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] help with PEAR and SOAP

2004-12-28 Thread Jones, Douglas 1
Hello, I have the SOAP PEAR package set up correctly to the point where I can send a request and get a response. However, my web service is designed to return XML back to the caller. When I do this, all of the tags have their and converted to lt; and gt;. I have spent much time searching

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
Doesn't work on any file type. I've checked the usual suspects. e.g. form enctype=multipart/form-data action=_url_ method=\post\ URL is my php file. Jason Wong wrote: On Wednesday 29 December 2004 01:40, Al wrote: What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on

Re: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread Chris
Mike Johnson wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi all I am making a gallery for my Homepage. Now, I want to make little tumbnails of my work and make a table out of them. So, to not put them all in a row, what whould make the site unreadable, i have to put them in a

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Sebastian
not sure if its a typo but the array shows userfile and your variable array shows user it looks like the file isn't being passed at all, double check if you have any typos.. type is blank which should at least show the mime type.. - Original Message - From: Al [EMAIL PROTECTED] To:

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Matt M.
is form enctype=multipart/form-data action=_url_ method=\post\ what comes out in the html or is it form enctype=multipart/form-data action=_url_ method=post? can you upload any files at all? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cURL and line breaks

2004-12-28 Thread Mike Johnson
Just thought I'd throw this one out there to test the waters... This past weekend, I was fiddling with cURL to create a bot that could auto-post to my phpBB message board on-demand. All was working well with getting it to login to the board and post, but the strange part came when I discovered

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
I keyed $_FILE[user][error] from memory, and it's wrong. It really is userfile; Weird problem, eh! Sebastian wrote: not sure if its a typo but the array shows userfile and your variable array shows user it looks like the file isn't being passed at all, double check if you have any typos.. type

[PHP] PHP5 and File Locking

2004-12-28 Thread Gerard Samuel
I started to put together a few classes that reads/writes files, using the fopen() function, injunction with flock() to lock files while reading/writing. And I also was wrapping fopen()/flock() around copy()/unlink()/rename() with the thinking that they needed file locking *features* while

Re: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread Matthew Weier O'Phinney
* Mike Johnson [EMAIL PROTECTED]: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I am making a gallery for my Homepage. Now, I want to make little tumbnails of my work and make a table out of them. So, to not put them all in a row, what whould make the site unreadable, i have to

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
Ok... Here we go On Tuesday 28 December 2004 23:43, GH wrote: During the code... it gets to the following point... [snip] # # Check if report report is present or not # #

[PHP] MySQL Database type

2004-12-28 Thread The Disguised Jedi
Which type of engine would y'all recommend for a user/customer and session data storage database? I'm currently using MyISAM, but I just was curious to see if you guys could tell me if you know of a better one, or tell me what you use. TIA, -- The Disguised Jedi [EMAIL PROTECTED] PHP rocks!

Re: [PHP] A serious bug? or operator gives out diffferent results depending on order of operands

2004-12-28 Thread Rory Browne
$a = $b ^^ $c You sure? It didn't work for me, and it isn't listed in the PHP manual. I used: ?php var_dump(1 ^^ 0); var_dump(0 ^^ 1); var_dump(0 ^^ 0); var_dump(1 ^^ 1); ? to test it and got a syntax error. I suppose you could use the bitwise one as a bit of

Re: [PHP] cURL and line breaks

2004-12-28 Thread Andrew Kreps
Are you talking about the variable you're POSTing? Does it make a difference if you urlencode the form var? Have you tried debugging from the server end to see what cURL is passing over? I use cURL quite a bit, although I've never tried passing muti-line form data. On Tue, 28 Dec 2004

[PHP] PEAR DB vs ADODB

2004-12-28 Thread daniel
Hi there I am in a bit of a dilemma, I have been leaning towards ADODB for its speed, but I amliking to use some pear components that only handle pear db etc .. Honest opinions, I am doingweb applications and building a little framework for it, will I notice any performance differences if Iuse

Re: [PHP] PEAR DB vs ADODB

2004-12-28 Thread Rory Browne
Haven't done much with either of them, besides reading docs, but I'd lean towards ADODB for its exception handling(with php5), if you need error handling. Having that said, I haven't really a clue what I'm talking about in this regard, so I'll be listening in with interest. On Wed, 29 Dec 2004

Re: [PHP] PEAR DB vs ADODB

2004-12-28 Thread daniel
Haven't done much with either of them, besides reading docs, but I'd lean towards ADODB for its exception handling(with php5), if you need error handling. Having that said, I haven't really a clue what I'm talking about in this regard, so I'll be listening in with interest. I'm assuming

[PHP] How to enable TTF extension

2004-12-28 Thread Viet Hung
Hi all, I'm testing an PHP application, this application requires TTF extension. Please help me a way to configure PHP enabling TTF extension. I have to download install which application/module to configure successfully. I'm using Linux OS (FC3). Any help will be appreciated highly! Thanks in

Re: [PHP] CMS

2004-12-28 Thread Zareef Ahmed
HI Javier, You may try (!) pathos which is now available under a new name EXPONENT. It is based on Smarty template. It is very good at adding new exetensions. One of the problem I faced in this CMS is its file structure. IMO it is best . visit http://sourceforge.net/projects/exponent/

[PHP] Arrays

2004-12-28 Thread GH
Would it be possible in a form fields name to make it an array? This way it would be i.e. att[$part_id] Now is there a way to iterate through the array when I submit the form to process it, being that the ID numbers are not going to be sequential and that there will be some numbers not

Re: [PHP] Environment and Modules

2004-12-28 Thread Zareef Ahmed
HI, Install instruction file contains all information you need to enable some of the exetension. HINT :: dlls folder zareef ahmed On Tue, 28 Dec 2004 18:26:52 +0100, Steven Spierenburg [EMAIL PROTECTED] wrote: Hi There, I recently installed PHP and have two things going on that I can't

Re: [PHP] $HTTP_POST array

2004-12-28 Thread Zareef Ahmed
Hi Kalinga, it is not recomended to use $HTTP_POST_VAR array. Use $_POST and it have global scope. In PHP5, we have a special directive by which we can disable $HTTP_*_VAR. currently it defaults to enabled. But who says in future versions of PHP it default set to disabled. then your code

Re: [PHP] Making includes and requires safe.

2004-12-28 Thread Zareef Ahmed
I agree with John Holmes that it is targeted at PHP. It is really wonderfull thing to know that google, yahoo can detect my php code on my site. These news item written by total uninformed (or Illinformed ) persons. zareef ahmed -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage

Re: [PHP] authentication

2004-12-28 Thread Zareef Ahmed
Hi Ali, Visit http://zareef.users.phpclasses.org/browse/class/21.html You will find a lot of code. zareef ahmed On Tue, 28 Dec 2004 13:12:14 +1030, Ali [EMAIL PROTECTED] wrote: Hi everyone... can anyone lead me to a good tutorial on authentication...it wud be good if i can get a one in