RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 1:52 AM To: Jake McHenry; 'Php-general' Subject: RE: [PHP] Sorting arrays Try to explain a little bit more how the arrays could be sorted asscending and by hitting back and

RE: [PHP] Sorting arrays

2003-12-14 Thread Bronislav Klucka
Try to explain a little bit more how the arrays could be sorted asscending and by hitting back and submitting form suddnely sorted descending... Brona Does anyone know of a way to keep sort from reversing the array order? That is kinda fuzzy, let me explain. I have

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:22 AM To: Jake McHenry Cc: 'Php-general' Subject: RE: [PHP] Sorting arrays Try to explain a little bit more how the arrays could be sorted asscending and by hitting

Re: [PHP] Sorting arrays

2003-12-14 Thread Justin Patrin
Jake McHenry wrote: -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 1:52 AM To: Jake McHenry; 'Php-general' Subject: RE: [PHP] Sorting arrays Try to explain a little bit more how the arrays could be sorted asscending and by hitting

[PHP] Where to get PHP manual?

2003-12-14 Thread Johnny Koh
I tried downloading the manual @ php.net but it just don't seems to connect. It keeps loading for a very long time. Is there any other place I can get or any kind soul that can send it to my email? [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sorting arrays

2003-12-14 Thread Justin Patrin
Jake McHenry wrote: -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:22 AM To: Jake McHenry Cc: 'Php-general' Subject: RE: [PHP] Sorting arrays Try to explain a little bit more how the arrays could be sorted asscending and by

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:51 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sorting arrays Jake McHenry wrote: -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday,

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:55 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sorting arrays Jake McHenry wrote: -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday,

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:55 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sorting arrays Jake McHenry wrote: -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Sunday,

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
-Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:14 AM To: 'Justin Patrin' Cc: 'Php-general' Subject: RE: [PHP] Sorting arrays -Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Sunday, December

RE: [PHP] Sorting arrays [SOLVED I THINK]

2003-12-14 Thread Jake McHenry
-Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:14 AM To: 'Justin Patrin' Cc: 'Php-general' Subject: RE: [PHP] Sorting arrays -Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Sunday, December

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread BAO RuiXian
Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start()

Re: [PHP] Re: What would the best way to veladate a URL string?

2003-12-14 Thread andre
On Sat, Dec 13, 2003 at 08:17:08PM -0500, Paul Chvostek wrote: Validate? How about something like: eregi('^(f|ht)tp://([a-z0-9._:-]+@)?([a-z0-9][a-z0-9-]+\.)+[a-z][a-z]+(/([a-z0-9.%=-]+)?)?',$string); I like it, but I would start with '^(ftp|gttp|https):...' People could be using SSL.

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread Marek Kilimajer
Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start() from

Re: [PHP] PHP IDE?

2003-12-14 Thread BAO RuiXian
Mike wrote: if you are using windows, I would highlt recommend PHPEdit, it is open source and has function completion. It boosts productivity a lot http://www.phpedit.net/products/PHPEdit/ Mike Not that good. IIRC, all the error messages and the prompts are in German, one need to guess

[PHP] Operation in an Array

2003-12-14 Thread Harry.de
How can i make an operation like adding variables in an array for example $array[$a+$b]; Thanks Harry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP IDE?

