-Original Message-
From: Eric Bauman [mailto:baum...@livejournal.dk]
Sent: 08 October 2009 02:39 PM
To: php-general@lists.php.net; Paul M.
Subject: [PHP] Re: what is php4 popularity?
On 8/10/2009 4:28 PM, Paul M. wrote:
> Hey guys, does anyone have a good link for an article where p
It sounds like you need a combination of MVC and the 3 Tier Architecture.
They are not the same thing, for reasons described at
http://www.tonymarston.net/php-mysql/infrastructure-faq.html#faq26
I have combined both these patterns in the Radicore framework - take a look
at http://www.radicore.o
Eric Bauman wrote:
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
popularity trends are examined? The best way for me to know php4 % and
php5 %. I appreciate any good suggestions.
Here's a pretty graph comparing PHP version usage and time:
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
popularity trends are examined? The best way for me to know php4 % and
php5 %. I appreciate any good suggestions.
Here's a pretty graph comparing PHP version usage and time:
http://www.nexen.n
Miller, Terion wrote:
> Ok, say you have a database with 16000 records in it, but you only want to
> call out say 2000 records at a time as the search/query is performed, then
> store the first 2000 in a session and then retrieve the next 2000 etc etc as
> a way to minimize server strain?
>
> (I'm
Thanks for the responses. Searching the web for "$this-> provided no help at
all. Your explainations got me on track and now I can find the right manual
to read!
Dick
""Dick Richard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can someone explain what $this-> does and means. For
You're Right. I don't saw that.
Stut wrote:
> Ross wrote:
>
>>get a parse error!
>>
>>$region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City
>>Council', 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and
>>Bute Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries and
I think that the error is in the line above that.
Ross wrote:
> get a parse error!
>
> $region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City
> Council', 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and
> Bute Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries an
Ross wrote:
get a parse error!
$region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City Council',
2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and Bute
Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries and Gallowalloway',
10 => 'Dundee City Council', 11 => 'Ea
Nice spot ray!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 07 March 2006 08:08, Ross wrote:
> $region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City Council',
> 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and Bute
> Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries and
> Gallowalloway', 10 => 'Dundee City Counc
get a parse error!
$region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City Council',
2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and Bute
Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries and Gallowalloway',
10 => 'Dundee City Council', 11 => 'East Ayrshire Cou
The question is null and void, the real question is which do you need to
use, just because objects in php behave like arrays, that does not mean
the are interchangeable in all cases. You don't create an object just
for the sheer hell of it.
--
PHP General Mailing List (http://www.php.net/)
To
Karel Kozlik schrieb:
> Hi,
> I am just thinking about that what is better for storeing structured
> variables in point of view of performance.
>
> Is better store structured variables in associative array, for example:
>
> $person['first_name'] = 'Karel';
> $person['last_name'] = 'Kozlik';
>
George B wrote:
How is this possibly not working?
$money = $_GET ['money'];
$money = $money -3
echo $money;
oops nvm i forgot the ; on like 2 :D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Andy Pieters <[EMAIL PROTECTED]>:
> Of these two expressions, which one is faster?
>
> if(!(is_null($customMenu)) && (is_array($customMenu)))
> $menu=$customMenu;
> else
> $menu=array('Documentation','Settings');
>
>
> OR
>
> $menu=(!(is_null($customMenu)) && (is_array($customMenu))?$customMe
http://php.net/manual/en/language.oop.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Bob Lockie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> PERL has the CGI library to build HTML.
> print header;
> print start_html('A Simple Example'),
> h1('A Simple Example'),
> start_form,
> "What's your name? ",textfield('name'),
> p,
> "What's the
"Pete" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> What is the GD library ?
> How can I install it. I have PHP integrated as a module. Judging by
the
> discussion that people have here the GD library sounds interesting.
How do I
> know if my shared host has it ?
It will
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do you define scalability? What factors do you consider when you
declare
> whether a particular technology is scalable? Do you think PHP is scalable?
Does
> Yahoo?
Well, from I think that your approach is interestin
Hi,
I think that "software scalability" is the measure on how an application
could accomodate a large number of simultaneous users without requiring
internal architecture refactoring.
It's not about speed, it's not about technology, it's about
architecture. I also think that maintenance
Yea, I tried it from before and it seem to be somewhat limit. The only good
thing about it is that with each of the newer version, it get better and
better. I have been sticking to Visual Slick Edit along the way. It would
have been nice if it can transfer files between two webservers if this is
I actually tried this a while ago, and must've had a really early version.
It showed a lot of promise, but there were too many problems, and the error
text was mostly German, so I couldn't tell what was wrong or how to fix it.
I'll have to give it another shot now.
-- Rob
"Daniel Guerrier" <[
http://www.phpedit.net
It's good.
How good, is up to you.
--- Rob Adams <[EMAIL PROTECTED]> wrote:
> I like EditPlus too, but recently I've been using
> UltraEdit.
> http://www.ultraedit.com/
> $35 registration. Has great column mode support. I
> use the macros and
> templates all the time. Ha
I like EditPlus too, but recently I've been using UltraEdit.
http://www.ultraedit.com/
$35 registration. Has great column mode support. I use the macros and
templates all the time. Has a word file for PHP.
-- Rob
"Dougd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I curre
Well, it's a variable that tells php what variable to use... so it's like
if $var is "hello", then $$var is the same as $hello...
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi,
> I have just found this in
it is the name of cookie variable which stores the unique session ID string.
suppose you set session.name to SESSID in php.ini then a cookie variable
named SESSID will be sent to client in which session ID string will be
stored by client browser. If URL is used to propogate session variable then
Phil Schwarzmann wrote:
Let's say you had one site and one site only to get the latest PHP/MySQL
news, articles, reviews, resources, tutorials, advanced stuff etc.
What would it be?!?
zend.com :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
You only have a difference into your insert query
like this : insert into table (x,y,z) values(x,y) ..
"Miguel BráS" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi guys,
>
> I was doing a script to insert data on a table, and the following message
> appeared me when
I'ld also add isset() to avoid warnings too:
if (isset($_POST['new_password1']) &&
!empty(trim(isset($_POST['new_password1']
{
echo "i am not empty, you can do whatever";
}
else
{
echo "i am empty! show error message";
}
"Erwin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
Meltem Demirkus wrote:
> Hi,
> I want to understand what is wrong with this code?I am trying to
> understand when an empty inputs come from form and I will then give a
> warning message..
>
> if($_POST[new_password1] == " ")
>
> echo "empty input";
And as final addition, you probably have to
In article <001701c25a2c$4758d4a0$5583@hiborya>, mdemirkus@momentum-
dmt.com says...
> Hi,
> I want to understand what is wrong with this code?I am trying to understand
> when an empty inputs come from form and I will then give a warning message..
>
> if($_POST[new_password1] == " ")
>
> e
try this:
if (empty(trim($_POST[new_password1])))
{
echo 'Empty!!!';
}
"Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message
001701c25a2c$4758d4a0$5583@hiborya">news:001701c25a2c$4758d4a0$5583@hiborya...
> Hi,
> I want to understand what is wrong with this code?I am trying to
understan
Hi!
try exit() (http://www.php.net/exit) or die() (http://www.php.net/die)
Kindly
/lasso ([EMAIL PROTECTED])
Ing. Rajesh Kumar wrote:
> Hi everybody
> Can someone tell me what is the PHP equivalent code to ASP's Response.End ?
> I want to stop my code at a given position so i need this.
>
>
Look for "regular expressions" in the manual. Regex is just a shortening of
that.
Mike
"Lord Loh." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello! I am new to REGEX.
> I tried to read several posts on REGEX. However none were descriptive.
>
> What is
>I just connected to my web server and found that there was a new file named
>".Xauthority", which I didn't created. Does anyone know what this file is?
>Can I delete it?
If you tried to run X (X-Windows) at some point, that file would be created,
I think...
man X
might, eventually, if you dig
>and i never see any copy.) My only guess is that a mysql_link resssource is
>also an object and gets copied or lost somewhere in the middle.
In the old days, a MySQL link resource was just an integer.
It is now a 'Resource' type internal to PHP.
I don't *think* it will get copied on assignment
Thanks .it was the
registers_global = Off..
But how on earth we can implement a better way ? I mean how to move
variables around safely ?
--
Sapilas@/dev/pinkeye
"Septic Flesh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
empty -- Determines whether a variable is set
gives a boolean result.
$var = 0;
if (empty($var)) { // evaluates true
echo '$var is either 0 or not set at all';
}
if (!isset($var)) { // evaluates false
echo '$var is not set at all';
}
I don't think that
would work. Try:
If you want
man that is nasty, but imho because of the constant in and out of php
echo "
link
";
I came across this same problem, I hate the long urls, their ugly, so I
wrote a simple session class to carry my prefs across a page.
carry_class.egn
http://www.mediawaveonline.com/examples/
$carry->add('po
it should read: INSERT INTO recensioni VALUES( NULL,...
In order fot auto_increment to work, you must use NULL. When you tried
NULL, what SPECIFIC error did you get when it complained?
FYI: it complains about the "duplicate key" because you already inserted a
record with 300 in the PRIMARY KEY
|> From: Seb Frost [mailto:[EMAIL PROTECTED]]
|> Sent: Sunday, August 26, 2001 5:10 PM
|>
|> Same with _private and _derive?
|>
|> I admit it, I use frontpage when I can't remember how to code html in
|> textpad :-)
You're such a masochist, why don't you just use vi.
--
PHP General Mailing Li
Same with _private and _derive?
I admit it, I use frontpage when I can't remember how to code html in
textpad :-)
- seb
-Original Message-
From: Hugh Bothwell [mailto:[EMAIL PROTECTED]]
Sent: 27 August 2001 01:07
To: [EMAIL PROTECTED]
Subject: [PHP] Re: What is it with _vti?
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have these _vti_pvt _vti_cnf directories on my website. Why? I never
put
> them there... can I delete them?
>
> I tried searching for this but it's impossible to search for since it
seems
> a lot o
Try http://members.evolt.org/
HTH
Jon
-Original Message-
From: Manesh [mailto:[EMAIL PROTECTED]]
Sent: 27 April 2001 13:35
To: Manesh; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] RE: What is this??
I need a free web server that gives me 1 Myslq accound and php hoasting! if
I need a free web server that gives me 1 Myslq accound and php hoasting! if
soneone know of any please tell me.
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
46 matches
Mail list logo