Re: [PHP] Context

2003-01-30 Thread Justin French
AFAIK, PHP "skips" over anything out side the ... so yes, technically, it would be a little faster. End of the day, such a small gain could probably be made up elsewhere by optimising a function you use on every page, or something else like that. It's been said on the list many times before: Just

Re: [PHP] mysq_connect()

2003-01-30 Thread Khalid El-Kary
is PHP configured with --with-mysql ? Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that after testing different scripts, php is working, except when I make an MySQL call like mysql_connect()

RE: [PHP] XML PHP question

2003-01-30 Thread Chris McCluskey
There are lots of applications for XML in general. the most common one is the interchange of data between servers. here are some other links to wet your appetite: http://www.devshed.com/Server_Side/PHP/AmazonAPI/AmazonAPI1/page1.html http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html

[PHP] POST without a form

2003-01-30 Thread arthur.chereau
Hi, A PHP page (main.php) loads another page (doit.php) via a form. doit.php gets the data via $_POST. Now, from a third page (other.php), I need to load doit.php with other data, but automatically, without a form. How can I redirect to doit.php and send POST data at the same time ? (as

Re: [PHP] PHP Compile Error

2003-01-30 Thread Johannes Schlueter
Hi, On Friday 31 January 2003 01:10, Robert Fitzpatrick wrote: > Running Redhat 8.0 > PHP 4.3.0 > > When I try to configure with the following: > ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars > --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local Are you sure you told

[PHP] iCal parser and importing iCal to database

2003-01-30 Thread Reuben D. Budiardja
Hi, I think this has been asked here before and I've looked around the archive but didn't find anything. So I ask again. Does anyone know if there's a utility/script/program in php that will allow one to parse and/or import iCAL calendar format to database, such as mySQL or PostGreSQL? Thanks

RE: [PHP] iCal parser and importing iCal to database

2003-01-30 Thread Dan Harrington
No kidding. And the very thought that apple in its "intrusion" into the world of UNIX hasn't made a group open-SQL-database-driven web-accessible iCal is kind of unreal. At least make it filemaker pro driven. :-) > -Original Message- > From: Reuben D. Budiardja [mailto:[EMAIL PROTECTE

Re[2]: [PHP] Adding HTTP URL Code

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 3:43:52 AM, you wrote: EKAHFe> Hi all! EKAHFe> Unfortunately, I didn't receive any replies to the problem I sent out EKAHFe> on January 16th so I thought I'd send another email and perhaps EKAHFe> clarify what I am seeing so that maybe someone CAN help and ask EKAHFe

Re: [PHP] mysq_connect()

2003-01-30 Thread Philip Olson
On Thu, 30 Jan 2003, Cesar Rodriguez wrote: > Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera > Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that > after testing different scripts, php is working, except when I make an MySQL > call like mysql_co

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Jason Sheets
Using a PHP encoder or compiling a binary does not make it more secure than storing the IV and encryption key in plain text in a PHP script. The problem is the fact that the encryption cipher requires the same key for encryption and decryption, this is not a problem in many encryption cases but in

RE: [PHP] PHP - mysql_info question

2003-01-30 Thread John W. Holmes
> I have written a PHP function that uses the MySQL command: > LOAD DATA INFILE ... > > The command returns the result in mysql_info() > Records: 42 Deleted: 0 Skipped: 0 Warnings: 5 > > My question is how do you find out what the 5 warnings are. > Does MySQL put them in a log file somewhere and

Re: [PHP] iCal parser and importing iCal to database

2003-01-30 Thread Richard Baskett
Doesn't iCal use the vCalendar vCal format? Kind of like vCards, but to deal with Calendar information.. it should be easy to write something that will parse that.. Cheers! Rick "The greatest trick the devil ever played was convincing the world he didn't exist." - Unknown > From: "Reuben D. Bu

[PHP] Change MySQL from Socket to TCP

2003-01-30 Thread Stephen
I'm having a bit of trouble. A friend of mine just bought a server and install a bunch of stuff on it. MySQL was setup as a socket connection instead of TCP. How can I change that for his installed scripts to work? Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance

[PHP] Re:[PHP] POST without a form

2003-01-30 Thread Daniel Leighton
I think what you want to use is CURL. I don't know if that's the canonical way to do it, but it is certainly a way. You can get more info here: http://www.php.net/manual/en/ref.curl.php At 1:28 AM +0100 on 1/31/03, arthur.chereau wrote: >Hi, > >A PHP page (main.php) loads another page

[PHP] Introduction

2003-01-30 Thread Julie Williams
Hello everyone, I just subscribed to the list and wanted to say hello. Also to check if I have the right address. :-) Julie Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Money format

2003-01-30 Thread Ben Edwards
I wish to format money with a £ sign, two decimal places and commas separating thousands. I seem to be able to do the £ and decimal places with sprintf or use money_format to do the commas but cant find how to do both/combine them. any insight, ben *

[PHP] Trying to understand an error

2003-01-30 Thread Lynn
Hello, I am trying to set up an admin in a site on the web. I keep coming up with the following error message when I try to set up services that this admin will cover: Warning: file("./conf1.ini") - No such file or directory in /home/domains/thisoldgranny.com/htdocs/uma/Uma.inc.php on line 1129

Re: [PHP] Money format

2003-01-30 Thread V Dub
http://php.net search in functions for number_format Cheers! Quoting Ben Edwards <[EMAIL PROTECTED]>: ### I wish to format money with a £ sign, two decimal places and commas ### separating thousands. I seem to be able to do the £ and decimal places with ### ### sprintf or use money_format to

