-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
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
-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
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
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:
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
-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,
-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,
-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,
-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
-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
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()
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.
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
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
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
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
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
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.
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:
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) {
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
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;
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
--- 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:
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
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.
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
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);
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
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,
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.
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
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 - 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?
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]
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
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); //
[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] =
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
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
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
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.
?
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
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
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
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
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
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
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
50 matches
Mail list logo