Posted this to php-install with no response. See:
http://marc.theaimsgroup.com/?l=php-installm=113579793423896w=2
Hi folks,
I am trying to install php-4.4.1 on sparc-solaris 10, but make fails with:
/bin/sh /root/tmp/php-4.4.1/libtool 90-line snip -o sapi/cgi/php
gcc:
thanks. i have resolved the problem by replacing 'read' with 'read_it'.
On 12/30/05, Michael Gross [EMAIL PROTECTED] wrote:
read is a reserved word in mysql
(http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html). You have
to double-quote reserved words:
mysql_query(SELECT * FROM mailbox
Can You Write The Strings/Text?
On 12/30/05, René Fournier [EMAIL PROTECTED] wrote:
Has anyone encountered this? I am composing an HTML email with
PHPMailer, and for some reason PHPMailer is inserted spaces
periodically, which breaks the formatting. I've looked through the
docs, but can only
hi Marco,
I want to apply the idea to interface implementation not
class extension. that is to say I want to be able to make an
interface only implementable by certain (defined) classes (and their
subclasses) with out imposing any restriction on the classes
themselves (like that they must extend
Al wrote:
jonathan wrote:
I know that this is more of a Javascript / DOM question but I cannot
for the life of me figure this out:
I have this form:
form name=query_form
input type=text name=q/input
input type=button onclick=drawImg('A',document.forms
['query_form'].elements['q']);
Happy New Year for all.
I weish you the best in this new 2006.
Regards. Alain
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
Hi Jochem,
i know what you mean, but you can't define code in interfaces to implement a
logic. You should use an abstract class to restrict the access. I think a
interface should just define a rude prototype of function
--
Marco Kaiser
Michael Gross wrote:
Hello
I have to migrate a PHP-application to a new Linux-Box. Both the old and
the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4,
the new one two Xeon CPUs). I have a problem using the
Crypt_Xtea-Extension. I narrowed it down to the following
Jochem Maas wrote:
Al wrote:
You need to ask in the JAVASCRIPT newsgroup. This is not a php
question.
anyone every noticed that the question as to where a good javascript
mailing
can be found comes up every week or so. and nobody ever has an answer.
so where the is this
I eat my shoe. ;-)
... but is comp.lang.javascript any good?
Stut wrote:
Jochem Maas wrote:
Al wrote:
You need to ask in the JAVASCRIPT newsgroup. This is not a php
question.
anyone every noticed that the question as to where a good javascript
mailing
can be found comes up every
A: Yes I did.
Q: Did you fix the to posting?
Jochem Maas wrote:
Stut wrote:
Jochem Maas wrote:
Al wrote:
You need to ask in the JAVASCRIPT newsgroup. This is not a php
question.
anyone every noticed that the question as to where a good javascript
mailing
can be found comes up
dev lamp wrote:
On 12/29/05, Jochem Maas [EMAIL PROTECTED] wrote:
dev lamp wrote:
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the
Jim Moseby wrote:
Thanks for the responses guys, but what i'm saying is i would
...
I believe what Jochem is trying to tell you is that when you assign the
string variable, the variable names are expanded to their values, so the
names are no longer available.
exactly - nicely put Jim.
PHP General,
I have a site where I will set the interface up to be multilingual.
This means that all the snippets of text which make up the menu and
other elements of navigation common to most pages will be stored as
variables.
In most web site set ups that I have seen,
[snip]
yeah 'Superman' explain what it is you want to do AND why - then maybe we
can
give you some help - what you are currently asking is impossible (well
actually
Jay Blanchard hinted at a way to do it but I firmly believe that its
conceptually
over your head atm and very probably not a good
Dave M G wrote:
PHP General,
I have a site where I will set the interface up to be multilingual.
This means that all the snippets of text which make up the menu and
other elements of navigation common to most pages will be stored as
variables.
In most web site set ups that I
Jay Blanchard wrote:
[snip]
yeah 'Superman' explain what it is you want to do AND why - then maybe we
can
give you some help - what you are currently asking is impossible (well
actually
Jay Blanchard hinted at a way to do it but I firmly believe that its
conceptually
over your head atm and very
[snip]
ah heck is that the same code that _we_ (Jay and me, etc) played with to
find SQL queries?
or something that was based on it?
I remember Robin Vickery coming up with a token based variant which was
rather nifty -
must look into that agian sometime!
[/snip]
They are all variants of that.
Jay Blanchard wrote:
[snip]
yeah 'Superman' explain what it is you want to do AND why - then maybe we
can
give you some help - what you are currently asking is impossible (well
actually
Jay Blanchard hinted at a way to do it but I firmly believe that its
conceptually
over your head atm and very
[snip]
I wrote a doohickey once which searched for all variable searching
doohickies.
[/snip]
I cannot tell you how happy I am to see you use the past perfect tense
correctly there.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 10:32 AM 12/30/2005, Dave M G wrote:
PHP General,
I have a site where I will set the interface up to be multilingual.
This means that all the snippets of text which make up the menu and
other elements of navigation common to most pages will be stored as
variables.
In most
Jay Blanchard wrote:
[snip]
ah heck is that the same code that _we_ (Jay and me, etc) played with to
find SQL queries?
or something that was based on it?
I remember Robin Vickery coming up with a token based variant which was
rather nifty -
must look into that agian sometime!
[/snip]
They are
[snip]
They are all variants of that. All nifty little tools. We should gather
those up someplace...shouldn't we?
Well, I just purchased some domains for that. Who wants to develop it? ;)
phpdepository.com
phpdepository.org
phpdepository.net
[/snip]
I'll contribute...
--
PHP General
They are all variants of that. All nifty little tools. We should gather
those up someplace...shouldn't we?
In similar light, what development environments do you people program
in? How do you run and test your code?
tedd
PS: This is my first posting to this group.
--
tedd wrote:
They are all variants of that. All nifty little tools. We should gather
those up someplace...shouldn't we?
In similar light, what development environments do you people program
in? How do you run and test your code?
of late I have been testing Zend IDE - the integrated debugger
[snip]
They are all variants of that. All nifty little tools. We should gather
those up someplace...shouldn't we?
In similar light, what development environments do you people program
in? How do you run and test your code?
tedd
PS: This is my first posting to this group.
[/snip]
Welcome to
Wasn't this just brought up on another thread? nifty little tools that is
and a repository for such things.
There are lots of code repositories but none that I go directly to right off.
Usually I hit Yahoo/Google and do a search for what I'm looking for and find
whatever looks best for my
[snip]
A buncha' top posted stuff
[/snip]
I like the ideaand the llama.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Welcome to the insanity.
Thanks -- been there for a while.
your question has been asked before - you might find the list archives
gives you more insight into other peoples work envs.
Yep, you're right.
http://news.php.net/php.general
I probably should have looked there first. Sorry.
tedd wrote:
Welcome to the insanity.
Thanks -- been there for a while.
your question has been asked before - you might find the list archives
gives you more insight into other peoples work envs.
Yep, you're right.
http://news.php.net/php.general
I probably should have looked there
On Fri, 2005-12-30 at 07:45, Jochem Maas wrote:
Al wrote:
jonathan wrote:
I know that this is more of a Javascript / DOM question but I cannot
for the life of me figure this out:
I have this form:
form name=query_form
input type=text name=q/input
input type=button
I am running php 5.0
apache 2.0
oracle 9i on a windows platform
receiving the following error:
Fatal error: Call to undefined function oci_connect() in C:\Program
Files\Apache Group\Apache2\htdocs\Sue\testoci.php on line 3
I edited the php.ini
I uncommenting the extension=php_oci8.dll
On Thu, December 29, 2005 5:37 pm, Michael Gross wrote:
Hello
I have to migrate a PHP-application to a new Linux-Box. Both the old
and
the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4,
the new one two Xeon CPUs). I have a problem using the
Crypt_Xtea-Extension. I narrowed
First, use ?php phpinfo()? to determine several things:
Where does PHP think your php.ini file should be?
Move your php.ini file there, and then change it.
Changes to other php.ini files in other places is pointless.
There is a new-fangled Apache directive to tell PHP where to find
php.ini, but
On Fri, December 30, 2005 8:32 am, Dave M G wrote:
I wondered if there was any downside to storing the list of interface
texts in a MySQL database, then calling them as an array when the page
loads?
If you are already connecting to the database, then you are comparing
an extra query or
Haha.. well, with any luck, 10 years from now I'll have as much content. hah
(or even ANY code written)
= = = Original message = = =
I sort of had the same idea almost a decade ago...
http://l-i-e.com/compare/
You can see how well I've kept it up :-v
On Fri, December 30, 2005 10:33 am,
On Thu, December 29, 2005 10:31 am, Jochem Maas wrote:
anyone here work with Interfaces? I do and I like them alot;
I recently ran into a situation where it would be nice to be able to
specify
that a given interface is only allowed to be implemented by a certain
class (and all subclasses
On Thu, December 29, 2005 9:17 am, dev lamp wrote:
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the
command line
The script works fine and the perl code gets executed as well.
If you can't get at the PHP internal time-out...
First, file a bug report Feature Request and ask for it to be
exposed. You won't be the only one who needs it.
Second, for the short term, you may be stuck with rolling your own
XMLRPC interface, or using one of the others out there as raw PHP
On Thu, December 29, 2005 7:26 am, sunaram patir wrote:
could you please tell me what is the problem with this query
mysql_query(SELECT * FROM mailbox WHERE read='');
Nope.
Because on the face of it, there is NOTHING wrong with the query
written above, per se.
i always get this
On Thu, December 29, 2005 12:40 am, [EMAIL PROTECTED] wrote:
Is there any easy php script to run to view an xml file such as new
headlines like so: http://news.google.com/?output=rss or can anyone
point
me in the right direction for good online tutorials or books.
If you mean to just READ
On Thu, December 29, 2005 3:31 pm, PHP Superman wrote:
Thanks for the responses guys, but what i'm saying is i would like to
return
all the variable names i have in a string,
$String=Blah Blah Blah $VarName Blah Blah Blah;
$VarName = 'xyz';
$String now has Blah Blah Blah xyz Blah Blah Blah in
On Wed, December 28, 2005 8:15 am, Christian Ista wrote:
PHP? I tried this code : header(Location: mypage.php);
But in some case, I have error message headers already sent. Then I
You know the old saying, You can't step in the same stream twice?
Think about it.
Really think about it.
Now...
On Fri, 2005-12-30 at 15:04, Richard Lynch wrote:
On Wed, December 28, 2005 8:15 am, Christian Ista wrote:
PHP? I tried this code : header(Location: mypage.php);
*LOL* That was one of the best write-ups I've ever read concerning the
headers already sent error message.
Similarly, watch out
On Wed, December 28, 2005 6:10 am, Ross wrote:
$query= SELECT * FROM publications WHERE alphabet='a';
$result= mysql_query($query);
while ($row = @mysql_fetch_array($result, MYSQL_ASSOC)){
$row['pdf_size'] = $row['pdf_size']/ 1024;
$row['pdf_size']= number_format($row['pdf_size'],
On Wed, December 28, 2005 5:53 am, Ross wrote:
What does 'list' do in a php query?
'list' is kind of like an array de-constuctor.
?php
$example = array(1, 2, 3);
list($x, $y, $z) = $example;
echo x: $x y: $y z: $z\n\n;
?
x: 1 y: 2 z: 3
$result = mysql_query($query) or die('Error, query
On Wed, December 28, 2005 2:50 am, William Stokes wrote:
I have one MySQL table with about 500 rows. I need to read the table
one row
at a
time, make some changes to data in one field and then store the
changed data
to another table.
I'm using PHP to change the data but I have no idea how
On Tue, December 27, 2005 7:11 pm, Sumit Chachra wrote:
Not very php specific so please pardon me if I am posting in the wrong
forum.
I have a chunk of data which I am trying to cache. I serialize this
data
using the serialize() function in php. I am wondering what would be a
good
On Fri, December 30, 2005 2:16 pm, Robert Cummings wrote:
Similarly, watch out for BLANK LINES after the last ? in your
files.
They will trip you up for header()
Regarding that last ? in scripts, the PHP engine intentionally
supports
it's omission so that you don't have to think about
On 12/30/05, Richard Lynch [EMAIL PROTECTED] wrote:
The suggestions so far are good, but watch out for this:
If you do one record at a time, and are using LIMIT, and then
something gets inserted into the original table...
Boom!
You could always lock the tables whilst performing the update -
On Tue, December 27, 2005 8:01 am, William Stokes wrote:
I have a DB that has dates stored in a table. The date field type is
Varchar
(don't ask why... :( The dates are stored using european date format
DD.MM.. I need somehow convert the dates to the format MySQL uses
(-MM-DD) and
Hello
Thanks for your answers. I now implemented everything new, with the
mcrypt-extension. However, I use the crypt_xtea still for a
compatibility mode. I had to implement the right-shift and other bit
operations. If someone is interested:
The problem occurred always when a number exceeded
On Tue, December 27, 2005 2:03 am, Dave Carrera wrote:
I have a very long list of customer names which i know is easy to get
from a mysql result using php, no prob there.
How long is very long?...
But what i would like to do is offer input box and when the user
enters
a letter, i think this
On Mon, December 26, 2005 1:42 am, Dave Carrera wrote:
Are there any https / php gotchas to take into consideration for an
app
i am writing that will run within a https environment ???
Thank you in advance for any advice or links regarding this question.
HTTPS can be considerably slower than
Hi
Can anyone help me with this issue?
http://marc.theaimsgroup.com/?l=php-generalm=113456345526736w=2
Tobi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, December 23, 2005 10:43 pm, Dave M G wrote:
I have a PHP/MySQL web site where there are profiles for performers
at
a comedy show.
Cool!
Every entertainment venue should do this.
The profiles are accessed by passing a variable to the
PHP script via URL, which can then look up
this all depends on the web server (IIS/Apache) being used...
On 12/26/05, Curt Zirzow [EMAIL PROTECTED] wrote:
On Mon, Dec 26, 2005 at 07:42:48AM +, Dave Carrera wrote:
Hi List,
Are there any https / php gotchas to take into consideration for an app
i am writing that will run
I have data being sent to another php page containing xml styled data. Is it
possible to read that data into the script? I have looked into the the
globals set but cannot see anything like waht im looking for.
Does anyone have any ideas?
Thanks
Jamie
--
PHP General Mailing List
Hi,
How you are sending the data to that script? It must be availble in $_POST,
$_GET, or $_REQUEST, depends how you are sending it.
Zareef Ahmed
- Original Message -
From: Jamie Kemp [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, December 30, 2005 8:57 PM
Subject:
Hi All,
We have a site in php and two web servers(pawns) to balance the load.
There is a page in the site through which user can upload images.
When a user uploads an image, the request goes to only one of the two
servers.
So the image will be uploaded to only one server.
How can we copy that
Hello Gustavo. !
Thanks for your suggestion, that book it's a interesting material to
learn more advanced features of PHP5 and to begin on the C extentions world.
The chapter 15 only take a look to extends PHP5 funtions, but there is none
section on how to create a PHP5 Class on the C
61 matches
Mail list logo