I think this sort of issue arises particularly because of the
misconception that PHP is embedded inside HTML pages. Once a person has
that idea in their head, they will start to work with an HTML template
and add PHP as necessary. While that can work, in cases such as this,
it's best to
ad...@buskirkgraphics.com wrote:
Before most of you go on a rampage of how to please read below...
As most of you already know when using MySQL from the shell you can write
your queries in html format in an out file.
Example: shellmysql -uyourmom -plovesme --html
This now will return
On Fri, 04 Sep 2009 12:16:47 -0700, James Colannino wrote:
Hey everyone. I ran into a really weird issue that I was hoping I could
find some clarification on. In short, I have javascript functions that
operate on hidden text values. Those values may be posted, in which
case PHP then prints
Nisse Engström wrote:
It may be the browser that is converting those line breaks.
Ah. That's probably it then. I didn't realize that was a part of the
HTML standard. Thanks!
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ricky Tompu Breaky wrote:
Dear my friends,
I am learning a PHP implementation with MyMarket now. I got it from
http://sourceforge.net/projects/mymarket/files/mymarket/mymarket-1.72/mymarket-1.72.tar.gz/download
.
I have installed and configured its
Dear Shawn.
Hooray, you've solved my problem. Thank youveryverymuch.
I really appreciate it.
Thanks, Buddy.
===
On Tue, 01 Sep 2009 16:22:39 -0500
Shawn McKenzie nos...@mckenzies.net wrote:
Ricky Tompu Breaky wrote:
Dear my friends,
I am learning a PHP implementation with
At the beginning of the code add following lines
error_reporting(E_ALL);
ini_set('display_error',1);
On Sat, Aug 29, 2009 at 8:28 AM, Keith Davis keithda...@pridedallas.comwrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array()
on a regulary base I read the docs even on functions I know, I just read
about the funstion u use and the doc says this:
Note: If you're opening a URI with special characters, such as spaces, you
need to encode the URI with urlencode().
did u try to avoid the problem by using urlencode ?
just a
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
Sent from my magic iPhone,
Keith Davis 214-906-5183
On Aug 28, 2009, at 7:39 PM, John Meyer
johnme...@pueblocomputing.com wrote:
Devendra Jadhav wrote:
No need to do
Keith Davis wrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
mysql_fetch_assoc()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Stoffel wrote:
Hi,
I'm looking for some help with PHP5.2.x hacking on a web site to
cleanup how the user submitted search form is handled. Basically I
want to make it simple for the end user to a) refine their query, b)
not have to answer popups if they hit the reload button, and c)
Shawn McKenzie wrote:
John Stoffel wrote:
Hi,
I'm looking for some help with PHP5.2.x hacking on a web site to
cleanup how the user submitted search form is handled. Basically I
want to make it simple for the end user to a) refine their query, b)
not have to answer popups if they hit the
Shawn == Shawn McKenzie nos...@mckenzies.net writes:
Shawn Shawn McKenzie wrote:
John Stoffel wrote:
Hi,
I'm looking for some help with PHP5.2.x hacking on a web site to
cleanup how the user submitted search form is handled. Basically I
want to make it simple for the end user to a)
That's exactly the case. I have been running my business on a Perl
cart for the last 5+ years, and I can't switch to a PHP cart just yet. I
was just hoping to add some functionality with PHP. Perl was much harder
It would probably bomb your performance but you could always call a
From: sono...@fannullone.us
On Aug 18, 2009, at 7:13 PM, Shawn McKenzie wrote:
P.S. Does anyone know of a good Perl mailing list?
beginn...@perl.org
Or you can try www.perlmonks.org.
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
sono...@fannullone.us wrote:
I've searched high and low for an answer to this. Hopefully someone
here might know. Can PHP be used under a CGI? I tried to put the
following code on one of my perl shopping cart pages but it doesn't work:
?php
echo select name=\Year\;
for ($year =
Andrew Mason wrote:
If you already have it written in Perl, I would recommend writing the
rest of functionality in Perl.
Please reply all. I agree, but I assumed that the problem was that he
knew PHP and he had downloaded a Perl cart and didn't know Perl.
-Shawn
--
PHP General Mailing
On Aug 18, 2009, at 7:13 PM, Shawn McKenzie wrote:
I assumed that the problem was that he
knew PHP and he had downloaded a Perl cart and didn't know Perl.
That's exactly the case. I have been running my business on a Perl
cart for the last 5+ years, and I can't switch to a PHP cart just
try adding
AddType application/x-httpd-php .pl -- or whatever extension your
perl script has
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
Is there any way to get realpath cache hit ratio of php?
Unfortunately not, it doesn't have API for statistics or looking into
the cache. It would be a good idea to add one.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com http://www.zend.com/
(408)253-8829 MSN:
At 10:54 AM +1000 8/9/09, Clancy wrote:
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
Also, if you use first-child, it could be taken down to:
div class=pfm
img src=Images/Nx.jpg
pYanni Nx /p
pSally Riordan Scholarship, 2007- /p
/div
Except
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
At 10:54 AM +1000 8/9/09, Clancy wrote:
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
Also, if you use first-child, it could be taken down to:
div class=pfm
img src=Images/Nx.jpg
pYanni Nx /p
At 1:05 PM +0100 8/9/09, Ashley Sheridan wrote:
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
But, as it was said, IE's have problems with first-child rules.
How does IE8 fare with selectors in CSS?
Thanks,
Ash
tedd = clue--
or
tedd clue
tedd
--
---
http://sperling.com
On Sun, Aug 9, 2009 at 6:33 PM, teddtedd.sperl...@gmail.com wrote:
At 1:05 PM +0100 8/9/09, Ashley Sheridan wrote:
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
But, as it was said, IE's have problems with first-child rules.
How does IE8 fare with selectors in CSS?
Thanks,
Ash
tedd
At 10:11 PM -0400 8/6/09, Larry Ullman wrote:
-snip-
Sorry for the length, but I hope that helps. And thanks again.
Larry
Larry:
No, thank you for your most excellent books -- I think I've purchased
every one one you've written. They have helped me.
Cheers,
tedd
--
---
At 6:32 AM +0100 8/7/09, Ashley Sheridan wrote:
table class=pfm
tr
td
img src=Images/Nx.jpg width=210 height=300
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan Scholarship, 2007- /p
/td
/tr
/table
On Sat, 2009-08-08 at 07:53 -0400, tedd wrote:
At 6:32 AM +0100 8/7/09, Ashley Sheridan wrote:
table class=pfm
tr
td
img src=Images/Nx.jpg width=210 height=300
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
You don't need the width=210 height=300. For example, this works:
div class=pfm
img src=Images/Nx.jpg
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan Scholarship, 2007- /p
/div
I have
Hi Larry,
nice to have a comment from the editor, and I want to say thanks for writing
this book.
however this discussion was initiated by a newbie asking what book he should
use to learn php. ur book is important to the community of php freaks ! it
saved my time to see where the path is going
On Fri, 07 Aug 2009 06:32:48 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan)
wrote:
...
How, for example, could I otherwise achieved the following effect, which
displays an image
with a border slightly darker than the background, and with the title and
subtitle inside
the border?
On Thu, 2009-08-06 at 02:55 +0200, Ralph Deffke wrote:
why do u stick to php 6?
i would recommend www.scribd.com and have a search on PHP. there are books
on beginners for php5 and articles of the difference to php 6.
a very usefull site by the way, made me stopping buying books. loads of
On Thu, 2009-08-06 at 09:24 +1000, Clancy wrote:
On Wed, 5 Aug 2009 09:25:20 -0400, phps...@gmail.com (Bastien Koert) wrote:
On Wed, Aug 5, 2009 at 8:02 AM, Ashley Sheridana...@ashleysheridan.co.uk
wrote:
On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote:
Thank you to all of you who have
On Thu, 06 Aug 2009 08:28:32 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan)
wrote:
...
Nested tables are the devils playthings!
I must be the devil, then. I enjoy playing with them. And if they're done
right they
seem to work on every system I have tried them on. Granted
Thanks to the OP for the interest in the book and to everyone else for
their input. So here's what happened, from the writer/horse's mouth:
It was time to write an update to the book because the second edition
had been out for 3+ years or so, I think. It wasn't a money-making
effort (i.e.,
On Fri, 2009-08-07 at 11:06 +1000, Clancy wrote:
On Thu, 06 Aug 2009 08:28:32 +0100, a...@ashleysheridan.co.uk (Ashley
Sheridan) wrote:
...
Nested tables are the devils playthings!
I must be the devil, then. I enjoy playing with them. And if they're
done right they
seem to
Thank you to all of you who have commented on this query.
On the subject of comments, I feel that Larry Garfield settled this query by
pointing out
that halving the size of a particular document gave a barely noticeable
increase in speed.
Paul Foster pointed out the problem of maintenance, but
On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote:
Thank you to all of you who have commented on this query.
On the subject of comments, I feel that Larry Garfield settled this query by
pointing out
that halving the size of a particular document gave a barely noticeable
increase in speed.
On Wed, Aug 5, 2009 at 8:02 AM, Ashley Sheridana...@ashleysheridan.co.uk
wrote:
On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote:
Thank you to all of you who have commented on this query.
On the subject of comments, I feel that Larry Garfield settled this query by
pointing out
that halving
On Wed, 5 Aug 2009 09:25:20 -0400, phps...@gmail.com (Bastien Koert) wrote:
On Wed, Aug 5, 2009 at 8:02 AM, Ashley Sheridana...@ashleysheridan.co.uk
wrote:
On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote:
Thank you to all of you who have commented on this query.
On the subject of comments, I
why do u stick to php 6?
i would recommend www.scribd.com and have a search on PHP. there are books
on beginners for php5 and articles of the difference to php 6.
a very usefull site by the way, made me stopping buying books. loads of
material on IT stuff.
ralph
ralph_def...@yahoo.de
On Thu, Jul 2, 2009 at 3:54 AM, Michael A. Petersmpet...@mac.com wrote:
Nick Cooper wrote:
Does anyone have any further information on the PECL Binaries for 5.3,
will
they be released?
I don't, but I suspect it is just a matter of compile + test.
We develop on Windows and deploy on Linux,
On Sun, 02 Aug 2009 04:25:40 +0300, Clancy clanc...@cybec.com.au wrote:
Is anyone here interested in discussing programming strategy, or or know
of a discussion
group which is interested in the subject?
The sorts of questions I am interested in are:
1. I have a highly variable program which
Ollisso wrote:
4. If you have huge load, then it is much more efficient (and easier) to
use other methods. For Example: install APC (http://fi2.php.net/apc )
It will cache all requests to your files and this will have huge impact
on your performance. Much more than you can achieve by
Martin Scotta wrote:
Hi all
Is there a formal definition for the php language?
Where I can found it?
I've STW with no results.
What is a definition? Do you mean specification like ECMA or ANSI?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List
On Jul 24, 2009, at 11:30, Shawn McKenzie wrote:
Martin Scotta wrote:
Hi all
Is there a formal definition for the php language?
Where I can found it?
I've STW with no results.
What is a definition? Do you mean specification like ECMA or ANSI?
I think he meant Backus Naur, but I could
Martin Scotta wrote:
Hi all
Is there a formal definition for the php language?
Where I can found it?
I've STW with no results.
http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_language_parser.y?revision=281094view=markup
which is Zend/zend_language_parser.y in the source code of
On Sat, Jul 11, 2009 at 02:41, Manu Guptamanugu...@gmail.com wrote:
Dear All,
I have to design a databse where I need to check for date
using date as datatype in mysql I am having problems while inserting it
Can you help me with it??
Google.
Also I am having problems with eregi(),
On Fri, Jul 10, 2009 at 02:47, David Leesubl...@yahoo.com wrote:
I was wanting to have a page called source.php like you guys, and have it
display the source code for the pages, but I've looked at the source code for
you guys source.php page and I can't seem to make it work on my server.
bruce wrote:
hi...
i've got an issue where i'm trying to incorporate sqlite3 into my php.
i'm running fedora 9, php5.2.9.
the php app was installed using the tun install process...
i know the docs say that php5+ is supposed to have sqlite incorporate
natively...
however, on this
Does anyone have any further information on the PECL Binaries for 5.3, will
they be released?
2009/6/30 pan p...@syix.com
Lukas Kahwe Smith wrote:
Hello!
The PHP Development Team would like to announce the immediate release
of PHP 5.3.0. This release is a major improvement in the 5.X
Nick Cooper wrote:
Does anyone have any further information on the PECL Binaries for 5.3, will
they be released?
I don't, but I suspect it is just a matter of compile + test.
On Linux (CentOS) I've only done testing with i386 but none of the pecl
modules I personally am using w/ 5.2.9 failed
Lukas Kahwe Smith wrote:
Hello!
The PHP Development Team would like to announce the immediate release
of PHP 5.3.0. This release is a major improvement in the 5.X series,
which includes a large number of new features and bug fixes.
Release Announcement: http://www.php.net/release/5_3_0.php
2009/6/30 pan p...@syix.com
Lukas Kahwe Smith wrote:
Hello!
The PHP Development Team would like to announce the immediate release
of PHP 5.3.0. This release is a major improvement in the 5.X series,
which includes a large number of new features and bug fixes.
Release Announcement:
On 4-Sep-08, at 12:06 AM, Andi Gutmans wrote:
Btw, contrary to what many believe, 32bit PHP tends to perform better
than 64bit PHP.
So unless there's a really good reason why you want 64bit I wouldn't
waste too much time on that.
I have heard this before, but CPU hasn't really been our
Sorry for double posting
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
On Fri, 2009-06-19 at 12:13 +0200, Uwe Schindler wrote:
/pangaea/install/php-5.3.0RC4/ext/pdo_mysql/mysql_statement.c: In function
`pdo_mysql_stmt_dtor':
/pangaea/install/php-5.3.0RC4/ext/pdo_mysql/mysql_statement.c:52: error:
structure has no member named `stmt'
Which MySQL client
Hallo,
I just wanted to compile PHP 5.3.0RC4 on my Solaris 10 box:
panga...@pansrv1:~/install/php-5.3.0RC4$ gcc -v
Reading specs from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/specs
Configured with: ../sources/gcc-3.4.5/configure --prefix=/opt/csw/gcc3
--with-local-prefix=/opt/csw
Hello,
on 06/08/2009 12:48 PM tedd said the following:
Hi gang:
I've heard that php can be used for more than web programming, but I am
not aware of specifically how that can be done. So, let me ask directly
-- can php be used to create a Mac Application?
If so, how?
Sure, just
li...@mgreg.com wrote in message
news:4fcc2030-9483-49d9-962c-1849a0987...@mgreg.com...
| Hi All,
|
| I'm currently looking for a quality (preferably open source) PHP
| graphing library that will allow me to create various graphs and plot
| points. I've seen several that do some amazing things,
On Tue, Jun 2, 2009 at 7:39 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Grant Peel wrote:
Hi all,
I am currently setting up the next generation web server for our company and
am in need of general consulting/advice on php set up security issues.
Any one with knowledge and expierience
EAcellerator is just an opcode cache. It transparently caches PHP
opcodes; all you have to do to use it is download, compile and enable and
never worry about it again. APC, on the other hand, does a bit more. While
APC also caches opcodes, it performs worse than EAC or xcache does (there's
a
Use a FastCGI process manager, then, and you'll have a tighter level of
control. There's several CPU limiting tools that'll allow you to choke
those processes, or you can simply set their nice value real high so they're
super low priority. That's more the realm of server configuration than
???
- Original Message -
From: Shawn McKenzie nos...@mckenzies.net
To: php-general@lists.php.net
Sent: Tuesday, June 02, 2009 7:39 PM
Subject: [PHP] Re: PHP Security
Grant Peel wrote:
Hi all,
I am currently setting up the next generation web server for our company
and am in need
Grant Peel wrote:
???
I think you can safely assume that was a joke.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Jun 1, 2009 at 12:30 AM, Manuel Lemos mle...@acm.org wrote:
Hello,
on 05/28/2009 10:20 AM Olexandr Heneralov said the following:
Hi!
Guys, you of course, know that ASP.NET becomes more and more popular in the
world.
I have a question for everyone:
Can it happen so that PHP will be
ASP.NET is not a language. It is more like a framework that can run
multiple languages. It can run VB.NET, C# and even PHP (although it is
not usual).
I'm going to shoot from a (90's?) hip on this one.
Isn't .NET the framework, and enter_your_language_here.NET the language?
ASP.NET uses ASP
On Mon, Jun 1, 2009 at 10:50 AM, Dee Ayy dee@gmail.com wrote:
ASP.NET is not a language. It is more like a framework that can run
multiple languages. It can run VB.NET, C# and even PHP (although it is
not usual).
I'm going to shoot from a (90's?) hip on this one.
Isn't .NET the
ASP (Classic) and ASP.NET = two different things.
en.wikipedia.org/wiki/Active_Server_Pages
Personally, I don't see a reason for putting anyone, or any
company through the torture of building web apps with
.NET. ...VBSCRIPT for the web just doesn't make sense to
me with the other solutions
On Mon, Jun 1, 2009 at 3:18 PM, Lists li...@euca.us wrote:
ASP (Classic) and ASP.NET = two different things.
en.wikipedia.org/wiki/Active_Server_Pages
Agreed. And neither one of them is a language.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
assuming one had suitable hardware, what does it cost to start developing
for asp? i guess you'd need to buy a copy of some windows server for dev
test. what else?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Jun 1, 2009 at 3:35 PM, Tom Worster f...@thefsb.org wrote:
assuming one had suitable hardware, what does it cost to start developing
for asp? i guess you'd need to buy a copy of some windows server for dev
test. what else?
That's about it. ASP/ASP.NET both come with Windows if you
On Mon, Jun 1, 2009 at 2:18 PM, Lists li...@euca.us wrote:
ASP (Classic) and ASP.NET = two different things.
en.wikipedia.org/wiki/Active_Server_Pages
Personally, I don't see a reason for putting anyone, or any
company through the torture of building web apps with
.NET. ...VBSCRIPT for the
That would be about it, unless you need a fancy GUI with all the bells
and whistles
Bastien
Sent from my iPod
On Jun 1, 2009, at 15:35, Tom Worster f...@thefsb.org wrote:
assuming one had suitable hardware, what does it cost to start
developing
for asp? i guess you'd need to buy a copy of
haliphax wrote:
On Mon, Jun 1, 2009 at 2:18 PM, Lists li...@euca.us wrote:
ASP (Classic) and ASP.NET = two different things.
en.wikipedia.org/wiki/Active_Server_Pages
Personally, I don't see a reason for putting anyone, or any
company through the torture of building web apps with
.NET.
On Mon, Jun 1, 2009 at 17:08, Lists li...@euca.us wrote:
I usually prefer a language called WebDNA [...]
[snip!]
--
=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
D. BROOKE EUCA Design Center
WebDNA Software Corp.
I could be
Daniel Brown wrote:
On Mon, Jun 1, 2009 at 17:08, Lists li...@euca.us wrote:
I usually prefer a language called WebDNA [...]
[snip!]
--
=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
D. BROOKE EUCA Design Center
WebDNA Software Corp.
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1
Completely off topic, but www.pilotpig.net is down or buggered or
something! Looks like a squatter to me .
On Mon, Jun 1, 2009 at 17:44, Eddie Drapkin oorza...@gmail.com wrote:
Completely off topic, but www.pilotpig.net is down or buggered or
something! Looks like a squatter to me .
Looks fine to me, but you may have caught it while I was swapping
over some junk with GoDaddy. They're not as
oh, yep, it's back! :]
On Jun 1, 2009 7:50pm, Daniel Brown danbr...@php.net wrote:
On Mon, Jun 1, 2009 at 17:44, Eddie Drapkin oorza...@gmail.com wrote:
Completely off topic, but www.pilotpig.net is down or buggered or
something! Looks like a squatter to me .
Looks fine to me,
On Mon, Jun 1, 2009 at 17:25, Lists li...@euca.us wrote:
Most definitely, as I stated (or alluded to) in a previous post.
Absolutely. There was nothing malicious intended by my comment
with your particular post. With some folks who come around trolling
threads to tout their sites and
Eddie can you explain the differences between APC (which is now built into
PHP) and EAccelerator. You seem to give mixed signals here as you endorse
both it seems, but I would think they would collide and as the Highlander
says, There can be only one!
http://us.php.net/apc
Hello,
on 05/28/2009 10:20 AM Olexandr Heneralov said the following:
Hi!
Guys, you of course, know that ASP.NET becomes more and more popular in the
world.
I have a question for everyone:
Can it happen so that PHP will be replaced with ASP.NET?
ASP.NET is not a language. It is more like a
Julian,
could you please show us an example of this problem?
--
João Cândido de Souza Neto
SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS
Fone: (0XX41) 3033-3636 - JS
www.siens.com.br
Julian Muscat Doublesin opensourc...@gmail.com escreveu na mensagem
i never faced such a problem and i can assure you that it will never
happen. try...
main.php
?php
require('second.php');
?
second.php
test
call main.php via AJAX and see the responseText.
many things can go wrong in your coding. dont come to the conclusion
that this particular thing is not
Two things:
1. Try using the fully qualified path (ie /var/www/foo/bar.php instead of
foo/bar.php)
2. Look at setting up autoloading so you don't need to manually include
anyway. If you're going OOP, autoloading is a must!
On May 28, 2009 8:49am, kranthi kranthi...@gmail.com wrote:
i
2009/5/28 kranthi kranthi...@gmail.com
i recommend you firebug firefox adddon (just go to the net tab and you
can see all the details of the communication between client and
server)
and i find it helpful to use a standard javascript(jQuery in my case)
library instead of highly limited
Hi!
Do not use low-level AJAX.
There are many frameworks for ajax (JQUERY).
Try to use PHP frameworks like symfony, zend framework. They simplify your
work.
2009/5/28 Lenin le...@phpxperts.net
2009/5/28 kranthi kranthi...@gmail.com
i recommend you firebug firefox adddon (just go to the
2009/5/28 Olexandr Heneralov ohenera...@gmail.com
Hi!
Do not use low-level AJAX.
There are many frameworks for ajax (JQUERY).
Try to use PHP frameworks like symfony, zend framework. They simplify your
work.
2009/5/28 Lenin le...@phpxperts.net
2009/5/28 kranthi kranthi...@gmail.com
oorza...@gmail.com wrote in message
news:000e0cd6ad1a9f7d3d046af89...@google.com...
Two things:
1. Try using the fully qualified path (ie /var/www/foo/bar.php instead of
foo/bar.php)
2. Look at setting up autoloading so you don't need to manually include
anyway. If you're going OOP,
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340905280737t3e1ad844y188ab8fa08f17...@mail.gmail.com...
Your code might not, but you sure do! Spending all that time writing
require statements = :(
If you are too lazy to write require statements then you are probably too
lazy to
There's a huge difference between laziness and opting in to use an
incredibly useful (and easy to properly deploy) feature to save myself time
so that I can spend more time writing that structured and efficient code of
which you speak. And the problem with what you're saying is that you still
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340905280801m6964d355l2d6d8ef773f3b...@mail.gmail.com...
There's a huge difference between laziness and opting in to use an
incredibly useful (and easy to properly deploy) feature to save myself
time
so that I can spend more time
On Thu, 2009-05-28 at 16:17 +0300, Olexandr Heneralov wrote:
Hi!
Do not use low-level AJAX.
There are many frameworks for ajax (JQUERY).
Try to use PHP frameworks like symfony, zend framework. They simplify your
work.
2009/5/28 Lenin le...@phpxperts.net
2009/5/28 kranthi
I need to establish connection to the server first, send in my login
packet and before reading the server response.
The same error when I also use the below function:
$fp = stream_socket_client($con:$ip:$port, $errno, $errstr, $timeout);
if (!$fp) {
echo $errstr ($errno); //$errstr
Processes are only spawned in shitty webserver processing models that high
performing webservers don't even have. If you'll read my first link, php is
rarely the client-side bottleneck (which is all that matters). And do some
research, on a page that hits the database for me, the query is
I seriously doubt it. PHP is a better language in almost all regards and is
much much more popular. A lot of people make that decision every day and
I'd say most of them choose PHP. Why ask that, though?
On Tue, May 26, 2009 at 11:36 PM, tRace DOliveira married...@yahoo.comwrote:
Do you
Peter van der Does wrote:
I have the following situation.
I wrote some software and split it up into functionality:
class core {
function go{
}
}
class A extends core {
// PHP4 constructor
function A {
$this-go();
}
}
class B extends core {
}
In core I define functions and
Peter van der Does wrote:
I have the following situation.
I wrote some software and split it up into functionality:
class core {
function go{
}
}
class A extends core {
// PHP4 constructor
function A {
$this-go();
}
}
class B extends core {
}
In core I
On Thu, 21 May 2009 14:08:11 -0500
Shawn McKenzie nos...@mckenzies.net wrote:
This doesn't make sense. You say class A needs to be extended with
another class, however what you show below is class A extending
framework_class.
I worded it wrong, I apologize.
Class A needs to be an
Peter van der Does wrote:
On Thu, 21 May 2009 14:08:11 -0500
Shawn McKenzie nos...@mckenzies.net wrote:
This doesn't make sense. You say class A needs to be extended with
another class, however what you show below is class A extending
framework_class.
I worded it wrong, I apologize.
401 - 500 of 4581 matches
Mail list logo