tedd wrote:
At 9:37 AM -0400 11/27/07, Jeff Benetti wrote:
Any any and all comments are welcome, it will be a learning curve no
matter
which route I take so a little advice on the best direction pros cons
would
be great.
Thanks,
Jeff
Jeff:
If it were me, I wouldn't use any
Colin Guthrie wrote:
tedd wrote:
...
Sorry Tedd, but I'm not sure where the browser sniffing stuff came in.
IE and FF both offer a UI to input the user's preferred language, it's
an HTTP standard thing and nothign to do with user agents string
parsing. It uses the Accept-Language header
Ronald Wiplinger wrote:
I use $aa=$_SERVER[REMOTE_ADDR];
and
if(($aa==192.168.2.108) || ($aa==192.168.2.34)) {
$aa=61.64.101.101;// for testing put in a public IP
}
However, I would like to cover all private IPs (192.168.x.x and 10.x.x.x
and 172.??.x.x). How can I do that
.
[EMAIL PROTECTED]
This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.
If you do not respond to this confirmation request within 14 days,
your message will not be delivered.
/BLA BLA BLA
Jochem Maas wrote:
Ronald
Richard Heyes wrote:
Chris wrote:
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of
it somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into
Richard Heyes wrote:
one of these should give you something to go on:
echo preg_replace('\.cfm$', '-meta.cfm',
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)), \n;
echo preg_replace('\.cfm$', '-meta.cfm', $_SERVER['PATH_TRANSLATED']),
\n;
echo preg_replace('\.cfm$', '-meta.cfm',
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of it
somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into account that?
WTF
--
PHP
kNish wrote:
Hi,
Given that a pc has quicktime loaded, how is it
possible to have a hyper link open a new quicktime window. i.e. a
window that has a .mov file playing. Along with it, it has the play
stop pause options too.
this is nothing to do with php. please find a
Amanda Loucks wrote:
Hi,
I'm working on redesigning the backend of the website for work. It was
originally done in ColdFusion, but I'm switching it over to PHP - probably
going to transfer the website from where it's currently hosted to something
a lot cheaper, too, hence the switching to
Skip Evans wrote:
Hey all,
I've been asked if it's possible to parse XML files given a DTD file
that describes the elements within it, so I've been looking through the
docs at php.net.
So far I've found this:
http://us.php.net/manual/en/ref.xml.php
Which has some samples on, but
chetan rane wrote:
Sorry Buddie But Session dose not serialize the Object Please Have a look at
the Code Again I have tried it with PHP 5.2
IT dose not call __sleep function. only when you have serialize it calls it.
this is completely untrue. during the shutdown phase objects
in the $_SESSION
pere roca wrote:
Hi, a basic question:
I want to send a CSV file and some other parameters. In my FORM I have
method=POST input type=file and action=http://php;; It sends it to
the php file but I don't want the php to be visualized (in fact it just
works with the data and inserts in
Colin Guthrie wrote:
T.Lensselink wrote:
On Wed, 21 Nov 2007 08:38:18 -0600, Jay Blanchard [EMAIL PROTECTED]
wrote:
[snip]
Seems to me Pere want's to do an upload without reloading the whole
page.
[/snip]
The problem is that you cannot upload files using Ajax alone. But you
can do it
Jay Blanchard wrote:
[snip]
So that I can get my head around this, are all of you saying there is
no Ajax equivalent of:
form action=index.php enctype=multipart/form-data method=post
input type=hidden name=MAX_FILE_SIZE value=2048000
input name=userfile type=file
input type=hidden
tedd wrote:
At 12:23 PM -0600 11/21/07, Jay Blanchard wrote:
[snip]
But, take a look at this:
http://www.captain.at/ajax-file-upload.php
They look like their blowing the same wind.
[/snip]
Yep, look at all of the gotchas.
Well, I wasn't able to get it to work -- I couldn't find
Jay Blanchard wrote:
[snip]
huh? if I post a file to a script that returns a 204 status and nothing
else then the page should not change in the browser.
[/snip]
True, the missing piece is that the post cannot move the file up to the
server.
I was referring to a standard POST not using
Simeon F. Willbanks wrote:
Hello,
I am trying to increase my knowledge and understanding of OO and OO
Design Patterns. I'd like to request a critique of a program that
extracts MySQL table information and translates it into XML. In the
program, I tried to accomplish a few things:
1.
- but then again
I didn't see any faux pas' either.
you might consider checking out other implementations of similar
functionality to compare your own idea/implementation against.
oh and we prefer to keep all communications on list :-)
Simeon
On Nov 21, 2007, at 2:23 PM, Jochem Maas wrote
Peter Ford wrote:
Jochem Maas wrote:
Kiketom wrote:
Hi all.
Yesterday i have looking for the overloading members
Member overloading
void __set ( string name, mixed value )
mixed __get ( string name )
As an example i put this code:
class foo
{
private $ID;
private $Name
Stephen Johnson wrote:
Who says you can't please them all... ;)
Erin Brokovich.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
From: Jay Blanchard [EMAIL PROTECTED]
Date: Tue,
Andrés Robinet wrote:
-Original Message-
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just wanted to add, I found a log.txt at D:\xampp\apache which happens to
be the root of the apache installation on my system... so,
Kiketom wrote:
Hi all.
Yesterday i have looking for the overloading members
Member overloading
void __set ( string name, mixed value )
mixed __get ( string name )
As an example i put this code:
class foo
{
private $ID;
private $Name;
private $LastName;
when you
Kiketom wrote:
Then if i make this
$foo = new foo();
$foo-ID = 12;
what is happening??
if __Set and __Get only works if a member isn't exits,
How come I do this?
$foo-ID = 12;
if the member $ID is private???
I thought that this was possible because i have declared the two method
Paul van Haren wrote:
Thanks, the empasant helps!
ampersand :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul van Haren wrote:
I'm trying to use arrays to implement a sort of data tree. For the code to
work, it is essential that the nodes can be edited after they have become
part of the tree. That would require that the array elements are pushed
by reference rather than by value.
?php
Ronald Wiplinger wrote:
Chris wrote:
Ronald Wiplinger wrote:
My php program is working with Firefox, but not with Internet Explorer.
Nothing to do with php, your problem is javascript.
Is there a tool to find the problem?
For IE, try
Ronald Wiplinger wrote:
I got a larger file which consists of lines with a defined length of 56
how large? for very big files it's dangerous to read them in all at once,
as was exampled in other replies. I would say that large in this case would
be anything bigger than 5 Mb (this is a very rough
Al wrote:
Install the Firefox extension HTML Validator. It does a real time Tidy
check for every page.
good advice.
Make your code W3C compatible and it'll work on all modern browsers.
less good advice. I agree you should be doing everything to make your code
validate 100% BUT having 100%
hi Nir,
I think you should direct this question to [EMAIL PROTECTED]
(the php core developers list).
Rachmel, Nir (Nir) wrote:
Hi,
I am running PHP 5.2.3 as a statically compiled module for a web server
(appWeb, which is an embbeded apache-like server).
My platform is a ppc processor,
Jay Blanchard wrote:
[snip]
Being very new to PHP (empahsis on VERY...), I wonder what most of you
use
to develop in PHP?
[/snip]
Search the archives, there was a discussion on IDE's just last week.
and pretty much every week before that :-)
when beginning your most valuable tool is not
Børge Holen wrote:
On Sunday 11 November 2007 20:36:39 Jochem Maas wrote:
Jay Blanchard wrote:
[snip]
Being very new to PHP (empahsis on VERY...), I wonder what most of you
use
to develop in PHP?
[/snip]
Search the archives, there was a discussion on IDE's just last week.
and pretty much
John Gunther wrote:
Since no one seems to know about the debug feature, let me ask about the
imap argument directly. None of the following work, always Couldn't
open stream:
mail.usservas.org:143
mail.usservas.org:110
wrong? Here's my code:
ini_set('error_log','/tmp/imap.txt');
some
;
mail( $email, Your FREE book from Zone of Success Club .com,
$headers, $message, From: $email );
?
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 10, 2007 3:44 PM
To: Brad
Subject: Re: [PHP] Cannot send a hyperlink
this will help
hi Joerg,
not a solution but the open_basedir ini setting on a per Vhost
setting may offer a [partial] work around
What I've get so far is, that I've created a chroot jail within the
web-directory. I can chroot to there and execute php (I used jailer,
for this).
But I don't get it to
Jon Westcot wrote:
Hi Chris:
...
That is, I need to close the single quote, place a comma after the
field, and then add in another opening quote. One other thing: I suspect I
need to use addslashes() to the elements in $data -- is there a way to do
this with one statement as you've
Per Jessen wrote:
Brad wrote:
I just picked up an account to fix a website and the code is making no
sense.
Brad, it's been barely six hours since you first posted that question.
1) be patient.
2) it's a lot of code to ask someone else to look at for you. I would
start by
Al wrote:
Delimiters needed. Can use about anything not already in your pattern.
/ is very commonly used; but I like # or % generally; but, you
can't use % because your pattern has it.
$html = preg_replace(#%ResID#,$bookid,$html);
wont a str_replace() do just fine in this case?
// and we
with this concept here, and I appreciate the help
that everyone is giving me!
dont forget to read the manuAl AND the user comments on the pages relevant to
the functions you are using to tackle the problem
Jon
- Original Message -
From: Jochem Maas [EMAIL PROTECTED]
To: Jon
Stut wrote:
Jônata Tyska Carvalho wrote:
Im having a big problem because the name of one input type text that is '
table.name' in my html, becomes 'table_name' in php, it is a kind of
bug??
=S
form method=post
input type=text nametable.name
/form
in PHP we have:
$_POST[table_name]
Nathan Nobbe wrote:
On 11/5/07, Jon Westcot [EMAIL PROTECTED] wrote:
Hi Nathan:
No, I'm not familiar with Ajax. Where can I read up on it? More
important, how can I find out if Ajax is implemented on the server? Or is
it something I can add myself?
although it might sound cool -
, don't f'ing reply off-list (unless asked),
etiquette asks that you keep the conversation on the mailing list. if you
wAnt to call me an ass because you don't like the way I tried to help that's
fine
but please do it in public :-)
On Nov 5, 2007 1:44 PM, Jochem Maas [EMAIL PROTECTED]
mailto:[EMAIL
seem right or necessary ... that said you may have a perfectly sound
reason :-)
On Nov 5, 2007 11:22 AM, Jochem Maas [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
Stut wrote:
Jônata
Nathan Nobbe wrote:
On 11/5/07, Jochem Maas [EMAIL PROTECTED] wrote:
...
yes yes yes to all that, except for one thing. Im personally of
the opinion such 'import' operation should involve no human interaction
and garanteed to complete (e.g. auto resume), save for possibly
initializing a process
Jon Westcot wrote:
Hi all:
just show us the code.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Heyes wrote:
?php
unlink('/tmp/sess_' . session_id());
unlink(session_save_path().'/'.session_id()); // no?
?
You'll need to know the session_id of the session you want to close. The
code above closes/ends the current users session, but simply substitute
the desired session
Jon Westcot wrote:
Hi all:
I'm hoping to find a solution to the problem I'm having with my script
timing out while inserting records into a table.
Overall, the process is pretty fast, which is impressive, but when it
gets to the 22,000 to 23,000 record mark, it seems to time
Jon Westcot wrote:
Hi Nathan:
Another quick question regarding the use of the .htaccess file:
If I'm trying to set something like post_max_size, which takes a
shorthand value such as 16M in place of the full value, will using the
php_value type of statement also accept the
C.R.Vegelin wrote:
...
Hi Jochem,
The reason for a redirect is that Report.php has functionality such as
sorting on report columns, checkboxes to make graphs etc.
Suppose the following report columns:
Country 06.Q1 06.Q2 06.Q3 06.Q4 07.Q1 07.Q2
1 Austria 1226 1211
C.R.Vegelin wrote:
- Original Message - From: Jochem Maas [EMAIL PROTECTED]
To: C.R.Vegelin [EMAIL PROTECTED]
Cc: David Giragosian [EMAIL PROTECTED]; php-general
php-general@lists.php.net
Sent: Friday, November 02, 2007 10:41 AM
Subject: Re: [PHP] Transfer query result to another
C.R.Vegelin wrote:
Hello David, Jim,
Thanks for your response.
Yes, I do have session_start() at the top of Report.php.
The reason for having the query on a different page than the result
is that the result may be sent to various output types / scripts.
I will change my code as follows:
Paul van Haren wrote:
OK guys, thanks for all your inputs.
Based on your guidance, I have tested the following code with a
series of variations:
class foobar {
function bar2 () {
echo Yep, in bar2() right now\n;
}
Sebastian Hopfe wrote:
I think you should log it, because it seems to be, and you found this
error.
it's not a bug - especially because nobody has bothered to mention the php
version.
I'm guessing that it's being run on a version php5, in which case the fatal
error
seems correct - you have a
Kulluji wrote:
Hi Everybody,
I am working in WAMP server for a small project. I am useing mysqlAdmin to
create my tables. In this version of Mysql I am unable to set foreign key
constraint. How do we do that?
ask someone in on a mysql or phpmyadmin mailing list - we are not here to
support
Robert Cummings wrote:
On Thu, 2007-11-01 at 16:10 +0100, Jochem Maas wrote:
I've completely lost track of the state of the exact OO rules in any
given version of php5)
Haha, you too eh!?
BTW, I finally bothered to download PHP 5.2.4 last night and checked it
out. This is the first time
Instruct ICC wrote:
Greetings everyone, I was wondering where I could find information on the
status and possibilities of threads being included in PHP. Or if you are
knowledge-able on the status of threads, if it is a planned addition or not
and the reasons as such. I understand PHP is not
David Christopher Zentgraf wrote:
On 31 Oct 2007, at 15:32, Jochem Maas wrote:
aside from this error (my guess is your not allowed to override it) I
can't
see the problem of serialization .. don't put the object in $_SESSION?
...
what are you doing? show us the code?
I'm not putting
Charlene wrote:
I have the GD Library installed, but I don't see any of the fonts. What
is the preferred location to download fonts (standard fonts like Arial,
Verdana, etc.) and which directory should they be stored in?
'standard fonts' is not. and any directory you want. upload any legal
David Christopher Zentgraf wrote:
Hi,
I'm trying to set up my PHP app at my host, but am stumbling over the
PHP configuration there. register_globals is enabled, which seems to
auto-serialize my objects into $_SESSION, which in some cases overwrites
variables in there. I'm not sure if
Andrew O. Shadoura wrote:
Hello.
I'm developing an extension for PHP to support netCDF format (a special
format
for multidimensional scientific data). It is non-commercial open source
project. At http://www.php.net/license/3_01.txt it is said that I cannot name
my extension php-netcdf
Andrew O. Shadoura wrote:
Hello.
Jochem Maas wrote:
you should ask this on [EMAIL PROTECTED] but if you ask me you
should just call the extension netcdf e.g. it's full name would be the
php netcdf extension. the 'php-' is superfluous no?
The extension itself named `netcdf
Børge Holen wrote:
On Sunday 28 October 2007 01:32:15 you wrote:
On 10/27/07, Børge Holen [EMAIL PROTECTED] wrote:
I'm currently using RecursiveDirectoryIterator and
RecursiveIteratorIterator.
I'm using fwrite to write to a file while parsing throught the file
structure,
and was wondering
Larry Garfield wrote:
If I had to venture a guess, you nested 100 functions (called 100 functions
in
a stack), and therefore reached the maximum limit in PHP. That is, you
overflowed the stack. You may have a recursion problem, especially if you're
using an XML parser that is not the
Paul Scott wrote:
On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote:
since when is there an arbitrary maximum recursion limit???
Since forever... ;)
thats you think, personally I test this kind of thing when Im
not sure:
php -r 'function foo() { static $x = 1; echo foo , $x++, \n; foo
arash moosavi wrote:
First: how can I write php code that alert me when I have new mail?
such as Gmail
first you read lots about php and programming, whilst your doing that
you you try out lots of code to see what it does ... eventually your
understanding gets to a level where you are capable
T.Lensselink wrote:
On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED]
wrote:
Paul Scott wrote:
On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote:
since when is there an arbitrary maximum recursion limit???
Since forever... ;)
thats you think, personally I test
T.Lensselink wrote:
...
php -r 'function foo() { static $x = 1; echo foo , $x++, \n; foo(); }
foo();'
...
Running your code shows that there is a limit. Although it doesn't throw
an
error.
It just stops after n recursive calls:
php4 recursive calls: 796
php5 recursive calls:
jenix wrote:
Hi,
When using CURL to access a page with frames I get the Your browser does
not appear to support frames error. How can get around this? Is there
special header info that can be added?
try spoofing the USer Agent string - i.e. tell the server your 'Firefox' rather
than
Curl.
ah yes ... Dan said it better :) but then he is a bigger nerd than me ...
he has a truck which is more dalek than pickup :-P
Daniel Brown wrote:
On 10/26/07, Jean-Christophe Roux [EMAIL PROTECTED] wrote:
Hello,
I am runnign on a Centos 5.0 php 5.1.6 as Server API Apache 2.0 Handler
I launched
Jean-Christophe Roux wrote:
Hello,
I am runnign on a Centos 5.0 php 5.1.6 as Server API Apache 2.0 Handler
I launched a script, which contains an infinite loop, from bash typing:
php script.php
I'd like to end that process. when typing ps -A,
try ps -e, or run top and look there (you can
Stut wrote:
...
Say you have a function that builds a fairly large array and then
returns it. If you just return it as usual PHP will make a copy of that
array and therefore use twice the amount of memory than it needs to.
php has something called 'copy on change' so until an attempt to
try seeing what json_encode() creates:
$json = json;
$data = array(
no_1 = $json,
no_2 = $json,
no_3 = $json,
no_4 = array(foo = $json, bar = $json),
);
print_r({{$json}_encode}($data));
Christoph Boget wrote:
The string used below in $myArrEncoded is generated
Christoph Boget wrote:
The string used below in $myArrEncoded is generated in javascript, after
creating the structure and spitting out:
var JSONVar = javascriptVar.toSource();
I can eval JSONVar and work with it as I would be working with the original
javascriptVar so I know the
Colin Guthrie wrote:
LKSunny wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
You can do:
eval(echo $a;);
you realise Sunny stopped reading
Ondra Zizka wrote:
Hello,
please look at the code bellow and tell if it does not conform to rules of
returning a reference from a function.
In the first method, I return reference to $sRet variable, and PHP is quiet.
But in the second, PHP says:
Notice: Only variable references should
Amos Vryhof wrote:
Good Morning everyone,
def DecodePassword( strPass):
Decode a filezilla password
strKey = FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
nPassLen = len(strPass) / 3
nOffset = nPassLen % len(strKey)
strDecodedPass =
for i in
Chris Mika wrote:
I don't know if I'm doing something wrong or if this is a bug.
the problem is due ot reuse of the variable you define by reference in the
second loop - cant really explain why its doing what you see but IIRC its
not a bug, an artifact of the way references work. someone with a
Colin Guthrie wrote:
Dotan Cohen wrote:
I just found some jerk on StumbleUpon with titles like:
PHP Essentials (c)2007 (Neil Smyth)
PHP Cookbook (David Sklar/Adam Trachtenberg)
PHP 5 Power Programming (c)2005 (Andi Gutmans/Stig Bakken/Derick Rethans )
A Programmer's Introduction to PHP 4.0
some ideas about class design:
1. properties should normally (read almost always) be private.
2. the apps interface to the DB [connection] is via the 'generic'
class, the app should have to know nothing about the drive object and
should have no direct access to it.
3. use an interface definition
Daniel Brown wrote:
Let's get obscure try to guess it before running the code. It
actually shouldn't be difficult.
I tried to figure it out - I couldn't, I ran the code and I still don't
get it. oh well :-)
?
class Brainteaser {
function
tedd wrote:
2b || !2b
this is not javascript dude.
$_2b | ~$_2b;
that said this is one of the coolest so far, nice one tedd.
Cheers,
tedd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steve Edberg wrote:
At 7:37 PM -0400 7/5/07, Robert Cummings wrote:
On Thu, 2007-07-05 at 16:27 -0700, Steve Edberg wrote:
Proposal -
Perhaps we could separate Brain Teasers, Obfuscated PHP challenges,
and what-have-you to a separate mailing list, say php-fun (php-phun?
PHPhun?)? Maybe
Andrew Hutchings wrote:
In article [EMAIL PROTECTED]
[EMAIL PROTECTED](Jochem Maas) wrote:
OK, well, for example page 3 of the book suggests making
PHP output errors into Apache's error_log. To do this on Linux
it means PHP would have to be run as root.
huh? funny thing
let's break this down shall we.
1. there is no such thing a business [programming] language
(you can lie through your teeth and sell shit in any language ;-),
although some language may be synonymous with business because of their
frequent use to solve business specific logic problems.
2.
Alan Milnes wrote:
On 05/07/07, Jochem Maas [EMAIL PROTECTED] wrote:
6. IBM, Oracle and others seem to be less sure about whether php will
ever
be a major player in the business solutions arena (often referred to as
'being enterprise ready') ... there may be some way to go in this
sense
Daniel Brown wrote:
{snip=all}
Actually, PHP is a phenomenal, scalable, and
brilliantly-extensible ?=strtolower(BUSINESS);? language. Yahoo!,
IBM, Google, and (of course) Zend are just a few of the multi-million
and billion dollar players. The company for whom I'm building web and
Colin Guthrie wrote:
Jochem Maas wrote:
Jochem Maas wrote:
three for the price of one, cheap at half the price ...
for ($me = 1; $you = $me; $me++);
One for me and one for you?
correct!
Everything that is mine is yours?
To me, to you?
$u = create_function(\$bond, if (\$bond 2
this one should be easy:
function work($v) { echo $v,; }
foreach(array_merge(range(9,12),range(1,5)) as $ing)
work($ing);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrew Hutchings wrote:
In article
[EMAIL PROTECTED]quickshift
[EMAIL PROTECTED] (Nathan Nobbe) wrote:
--=_Part_178329_18179255.1183569772294
Content-Type: text/plain; charset=ISO-8859-1;
format=flowedContent-Transfer-Encoding: 7bit
Content-Disposition: inline
this is getting
admin wrote:
Jochem Maas wrote:
...
the 'callback' type has a number of forms:
'myFunc'
array('className', 'myMeth')
array(self, 'myMeth')
array(parent, 'myMeth')
array($object, 'myMeth')
self and parent adhere to the same 'context' rules when used in
call_user_func*()
as when you
Colin Guthrie wrote:
Richard Heyes wrote:
Colin Guthrie wrote:
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
I think you mean Why is PHP better? :p (batter is what you make
pancakes out of, or if you are in Scotland it's means to get beaten up -
e.g. I'll batter you, ya
John Meyer wrote:
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
Without context that question is meaningless and only serves as troll bait.
do trolls eat deepfried marsbars by any chance? it would explain alot :-P
--
PHP General Mailing List (http://www.php.net/)
To
Robert Cummings wrote:
...
I'll add the CSS once I can get the form to work properly, and can
figure out how to change the color with css based on a certain value
stored in a database IE: $rowColor :)
At it's simplest:
'td class='.$rowColor.''
...
if $rowColor is a hex based
Robert Cummings wrote:
On Tue, 2007-07-03 at 17:57 +0200, Jochem Maas wrote:
Robert Cummings wrote:
...
I'll add the CSS once I can get the form to work properly, and can
figure out how to change the color with css based on a certain value
stored in a database IE: $rowColor :)
At it's
three for the price of one, cheap at half the price ...
for ($me = 1; $you = $me; $me++);
$u = create_function(\$bond, if (\$bond 2) echo \live\; else die();)
$u();$u();$u();
$I = null; sleep(10); $I = rear(); function rear() {};
--
PHP General Mailing
Jochem Maas wrote:
three for the price of one, cheap at half the price ...
for ($me = 1; $you = $me; $me++);
$u = create_function(\$bond, if (\$bond 2) echo \live\; else die();)
$u();$u();$u();
this one here should have been:
$u = create_function(\$bond, if (\$bond
adel wrote:
hello? why am not getting any reply!?
because nobody really wants to write documentation?
not even for their own stuff, let alone someone else's.
the lack of reply suggests no one is interested - this is
not uncommon - it's very hard to get people interested in a
project even when
admin wrote:
Inside the body of method foo() you can of course use syntax like
parent::foo(). But is there a way to call the parent version of
obj-foo() outside the class? That kind of syntax is allowed in C++, for
example: Aclass a; if (a.Aparent::foo()) ...;
there is nothing in the language
Jim Lucas wrote:
admin wrote:
Inside the body of method foo() you can of course use syntax like
parent::foo(). But is there a way to call the parent version of
obj-foo() outside the class? That kind of syntax is allowed in C++, for
example: Aclass a; if (a.Aparent::foo()) ...;
Some
admin wrote:
Jochem Maas wrote:
another solution for the OP might be (although I think it goes against
all
design principles):
class A {
function foo() {
echo achoo\n;
}
}
class B extends A {
function foo() {
echo cough\n;
}
function __call($meth, $args
Rahul Sitaram Johari wrote:
Ave,
Can¹t figure this one out. I¹m using the dbase_replace_record() function to
replace a record in a dbase (.dbf) database. I just want to replace the
value of one of the fields with another value. This is my code:
$db = dbase_open(CRUMBS.DBF, 2) or die(Fatal
801 - 900 of 3344 matches
Mail list logo