ðÒÉ×ÅÔ!
Monty wrote:
> But it returns nothing. If I use readfile() the file contents is displayed,
> but, what I really want to do is store it in a string variable, not output
> it directly. How can I do this?
Look 4 implode() in the function list
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
@-_=}{=_-@-_=}{=_-@-_=}{=_-
ðÒÉ×ÅÔ!
Analysis & Solutions wrote:
> What increased cost? If someone does the right thing in the first place,
> there's no cost. The developers are either gettting paid to develop
> something that works right in the first place or they're getting paid to
> develop something that doesn't.
LOL
enu) I need something that will clear and reload both iframes at the
same time with one single click (and no Jscript).
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
>
>>>>Alberto Serra <[EMAIL PROTECTED]> 07/18/02 03:12PM >>>
>>>
> ??!
>
> Is there a way I can decide w
ðÒÉ×ÅÔ!
Is there a way I can decide where to target my output from server side?
suppose my page has two iframes
+---++---+
! A !! b !
+---++---+
while executing a script that is called by A can I spawn another script
that will output to "b"? And no, I cant' use any Jscript, but I do know
fro
ðÒÉ×ÅÔ!
PHPCoder wrote:
> application useless unless I code a "plan B" into my code; meaning I can
> just as well NOT use cookies from the start...
> "catch 22 dejavu..."
> What are the general feeling out there amongst developers about the use
> of cookies?
--snip--
> I gather that
> the "alt
ðÒÉ×ÅÔ!
Scott Fletcher wrote:
> I'm pretty used to installing OpenSSL, Mod_SSL, Mcrypt, cURL, PHP and Apache
> with all of them in tar.gz files. Now I'm experiementing it on the Linux
> and mySQL. Never tried it on both Linux and mySQL before.
In my very limited Linux experience I found out th
ðÒÉ×ÅÔ!
Martin Clifford wrote:
> Could someone please explain the difference between classes and functions
> and how to use a class.
Well, that's a 1 billion $$ question. I don't think one can fully grasp
that difference by reading an email. I strongly suggest you to buy
yourself a book about
ðÒÉ×ÅÔ!
Michael Zornek wrote:
> We all know this works:
>
> echo "$someVar";
>
> However this does not:
>
> echo "$db->field('name_long')";
>
> I know this slight variation will make it work:
>
> echo "" . $db->field('name_long');
>
> But it's cumbersome .. Anyway to get the first way to wo
ðÒÉ×ÅÔ!
[EMAIL PROTECTED] wrote:
>>I feel the idea is not accurate. My ip address (a static one from my
>>isp) would remain the same if I went to ADSL from my current
>>dial-up access.
>>
>>HTH
>>Chris
>
>
> Yes. And how about all corporate networks? If I'm accessing your site from
> our offi
ðÒÉ×ÅÔ!
I just got this. Not sure whether it's the stupidest commercial I ever
seen or a new virus (as you see in the headers it stepped thru the check
with no warnings), or just a joke.
I'd say it's a joke, as nobody would add anything clearly stating itself
as "decrypt-password.exe", but I
ðÒÉ×ÅÔ!
Saci wrote:
> Who cares about privacy on my own company Intranet ?
Anyone not willing to show where they has been surfing on the net to any
unexperienced bycomer. Youu may read the history, but you just have *no*
warranty that it will not be cleared at runtime.
Since you have control
ðÒÉ×ÅÔ!
Micha wrote:
> Hi,
>
> I would like to know the exact difference between -> and ::.
> I know that I can use as class directcly by using :: but I still don't
> know the exact meaning
> So why do they use in Example 8 on
> http://www.php.net/source.php?url=/zend2_example.phps $this->id
ðÒÉ×ÅÔ!
Saci wrote:
> // HTTP_REFERER as a feature. In short, it cannot really be trusted.
>
> Anybody know how to do that using JAva history with PHP together , or any
> other methode that works and can be trusted.
Thank god no method can be trusted :) History even less the the
referrer. Jus
ðÒÉ×ÅÔ!
Cal Evans wrote:
> ++ is an incrementor.
He may also consider the position of the inc/decrementor.
Example (note that the first element of an array has index 0):
$a = Array(1,2,3,4,5);
$i = 1;
executing
echo $a[++$i]
will output
3 2
echo $a[$i++]
will output
2 2
In both cases $i ge
ðÒÉ×ÅÔ!
Alexander Ross wrote:
> I have an array filled with objects. Each object has a method called
> "display".
>
> I have
>
> $var = $arr[0];
> $var->display();
>
> but I keep getting an error. What am I doing wrong?
> (I do a print_r of the array immediately before this code and there is
ðÒÉ×ÅÔ!
Nicolas GUILLOU wrote:
You may either write:
> echo "$cd_id";
or
> echo "size=1>$cd_compositeur";
ðÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT
ðÒÉ×ÅÔ!
> if you have multilayered inheritance you may explicitely say which
> anceStor class you are calling, like foo::print().
two typos in a few words are definitely too much, sorry :)
BTW, although almost all class specification is dynamic you cannot
dynamically specify a class name in f
ðÒÉ×ÅÔ!
Jason White wrote:
> I have a class Foo{} which has a method Print().
> I have another class FooBar{} which extends Foo{} and has its own method
> Print().
>
> How do I invoke Foo{}'s Print() method from within FooBar{} once its been
> overridden?
parent::print();
if you have multilaye
ðÒÉ×ÅÔ!
Analysis & Solutions wrote:
> On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote:
>
>>Hello. I have a form that I would like to use checkboxes.
>>... snip ...
>>I've been told that if I want to manipulate each
>>one then I should use 'name=checkbox[]' and make an array out of
ðÒÉ×ÅÔ!
Mike Tuller wrote:
> So I would have the progressive key inside the addvolume window? Can you
> explain how to go about doing this?
How you organize your HTML output should *never* interfere with the way
you organize your data, they are two different things and must be kept
well separa
ðÒÉ×ÅÔ!
Sorry, got no time to surf around for a Linux list, so please answer
privately since this is totally OT.
I am running gnome on top of rh 7.1, since I upgraded to librep 0.15.1
and sawfish 1.0.1 I need to reinstall librep once a week.
Apart from the annoying fact in itself, when rep go
ðÒÉ×ÅÔ!
Mike Tuller wrote:
> The hardwareID is created in MySql when the information entered for the hardware is
>submitted, which hasn't been done yet.
You don't need it immediately. Just have a progressive key (like
1,2,3,4...) stored in a hidden field along with the new info you are
gettin
ðÒÉ×ÅÔ!
Andy wrote:
> I am wondering if there is a possiblity that some browsers like IE 5.1 do
> not accespt cookies by default.
No, it's that they do not accept standards by default :) Try this and
have M$ go to hell:
// send/refresh cookie
$time = mktime()+ $lifeInDays*86400;
$
ðÒÉ×ÅÔ!
I hope you are not really living in the early 70's, are you?
Ricardo Fitzgerald wrote:
> Hi,
>
> I started with PHP and MYSQL a while ago and now I've been involved in
> a huge database project with ORACLE.
Have the Oracle box do most of it. Make sure that:
1) there is a well defined
ðÒÉ×ÅÔ!
Garland Foster wrote:
> Alberto,
>
> I might have expressed the problem wrongly, if you have lets suposse you
> have:
> $obj = new foo();
> $obj->some();
> And some might return an "exception" object.
>
> The problem is that some may call a lot of other methods from foo and I
> don't
ðÒÉ×ÅÔ!
Martin Clifford wrote:
> If completely developing a fully functional and optimized E-commerce site isn't good
>enough,
>I don't know what is. I can understand how it may not necessarily be innovative
>(though it could
>have innovative features), but designing such a site would prove
ðÒÉ×ÅÔ!
Garland Foster wrote:
> Hi All,
>
> I'm porting Java Code to PHP, my question is: What is the best approach
> to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I
> can't wait).
If the exceptions you have to manage are code generated at runtime you
actually may simpl
ðÒÉ×ÅÔ!
This will not work. It will produce in instead a:
parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ';'
Funnily enough, the NEKUDOTA part looks slavian (sort of "nowhereToGo",
not russian, maybe it's polish), so I suspect it means it cannot resolve
a parametrized call.
ðÒÉ×ÅÔ!
John Holmes wrote:
> Gesundheit
>>*if* that was on Oracle *and* the table was big you'd notice that your
>>performance goes down. Don't ask me why. And I never checked it on
>>MySql. But watch out for betweens. Check them.
>
> Yes, good point. I don't know if it matters in MySQL either, b
ðÒÉ×ÅÔ!
John Holmes wrote:
> Not possible with HTTP, as far as I know. The file is simply sent,
> there's no communication back and forth.
>
> ---John Holmes...
That's from within a single script. But it becvomes possible if you have
a page like this
+---+
! +---+ !
! mai
ðÒÉ×ÅÔ!
> The stuff about using time/directory is an IE bug.
> You can supply *BOTH* time and directory, but not just time.
> This is not the way the Cookie spec reads, but Microsoft never reads specs
> properly, much less implements them properly, mostly on purpose.
Not sure I am saying the tru
ðÒÉ×ÅÔ!
Martin Clifford wrote:
> I usually always have my content dynamically generated by functions,
>or displayed in include files. I'm not a fan of cluttering up my
apps with content.
me neither. You can mix up code and content only as long as you work
alone. But in most project (even v
Chris Knipe wrote:
> On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote:
> Allot of SMTP servers does quite a bit of sanity checking on the headers
> received from an email message.
Not in the west. They are too busy allowing in the commercial spam they
are sending themselves. Otherwise you'
ðÒÉ×ÅÔ!
Alexander Ross wrote:
> I realize this isn't a php question, but I figured that someone here knows
> of a good mysql newsgroup and in the mean time someone here probaby knows
> the answer to my question.
>
> Can I set up a query like this:
>
> select * from table where start_shot <= $cu
ðÒÉ×ÅÔ!
> Richard Lynch wrote:
>>
>> You can't upgrade somebody's stupid IE browser to Mozilla just by sending
>> them a new User-Agent header, no matter how attractive a solution it
>> might seem :-)
LOL sounds like having a supermodel pic sticked on the face of any girl
you don't like :) Or
ðÒÉ×ÅÔ!
1LT John W. Holmes wrote:
> How about
>
> SELECT * FROM table WHERE $current_shot BETWEEN start_shot AND end_shot
*if* that was on Oracle *and* the table was big you'd notice that your
performance goes down. Don't ask me why. And I never checked it on
MySql. But watch out for betweens
ðÒÉ×ÅÔ!
Martin Clifford wrote:
> Firstly, you should ALWAYS use an encryption algorithm for passwords.
> For my site, I used md5() and match with that.
> That way, even if someone does get a hold of the encrypted password,
it's not in their best interest
> (or maybe it is, if they're bored) t
ðÒÉ×ÅÔ!
[EMAIL PROTECTED] wrote:
> You see that all entries are not unique.So i want to list as output all entries but
>only once.If the word "Dark" is in the table 6 times php should output dark only 1
>time.
> How should i solve this problem ?
select distinct
and RTFM
:)
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉ
ðÒÉ×ÅÔ!
gEdit rulez! :) well, I seldom make files any bigger than a couple of
scrolls, so... much depends on your programming style. And habits.
But I am with Uwe. Nothing like a plain text editor.
Maybe I am just too old to understand novelty LOL
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
@-_=}{=_-@-_=}{=_-@-_=}{=_-
ðÒÉ×ÅÔ!
when your instances contain references and you prepare ther references
in the constructor, you should remember to call the *new* function with
an &.
Otherwise all you get is a copy, and all the references you prepared are
invalid.
use *new and all you trouble vanishes away :)
ÐÏËÁ
á
ðÒÉ×ÅÔ!
>
> class test {
> function test() {
> $globals['test2'] = &$this;
> }
> }
>
> $test1 = new test();
>
> ?>
>
> The problem hier is that $globals['test2'] is a copy of $globals['test1'] not a
> references.
It is, but you are looking in the wrong direction. the co
ðÒÉ×ÅÔ!
[EMAIL PROTECTED] wrote:
> hi all,
> (yes it's me again)
> i've got an other problem.
> i've got an login system, and it has to put an cookie, but it seems he
> doesn't do it.
1) users may block your cookie.
2) browsers (they often do) may not respond properly to a setcookie()
comma
ðÒÉ×ÅÔ!
Calvin Spealman wrote:
> if (!$page=="datetime") // Not using index.php
> {
> include("header.php");
> }
> ?>
>
> this code works when datetime.php is included by index.php, but on its
> own the script just outputs . Even ignoring
> the xhtml code outside the php
ðÒÉ×ÅÔ!
in PHP we have a set of comparison operators going like
$a == $b (has same value)
$a === $b (has same value and type)
shouldn't we have also something like
$a =&= $b (is same instance)?
Maybe we already have it and I just don't know about it. Is that so?
Because of the copy/reference m
ðÒÉ×ÅÔ!
Phillip S. Baker wrote:
> Now if that is cool, how would I get the data into the downloaded.xls
> file to have this work?
1) Save the data as a comma-separated list (pap.data.csv).
2) make an excel macro that will load it into a preexisting sheet and
treat it
3) put the macro as the au
ðÒÉ×ÅÔ!
Brian McGarvie wrote:
> we should make a script that constantly emails him single characters and all of us
>run it in a back ground process ;)
He is lucky we have all to much to do in our lives anyway :) But if
anyone has got spare time... the guy's mailbox (unlike most russian
public
ðÒÉ×ÅÔ!
Daniel Negron/KBE wrote:
> Is this retaliation ?
People are so stupid they cannot even understand that we will simply
filter him out of our mail right to trash bin :) I'm just sorry Mozilla
is missing an autoresponder. I would have him mailed back with some
HUUGE .doc any time he writ
ðÒÉ×ÅÔ!
Patrick Teague wrote:
> Hello,
>
> Considering all of this... Would it be better simply to turn
> register_globals = On if the vast majority of the stuff you have on your
> site is simple search engine type stuff and/or GET variables?
Well, such stuff needs NOT security, nedless to say
ðÒÉ×ÅÔ!
Chris Earle wrote:
> Thank you for the reply (I don't speak or read Russian if that's what that
> other stuff is).
It is, but it's nothing more than "hello" and my signature, so you did
not miss any basic content :)
> I forgot to mention that the server is a Win2k server with
> IIS 5
ðÒÉ×ÅÔ!
IMHO java is to be avoided. fullstop. Still, it might be unavoidable
from a commercial point of view. In that case, you should avoid being
involved in the project and let the marketing dept have their fun on
their own.
There's a lot of pleasantly paid jobs that won't kill your nerves
ðÒÉ×ÅÔ!
Varsha Agarwal wrote:
> Hi,
> Can anyone tell me what a cookie is in simple language
> with an example??
> -Varsha
A web connection is made by two machines:
1) the server, where the site is
2) the client, that is, the machine at which sits the user
Once the client sends a request fo
ðÒÉ×ÅÔ!
Marek Kilimajer wrote:
> This won't work, you must register it within a session, just remember to
> declare the class befor session_start()
This can be pretty risky if your object contains references to external
objects. Works okay for insulated instances, though. Yet I would suggest
ðÒÉ×ÅÔ!
Alexander Ross wrote:
> If $this is an object, can I have the following link?
>
> Process
>
> Will the URL become too long? Will teh info get passed correctly? thanks
>
99% you are right, it will definitely be too long for a GET. Besides,
before writing the process_this.php?this=$th
ðÒÉ×ÅÔ!
Chris Earle wrote:
> So my question is this: how do I get my script to have permissions to write
> or append to any file?
Ask your sysadmin (I can almost bet the answer will be NO, I have to
tell you).
Apache should be running on your system as user nobody, and most
probably does NOT
ðÒÉ×ÅÔ!
PeterV wrote:
>> Warning: Invalid content of \{\} in
>> /home/httpd/includes/fasttemplate.class.php on line 199
You are on windows, aren't you? I remember seeing such a thing some two
years ago. It vanished after php reinstallation. After that I did the
right thing and had microsoft
ðÒÉ×ÅÔ!
Hopp3r wrote:
> I have installed PHP4.2.1 and when I open a browser to look at a test php
> page? all I see is the php code, not the output of phpinfo(). I know it is
> something small that I have overlooked. Can someone help? Please???
>
Yes, you forgot reading the instructions :) You
To the *list* *maintainers*: this guy says he is registered but cannot
write to the list. So he wrote me in instead.
úÄÒÁ×Ï! (it's like that, right?)
Djurovski Dejan wrote:
> $aDBLink=@mysql_connect("$host", "$user", "$password");
> mysql_select_db("$db", $aDBLink);
you might want to take the
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> I tried EUC-JP and ISO-2022-JPand neither worked. Ah well ... so much
> for a nice idea quick hack to displaying multiple charsets at once.
They should. I checked out w3c.org at that and it definitely should. No
exception for japanese mentioned anywhere
ðÒÉ×ÅÔ!
>
> 2 : 111??1235
>
language codes are
zh = chinese
ko = korean
ja = japanese
the charset codes must be fully specified, such as
ISO-2022-JP (the one you are using yourself)
SHIFT-JIS
EUC-JP
otherwise it will make no sense to your browser. Usually looking at wh
ðÒÉ×ÅÔ!
> Can you explain that SPAN thing a bit more. You said to use:
>
> your text
>
> I can understand the charset param but what is the lang param used for?
Basically it might even be useless. But id does not harm to use it. Like
this:
this text uses the header charset language setti
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Don't know the answer to your question exactly but how about
> transforming all user input into something like unicode/UTF-8 (or
> UTF-16) and *then* putting it into the DB?
>
> That way all the DB input has the same charset.
That was my first idea, ye
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Found my problem.There was no problem. I was trying to test my code by
> displaying the INPUT and OUTPUT in a web browser. I forgot to realize
> that my input and oupts were in different encodings.
>
Now THAT'S NEWS! :) Okay, just put the SPAN thing arou
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Worry and worry a lot ...
I already do :( The most terrorizing thing is that desolating "There are
no user contributed notes for this page." that appears almost on every
function in the online manual.
And the fact that there is no pointer for people in
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Alberto Serra wrote:
>> I hope you mean one charset per language. Otherwise I can just cancel
>> POstgres from my list of usable engines. But yes, it can't be just one.
>
> I'm no pgsql expert but I think that yes, it w
ðÒÉ×ÅÔ!
> Jean-Christian Imbeault wrote:
>> My page is always in the same charset, the problem is that the user
>> input might not be ...
Okay, I went thru a bit of docs on the japanese multibyte problem and
got some surface understanding of the problem. Yes, since char
dimensions are going to
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Impossible, though it would be nice. Postgres can only accept one
> charset for it's input not multiple.
I hope you mean one charset per language. Otherwise I can just cancel
POstgres from my list of usable engines. But yes, it can't be just one.
>> *c
ðÒÉ×ÅÔ!
Manuel Lemos wrote:
> Hello,
>
> On 07/08/2002 06:56 PM, Cm wrote:
>
>> I have a medium sized project that I'm started in PHP and mySQL. I
>> think an
>> object-orientated approach may be the best to reduce the amount of code.
>> My question is if I'm using PHP should I even try to do
ðÒÉ×ÅÔ!
As for deciding what your user language/charset requests are (in terms
of his/her browser settings) you might use this function
// this function remains unchanged. It returns an array
// 0 : negotiated charset
// 1 : negotiated lancode
function negotiated_langset()
ðÒÉ×ÅÔ!
Jean-Christian Imbeault wrote:
> Warning: PostgreSQL query failed: ERROR: Invalid EUC_JP character
> sequence found (0x8140) in /www/htdocs/test.php on line 31
>
> So I assumed that I should first convert user input into EUC-JP.
Now, let's make sure we have a clear background:
1)
ðÒÉ×ÅÔ!
Scott Fletcher wrote:
> Can the $_REQUEST be trusted?? The documentation said it is the combination
> of $_GET, $_POST, $_COOKIE & $_FILE. If the PHPSESSID is found in
> $_REQUEST, I can tell it is from $_COOKIE. I wonder if the PHPSESSID can be
> stored into $_REQUEST if hte $_COOKIE
ðÒÉ×ÅÔ!
Peter wrote:
> I think a mailing list would be ...
I think the basic question is WHERE this thing will be. HOW it works
becomes a secondary decision, once you know whether it makes sense to
spend time on the project or not.
IF php.net wants to add up a job-oriented location this makes
ðÒÉ×ÅÔ!
This is for Chris and Miguel and all the people who threw in infos.
I just wanted to thank you all :) It's been really useful, and yes
Chris, I guess you should post an explanation of the process somewhere.
Most of us are prepared to use HTTPS but we can hardly explain our
customers (
ðÒÉ×ÅÔ!
has anyone been using MING extension in a production environment? Is it
robust?
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
--
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe A
ðÒÉ×ÅÔ!
>> Chris Shiflett wrote:
> it is very misleading and would indicate that I
> have very little knowledge about PKI systems,
Come on, nobody here would ever think of that. Especially since most of
us (put me as first one in the list) should know much more about PKI
ourselves before jud
ðÒÉ×ÅÔ!
> I've tried with create function, for example:
>
> function flip($f,$arg) {
> return create_function('$y','return '.$f."($arg".',$y);');
> }
>
> But if you use flip("foo",$o1) where o1 is an object then it won't work.
Never tried that on Haskell coding, but it did solve most of my t
ðÒÉ×ÅÔ!
Mark Charette wrote:
> LIMIT was not included in the SQL92 SQL standards and very few vendors
> implement all of SQL99; the use of ANSI standards to promote "portable"
> programs has always been beset by this kind of problems.
Yes, and vendors just love to have proprietary standards to p
ðÒÉ×ÅÔ!
andy wrote:
> sorry maybe I did explain it not good enough.
>
> The problem is that if a user has entered data in form 2 goes back to form 1
> and forward to form 2 again, the data he entered once in form 2 is lost. And
> I do not find a way how the get the data out of form 2 because th
ðÒÉ×ÅÔ!
andy wrote:
> Everything works fine exept of error handling. Which means if a user wants
> to go back from step 2 to one and has already filled in some data in site 2
> he will loose this data for sure. It is not possible to transport the data
> via get anymor because the text is way to l
ðÒÉ×ÅÔ!
MG Lim wrote:
> has anyone met with this problem.. using IE to submit multipart forms. in
> text fields if there is "&" ... all text after it will disappear..quite a
> nuisance when submitting
yes, all dangerous chars should be substituted. Like " for the "
symbol. It's not just IE, it'
ðÒÉ×ÅÔ!
andy wrote:
> One Form has a textfield, I submit it to another html site where there is
> another form with a textfield. Inside this textfield I place a hidden field
> with the value of the field from page 1 then I submit to the actual php site
> inserting the values into a db.
So, let's
Tony Harrison wrote:
> Hi. I please need some help with converting a MySQL timestamp into something
> easily read. Any help at all is most appreciated, thanks.
>
ðÒÉ×ÅÔ!
use DATE_FORMAT. (it's a MYSQL function, not a PHP one). Look for it in
the online MySQL manual.
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
--
ðÒÉ×ÅÔ!
I forgot to add:
SELECT
extract('year', time),
extract('month', time),
count(*) as monthly_views
FROM
visitors
group by
extract('year', time),
extract('month', time)
order by
monthly_view desc
limit 1
I take it that you have a *monthly_view* column in your table
ðÒÉ×ÅÔ!
> I can't figure out what is wrong with this:
>
> $query = "select count(*) as monthly_views from visitors group by
> extract('year', time), extract('month', time) order by monthly_view desc
> limit 1";
AFAIK this is no ANSI SQL, which is why is not portable. Your query
should really
Naintara Jain wrote:
> this is of course, keeping in mind, that your backend (database data) is not
> changing every few seconds. If you are dealing with dynamic data, such that
> the list options might be changing at every moment then you would need the
> latest database data and PHP would need t
Jeremy Bowen wrote:
> Hey,
>
> I have looked in PHP manual but I cannot seem to find what I am looking for.
>
> I have a very large form that I need to be able to mail. I just don't want
> to have to code all of the field into my mail() function.
>
> Thanks,
>
> Jeremy
>
>
ðÒÉ×ÅÔ!
*IF* the
ðÒÉ×ÅÔ!
> an image of brintney spear and a text on it telling the user to click on
> sounds appealing to you? ;)
LOLOL yes, something like that :) when the second execution fails (that
is, the refresh META sends back no data on the POST channel) we show the
user a form with the local logo,
ðÒÉ×ÅÔ!
Peter Goggin wrote:
> Can this be done using only PHP or do I need to use Javascripts?
managing this in PHP should be considered *only* when jscript is not
available. It's a matter of load distribution.
When doing client server applications (like the web is) you shall always
remember
ðÒÉ×ÅÔ!
Shiloh Madsen wrote:
>
> $LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass);
> if (! $LoginDB) {
> print "Unable to connect to the database server at this time.";
> exit();
> } else {
This can be just:
$LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass) or die('Unable to
connect t
ðÒÉ×ÅÔ!
B.C. Lance wrote:
> hm... how about sticking couple of iframes that will load the piece of
> javascript and have each of the javascript in the iframe firing at
> different time? i suppose at least 1 copy of javascript will be there to
> do the intended work.
I realize I was being obsc
B.C. Lance wrote:
> you might wanna fire that javascript using onload from the body tag.
> that kinda assure the page is loaded successfully before the event takes
> off.
ðÒÉ×ÅÔ!
It is there already. My problem is to do it something that will save my
*ss in case jscript is *NOT* there. So it
B.C. Lance wrote:
> not from meta refresh. but javascript could do that. set a timeout that
> will fire the submit event after 2 seconds. that will work.
>
> b.c. lance
>
ðÒÉ×ÅÔ!
I already have that and it works fine. The problem is when jscript is
not working (or missing). I was trying to b
ðÒÉ×ÅÔ!
I detach this from current thread as it has nothing to do with it :)
now:
ðÒÉ×ÅÔ! means "hello" (pronounce "preevjet", accent goes on je)
ÐÏËÁmeans "bye" (pronounce "paka" accent on last a)
The rest is just my name (Alberto, I am italian as of original
nationality) and the
ðÒÉ×ÅÔ!
Sorry, I forgot writing a intelligible subject on previous posting :( So
I repeat.
Probably a stupid question. Is there anyway to force POSTing a form from
the refresh META?
IMHO that is NOT possible, but maybe I am wrong.
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
--
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=
ðÒÉ×ÅÔ!
Probably a stupid question. Is there anyway to force POSTing a form from
the refresh META?
IMHO that is NOT possible, but maybe I am wrong.
ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
--
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M
ðÒÉ×ÅÔ!
Chris Shiflett wrote:
> Richard,
>> Do you really believe that for $200 (or $119, or $500) that they "proven"
>> themselves trustworthy?
LOL no, I don't. As a matter of fact crooks usually have more money in
their pockets than honest people do, so it's highly possible that a
crook will
ðÒÉ×ÅÔ!
Jamie Novak wrote:
> http://myserver/index.php?dir2=somedirectory
>
> In 4.1.2, if I echo $dir2 at the beginning of the script just for
> testing, it will echo the value of the variable without issue. In
> 4.2.1, the variable never appears to get set at all, although it does
> show up j
ðÒÉ×ÅÔ!
Pekka Saarinen wrote:
> Also, many virtual hosts share MySQL server(s), so offering a choice to
> use PHP for pagination and sorting on "own server RAM/CPU" may by
> beneficial. I also believe that anything that produces less load to
> MySQL is good.
Absolutely true. First time a cust
Balaji Ankem wrote:
> I have multiple check boxes ...and I gave the single name to all check
> boxes.
>
> If I post to my php script I am not getting all the values as an
> array.I am getting only one value(last value).
Correct. Since they are all named in the same way, the last one
ðÒÉ×ÅÔ!
Greg Scotts wrote:
> $to #
> $from #
> $subject #
> $message #
> mail($to, $from, $subject, $message)
It always worked for me... you obviously checked variable content, did
you? And I am not sure I got you right. Mail gets sent, it's just the
sender address being wrong?
> Also, i was
ðÒÉ×ÅÔ!
Doing multiligual sites presumes you can somehow understand what the
client expects from you. Browsers all are full of language settings,
but... The HTTP specification is very little language negotiation
oriented in itself (this is probably a consequence of its having started
out in a
1 - 100 of 132 matches
Mail list logo