2003-12-14 Thread rush
Jough Jeaux [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. If you are going to work with

[PHP] e-commerce with php

2003-12-14 Thread pehepe php
Hi! I don't know anything about e-commerce. I want to build a e-commerce site with php-mysql. So i have turorial for this idea. Can you help me about it? i know php and mysql but i dont have any information about ssl, e-commerce, paying with credit card. thank you very much! you can send me

[PHP] help with install

2003-12-14 Thread Paul Vinten
ok, Just installed PHP with Xitami, with Apache 1.3 AND 2. I've used PHP versions 4.33 and 4.3.4. I'm running Windows XP, mucking around with some pages that came with my Web Programming book, most of the php pages work, but anything involving sessions, forms and cookies etc just doesn't work.

[PHP] php compile error with mysql undefined reference to `mysql_real_escape_string'

2003-12-14 Thread Ivone Uribe
Hi all! I'm installing php4.3.3, apache 1.3.28 with mysql3.22.32 I'm using this option --with-mysql=/usr/local/mysql But when I compile the php code, I get this error: ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding': /root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118:

[PHP] trouble parsing an XML document

2003-12-14 Thread alfredo
Hello, I'm trying to parse a XML doc, but the doc has some tags like: REG-ORIG so when I try to initialize variables: class Documenti { var $FILE; //nomefile var $NUMERO; //numerodiserie var ${'REG-ORIG'}; // here is the broblem function Documenti($aa) {

Re: [PHP] PHP IDE?

2003-12-14 Thread Mike
Not that good. IIRC, all the error messages and the prompts are in German, one need to guess which button should press if you don't know the very language. They were all in english last time I used it (which was a while ago) Mike -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] trouble parsing an XML document

2003-12-14 Thread Raditha Dissanayake
doesn't look like a xml parser problem. I haven't tried your code but i think the error is $this-$k alfredo wrote: Hello, I'm trying to parse a XML doc, but the doc has some tags like: REG-ORIG so when I try to initialize variables: class Documenti { var $FILE; //nomefile var $NUMERO;

Re: [PHP] PHP IDE?

2003-12-14 Thread Ahbaid Gaffoor
with folding you can fold your code in chunks, you basically setup a start fold and an end fold and place code between them, then you can open and close (fold) that block of code as you need to or don't need to see it... for example: # {{{ PHP Code to do something... .. .. 1 lines of

Re: [PHP] Where to get PHP manual?

2003-12-14 Thread Chris Shiflett
--- Johnny Koh [EMAIL PROTECTED] wrote: I tried downloading the manual @ php.net but it just don't seems to connect. It keeps loading for a very long time. Is there any other place I can get or any kind soul that can send it to my email? Try one of the mirrors. They might work for you:

Re: [PHP] Where to get PHP manual?

2003-12-14 Thread David T-G
Johnny -- ...and then Johnny Koh said... % % I tried downloading the manual @ php.net but it just don't seems to connect. % It keeps loading for a very long time. It will take a while, all right; even loading it locally as a single HTML file it takes quite a bit to load 8M. % % Is there any

[PHP] Sort flags

2003-12-14 Thread Jake McHenry
Hi all, quick question. Whenever I try putting any flags with the any of the sort functions, I get this error: Warning: Wrong parameter count for natsort() in /var/www/secure/travelrequest/handler.php on line 950 My sort call looks like this: natsort($array, SORT_STRING); Running PHP v.

[PHP] Re: Email Forwarders

2003-12-14 Thread Mike
It is not a php issue, it is more a configuration issue for your mail server, most of them use the .forward file to manage email forwarding. You can use the file functions (http://uk.php.net/manual/en/ref.filesystem.php) to read and write this file. It should be fairly simple. Start with

Re: [PHP] Sort flags

2003-12-14 Thread John W. Holmes
Jake McHenry wrote: Hi all, quick question. Whenever I try putting any flags with the any of the sort functions, I get this error: Warning: Wrong parameter count for natsort() in /var/www/secure/travelrequest/handler.php on line 950 My sort call looks like this: natsort($array, SORT_STRING);

[PHP] How do i save images created using PHP

2003-12-14 Thread crdsouza
hi, i am able to create images in php (png, jpeg) in IE. when i try to save the image it gets saved to the directed path. when i try to open the saved document i get an error message or else the file opens but with a whole lot of text gibberish (stuff life division by zero , etc) this code is

[PHP] Re: e-commerce with php

2003-12-14 Thread Eric Bolikowski
Pehepe Php [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! I don't know anything about e-commerce. I want to build a e-commerce site with php-mysql. So i have turorial for this idea. Can you help me about it? i know php and mysql but i dont have any information about ssl,

Re: [PHP] url rewriting within sessions - confused newbie needs help - [FIXED]

2003-12-14 Thread Peter Walter
I finally discovered the problem. There was extra whitespace after the php closing tag ? that was being interpreted as part of the header. Removing the whitespace fixed the problem. Peter Peter Walter wrote: Mike, I hope you mean session_start(). Yes, I did. Getting a bit dyslexic nowadays.

Re: [PHP] PHP IDE?

2003-12-14 Thread Erwin Kerk
Jough Jeaux wrote: Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough __ Do you Yahoo!? New Yahoo! Photos - easier

Re: [PHP] (0/T) executeing script below public

2003-12-14 Thread Ryan A
Hey, thanks, didnt know that. But is it possible to also add the start or stop parameter? Cheers, -Ryan You could just as easily ?php shell_exec(/path/to/script/scriptname start); ? Assuming that: 1) the webserver has rights to execute the script 2) you *must* execute this from the

php-general Digest 14 Dec 2003 23:30:33 -0000 Issue 2473

2003-12-14 Thread php-general-digest-help
php-general Digest 14 Dec 2003 23:30:33 - Issue 2473 Topics (messages 172675 through 172696): Re: What would the best way to veladate a URL string? 172675 by: andre.as.no-ip.com Re: session_start() make netscape 4.7 reload page. 172676 by: Marek Kilimajer Re: PHP IDE?

[PHP] Re: PHP IDE?

2003-12-14 Thread Peter Walter
Rush, templatetamer looks like an environment that I would be interested in using; however, what support resources are available for templatetamer? Is there a news server, bulletin board, or other help resource for people new to templatetamer? Peter Rush wrote: Jough Jeaux [EMAIL PROTECTED]

[PHP] Pear install problem

2003-12-14 Thread Pablo Gosse
Hi all. I'm trying to install PHPDocumentor (www.phpdoc.org) and I'm getting an error when using the pear install feature. I've got the necessary files stored in /home/phpDocumentor-1.2.2 but when I run pear install /home/phpDocumentor-1.2.2/package.xml I get the following error: Invalid

[PHP] How could I count the elements of each dimension of an array?

2003-12-14 Thread orlandopozo
How could I count the elements of each dimension of an array? I have this script, but it failed, thanks for any help ? $ojpp[0] = 1; $ojpp[1] = 2; $ojpp[2] = 3; $ojpp[3] = 4; $ojpp[0][1] = 1; $ojpp[0][2] = 2; $ojpp[0][3] = 3; $ojpp[0][0][1] = 1; $ojpp[0][0][2] = 2; $test1 = count($ojpp); //

[PHP] Re: How could I count the elements of each dimension of an array?

2003-12-14 Thread Al
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How could I count the elements of each dimension of an array? I have this script, but it failed, thanks for any help $ojpp[0] = 1; $ojpp[1] = 2; $ojpp[2] = 3; $ojpp[3] = 4; $ojpp[0][1] = 1; $ojpp[0][2] = 2; $ojpp[0][3] = 3; $ojpp[0][0][1] =

[PHP] Re: Operation in an Array

2003-12-14 Thread Al
Harry.De [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can i make an operation like adding variables in an array for example $array[$a+$b]; You'll have to be more specific. What exactly do you want to do? Add values of an array together? Their keys? Al -- PHP General Mailing

RE: [PHP] PHP IDE?

2003-12-14 Thread Pablo Gosse
snip Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough /snip If you're willing to purchase a commercial product I'd highly recommend Zend's IDE. I've

[PHP] Printing PHP Source with a PHP Script

2003-12-14 Thread Gohaku
Hi everyone, I'm trying to output PHP source within a PHP Script. The following script seems to work(Viewing HTML Source reveals the PHP Source), but the Browser output is very different. Is there a function or header I should set before echoing the PHP Source? Thanks. ? //filereader.php

Re: [PHP] Printing PHP Source with a PHP Script

2003-12-14 Thread John W. Holmes
Gohaku wrote: Hi everyone, I'm trying to output PHP source within a PHP Script. The following script seems to work(Viewing HTML Source reveals the PHP Source), but the Browser output is very different. Is there a function or header I should set before echoing the PHP Source? Thanks. ?

RE: [PHP] treu type fonts

2003-12-14 Thread cj
sorry for the late delay. How would I output the image to a file on the hard drive Thanks -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 December 2003 11:19 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] treu type fonts On Thursday 11 December 2003

Re: [PHP] Printing PHP Source with a PHP Script

2003-12-14 Thread Mike
John W. Holmes wrote: Gohaku wrote: Hi everyone, I'm trying to output PHP source within a PHP Script. The following script seems to work(Viewing HTML Source reveals the PHP Source), but the Browser output is very different. Is there a function or header I should set before echoing the PHP

Re: [PHP] Printing PHP Source with a PHP Script

2003-12-14 Thread Gohaku
On Sunday, December 14, 2003, at 09:51 PM, John W. Holmes wrote: Gohaku wrote: Hi everyone, I'm trying to output PHP source within a PHP Script. The following script seems to work(Viewing HTML Source reveals the PHP Source), but the Browser output is very different. Is there a function or

[PHP] Re: Trying to check for a valid URL String.

2003-12-14 Thread Al
Philip J. Newman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] so far i got ... if (!ereg(^http:\/\/([_\.0-9a-zA-Z-]+\.)+[a-zA-Z]/i,$websiteUrl) { On a quick glance, three things stand out: 1) You allow underscores in the website domain, but these are not valid characters for

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread Jonathan Zhang
Marek, Thank you very much. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when

Re: [PHP] Re: Trying to check for a valid URL String.

2003-12-14 Thread Justin French
On Monday, December 15, 2003, at 02:34 PM, Al wrote: Philip J. Newman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] so far i got ... if (!ereg(^http:\/\/([_\.0-9a-zA-Z-]+\.)+[a-zA-Z]/i,$websiteUrl) { On a quick glance, three things stand out: 1) You allow underscores in the website

[PHP] true type fonts again

2003-12-14 Thread cj
G'day all I have been able to the the image to display, which is a gif image of a rectange. But the text doesn't get displayed on the image. There are no error messages on the screen The other messages entitled true type fonts is a thread I started as well, but the image was not being displayed