Genius! Thank thank thankyou!
If I wasn't well rested I'd kiss you. Or more appropriately, I'd kiss the
person that programmed that function in the first place...*rubs hands*
Oh the fun I'm going to have figuring a way to actually use this for
anything other than mail()...
--
Plutarck
Should
Doesn't either just "\r" or just "\n" work?
Then again I've never tried using them, but I can't imagine that newline and
carriage return doesn't force a new line.
You could always send an HTML mail and use br instead?
--
Plutarck
Should be working on something..
functions up to 4.0.4pl1, and supports the vast
majority of functions in 4.0.5, even though it isn't even out yet! Haha!
And when I finally figure out how to install a new version of PHP, I might
just update it too if I missed anything ;)
--
Plutarck
Should be working on something...
...but forgot
I usually declare $db as global in the function, so I can just execute the
function and continue with my querys.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Kurth Bemis" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
The ones that started talking to me half-way through.
I'd like to give a shout out to 346, 789, and 1747, and blue function#9.
*twitch*
--
Plutarck
Should be working on something...
...but forgot what it was.
""Johnson, Kirk"" [EMAIL PROTECTED] wrote in message
[EM
Unfortunately I can't find an option to make them all display on one page,
or an option to make them easy to cut and paste so I can run them past my
PHP script.
So I'd have to manually compare the two lists...lmao
--
Plutarck
Should be working on something...
...but forgot what
other than the two I currently have.
So I'm totally confused, and out of the whole mysql manual I just don't know
what's wrong.
So the question:
What kind of selections do I need to make to create an AUTO_INCREMENT
column?
--
Plutarck
Should be working on something...
...but f
d the only time you can know it is bad is when someone complains
about it.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Josh McDonald"" [EMAIL PROTECTED] wrote in message
002601c0be26$e0b559f0$f897093d@gfunkxshb7wjkd">news:002601c
First use session_register(). Then give the variable a value.
So just rearrange your code, like this:
?php
session_start();
$SID = date("Y F j H:i:s");
session_register("SID"."fillista");
$fillista = "fillista.xml";
print "SID=".$SID;
?
lobal is used inside of
functions and classes, not in an "non-nested" piece of code.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jacky"" [EMAIL PROTECTED] wrote in message
004001c0bbb3$bada9080$[EMAIL PROTECTED]">news:004001
e you find the answer.
You might want to try compiling it with either an older version of GD, or of
PHP, just so you can drill down which part of the setup is giving you the
errors.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Alex Bloor"" [EMA
regex in some instances. It
still looks like pure garbled insanity, but it's a useful skill :)
--
Plutarck
Should be working on something...
...but forgot what it was.
""elias"" [EMAIL PROTECTED] wrote in message
9ah709$17p$[EMAIL PROTECTED]">news:9ah709$17p$[EMAIL
...
--
Plutarck
Should be working on something...
...but forgot what it was.
""Knut H. Hassel Nielsen"" [EMAIL PROTECTED] wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Thu, 5 Apr 2001, Plutarck wrote:
I was wondering what the hell language that was...still t
session_unregister must take the name of the variable to kill. So:
session_unregister("test");
does the job.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jacky@lilst"" [EMAIL PROTECTED] wrote in message
008701c0be0f$21dd1de0$[EMAIL
be capable of doing
all this much more efficiently than someone who's playing around with it.
But how many people make a hobby of that? ...better to keep that rhetorical.
--
Plutarck
Should be working on something...
...but forgot what it was.
""James Moore"" [EMAIL PROTECT
ams around, and you can certainly
figure out a way to make PHP work with those, but that's about all you can
do.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Tim Legg-Bagg"" [EMAIL PROTECTED] wrote in message
001001c0bdc7$e63a5ce0$f062893e@tim"&
Correct line:
setcookie ("user_reg[1]" , "$pass_w", $lifetime, "/",
".mydotcom.com");
Now look at this line:
setcookie ("user_reg[2]" , "$full_name", $lifetime, ".mydotcom.com");
Don't you just hate it
with other applications, without loosing any real
functionality.
So it's annoying at times, but with just a switch-aroo of the functions you
are using, you can do the same stuff.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Krznaric Michael" [EMAIL PROTECTED] wro
there is a programmer with the will and the way
to completely f^#@ it up. ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Joe Sheble (Wizaerd)"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This isn't qu
to use either one.
--
Plutarck
Should be working on something...
...but forgot what it was.
""PHP User"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Would opening a direct connection to sendmail be a bad thing to do in
terms of s
as before the function
adjusted it (when global is inside the function, that is).
But if you first declare it global THEN change the value, it works as above.
Kinda neet, I thought.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Lindsay Adams" [EMAIL PROTECTED] wrote i
r own http session, and you may be able to
use the CURL functions. But I really haven't a clue how, as I haven't yet
had the time to play with them much.
Maybe if it works, that's an easy way to do it...
--
Plutarck
Should be working on something...
...but forgot what it was.
"Jerry" [EM
Once you get the first line into an array, you can just use explode on \n,
or use a regex that searches for any group of characters that is not a
whitespace character, then stops searching once it's found it.
As Chris said, there are many many ways of doing it.
--
Plutarck
Should be working
The spammers that use a foreign language are kind of fun though. Let's us
use our imagination as to what they are saying.
And we have fun trying to find an online translator that can make sense of
it.
Or not.
--
Plutarck
Should be working on something...
...but forgot what it was.
"
.
Or maybe I just like abusing nested technology. Go figure.
Useful note:
. = current directory.
Alright, that wasn't that useful.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Chris Anderson"" [EMAIL PROTECTED] wrote in message
004001c0bbc8$cf44
un playing around with the possibilities, no matter how
intensive it'd have to be.
Does any other language have something exactly like this? Like Perl/C CGI,
ASP, or JSP? Or is this purely a question of web-server support?
--
Plutarck
Should be working on something...
...but forgot what it was.
or use a
redirect.
Which is why I killed all my echo/print calls in favor of a single function
which I include at the bottom of my script ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Christian Dechery" [EMAIL PROTECTED] wrote in message
[EMAIL PROTEC
_start("alter_buffer");
echo "hi! ";
echo "ho! ";
echo "he! ";
ob_end_flush();
?
Should output:
hi! ho! MWUAHAHA!
So as far as I know, at very least version 4.0.4pl1 supports Windows.
Haven't tried anything with the gzhandler yet, but I'm told it works fine as
the gzencode() function.
So if you are using an older version of PHP, you need to kill all the flashy
parts of my example (har har) and just use a pure ob_start() and
ob_end_flush calls.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Plutarck"" [EM
functions.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Jan Grafström" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi!
I want to read a textfile (cat, dog, rat,) and get it like this:
$namesArray = array("cat
://www.zdnet.com/downloads/stories/info/0,,000YBS,.html
I use it all the time when debugging an app that makes use of headers.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Geir Eivind Mork" [EMAIL PROTECTED] wrote in message
986371002.10286.3.camel@m
You get the source code itself.
Also if the webpage in question examines the browser of the requestor your
webserver may get different code than you would if you pulled it up in your
browser yourself.
--
Plutarck
Should be working on something...
...but forgot what it was.
"James Kne
When I said source code, btw, I meant the "html source code", not the
programming source code, lol.
Unless you can access the page through FTP, that is. In which case it
wouldn't be gained through apache, so it wouldn't be parsed.
--
Plutarck
Should be working on something...
...
If it's always in that format you could do an explode on "\n", then run the
regex on only the elements of the array you need to rip something from.
So you can build a much simpler and smaller regex to do your work.
--
Plutarck
Should be working on something...
...but f
(or at
least some people say that...I haven't really noticed), going out of your
way to develop under Linux rather than Win32 isn't all that justifiable. I
develop on Windows 98 and deploy under Linux, and I've never seen a problem.
The joys of platform independent programming languages ;)
--
Plutarck
to be able to set it only in the places you want it run
rather than making all output use it.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Christian Dechery" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
as I
.
Try having someone else test your site using a different browser. Try IE 5,
5.5, and the new version of Netscape. All with cookies enabled.
If your site still is appending to the url, then something else is wrong.
--
Plutarck
Should be working on something...
...but forgot what it was.
"
If your program does not explicitly set the content type header, then I
believe it is Apache which will send it automatically. So that may be part
of your problem.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Nikolai Vladychevski" [EMAIL PROTECTED] wrote
ntent"] == "spam")
{
ob_start();
echo $content;
ob_end_clean();
}
?
;-)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Knut H. Hassel Nielsen"" [EMAIL PROTECTED] wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROTE
but
it can be done...now don't you feel better? ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Jonathan Chum" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have one table on one database and another table on another
ell Formed or not.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Andreas Sisask"" [EMAIL PROTECTED] wrote in message
9afcdk$jug$[EMAIL PROTECTED]">news:9afcdk$jug$[EMAIL PROTECTED]...
I have a docdef.dtd file which defines a document. Now, if I
ires an opening "tag" and a closing "tag".
If it wasn't embedded, that would probably mean it had to be compiled in
some way.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Brandon Orther" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED
The closest I know of is using microtime at the start and end of a piece of
code to see how long it took.
You'll want to run the script through a loop, usually around 10 times at
least if it's not a big script, and then average together 10 tests.
--
Plutarck
Should be working on something
thwarts 99% of casual tinkerers, and an equal amount of script
kiddies, and it allows you to be really creative in your data validation,
plus you can screw with people's heads...which of course is the most
important function ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
You might want to use the following function:
http://www.zend.com/manual/function.mysql-db-query.php
--
Plutarck
Should be working on something...
...but forgot what it was.
"Michael Roark" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Do the same thing your doing, but insert the following after where it should
be set to see if it was:
print_r($HTTP_SESSION_VARS);
If it worked, you'll see it.
If not, you'll see it. Then you can progress from there.
--
Plutarck
Should be working on something...
...but forgot what
It's probably not the cause of your problem (I know little to nothing about
Interbase), but why the if... loop in your code?
Your if:
if ($val $NumCases)
does the same thing as your for:
for ($val = 0; $val $NumCases; ++$val)
Unless of course you wanted it that way...
--
Plutarck
a variable called $name which equals "Bob", then the
following will end up weird:
$name1 = $name;
session_start();
$name2 = $name;
session_start declares all session variables as global, and it over-writes
any pre-existing variables of the same name.
--
Plutarck
Should be working on someth
on_destroy to ensure all the variables go
either bye bye or become false.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jacky"" [EMAIL PROTECTED] wrote in message
019101c0bd20$afc1f120$[EMAIL PROTECTED]">news:019101c0bd20$afc1f1
Try using a print_r($HTTP_GET_VARS) and see what comes up.
It could be that PHP has been set not to turn GET/POST variables into
seperate values.
If so you'll need to use:
echo $HTTP_GET_VARS[testing];
--
Plutarck
Should be working on something...
...but forgot what it was.
"&q
malicious. Just because your paranoid doesn't mean
they aren't out to get you...
--
Plutarck
Should be working on something...
...but forgot what it was.
"Les Neste" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Correct me if I'm wrong, but
be all set.
If it's an older version of PHP you also need track_vars enabled, but in
4.0.3 and up it's automatically enabled.
--
Plutarck
Should be working on something...
...but forgot what it was.
""HK Woo"" [EMAIL PROTECTED] wrote in message
9aeb6e$ecn$[EMAIL PROTECT
very large tables.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Glenda Robalino"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
I have created my database in mysql in linux, but i nedd my aplication,
201 - 253 of 253 matches
Mail list logo