Travis Conway wrote:
Well, I look at other people's code sice I am new to the whole
language. I have only been working with it for about a month and half
now. I do have prior experience with languages such as ASP (both
JScript and VBscript based). I am probably not going to upgrade now
sinc
Travis Conway wrote:
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Trav
here can help you .
http://www.php.net/manual/en/history.php
http:
[EMAIL PROTECTED] wrote:
I upgraded to PHP 5 and now I am having some problems with DB.php.
2 problems:
1. I get this notice
Notice: Undefined property: DB_mysql::$disconnect
2: the $db->query no longer works. I have gone as far as to place this line
at the beginning of the file:
set_include_path(
On Monday 29 November 2004 06:46, steve wrote:
> No to both. When I arrive at the new page, the sessions vars (as expected)
> contain the values set by the previous page. $ref_page is not set. The
> values are transferred to $ref_page by the function. That works as planned.
> I then reset the valu
Hello,
I want to create a simple web service.
So far tried NuSoap but don't know how to modify its default xml envelope..
I could create REST for response but not sure about how to process the
request,
maybe with simplexml ?
RAW DATA:
Request:
5
Response:
Jones
Please give any info for
Brad Ciszewski wrote:
is there an 'and' statement for mysql, when you are doing multiple "where"s?
Is there a PHP question in your MySQL question?
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On Mon, 29 Nov 2004 10:58, Brad Ciszewski wrote:
> i have several tables with data, and they all have a server column. there
> are a few tables which i need to exclude a particular server from that
> table. i am currently running an array to extract the data, and was
> wondering if i could either
Hi there - I was wondering if there was some kind of PHP function to
determine hte pixel size of a quicktime movie. Something like what
GetImageSize() is to images, but for quicktime.
thanks!
d
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2004-11-28 at 21:56, Brad Ciszewski wrote:
> err i mean ... an 'or' statement sry
Two comments:
1. This is the "PHP" General list. See the PHP part... that means
it's NOT the MYSQL General list.
2. For such a trivial question you could have spent a whole 5 seconds
executing the que
err i mean ... an 'or' statement sry
is there an 'and' statement for mysql, when you are doing multiple
"where"s?
MySQL allows SQL statements that support both AND and OR. With OR, you
can often use IN instead.
SELECT columns FROM tablename WHERE (condition1) AND (condition2)...
All of this is
err i mean ... an 'or' statement sry
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
"Brad Ciszewski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there an 'and' statement for mysql, when you are doing multiple
is there an 'and' statement for mysql, when you are doing multiple "where"s?
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I am developing a new application in PHP 5. OO design is so great!
If you are developing a new application, I think you can have a look on PHP 5.
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Travis Conway:
> I do not know much about the history of php and do not know why there is
> active development on both the 4 and 5 major versions, but is there a
> definite reason for me to migrate from 4 to 5 on my servers?
The active development on php4 is strictly to fix bugs or
I upgraded to PHP 5 and now I am having some problems with DB.php.
2 problems:
1. I get this notice
Notice: Undefined property: DB_mysql::$disconnect
2: the $db->query no longer works. I have gone as far as to place this line
at the beginning of the file:
set_include_path(".:/usr/local/lib/php"
Well, I look at other people's code sice I am new to the whole language. I
have only been working with it for about a month and half now. I do have
prior experience with languages such as ASP (both JScript and VBscript
based). I am probably not going to upgrade now since my stuff "just works
i have several tables with data, and they all have a server column. there
are a few tables which i need to exclude a particular server from that
table. i am currently running an array to extract the data, and was
wondering if i could either use PHP code or a mysql-query exclude function
or somethin
Greg Beaver wrote:
How about:
echo Myclass::$myvar;
?>
The only problem is if you want to be able to generically access a
static variable from any class that has it, like $Myclass::$myvar.
Greg
Hi Greg,
Yup, Exactly
That is the problem we are attempting to deal with :)
(hence the name of this th
Travis Conway wrote:
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Depends on what you wish to do with php.
PHP 5 has far better support fo
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
On Sunday 28 November 2004 05:46 pm, steve wrote:
> Jason Wong wrote:
> > On Sunday 28 November 2004 22:46, steve wrote:
> >> I tried printing out the values before and after each of those lines.
> >> After line 53, $ref_page is an array containing precisely the values I
> >> expect, so the functio
Jason Wong wrote:
> On Sunday 28 November 2004 22:46, steve wrote:
>
>> I tried printing out the values before and after each of those lines.
>> After line 53, $ref_page is an array containing precisely the values I
>> expect, so the function is working. After line 54, the session var has
>> been
Hi there - I was wondering if anyone could point me in the right
direction to be able to add data to two different tables (I am using
mysql and php V4). I understand joins, etc for the query of the data,
however adding the data - still getting my head wrapped around it
(multiple tables).
You'll
Hi there - I was wondering if anyone could point me in the right
direction to be able to add data to two different tables (I am using
mysql and php V4). I understand joins, etc for the query of the data,
however adding the data - still getting my head wrapped around it
(multiple tables).
Thank
Matthew Weier O'Phinney wrote:
* Francisco M. Marzoa Alonso <[EMAIL PROTECTED]>:
Can I override static members in someway under PHP5? Is the answer is
negative, Why not?
If they are marked public (or not marked at all as public, private, or
protected, in which case the default is public), then ye
Jake Press wrote:
Simas Toleikis wrote:
Jake Press wrote:
Hi Francisco,
Your not alone, a number of other users have enountered this bug.
string get_class ( object obj )
Its not a bug...
You are getting class name as a string for output purposes etc..
Doing something like "TestClass"::some_static
On Sun, 28 Nov 2004 12:48:57 -0600, Brad Ciszewski <[EMAIL PROTECTED]> wrote:
> is there a code you can put at the top of the your php files so that the
> imgs etc. load as the are put on to your computer, and it doesnt wait for
> the whole site to be downloaded until it is loaded to the user? *tur
On Monday 29 November 2004 03:54, Travis Conway wrote:
> I am fairly new to the concept of working wity mysql and php.
Questions regarding the use of databases with PHP should be posted to the
php-db list.
> I am looping
> thru a text file full of county names and attempting to add these to a
On Sunday 28 November 2004 22:46, steve wrote:
> I tried printing out the values before and after each of those lines. After
> line 53, $ref_page is an array containing precisely the values I expect, so
> the function is working. After line 54, the session var has been reset, as
> expected, to mat
I am fairly new to the concept of working wity mysql and php. I am looping
thru a text file full of county names and attempting to add these to a database.
Now the table exists and if I enter the SQL statement manually against the
database it works. The user also has read and write permissions
Please set your mailer to *NOT* ask for reply reciepts when mailing to a
mailing list.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try,
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
"Pascal Platteeuw" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello everyone,
>
> Here is a newbie question for you guys who are much more advanced than me
is there a code you can put at the top of the your php files so that the
imgs etc. load as the are put on to your computer, and it doesnt wait for
the whole site to be downloaded until it is loaded to the user? *turning off
the buffer basicly*
Brad Ciszewski
www.BradTechnologies.com
99.9% Uptime
> This seems like a very weak re-implementation of cron. Seriously, this
> problem has been solved.
>
> -ryan
Then, what do you exactly mean for cron job?
Alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 28, 2004, at 10:38 AM, Alessandro Rosa wrote:
Yes, but perhaps every 5 minutes. You have to solve this too, either
cron job if you have it available or it can be trigered by user http
requests (not very reliable).
Thanks again!
Yours e-mail fixed some procedural doubts I have been thinking a
Pascal Platteeuw wrote:
Hello everyone,
Here is a newbie question for you guys who are much more advanced than me
:-)
I want ot do an automatic redirection in a php page... Is there something
equivalent to "response.redirect" used in ASP?
Thanks in advance,
Pascal Platteeuw
http://us4.php.net/heade
Look at header()
http://us2.php.net/manual/en/function.header.php
-M
> -Original Message-
> From: Pascal Platteeuw [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 28, 2004 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie question
>
> Hello everyone,
>
> Here is a newbie qu
Hello everyone,
Here is a newbie question for you guys who are much more advanced than me
:-)
I want ot do an automatic redirection in a php page... Is there something
equivalent to "response.redirect" used in ASP?
Thanks in advance,
Pascal Platteeuw
--
PHP General Mailing List (http://www.php
> Yes, but perhaps every 5 minutes. You have to solve this too, either
> cron job if you have it available or it can be trigered by user http
> requests (not very reliable).
Thanks again!
Yours e-mail fixed some procedural doubts I have been thinking about
such automatic responder.
Solution mig
On Nov 28, 2004, at 7:28 AM, Dominic Fox wrote:
Hi,
I would like to parse some PHP files to extract some information about
them. Is there a formal grammar (EBNF or other) anywhere that I could
use as a reference?
I'd like to write the parser myself (in Haskell), so existing PHP
parsers (in PHP itse
* Raditha Dissanayake <[EMAIL PROTECTED]>:
> Luis Lebron wrote:
> >I have a server running RH 8, Apache 1.3.27, PHP 4.3.9. I tried to
> >recompile PHP with Curl support.
>
> that's a very old version of red hat that is no longer supported you
> might want to upgrade at least to RH 9 if not to fed
* Francisco M. Marzoa Alonso <[EMAIL PROTECTED]>:
> Can I override static members in someway under PHP5? Is the answer is
> negative, Why not?
If they are marked public (or not marked at all as public, private, or
protected, in which case the default is public), then yes, you can
override them.
Greg Donald wrote:
>> define('THIS_PAGE',$_SERVER['PHP_SELF']);
>
> Why would you need to do this? I'd just use $_SERVER['PHP_SELF'] as is.
I make frequent use of this value, so putting it in a constant saves typing
and makes the page a little clearer.
>> function get_ref_page() {
>> /* Ret
Marek Kilimajer wrote:
Raditha Dissanayake wrote:
Bruno B B Magalhães wrote:
Does anyone has a solid benchmark about comments speed.. I mean, too
many comments will decrease speed of the PHP scripts...
Surely there are more important things for you to worry about.
the meaning of life, for exampl
Burhan Khalid wrote:
Jacob Friis wrote:
Do I need PDFlib in order to read PDF files?
Is there another way?
http://www.fpdf.org
http://www.fuckinggoogleit.com :)
Please be nice and learn to read ;)
OP asked how to *READ* pdf files. AFAIK there is no way with php.
pdf2html may be of some help thoug
On Sun, 28 Nov 2004 13:14:54 +0100, steve <[EMAIL PROTECTED]> wrote:
> I have a routine that uses sessions vars to hold the details of the previous
> page, so I can bounce back to it if necessary. But I'm having some weird
> problems with it. In the page I have the following (line numbers included
Brent Clements wrote:
I was wondering, does anyone have a good source for web browser components that
are compatible with php?
There are a heck of alot of activex components available that allow you to create some very nice web applications. Are there any similiar that a cross-browser compatible t
> On Sat, 27 Nov 2004 12:35:53 + "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > We would like to identify the country of the people who connect to our
> > website / portal using php. The idea is to provide them directly with the
> > homepage in their language.
> >
> > Is that possible? Ha
Hi,
I would like to parse some PHP files to extract some information about
them. Is there a formal grammar (EBNF or other) anywhere that I could
use as a reference?
I'd like to write the parser myself (in Haskell), so existing PHP
parsers (in PHP itself, for instance) aren't quite what I'm lookin
Octavian Rasnita wrote:
Hi all,
Does anyone know why some servers don't return a partial content when I use
the HTTP header:
Range: bytes=100-200
It should return the content of the page starting from byte 100 until the
byte 200, but it still returns the whole page.
Does this happen when the page i
Raditha Dissanayake wrote:
Bruno B B Magalhães wrote:
Does anyone has a solid benchmark about comments speed.. I mean, too
many comments will decrease speed of the PHP scripts...
I've tried without success using a class, and also a simple micro-time
operation... Well, cause the file is evaluated
Hi Eamon,
It looks like you need to upgrade your code to use the superglobal arrays.
Change print $unitID; to print $_GET['unitID']; and see if that helps.
You can find more information regarding superglobals here:
http://uk.php.net/en/language.variables.predefined
HTH
=
I have a routine that uses sessions vars to hold the details of the previous
page, so I can bounce back to it if necessary. But I'm having some weird
problems with it. In the page I have the following (line numbers included
to get you an idea of where these things come):
17. require_once(INC_PATH.
Hi all,
Does anyone know why some servers don't return a partial content when I use
the HTTP header:
Range: bytes=100-200
It should return the content of the page starting from byte 100 until the
byte 200, but it still returns the whole page.
Does this happen when the page is sent unbuffered?
O
Eamon Reyn wrote:
Hey,
I was happily using GET command line variables in my project under php 4.3.4
but when I upgrade to 4.3.9 they no longer work I can make them work by
changing back to my prior version of php but would rather use the newer one
can anyone explain why this may happen.
Please r
On Sat, 27 Nov 2004 12:35:53 + "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> We would like to identify the country of the people who connect to our
> website / portal using php. The idea is to provide them directly with the
> homepage in their language.
>
> Is that possible? Has anybody eve
Hey,
I was happily using GET command line variables in my project under php 4.3.4
but when I upgrade to 4.3.9 they no longer work I can make them work by
changing back to my prior version of php but would rather use the newer one
can anyone explain why this may happen.
here is some sample code
Little correction:
So something like:
select * from chat c1,
chat_online c2
where
UNIX_TIMESTAMP(c2.activity)>=$limit_time and
c2.session_id = (c2.user2_sessionid if (c1.user1_sessionid =
$thisuser)) or (c2.user1_sessionid if(c1.user2_sessionid = $thisuser));
I d
Well
That was indeed what I was searching for but. If I read it out loud, I
think with this query I only check if the current user is still onlien
and not his conversation partner.
In the chat table is store the session_id's of both the chatters of the
conversation.
There is no way to tell if $thi
Jacob Friis wrote:
Do I need PDFlib in order to read PDF files?
Is there another way?
http://www.fpdf.org
http://www.fuckinggoogleit.com :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Blackburn wrote:
I used to pass parameters to my scripts like this
shell>php myscript.php "dog=max&cat=jess"
Since I have upgraded to PHP5 I dont seem to have this functionality
any more, has anyone else noticed this ? or know of a way to get this
working again ?
You can pass parameters in th
I was wondering, does anyone have a good source for web browser components that
are compatible with php?
There are a heck of alot of activex components available that allow you to
create some very nice web applications. Are there any similiar that a
cross-browser compatible that have a really n
62 matches
Mail list logo