RE: [PHP] Money format--concatenate?

2003-01-30 Thread Leonard Burton
I hope this helps. Have you thought of concatenation? $a=spritf(however you set it up to get your decimals and comas) $b="£".$a; Will that not work? Leonard. -Original Message- From: V Dub [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 9:45 PM To: Ben Edwards Cc: [EMAIL PR

[PHP] Sending plain text data in a table with mail()

2003-01-30 Thread Leonard Burton
Greetings, I am having trouble with the following code. I am trying to make a table in plain text to send via email. I get the data frm a MYSQL table and then put it into an array. I find the max strlen and subtract each individual customer name strlen from that and add that many spaces. Such

Re: [PHP] Money format

2003-01-30 Thread Ben Edwards
As I said it is almost what I want but not quite. If it can be done a code snipit would be good. Ben At 19:44 30/01/2003 -0700, V Dub wrote: http://php.net search in functions for number_format Cheers! Quoting Ben Edwards <[EMAIL PROTECTED]>: ### I wish to format money with a £ sign, two d

Re: [PHP] Change MySQL from Socket to TCP

2003-01-30 Thread Chris Shiflett
--- Stephen <[EMAIL PROTECTED]> wrote: > MySQL was setup as a socket connection instead of TCP. > How can I change that for his installed scripts to work? What in the world are you talking about? Might I suggest: 1. Don't try to assume you know what the problem is unless you do. Just explain what

[PHP] Using CVS through PHP

2003-01-30 Thread Weston Houghton
I'm looking at building a system script for build management. I would very much prefer to do this in PHP. Are there any integrated means of using CVS with php, or am I limited to using system calls from cvs? Thanks, Wes ---

[PHP] How to check for refresh in PHP

2003-01-30 Thread Pag
Hi, I have a news site where i want to track how many "visits" or reads each individual news has. I have a main list with all the titles, then clicking on them shows the details of the specific news, only then the counter for that particular news is increased. The problem is, if the user do

Re: [PHP] Trying to understand an error

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 10:42, Lynn wrote: > Hello, I am trying to set up an admin in a site on the web. I keep coming > up with the following error message when I try to set up services that this > admin will cover: > > Warning: file("./conf1.ini") - No such file or directory in > /home/domains/

Re: [PHP] How to check for refresh in PHP

2003-01-30 Thread Justin French
Not really that simple. You can't use the HTTP_REFERER, because it's not set when the user refreshes (at least on my browser, so at best it will be unreliable). Common ways to prevent such things happening (like voting for a pic or song or poll more than once) are usually done with either: 1. lo

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 09:26, Tom Rogers wrote: > DO> Thanks for your reactions guys, I stil havent been able to get it to > DO> work... I have added a .htaccess file into my directory that needs the > DO> register globals on, containing > > DO> php_value register_globals on > > DO> And i have

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 14:36, Jason Wong wrote: > php_value register_globals 0 > > works for me. Perhaps it wasn't too clear. Use 0/1 rather than off/on. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & In

[PHP] .php extensions versus .html

2003-01-30 Thread Guru Geek
I was wondering, can you call a php script in the middle of a html page? I've seen some sites use code like this: Untitled HELLO WORLD!!! but when I try it, the php script doesn't run. Does anyone else know how to use php on a page and yet keep the .html extension? Thanks in advance,

[PHP] need some guidance

2003-01-30 Thread Seth Hopkins
Hey everyone. I'm wondering if someone could lead me in the right direction on this one. What could I use to see if a site has been updated and then display what has been added to it? Any advice is appreciated. Thanks. Seth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

RE: [PHP] need some guidance

2003-01-30 Thread Timothy Hitchens \(HiTCHO\)
If you are talking about a remote (out of your control) website then you will need to compare HTML areas but this could be a very hard process unless it is template/cms driven with comments in the html source etc. I would suggest you maybe tell us what website so we can see what the source looks l

[PHP] LOGOUT - Reset Session

2003-01-30 Thread Keith Spiller
Hello Everyone, I'm trying to create a Logout Function and Link. My site uses a standard htaccess file for its authentication method. After the brower requests the username and password they have access to the protected site. Then users can jump to a special Messaging section where I wrote a ph

[PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Dash McElroy
Yes. Either via a .htaccess file or in your httpd.conf in a Directory entry put this: php_value register_globals on See the following URL's for more info: http://www.php.net/manual/en/configuration.changes.php http://www.php.net/manual/en/function.ini-set.php -Dash AQUARIUS (Jan 20 - Feb 18)

[PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Davy Obdam
Thanks for your reactions guys, I stil havent been able to get it to work... I have added a .htaccess file into my directory that needs the register globals on, containing php_value register_globals on And i have chanched AllowOverride None to all in the httpd.conf file, and restarted my webser

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 10:42:42 AM, you wrote: DO> Thanks for your reactions guys, I stil havent been able to get it to DO> work... I have added a .htaccess file into my directory that needs the DO> register globals on, containing DO> php_value register_globals on DO> And i have chanche

[PHP] PHP --with-imap on Cobalt RaQ with Stackguard IMAP

2003-01-30 Thread Götz Lohmann
Hi, I took me a long time to compile PHP with IMAP Support, but solve this, so here is a solution: If you have a Cobalt with latest Patches, then you have an StackGuard version of IMAP wich won't compile with the default gcc first you need: RaQ4-All-Security-2.0.1-13323.pkg using wget from ft

<    1   2