can't rely on your script always running, so
often it's best not to even bother.
Best to just use crontab with a timed script or use a completely different
solution for an 'always on' program such as one written in java.
Plutarck
Chris [EMAIL PROTECTED] wrote in message
009e01c0e2cf$1bf62e00
connection is using encrypted transfers
and not sending important data in clear-text.
Plutarck
Bass¨Ð¦õªv [EMAIL PROTECTED] wrote in message
9eilgb$mth$[EMAIL PROTECTED]">news:9eilgb$mth$[EMAIL PROTECTED]...
Hi
I have a question . At some website which have webmail serivce , they
won't
variables who's
value was 0:
$Name1
$Name2
$Name3
Variable variables are the way to go. They're so cool :) I wonder if Java
has anything like that...
Plutarck
Martin Thoma [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello !
I want to make a
Ahh, so you can use \\n within the regex itself...I was thinking that what
was capture in the regex itself wasn't available until the replace part.
Obviously that's not true ;)
Thanks alot, everyone! One problem down, all the other one's to go :)
Plutarck
Christian Reiniger [EMAIL PROTECTED
. ;)
Plutarck
Phil Glatz [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a page that displays a few lines, then runs a database query that
takes five or six seconds. I'd like to flush stdout and display the first
text while the query is run
The order is the order they are written in the html code.
I'm not aware of any way to make it otherwise...
Plutarck
Tarrant Costelloe [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What's the syntax for defining the tab order on a input box?
...and obviously I'm wrong ;)
Plutarck
Plutarck [EMAIL PROTECTED] wrote in message
9ee0bh$k0g$[EMAIL PROTECTED]">news:9ee0bh$k0g$[EMAIL PROTECTED]...
The order is the order they are written in the html code.
I'm not aware of any way to make it otherwise...
Plutarck
Tarrant C
don't know of it.
Plutarck
Chatchawan Boonraksa [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
Can PHP be used as a general scripting language other than in web?
Has anyone did this before?
I would like to embedded some kind of scripting in app
. There are no real dictators
who control the flow of PHP's future, which is how open-source is suppose to
be.
Plutarck
Frank Joerdens [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Mon, May 21, 2001 at 01:55:10PM +1000, Greg Wright wrote:
[ . . . ]
IIRC Rasmus
know why something isn't working, it's probably your fault.
(words to live by :)
Plutarck
Steven Haryanto [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
yes, i have discovered recently that php is not as fast as it
is hyped to be. don't get me wrong. php
Hmm...SID is a constant, and when it's set it is present in $GLOBALS.
But when I run this:
?php
define(CON1, Hi there!);
echo CON1;
print_r($GLOBALS);
?
...the constant exists, but is not present in $GLOBALS. Weird...anyone know
why this happens? (I'm using 4.0.5)
Plutarck
Alex Black
I believe it's
the magic_quotes_gpc option.
Plutarck
Mark Rogers [EMAIL PROTECTED] wrote in message
9eavif$dks$[EMAIL PROTECTED]">news:9eavif$dks$[EMAIL PROTECTED]...
If I submit a string to a script via GET which contains quotes, how should
they appear in my script?
Eg:
---
they be escaped? But escaping them
doesn't seem to work either...
So, what's wrong with the second piece of code that isn't wrong in the
first?
Thanks in advance.
Plutarck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
. But it's a good
idea to pretend that the default settings of PHP can't be changed, since
most people have those settings and you don't want your code to be system
dependent :)
Plutarck
Mark Rogers [EMAIL PROTECTED] wrote in message
9eb0sl$vvr$[EMAIL PROTECTED]">news:9eb0sl$vvr$[EMAIL P
it misses the first use of SCRIPT that I posted above, but it
catches the second one! And I don't know why! ;(
Plutarck
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
But I use PCRE functions, so I don't want to use ereg in one place
error_reporting (E_ALL ^ E_NOTICE);
http://www.php.net/manual/en/function.error-reporting.php
I personally change my php.ini setting to:
error_reporting = E_ALL ~E_NOTICE
Then at the top of my scripts which I want to debug I add the line:
error_reporting(E_ALL);
Plutarck
Tarrant
= 'www.example3.com';
header(Location: $url);
Obviously there are endless ways to do it, but that's the basic idea.
Plutarck
Sam Gooding [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is it possible to check multiple cookie values and then redirect to
on as an extra bit of security. You can never be too safe.
Plutarck
Boget, Chris [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Anyway, it's not a big thing if you're _really_ stringent about how you
check every single variable which is used in a databa
:
error_reporting(E_ALL);
...they'll probably see a whole bunch of ugly little warnings. Useful for
debugging, annoying as all heck for production code.
Plutarck
Tarrant Costelloe [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Whenever I use the ? if
to
finish before sending another, but not holding up your PHP program and
logging any errors to a log file. If I knew more about how sendmail worked
I'd write something like that in java :)
Plutarck
Tom Carter [EMAIL PROTECTED] wrote in message
000f01c0e120$0616e260$0a00a8c0@bjorn">news:000f
answer.
Plutarck
kaab kaoutar [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
do u have any interesting links about careting an intranet?
Thanks
_
Get Your Private, Free E-mail
to another line and replace single quotes with
double quotes, thus doing two searches rather than trying to do it all at
one time?
Plutarck
Christian Reiniger [EMAIL PROTECTED] wrote in message
01052120275102.00644@chrisbig">news:01052120275102.00644@chrisbig...
On Monday 21 May 2001 16:23, Plutar
*makes a note to develop a fully functional, system independent Slap class*
Slap.setStrength(getMaxStrength());
Slap.setTarget(getLocation(Microsoft Outlook));
Slap.slap;
*bows*
Plutarck
Jason Murray [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
if the browser is getting gzip
content?
Plutarck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
probably isn't the way to go. A Java Servlet
would probably be a more appropriate application for that.
But I don't think that's what you're wanting to do.
Plutarck
FredrikAT [EMAIL PROTECTED] wrote in message
9e6gud$eie$[EMAIL PROTECTED]">news:9e6gud$eie$[EMAIL PROTECTED]...
Hi!
for people at work/in foreign countrys):
https://www.safeweb.com/
Their triangleboy application of course doesn't use PHP as their server has
to spoof packets, but their online site uses it. And they're pretty huge,
showing that PHP really can handle high-load websites.
Enjoy,
Plutarck
--
PHP
the same data?
Thanks in advance of my other thank yous,
Plutarck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I reccommend looking around sourceforge.net for current PHP BB projects, and
if you find something like you want you can join that project, or you can
just create your own project and thus allow people to join in the creation,
should they so choose.
Plutarck
nicholas [EMAIL PROTECTED] wrote
not, but it's all I can see at the moment.
Plutarck
Manuel Román [EMAIL PROTECTED] wrote in message
9e06qr$pmq$[EMAIL PROTECTED]">news:9e06qr$pmq$[EMAIL PROTECTED]...
Hi,
How I can save the below string???
I try concatenate, but when I try with echo or print not display
nothing.
The reason you're getting the undefined variable warning level is because
your error reporting level which is set in php.ini or explicitly in your
code is set to spit out warning, so you'll want to change that before doing
anything other than just testing.
Plutarck
Tarrant Costelloe [EMAIL
which are not declared as global in your
function. Add this line at the top of your function:
global $pass, $username;
See if that fixes it.
Plutarck
Greg K [EMAIL PROTECTED] wrote in message
9e0bfs$fld$[EMAIL PROTECTED]">news:9e0bfs$fld$[EMAIL PROTECTED]...
I am creating a functio
that probably isn't
your problem.
Try the function that gets how long your timeout is set to (can't recall the
name atm) before and after you set it and see what it says.
Plutarck
JFL [EMAIL PROTECTED] wrote in message
9e0bga$g7t$[EMAIL PROTECTED]">news:9e0bga$g7t$[EMAIL PROTECTED]...
When
Can't.
PHP can't make the browser do much of anything. To clear the cache the user
will have to do it themselves.
--
Plutarck
Should be working on something...
...but forgot what it was.
mohammed oda [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi
persistant connections are not so wonderful that everyone
should use them in every instance. You'll have to judge on a case by case
basis.
--
Plutarck
Should be working on something...
...but forgot what it was.
elias [EMAIL PROTECTED] wrote in message
9c3fi6$edm$[EMAIL PROTECTED]">new
if formed from the void,
like utensils from a block of wood.
The Master knows the utensils,
yet keeps to the block:
thus he can use all things.
--
Plutarck
Should be working on something...
...but forgot what it was.
SED [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
/dispVirus.asp?virus_k=98881;
Gotta hate when that happens.
- end old message -
--
Plutarck
Should be working on something...
...but forgot what it was.
Padraic Tynan [EMAIL PROTECTED] wrote in message
008701c0cd05$a0e274a0$[EMAIL PROTECTED]">news:008701c0cd05$a0e274a0$[EMAIL P
activate their account without a valid email, that doesn't stop them from
giving a clearly invalid email address. Go figure.
The answer comes down to don't even bother to be clever. It will just
slowly drive you insane.
So the moral of the story is: verify, verify, verify.
--
Plutarck
Should
How do you mean, check? Do you want to use a regular expression to see if
it's a valid URL, or do you want to open a connection to it and see if the
site actually exists?
--
Plutarck
Should be working on something...
...but forgot what it was.
Dmitry [EMAIL PROTECTED] wrote in message
[EMAIL
You can also use the strlen() function.
--
Plutarck
Should be working on something...
...but forgot what it was.
Jimmy Bäckström [EMAIL PROTECTED] wrote in message
000a01c0cd06$351f1060$[EMAIL PROTECTED]">news:000a01c0cd06$351f1060$[EMAIL PROTECTED]...
Hey guys!
I'm writing a g
their password
through the url of a non-SSL page for security, but you shouldn't do that
anyway.
That's the only browser side encryption that all browsers support.
--
Plutarck
Should be working on something...
...but forgot what it was.
Jason Mowat [EMAIL PROTECTED] wrote in message
9c1rja$5kp$[EMAIL
, but in practice PHP handles unquoted strings with echo just fine.
Could be a bug, but I doubt it.
Furthermore, the above loop is always true, even if MY_TYPE has not been set
to a value. Now that should be (and probably is) a bug. But what do I know
:)
--
Plutarck
Should be working on something
fully featured type deal though, and the above works
only for SELECT statements in MySQL.
--
Plutarck
Should be working on something...
...but forgot what it was.
Brandon Orther [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I recently took an
about them.
--
Plutarck
Should be working on something...
...but forgot what it was.
Christopher Allen [EMAIL PROTECTED] wrote in message
00c001c0cc24$e90ff540$[EMAIL PROTECTED]">news:00c001c0cc24$e90ff540$[EMAIL PROTECTED]...
Greetings:
Anyone have a clue as how to send an icq
Goody, a virus. LOL
Note: According to the Virus scanner used on php.net (or on the mailing
list. whichever) Emanuel.exe is a virus. Here is the URL for information on
it:
http://vil.mcafee.com/dispVirus.asp?virus_k=98881;
Gotta hate when that happens.
--
Plutarck
Should be working
to in
your script at some point before doing anything with it. So if you use $sql
be 100% sure that it has been set $sql explicitly in your code before doing
anything with it.
--
Plutarck
Should be working on something...
...but forgot what it was.
Greig, Euan [EMAIL PROTECTED] wrote in message
[EMAIL
-around, and it isn't a good one.
So is there ANY way to get the name of the object in PHP code without
knowing the name of the object ahead of time?
I'm really stumped!
--
Plutarck
Should be working on something...
...but forgot what it was.
--
PHP General Mailing List (http://www.php.net
other such existing function in any language? :(
--
Plutarck
Should be working on something...
...but forgot what it was.
Plutarck [EMAIL PROTECTED] wrote in message
9c21ks$cp$[EMAIL PROTECTED]">news:9c21ks$cp$[EMAIL PROTECTED]...
I've been using a function to output HTML to the user's
');
Then in your code you just use ${$pge}- to refer to it.
Sucks, doesn't it?
--
Plutarck
Should be working on something...
...but forgot what it was.
Boget, Chris [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
So is there ANY way to get
Try mkdate. You'll have to make sure it's in a format it knows, but it
works.
--
Plutarck
Should be working on something...
...but forgot what it was.
Stuart Rees [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Please can someone tell me there i
a weensy bit easier to debug.
--
Plutarck
Should be working on something...
...but forgot what it was.
Nikhil Goyal [EMAIL PROTECTED] wrote in message
9c27h6$ift$[EMAIL PROTECTED]">news:9c27h6$ift$[EMAIL PROTECTED]...
Yes, that is a sound approach. However I've checked it again, and again,
an
and ensure all the fields are getting
filled out like you expect them to. It happens all the time that by using
View Source I find what my problem was.
--
Plutarck
Should be working on something...
...but forgot what it was.
Angerer, Chad [EMAIL PROTECTED] wrote in message
Or it could be RC8 that will be the last one :)
Then again, that's why it's called an RC (Release Candidate...or something
similar). Nice to know that when you get a new version it's been hammered to
death to squish all the latent bugs. Unlike some people...*cough*
--
Plutarck
Should
if
for no other reason than it's confusing. It got a weird look from me...not
that that makes it very unusual...
--
Plutarck
Should be working on something...
...but forgot what it was.
Rene Maldonado [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi I think
/manual/en/features.error-handling.php
--
Plutarck
Should be working on something...
...but forgot what it was.
Brandon Orther [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
You can put a @ in front of you function. Example
?
@function(Test);
?
-
This works:
$str = 'IMG ALT=Tools BORDER=0 HEIGHT=55 SRC=images/headers/tools.gif
WIDTH=455';
echo eregi_replace(IMG.+SRC=\images/headers.*, Replaced, $str);
--
Plutarck
Should be working on something...
...but forgot what it was.
Erica Douglass [EMAIL PROTECTED] wrote in message
[EMAIL
Write to MySQL (last logged in) ?
Best, fastest, least error causing way. Yes.
--
Plutarck
Should be working on something...
...but forgot what it was.
FredrikAT [EMAIL PROTECTED] wrote in message
9c19n1$li2$[EMAIL PROTECTED]">news:9c19n1$li2$[EMAIL PROTECTED]...
Hi!
I have users
The eregi_replace syntax would be:
$string = eregi_replace(.*Wish(.+)numbers, \\1, $page);
It should be noted that I prefer preg_replace, but that's neither here nor
there.
That _should_ work. It looks fine to me, but test it out to make sure.
--
Plutarck
Should be working on something
Try switing the modifier to e. E is not a supported modifier according
to the manual. Only the following are supported:
i
m
s
x
e
A
D
S
U
X
If you are trying to match a $ in your code, just use a backspace to escape
it. But I don't think that was your problem...
--
Plutarck
Should be working
Any data can be sent to the viewer's browser using print or echo in PHP.
From then on you'll need javascript to do any conditional displaying once it
hits the user's browser.
--
Plutarck
Should be working on something...
...but forgot what it was.
Dmitry [EMAIL PROTECTED] wrote in message
impossible. Preserving complete
compatibility would be little more than a big speed-bump in the road of
progress, so to speak :)
Then again, it's easy for me to not complain because I started learning on
PHP4, hehe.
--
Plutarck
Should be working on something...
...but forgot what it was.
S.J
One way is to use a cron job to handle the account adding from a text file,
which PHP will write the data into.
Since the cron job will use only the account name and password the user
submitted it's much less of a security risk.
--
Plutarck
Should be working on something...
...but forgot what
ey'll make some graphics for you.
Also check out a program called IconToy, which rips out graphics from
windows programs.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Geir Eivind Mork" [EMAIL PROTECTED] wrote in message
01042216125503.05150@maria">new
When you are using that on your site, what basically happens is that you are
trying to open an FTP session with yourself. Not too efficient.
So just kill off the url and use the path to your file.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Joer
.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Tim Thorburn" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I have a PHP script that I wrote several months ago which allows a user to
enter information int
Personally I like to use mt_rand() rather than rand() as it's billed to be
faster and more random than plain old rand().
Kind of makes me wonder why they haven't just replaced rand() with
mt_rand()...
"seed" requires srand() for rand() and mt_srand() for mt_rand().
--
Pluta
Not enough "}".
Change it to:
?php
echo "starting...";
if ( mysql_connect("localhost","php","php") )
{
echo "ok";
} else
{
echo "error!";
}
?
--
Plutarck
Should be working on
applet to pieces in no
time.
In other words, it's next to impossible to keep someone from downloading one
of your pictures. The only way to restrict it is to just use the images on
pages that only authorized users can see.
--
Plutarck
Should be working on something...
...but forgot what
r Limewire and other 100% java apps I've tried.
I was just wondering if it's just my machine, or because I use the windows98
VM, or if everyone experiences the same thing.
I'm guessing the horrendous starting load time is native to java, but at
least it runs ok once you get the thing to start.
--
Pluta
Short answer: no.
If you can't just put your error information before you write information to
the screen you will need to use the ob_* family of functions. Clean the
information you've printed so far, then just print out the error information
to the screen.
--
Plutarck
Should be working
rogrammer ;)
Just remember: Square Peg, Square Hole.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jason Caldwell"" [EMAIL PROTECTED] wrote in message
9bq8h0$n78$[EMAIL PROTECTED]">news:9bq8h0$n78$[EMAIL PROTECTED]...
If I know PHP will I *
tempted to login (even if you do
that anyway, it's a good idea not to bother with something like if
(!$PHPSESSID)).
--
Plutarck
Should be working on something...
...but forgot what it was.
"Scott" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Doe
RTFM
...there, feel better now? *always happy to help* :)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Joseph Koenig" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Right on. That did it. I probably should
If you're a masochist I
suppose you could play around with mktime() :)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Richard"" [EMAIL PROTECTED] wrote in message
9bpbf3$fc$[EMAIL PROTECTED]">news:9bpbf3$fc$[EMAIL PROTECTED]...
Greetings. (
really ugly that way.
--
Plutarck
Should be working on something...
...but forgot what it was.
""nicuc.ac.jp"" [EMAIL PROTECTED] wrote in message
9bp4n3$7uk$[EMAIL PROTECTED]">news:9bp4n3$7uk$[EMAIL PROTECTED]...
I use session in my Shopping cart program.
start with
, as a new sessid with the same
number would be created right then.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Maxim Maletsky" [EMAIL PROTECTED] wrote in message
DC017B079D81D411998C009027B7112A015ED114@EXC-TYO-01">news:DC017B079D81D411998C009027B7112A0
rather than using time(), try using one of the GMT time functions.
Check under date/time in the manual, which is the same section that time is
under.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Chi Wa Au"" [EMAIL PROTECTED] wrote in mess
scripts use to keep things simple.
I haven't used a tag other than p, /p, and br in weeks.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Duke"" [EMAIL PROTECTED] wrote in message
002301c0c87d$9f1e3c80$[EMAIL PROTECTED]">news:002301c0c8
echo $stuff[nuts];
It should work, but it's becomg a depreciated practice and may break in
future versions. Always quote a non-numeric array key.
Beyond that, use print_r($array) and see if there is a "nuts" key in there
at all.
--
Plutarck
Should be working on something...
...
to hex values unless you absolutely _have_ to use the names.
If you have problems with hex, use this:
http://www.visibone.com/
Great collection of tools to fine the exact color you want.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Pavel Jartsev" [EMAIL
than just stuff them all inside a
double quoted string.
Not that it would really effect you much unless you had a hugely long script
though.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Greig, Euan"" [EMAIL PROTECTED] wrote in message
[EMAIL PRO
are under an utterly
immense server-strain.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Nashirak Bosk" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a php file with a lot of user defined funtions and
that style.
I just think it's easier to follow and clearer, but I understand why some
people don't like them. I use to hate them...until I started using them :}
--
Plutarck
Should be working on something...
...but forgot what it was.
""..s.c.o.t.t.. [gts]"" [EMAIL PROTECTED] wro
ied ranges.
But I don't know of it's specific existance.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jason Caldwell"" [EMAIL PROTECTED] wrote in message
9bnos3$flm$[EMAIL PROTECTED]">news:9bnos3$flm$[EMAIL PROTECTED]...
is there a wa
; has the value "on"';
} else
{
echo "The checkbox with the name "id" was not selected";
}
But if register globals was on, all you have to use is:
if ($id == "on")
{
echo 'The checkbox with the name "id" has the value "on"';
}
RTFM (ReadTheFineManual ;)
http://us.php.net/manual/en/function.setcookie.php
As listed in the manual for an explanation on cookies:
http://www.netscape.com/newsref/std/cookie_spec.html
--
Plutarck
Should be working on something...
...but forgot what it was.
"Bertrand TACHAGO&qu
.
It's also the best way to do it, as it may take extra typing when declaring
your function, but it makes it alot more readable and bug-free.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Ben"" [EMAIL PROTECTED] wrote in message
9bjn4n$41c$[EM
Tell me if this works for you. If it doesn't I can rethink it :)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Chris Aitken" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Everyone,
Ive been asked to do a task h
Quick answer: HTTP_POST_VARS is an associative array. The "name" of the
submitted variables are the keys, and the value of the element is the value
that was submitted.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Mat Marlow"" [EMA
s $GLOBALS, but they should not be relied
on.
If nothing else, not using global in a function that requires a variable
that is declared outside of that function is bad practice.
Note: Try using get_defined_variables() inside of a function and see what it
returns.
--
Plutarck
Should be working on
time the page is visited.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Picard, Cyril"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
include will help me to organize my scripts, but it will effectively
e
Nope, you don't need to save the ID. PHP/database does the work of
remembering what the ID of your persistant connection is.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Picard, Cyril"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]&qu
;;
To get that to work like you want it to, you need only do:
echo 'Value of test: ' . $test++ . ' BR';
It's functionally the same, no brackets needed. If you want it to be
evaluated BEFORE it's echoed, you need to use:
echo 'Value of test: ' . ++$test . ' BR';
--
Plutarck
Should be working on
pconnect won't do exactly what you might think
it would.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Picard, Cyril"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
So :
?php
$conn = pg_pConnect("d
Hm...can't say I've seen many subjects about this, but you might want to
look around for information on WAP/WML.
Maybe someone else would know more though, because I have no experiance with
non-PC browsers.
--
Plutarck
Should be working on something...
...but forgot what it was.
"&
The braces aren't required in this case.
Yup, your right. I stand corrected.
I had forgotten that multiple $s are fine, and that I simply don't use them
because I have trouble reading them.
The joys of learning ;\
--
Plutarck
Should be working on something...
...but forgot what
TP and ftp downloads...my HTTP has broken for
the moment, and I have no idea why ;(
--
Plutarck
Should be working on something...
...but forgot what it was.
""Ashley M. Kirchner"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is
returning errors, so the username (for instance) "B{o}b" it made into "Bob".
That way it's more or less forgiving of morons and malicious users alike :)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Larry Hotchkiss" [EMAIL PROTECTED] wrote in m
Check out PHPost at webgadgets.com for some non-IMAP email tips.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Henrik Hansen" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
"Szeto" [EMAIL PROTECTED]
In the loop, try using print_r($myarray) in the loop to see if the data is
in there at all.
Other than that, switch the while loop to:
while ($myrow = mysql_fetch_assoc($result)) {
That should fix it...
--
Plutarck
Should be working on something...
...but forgot what it was.
"&
to see the page, as long as you check for their cookie on that page
anyway.
So it's not fool proof (nothing is), but use header to send the Pragma:
No-cache setting.
Note: You can't _force_ the browser not to cache the page. You can only
_request_ that it not be cached.
--
Plutarck
Should be working
1 - 100 of 253 matches
Mail list logo