f that PHP is enterprise-ready, whether it is good or not
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> This is the form:
> http://www.ezee.se/ezee-ecard-egreetings/step2_v2.php
>
>
> All i want you to do is click the above link, click the file/browse button
> and try to upload a .jpg/jpeg image...
works here on firefox 3 beta 5 / ubuntu
greets,
Zoltán Németh
>
>
>
>
net/search?string=strip_illegal_chars
so it is not a php builtin function. also Google returns 0 results for
'strip_illegal_chars php' so it must be defined somewhere in the code you
found it
greets,
Zoltán Németh
>
> thnx,
> Chris
>
> --
> PHP General Mailing List (http:
stallations, even if it is a virtual machine.
one server is cheaper than multiple vmware windozes, but multiple wine
instances with IE are free. ;)
greets,
Zoltán Németh
>
>
>>
>> why not switch everything to linux and run IE in wine or vmware on the
>> developer
e or vmware on the
developer's machine? that way you don't have to maintain windows machines
at all
greets,
Zoltán Németh
>
> thanks.
>
> On Sat, May 10, 2008 at 8:44 PM, Gabriel Sosa <[EMAIL PROTECTED]>
> wrote:
>
>> I suggest you if you are running live
> Yet another option is use serialize(array())
or you could use var_export if you need php code
http://php.net/var_export
greets,
Zoltán Németh
>
> Chetan Dattaram Rane
> Software Engineer
>
>
>
> -Original Message-
> From: Shelley [mailto:[EMAIL PROTECTED]
&
test = ((float)('.' . $weightExplode[1])) * 16;
(the (float) casting is maybe not required, but I think it's good practice)
greets,
Zoltán Németh
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
[EMAIL PROTECT
e libraries for each type of functions, and only include what you need
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e one, which is used by the
program
greets,
Zoltán Németh
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ays use the
curly braces though because it highlights better in VIM :p
I stand corrected, I just tried putting an object property into double
quotes and it works
greets,
Zoltán Németh
Also, OOP is nice and all (not to start a thread about OOP again),
but putting your config into an object se
tibility issues with prototype using
opera. But that was years ago and I'm sure everything is fine now,
but I've already left. ;)
I use prototype together with some parts of YUI, some parts of ExtJS,
TinyMCE, and a bunch of my own scripts, and there is no interference
between them.
h that, but I too don't want to start
this over ;)
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/lib/setup.php");
or this:
require_once("{$CFG->dirroot}/lib/setup.php");
greets,
Zoltán Németh
I've confirmed that the file setup.php exists and is readable. I've got
error_reporting in php.ini set to E_ALL. I'm running Apache
Jason Pruim írta:
On Apr 8, 2008, at 1:48 PM, Zoltán Németh wrote:
Jason Pruim írta:
On Apr 8, 2008, at 11:02 AM, Andrew Ballard wrote:
On Tue, Apr 8, 2008 at 10:56 AM, Jochem Maas <[EMAIL PROTECTED]>
wrote:
Robert Cummings schreef:
On Tue, 2008-04-08 at 07:21 +0200, Nitsan Bin-Nun
we see Lynch only once in a while come and post a couple dozen
messages ;)
greets,
Zoltán Németh
Andrew
--PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, M
Daniel Brown írta:
On Sun, Apr 6, 2008 at 11:27 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
maybe the problem didn't appear before, or I just didn't notice it...
It was the first time I'd noticed it myself, so it's possible that
it's the first time it happ
Daniel Brown írta:
On Sun, Apr 6, 2008 at 7:31 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
PostTrack [Dan Brown] írta:
> 10 (3.4%) 33529 (8.5%) Zoltán Németh
> 1 (0.3%) 2502(0.6%) Zoltán Németh
what's the difference? they s
t; code. If you forget
a\n" ?>
semicolon, it'll still count.\n" ?>
\n" ?>
--\n" ?>
\n" ?>
Ask me about:\n" ?>
Dedicated servers starting @ \$59.99/mo., VPS\n" ?>
starting @ \$19.99/mo., and shared hosting startin
ot;
code. If you forget a semicolon, it'll still count.
that's a cool feature!
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PostTrack [Dan Brown] írta:
> 10 (3.4%) 33529 (8.5%) Zoltán Németh alterationx dot hu>
> 1 (0.3%) 2502(0.6%) Zoltán Németh alterationx dot hu>
what's the difference? they should be added up, no?
greets,
Zoltán Németh
--
PHP General M
;whatever.xml');
http://hu.php.net/manual/en/function.simplexml-element-asXML.php
greets,
Zoltán Németh
Thank you
You rock. That's why Blockbuster's offering you one month of Blockbuster T
this
is for a mobile site (WAP/xHTML) site and Im not sure if the functionality
will work on these devices.
I would go for ajax, if possible, but I don't know if it works on wap or not
greets,
Zoltán Németh
Please advise.
Thanks in advance
Angelo
Web: http://www.elemental.co.za
--
PHP
ted
image instead of the dog.
5.1.0:
http://www.primateapplications.com/info.php.gif
5.2.5:
http://www.primateapplications.com/info.php
same here, distorted image on 5.2.5 and dog on 5.1.2 :)
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
dding/substracting
- 86400 for a day
- 3600 for an hour
then convert back with strftime()
http://hu.php.net/strtotime
http://hu.php.net/strftime
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings írta:
On Sat, 2008-03-29 at 10:16 +0100, Zoltán Németh wrote:
One last thing though...
even if this were escaped and even if there were fifty variables
embedded, a good bytecode optimizer (not quite the same as a bytecode
cacher) would optimize the bytecode for caching so that
e U modifier you would get the
part between the first and the last . with the modifier
you get the parts between any and the next
more info here:
http://hu.php.net/manual/en/reference.pcre.pattern.modifiers.php
http://hu.php.net/manual/en/reference.pcre.pattern.syntax.php
greets,
Zoltán Németh
hey I made into the top five! celebrating this, now I top post :D ;)
greets,
Zoltán Németh
2008. 03. 28, péntek keltezéssel 16.00-kor PostTrack [Dan Brown] ezt
írta:
> Posting Summary for PHP-General List
> Week Ending: Friday, 28 March, 2008
>
> Messages
[0] => Array ( [loginPassword] =>
> 42205baa2581d3fcd8d8f9c6b9746a1f [Record] => 2 ) )
>
> So why can't I access it via $chpwrow['loginPassword']? I'm
> stumped Anyone that can help me has a free beer waiting for them
> the next time they are in
2008. 03. 28, péntek keltezéssel 11.31-kor tedd ezt írta:
> At 9:14 AM +0100 3/28/08, Zoltán Németh wrote:
> > > This way for literal strings, the PHP parser doesn't have to evaluate
> > > this string to determine if anything needs to be translated (e.g.,
> > &
2008. 03. 28, péntek keltezéssel 10.59-kor Robert Cummings ezt írta:
> On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote:
> > 2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
> > > On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
> > > &g
2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
> On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
> >
> > yeah maybe. you're right, the bytecode is the same. but somewhere I
> > heard that the parsing is the same too - because escaped ch
2008. 03. 28, péntek keltezéssel 09.00-kor Robert Cummings ezt írta:
> On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote:
> > 2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta:
> > > 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
&
2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta:
> 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
> > Jason Pruim wrote:
> > >
> > > On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
> > >> Al wrote:
> >
ral strings, the PHP parser doesn't have to evaluate
> this string to determine if anything needs to be translated (e.g.,
> $report .= "I like to $foo"). A minimal speedup, but nonetheless...
that above statement is simply not true. parsing "foo" and 'foo'
probably won't notice much
> >>>>>> difference,
> >>>>>> but I have seen instances where the difference was painfully obvious.
> >>>>>> Andrew
> >>
> >> Yes and if your script takes .0002 sec
e,
> >>>>> but I have seen instances where the difference was painfully
> >>>>> obvious.
> >>>>> Andrew
> >
> > Yes and if your script takes .0002 seconds
> > to run using double quotes it will only take
use that link it opens a email window and the body of that message
> isn't translated. So the people will see some garbage and may not send the
> email.
>
> If I try to change the encoding in the editing window of Outlook while this
> garbaged email shows it doesn't work. I s
encoding, or what's much better,
use utf8 for both your data and your email. I think outlook can cope
with that, though I'm not sure ;)
greets,
Zoltán Németh
>
> Thanks
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s. :-)
>
> I can do just about anything I want with those old files.
>
> http://webbytedd.com/bb/pdf/
>
where's the source for that?
greets,
Zoltán Németh
> Cheers,
>
> tedd
>
> --
> ---
> http://sperling.com http://ancientstones.com http://ea
#x27;t care, Prune.
>
> (I still get a kick out of knowing that. Who was it, Jochem or
> Zoltan who said that? ;-P)
/me points at Jochem ;)
greets
Zoltán Németh
>
> NEVER trust that the data is escaped regardless of where it
> originated. Supposed someone else writ
te an object on the fly
> from an interface as per java 5. o and inner classes would be nice too, but
> maybe traits would address that desire, i dont know.
>
> -nathan
I agree with this
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
gt; i put a wrong password and username
the manual also says this, which I too did not notice earlier:
"Note: You can suppress the error message on failure by prepending a @
to the function name."
this implies that error message is raised on error, but don't ask me
why ;)
greets,
Z
itself, while
php errors are raised when the action can not be executed because of
some error in the code itself.
greets,
Zoltán Németh
>
> --- Zoltán Németh <[EMAIL PROTECTED]> wrote:
>
> > 2008. 03. 14, péntek keltezéssel 07.20-kor It Maq
> > ezt írta:
> > >
returns false on error, others throw
warnings/notices/errors...
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt írta:
> Hi,
>
> How can I send multiple values from a form to be stored in a database, as
> name of the fields is the same?
>
> For example:
>
> foreach ($field_data as $field) {
>
> $field_name=$field["field_name"];
>
t; Aaah. so we're just six points before the end of this thread? ;-)
threads like this live forever. after we all finish with it, sooner or
later someone will say something which will trigger its resurrection
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hing you might need in the class
definition?
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
employer, and the subject line should be relevant to your question, and
etc etc etc
greets,
Zoltán Németh
>
> -Original Message-
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2008 2:53 PM
> To: 'Robert Cummings'; 'Zolt
2008. 03. 12, szerda keltezéssel 13.27-kor Greg Donald ezt írta:
> On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > ok, I admit I don't have experience with Ruby but I have experience with
> > php. and I don't have experience with Ruby because I read some
2008. 03. 12, szerda keltezéssel 12.12-kor Greg Donald ezt írta:
> On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > but I strongly think that Ruby as a
> > language just plain sucks ;)
>
> And exactly how many projects do you have under your belt to allow yo
7;. it has several cool ideas, which
some php frameworks also follow now (and a few that would be cool in php
frameworks but not yet implemented), but I strongly think that Ruby as a
language just plain sucks ;)
greets,
Zoltán Németh
>
> On the other hand, if there's something i
> * Using try and catch exceptions
I would go for try/catch, define different exception classes if
different actions need to be taken, catch them based on their class to
take appropriate action, and catch anything else in the top layer.
greets,
Zoltán Németh
>
> The error handling i wan
tut.net/articles/sessionless_sessions.html
>
> Constructive criticism welcome.
good article. I've also realized long ago that I only need user id in to
be stored in the session, and also considered storing that in some
encrypted cookie, so I might just take and use your solution
2008. 03. 11, kedd keltezéssel 09.37-kor Richard Heyes ezt írta:
> > /etch/hosts
>
> Typo. That should be:
>
> /etch/hosts
I bet you mean /etc/hosts :)
greets,
Zoltán Németh
>
> --
> Richard Heyes
> Employ me:
> http://www.phpguru.org/cv
>
addslashes but rather mysql_real_escape_string or whatever
suits your database most
greets,
Zoltán Németh
>
> the $txtPhoto is the parameter
>
> ""Angelo Zanetti"" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > What is on line 49?
> >
>
> If I ever had any doublt I was reading a programmer's list, I don't now.
>
> ps: I'm on RC4
I've had a 1.0 a couple of years ago, but after some years it started
causing kernel panic and ended up crashing all my systems... since then
I had
2008. 03. 4, kedd keltezéssel 12.15-kor Daniel Brown ezt írta:
> but what else would I do? Spend time with the
> pre-wife?
sure that's what you should :)
greets,
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2008. 02. 29, péntek keltezéssel 14.28-kor tedd ezt írta:
> At 4:36 PM +0100 2/29/08, Zoltán Németh wrote:
> >sure, all information belonging to an object is usually in a record of a
> >db.
> >but, you mean include('user_functions.php') automatically loads that
&
2008. 02. 29, péntek keltezéssel 10.12-kor tedd ezt írta:
> At 8:52 AM +0100 2/29/08, Zoltán Németh wrote:
> >it's not just that, it's also a different way of thinking about your
> >data. for example say you have a 'user' - you always have one of that ;)
> &
2008. 02. 29, péntek keltezéssel 10.17-kor Colin Guthrie ezt írta:
> Zoltán Németh wrote:
> > I strongly recommend git. it has several great advantages above cvs or
> > svn. for example, it does not store whole copies of the whole tree if
> > you make a branch, but stores onl
o taking a look at SVN I'll also have a poke at GIT.
I strongly recommend git. it has several great advantages above cvs or
svn. for example, it does not store whole copies of the whole tree if
you make a branch, but stores only the differences. it is much faster,
and losing a commit is
a take away my choice to use spaces whenever I work on your code
> > down the very long line, that's fine. I'm just gonna use my JOE editor
> > to fix them and purify any mixed tab/space indentation. If your editor
> > can't do that then you should get a better edi
gt; > >
> >
> > Your emails come through to my gmail account as you first described,
> > Nathan, ie, sometimes with just one word on a line, and just like the
> > marc archives.
>
>
> thanks, ill just have to be careful editing from gmail then..
>
>
ould've made the poll with the possibility to vote for more than
one. since you're asking which ones we use, not which one. and most of
us has more than one very frequently used pattern ;)
anyway, I voted for MVC since nowadays I use that one most of the time
greets
Zoltán Németh
>
2008. 02. 28, csütörtök keltezéssel 09.12-kor tedd ezt írta:
> At 8:57 AM +0100 2/28/08, Zoltán Németh wrote:
> >2008. 02. 27, szerda keltezéssel 14.02-kor tedd ezt írta:
> > > Just about all my code was reduced to functions
> >> and all functions were placed in file
rom you. Thank you.
remove yourself. look at the bottom of this message.
greets,
Zoltán Németh
>
>
> Best regards,
>
>
> Timothy Asiedu.
>
>
>
> Stut <[EMAIL PROTECTED]> wrote:
> On 27 Feb 2008, at 21:50, Shawn McKenzie wro
2008. 02. 28, csütörtök keltezéssel 11.23-kor Dotan Cohen ezt írta:
> On 28/02/2008, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > > Thank you very much, Zoltan. Is there a known UTF-8 limitation?
> > > Because it works fine for me in English letters (well, the oppos
2008. 02. 28, csütörtök keltezéssel 00.02-kor Dotan Cohen ezt írta:
> On 27/02/2008, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> >
> > sorry that's messed up a bit, as I typed it right here in my mailer ;)
> >
> > preg_replace('/\b([^\s]+)a\b.*/U',
2008. 02. 27, szerda keltezéssel 14.02-kor tedd ezt írta:
> At 6:32 PM +0100 2/27/08, Zoltán Németh wrote:
> >thanks to its good class structure if we need to modify something we
> >know which file to open and where to modify, even if that class was
> >originally the work o
ork (symfony, zend,
etc)
and the third thing is, never believe anything from microsoft ;)
greets,
Zoltán Németh
> Thanks.
> Williams.
>
>
>
> -
> Never miss a thing. Make Yahoo your homepage.
--
PHP General Mailing List
2008. 02. 27, szerda keltezéssel 12.45-kor Nathan Nobbe ezt írta:
> On Wed, Feb 27, 2008 at 12:32 PM, Zoltán Németh <[EMAIL PROTECTED]>
> wrote:
>
> > 2008. 02. 27, szerda keltezéssel 17.42-kor Aschwin Wesselius ezt írta:
> > > Nathan Nobbe wrote:
> > > >
e already tried that ;)
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e classes generated by our generator and the
classes written by ourselves)
thanks to its good class structure if we need to modify something we
know which file to open and where to modify, even if that class was
originally the work of someone else in the team. how would you do that
without class s
2008. 02. 27, szerda keltezéssel 13.51-kor Zoltán Németh ezt írta:
> 2008. 02. 27, szerda keltezéssel 12.46-kor Dotan Cohen ezt írta:
> > Hi all, it's been a while since I've written with a regex problem.
> > This time, I'm stumped.
> >
> > I've go
e, that's what you missed I think:
http://hu.php.net/manual/en/reference.pcre.pattern.syntax.php
and also the meaning of the U modifier here:
http://hu.php.net/manual/en/reference.pcre.pattern.modifiers.php
greets
Zoltán Németh
>
> For those who want more details for curiosity'
k...
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
culture... it's just a commercial
> > suckfest when your money could better go to student loans and raising a
> > family.
>
> http://debianddan.com/
>
> CC: Debs
>
congratulations :)
greets
Zoltán Németh
> --
>
>
> Daniel P. Brown
> Senior U
2008. 02. 24, vasárnap keltezéssel 15.55-kor tedd ezt írta:
> At 7:38 PM +0100 2/24/08, Zoltán Németh wrote:
> >2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta:
> >> Hey guys,
> >> Isn't this thread a bit OT?
> >
> >well, fo
talking about religion and some humor (the 'rewrite the bible'
site)
greets
Zoltán Németh
>
> Mary Anderson
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
believe I am the first person to ever "tag cloud" a bible :)
hehe that site rocks :)
greets
Zoltán Németh
>
>
> --
> Greg Donald
> http://destiney.com/
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an ajax list because
this is clearly not a php problem
greets
Zoltán Németh
>
> On Fri, 2008-02-22 at 20:54 +0100, Zoltán Németh wrote:
> > 2008. 02. 22, péntek keltezéssel 14.32-kor germana ezt írta:
> > > So... i was checking my localhost with wireshark (a sniffer) and i
("Y-m-d H:i:s", strtotime($date_format));
RTFM: http://hu.php.net/date ;)
greets
Zoltán Németh
> echo $start_date;
> ?>
>
> output is 2008-02-22 02:00:00
>
> but not 2008-02-22 14:00:00
>
> How can i get my output as 2008-02-22 14:00:00.
>
> Tha
rary... I don't know what kind of
ajax scripts you use, I've never seen 'nuevoAjax' before, but its
clearly a problem with your javascript, not php. correctly sent requests
contain the post data, so $_POST is not empty if you send anything
greets
Zoltán Németh
>
>
>
.
> ..
>
> and in the php i do:
>
> $datafield=explode("$",str_replace("\'","'",$_POST["table"]));
> $main_table="".str_replace("'","",$datafield[0])."";
> $ma
ng appended to the string.
you're putting . and a variable inside a string delimited by ' which
will never work.
to avoid confusion like this, why not build the string first, then
exec() it? that way you can always echo out the string to check what
might be the problem.
$cmd = 'su -
vpop
result:
> > --
> > object(stdClass)#1 (1) {
> > ["a"]=>
> > string(7) "ayayaye"
> > }
>
> So if you unset a reference you are dereferencing it. If you want to
> unset both, then unset the object, in this case $x.
I think he should unset all references to the object, $x and $b[0] as
well.
greets
Zoltán Németh
>
> -Shawn
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> it's been depricated I heard in favour of unfuck();
>
as I remember its also in SPL.
$whatever = new MySqlCommandUnFucker($command);
$whatever->unFuck();
:D
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
think from MySQL you can not call outside applications.
greets
Zoltán Németh
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; so it is displayed and can latter be printed.
>
> In the mean time, the original window contains a confirmation message,
> to continue with the work flow.
>
> I would like to do this without use of JavaScript
I don't think you can do that...
greets
Zoltán Németh
>
is essentially 100% inaccessible :)
you mean this page?
http://bugs.php.net/report.php
the captcha is clearly there for me (firefox, ubuntu linux)... however
if it is not there in every browser that's a bug which should be
reported :)
greets
Zoltán Németh
>
> Regards
> Siegfri
nue to use the static keyword in functions,
> and will most likely never use a class in PHP...
>
> If a website is complicated enough to need a class hierarchy, then
> something is wrong in your Design. :-) :-) :-)
who said we make websites with all those classes and fra
EST services.
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$data = file('http://myserver.com/myfile.txt');
$data = @file('http://myserver.com/myfile.txt');
if ($data === FALSE) throw new Exception('whatever');
hope that helps
Zoltán Németh
> $date = substr($data, 0);
>
2008. 02. 1, péntek keltezéssel 04.40-kor Robert Cummings ezt írta:
> On Fri, 2008-02-01 at 10:11 +0100, Zoltán Németh wrote:
> > 2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta:
> > > On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote:
> >
;Email'];
$_SESSION['AdminLevel'] = $row['AdminLevel'];
$_SESSION['FirstName'] = $row['FirstName'];
$_SESSION['LastName'] = $row['LastName'];
return true;
} else {
return false;
}
}
note the changes:
- use of mysql_fetch_assoc in the select_one_row function
- putting the return value of the function into $row and then using that
between the if function
// this above might contain bugs as I just wrote it up here in my mailer
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot only that he top-posts. ;-P
Wait, this might not be the real Lynch, but his new AI instead, not
programmed yet for bottom posting :)
greets
Zoltán Németh
>
> --
>
>
> Daniel P. Brown
> Senior Unix Geek
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s($handle);
> echo $data."\n";
> ?>
>
> So long as you don't do a while() loop or something similar,
> fgets() will only read the first line.
sure, and much more efficient than my last letter, so ignore that...
its friday, and late, and I'm still at wor
gt; The
>
> But I am getting:
>
> The file looks like this.
>
> Does that make more sense?
in that case why not read the file as an array of lines and display the
first line?
$f = file('whatever.txt');
echo $f[0];
http://hu.php.net/file
greets
Zoltán Németh
>
> Th
t; But outputs:
>
> "The file I have looks like this."
you need nl2br()
http://hu.php.net/nl2br
greets
Zoltán Németh
>
> Here is my code:
>
>
>
>
> $dir = "path/to/files/";
>
> // set pattern
> $pattern = ".txt*|.TXT*&qu
2008. 02. 8, péntek keltezéssel 11.38-kor Manuel Lemos ezt írta:
> Hello,
>
> on 02/08/2008 06:15 AM Zoltán Németh said the following:
> >> Another aspect is that Metastorage features what is called report
> >> classes. These are classes that perform queries that you de
1 - 100 of 358 matches
Mail list logo