On 11/02/2006 10:10 AM, /dev/null wrote:
hello
i have been trying to learn php.
what is the best approach to learning php for someone who has no
programming experience?
i am very familiar with html, xhtml, and css. i'm not an idiot when it
comes to using computers.
i have bought several boo
HoWang Wang wrote:
> Hi all,
>
> The Zend Encoder 4.0 (beta) have a new function in the license manager
> which can limit the number of concurrent users. I have wriiten something
> to work like it. But I found a problem. My script can limit the number
> of concurrent running script only. When the
On 2/10/06, /dev/null <[EMAIL PROTECTED]> wrote:
>
> hello
>
> i have been trying to learn php.
>
> what is the best approach to learning php for someone who has no
> programming experience?
>
> i am very familiar with html, xhtml, and css. i'm not an idiot when it
> comes to using computers.
> i h
http://www.businessweek.com/technology/content/feb2006/tc20060209_810527.htm
"Also in Oracle's crosshairs: closely held Zend, based in Cupertino,
Calif. Zend's PHP software language is one of the most prevalent on the
Web, present in more than 18 million Web sites. The company, which snared
h
At 07:27 PM 2/10/2006, David BERCOT wrote:
Hi,
I have to rewrite an application from ASP. In this application, I
receive DBase files which may be saved into Oracle.
In ASP, I used a generic driver and I made SQL requests on these files.
It is possible with PHP on Linux ?
Do you have some exampl
i have been trying to learn php.
what is the best approach to learning php for someone who has no programming
experience?
i am very familiar with html, xhtml, and css. i'm not an idiot when it comes
to using computers.
i have bought several books and have subscribed to a couple of the php
ma
hello
i have been trying to learn php.
what is the best approach to learning php for someone who has no
programming experience?
i am very familiar with html, xhtml, and css. i'm not an idiot when it
comes to using computers.
i have bought several books and have subscribed to a couple of the
Jochem Maas wrote:
Duggles Temple wrote:
I am having a problem with a shop system. I can't add values into the
MySQL
DB via a PHP statement. The values are being transferred from one
page to
another (know that from the echo statement), but the SQL statement isn't
working.
The statement is
Eric Butera wrote:
PHP List,
Perhaps one of you might know the answer to this, because I certainly do
not, nor do any of my coworkers. The "problem" is that scripts on our OSX
10.4 (our local development machines) and RedHat/Debian linux servers do not
throw the "headers already sent" message.
On Fri, Feb 10, 2006 at 05:44:26PM -0500, Eric Butera wrote:
> PHP List,
>
> Perhaps one of you might know the answer to this, because I certainly do
> not, nor do any of my coworkers. The "problem" is that scripts on our OSX
> 10.4 (our local development machines) and RedHat/Debian linux servers
Hi,
I have to rewrite an application from ASP. In this application, I
receive DBase files which may be saved into Oracle.
In ASP, I used a generic driver and I made SQL requests on these files.
It is possible with PHP on Linux ?
Do you have some examples ?
Thank you very much.
David.
signature
Hi, folks.
A few of you provided me with some great feedback. I've encorporated
most of the suggestions into the examples. There is a bug fix in
there, too (get_tag_contents()), so be sure to check it out. =)
http://www.joot.com/dave/writings/articles/php-examples.shtml
Now that we all know how
pedro mpa wrote:
Greetings!
I am building a website using PHP 5.1.2 and MySQL 5.0.18 and I am using
windows xp with IIS.
All the hosting companies I have contacted are using php 4.x.x and mysql
4.x.x or 3.x.x, on linux I suppose.
Are php versions the same for every os/platform?
Thanks in adva
PHP List,
Perhaps one of you might know the answer to this, because I certainly do
not, nor do any of my coworkers. The "problem" is that scripts on our OSX
10.4 (our local development machines) and RedHat/Debian linux servers do not
throw the "headers already sent" message. I could have an enti
Thanks for all your suggestions!! specially to "list"!!
Regards,
Miguel Guirao
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Viernes, 10 de Febrero de 2006 03:20 p.m.
To: Miguel Guirao
Cc: PHP List
Subject: Re: [PHP] Static and Global at the same time!
On Fri,
> WILD GUESS!!!
>
> Since you're NOT closing off the streams, PHP is trying to
> close them for you, but you've unset various variables and
> whatnot, and confused PHP into fclose()ing the WRONG thing.
Hmm, I said all streams are getting closed.
If they were not then a malformed zip would be
On Fri, February 10, 2006 1:36 pm, Paul Novitski wrote:
> At 04:08 AM 2/10/2006, Dave Jarvis wrote:
>>It is a collection of six simple tricks I use to give websites that
>>extra flair of functionality.
>>
>>http://joot.com/dave/writings/articles/php-examples.shtml
>>
>>I hope you find the auto-comp
WILD GUESS!!!
Since you're NOT closing off the streams, PHP is trying to close them
for you, but you've unset various variables and whatnot, and confused
PHP into fclose()ing the WRONG thing.
Try closing your own files.
If that doesn't do it, just for fun, tack on an "exit;" at the very
end of t
On Fri, February 10, 2006 9:07 am, Miguel Guirao wrote:
> Can I have a variable that is static and global at the same time
> within a
> function?
> Let's say I have:
>
> $data = "";
>
> function newdata() {
> static global $data;
> $data [$i] = $newdatatobestored_inthearray;
> }
No.
But if yo
On Fri, February 10, 2006 1:39 pm, jonathan wrote:
> i"m mapping some data from a sql select into a custom object that
> will have a couple associative arrays. I have some code that I think
> looks a little ugly such as:
>
> $x=0;
> if($row['slot']>=2)
> {
> $this->me
On Fri, February 10, 2006 2:01 pm, pedro mpa wrote:
> I am building a website using PHP 5.1.2 and MySQL 5.0.18 and I am
> using
> windows xp with IIS.
> All the hosting companies I have contacted are using php 4.x.x and
> mysql
> 4.x.x or 3.x.x, on linux I suppose.
>
> Are php versions the same for
pedro mpa wrote:
Greetings!
I am building a website using PHP 5.1.2 and MySQL 5.0.18 and I am using
windows xp with IIS.
All the hosting companies I have contacted are using php 4.x.x and mysql
4.x.x or 3.x.x, on linux I suppose.
Are php versions the same for every os/platform?
Thanks in advan
On Fri, Feb 10, 2006 at 11:39:13AM -0800, jonathan wrote:
>
> i"m mapping some data from a sql select into a custom object that
> will have a couple associative arrays. I have some code that I think
> looks a little ugly such as:
>
> $x=0;
> if($row['slot']>=2)
> {
>
function get_last_key( $array ) {
// end( $array ); return key( $array );
return array_search(
reset( array_reverse( array_values( array_flip( $array ) ) ) )
,array_reverse( array_values( array_flip( $array ) ) )
,true
Greetings!
I am building a website using PHP 5.1.2 and MySQL 5.0.18 and I am using
windows xp with IIS.
All the hosting companies I have contacted are using php 4.x.x and mysql
4.x.x or 3.x.x, on linux I suppose.
Are php versions the same for every os/platform?
Thanks in advance.
--
PHP Genera
Hi,
I didn't quite know where this should go inside the PHP user manual.
It is a collection of six simple tricks I use to give websites that
extra flair of functionality.
http://joot.com/dave/writings/articles/php-examples.shtml
I hope you find the auto-complete city and country is especially u
At 04:08 AM 2/10/2006, Dave Jarvis wrote:
It is a collection of six simple tricks I use to give websites that
extra flair of functionality.
http://joot.com/dave/writings/articles/php-examples.shtml
I hope you find the auto-complete city and country is especially useful.
Nice collection, Dave
Ahha, after some rethinking, I've dropped the append custom stream, as its not
really required.
And instead of using a custom in memory stream for handling the central
directory stream, just using tmpfile(), the application
error has disappeared.
Jared
> > >>Jared Williams wrote:
> > >>
> >
>
> There must be a problem between
> [Form of the page] <> [PHP code]
>
For me the problem is usually between
[Keyboard] <> [Chair]
;-)
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Duggles Temple wrote:
I WOULD tell you the exact string that the echo statement outpus, but the
SQL has chrashed and now PHP ownt interact (damn tin of worms i've opened
here). But, I know that if i send the data from the other page, it will
arrive to the addvalue.php page and be echoed successfu
A static defined variable used in a function will keep it's value each
time the function is called, but this function is available only for
function's scope.
A global defined variable used in a function will keep it's values (as
long as this value is not changed in "body" of the script or in
> >
> >>-Original Message-
> >>From: Jochem Maas [mailto:[EMAIL PROTECTED]
> >>Sent: 10 February 2006 14:17
> >>To: [EMAIL PROTECTED]
> >>Cc: php-general@lists.php.net
> >>Subject: Re: [PHP] Debugging custom streams
> >>
> >>Jared Williams wrote:
> >>
> >>>Hi,
> >>> Short version, is th
I WOULD tell you the exact string that the echo statement outpus, but the
SQL has chrashed and now PHP ownt interact (damn tin of worms i've opened
here). But, I know that if i send the data from the other page, it will
arrive to the addvalue.php page and be echoed successfully (do you really
think
Andrei wrote:
What's the use of global static variables?
heh! we need to teach them to test out their own basic questions
and assumptions before we move them onto real analysis & deduction.
I agree though that a 'global static' looks to be pointless, then again
the behaviour in my littl
Miguel Guirao wrote:
Hello list!!
my name is not 'list' but I'll let you off this time.
Can I have a variable that is static and global at the same time within a
function?
here is some [linux] command line output that took about 30 seconds to
generate, it
answers your question. you'll ha
What's the use of global static variables?
Andy
Miguel Guirao wrote:
Hello list!!
Can I have a variable that is static and global at the same time within a
function?
Let's say I have:
$data = "";
function newdata() {
static global $data;
$data [$i] = $newdatatobestored_
Can I have a variable that is static and global at the same time within a
function?
Let's say I have:
$data = "";
function newdata() {
static global $data;
$data [$i] = $newdatatobestored_inthearray;
}
Isn't a global variable static within the function by it's nature of being
global? Making
Does your text get truncated or turned into hash '#' signs?
I know that Excel has some limits regarding how many characters will go into
a text column.
There is also a 64k row limit as well, but most sane people wouldn't use a
spreadsheet to handle such a dataset.
George
> -Original Message
ups, my finger did it's own thing!!
Thanks for the response!!
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Jueves, 09 de Febrero de 2006 07:36 p.m.
To: Miguel Guirao
Cc: PHP List
Subject: Re: [PHP] TMP directory
Hi,
Well, firstly there is no php 7..
By default it sh
Hello list!!
Can I have a variable that is static and global at the same time within a
function?
Let's say I have:
$data = "";
function newdata() {
static global $data;
$data [$i] = $newdatatobestored_inthearray;
}
Best Regards,
---
Miguel Guirao Aguilera
Logistica R8
Duggles Temple wrote:
...I knew I would forget something...
The echo statement show the values that I would input from the last page.
I don't think so - you should be echo'ing a SQL statement that _contains_
the (sanitized???)
The MySQL error would be "Query was empty".
how do you know? (I
and static variables do not lose it's value as long as the script is not
called again!!
Since you are calling the script again, that's why the static variables lose
it's value!!
Miguel Guirao
-Original Message-
From: Hugh Danaher [mailto:[EMAIL PROTECTED]
Sent: Viernes, 10 de Febrero de
Jared Williams wrote:
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 14:17
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Debugging custom streams
Jared Williams wrote:
Hi,
Short version, is there any way of listing
-Original Message-
From: Bagus Nugroho [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 5:48 PM
To: php-general
Subject: [PHP] Limitation on PEAR : Spreadsheet_Excel_Writer
Hello Everyone,
I'm succesfully generate report from mysql table using PEAR :
Spreadsheet_Excel_Writer,
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: 10 February 2006 14:17
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Debugging custom streams
>
> Jared Williams wrote:
> >
> > Hi,
> > Short version, is there any way of list
...I knew I would forget something...
The echo statement show the values that I would input from the last page.
The MySQL error would be "Query was empty".
Jared Williams wrote:
Hi,
Short version, is there any way of listing all open resources from
within a PHP script? Think I may have a problem relating
to the object/resource shutdown order within PHP, but cant see which custom stream handler still has an open resource.
Long v
Hi,
Short version, is there any way of listing all open resources from
within a PHP script? Think I may have a problem relating
to the object/resource shutdown order within PHP, but cant see which custom
stream handler still has an open resource.
Long version...
I've
Hello,
on 02/10/2006 05:48 AM Paul Goepfert said the following:
> I am beginnging to do vaidation on my web form and I know of a few
> functions to do this with. For example the empty fuction and the is_
> functions. Ok to give you a picture of what I am vaildating its just
> your basic form, Na
Dave Jarvis wrote:
Hi,
I didn't quite know where this should go inside the PHP user manual.
It is a collection of six simple tricks I use to give websites that
extra flair of functionality.
http://joot.com/dave/writings/articles/php-examples.shtml
I hope you find the auto-complete city and cou
Hi,
I didn't quite know where this should go inside the PHP user manual.
It is a collection of six simple tricks I use to give websites that
extra flair of functionality.
http://joot.com/dave/writings/articles/php-examples.shtml
I hope you find the auto-complete city and country is especially us
Hi,
Friday, February 10, 2006, 8:16:41 PM, you wrote:
DT> Hi,
DT> I'd like to say in advance that I am sorry about the silly and very newbie
DT> question I'm asking.
DT> I am having a problem with a shop system. I can't add values into the MySQL
DT> DB via a PHP statement. The values are being t
Duggles Temple wrote:
Hi,
I'd like to say in advance that I am sorry about the silly and very newbie
question I'm asking.
don't be - life's too short.
I am having a problem with a shop system. I can't add values into the MySQL
DB via a PHP statement. The values are being transferred from on
Also when specifying the field list (and table name) it may be a better idea
to wrap the values in backticks (`) rather than quotes (')
Always works for me
Dan
-Original Message-
From: Barry [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 10:31
To: php-general@lists.php.net
Subject: [P
Duggles Temple wrote:
Hi,
I'd like to say in advance that I am sorry about the silly and very newbie
question I'm asking.
I am having a problem with a shop system. I can't add values into the MySQL
DB via a PHP statement. The values are being transferred from one page to
another (know that from
Hi,
I'd like to say in advance that I am sorry about the silly and very newbie
question I'm asking.
I am having a problem with a shop system. I can't add values into the MySQL
DB via a PHP statement. The values are being transferred from one page to
another (know that from the echo statement), bu
Oracle buying Zend helps the general population?:
http://www.theregister.co.uk/2006/02/10/oracle_opens_source_acquisition/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may want to have a look at :
Power Form Validation
http://www.weberdev.com/get_example-4248.html
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP & MySQL Forums : http://www.weberforums.com
Learn PHP & MySQL Playing Trivia : http://www.webe
58 matches
Mail list logo