value was 0, you'd have three 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]&quo
in particular for
security. The only security on _any_ 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
eaning you 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""
ence as to how it works on non-windows, but I
highly reccommend it. Since I haven't 'bought' it, I can't comment on the
support...
Plutarck
""Johnny Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I&
ork, but I 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 b
...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 aw
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
her words, you can't. ;)
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 disp
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
&qu
*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]"&
g like: onclick='somecode("thisiswhereitwouldstop")'?
Should I just copy the regex 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]&g
t to give you a very good
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
> _
time, waiting for each one 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]>
s". If they use:
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:[EMAI
ted from an outside
source, be sure that it's explicitly set to something before any evaluation
of that variable is done.
And that's about all I can think of. Still, it's best just to leave the
function on as an extra bit of security. You can never be too safe.
Plutarck
""
.com';
}
elseif ($var3)
{
$url = '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
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
&quo
to why, but here's what's really
making me sick. By running it on http://www.theregister.co.uk which is where
I got the code I'm trying to strip down, this is what I do in my code:
http://www.theregister.co.uk';
$fp = fopen($target, "r");
$
config you don't control, then knock yourself out. 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&q
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: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
urn it off 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 q
Hmm...SID is a constant, and when it's set it is present in $GLOBALS.
But when I run this:
...the constant exists, but is not present in $GLOBALS. Weird...anyone know
why this happens? (I'm using 4.0.5)
Plutarck
"Alex Black" <[EMAIL PROTECTED]> wrote in messa
ge than PHP. But
IMHO, none are both faster and easier. Otherwise I wouldn't be using PHP ;)
"If you don't know why something isn't working, it's probably your fault."
(words to live by :)
Plutarck
"Steven Haryanto" <[EMAIL PROTECTED]> wrote in mess
ort. None of them do it on there own. 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, Ma
y know 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]
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" <[EM
ey both get 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]
t 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,
Plut
abase, PHP 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 PROT
longer) so 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 PROTEC
n you are using two
variables, $pass and $username 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
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 Cos
Take out that first bit with the 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.
>
>
> Best Regards
>
>
>
> --
> PHP General Mai
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!
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
tell them that they can't
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 i
/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]"
it's not a purely PP language.
The world 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"&quo
ea.
In other words 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]>
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]"
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
re just blasted 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
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"
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..
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
Shoul
> 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$
This works:
$str = '';
echo eregi_replace("", "Replaced", $str);
--
Plutarck
Should be working on something...
...but forgot what it was.
"Erica Douglass" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
ww.php.net/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 fu
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:[EM
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*
--
Plu
astly, view source on your HTML page 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.
""An
er later, and it's 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
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]...
objectname');
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
h an odd class function, of which I know of know
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
$pge}->front_page
I told you it was a hack-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 wa
AYS ALWAYS _ALWAYS_ set a default for every variable you refer 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 fo
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 workin
sure 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:
>
>
you get the idea.
phpMyAdmin has a more 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]&
that's really weird about PHP. Try commenting
out the line with define() on it.
Isn't that weird? To my knowledge, a string that appears after echo must be
quoted, but in practice PHP handles unquoted strings with echo just fine.
Could be a bug, but I doubt it.
Furthermore, the above loo
27;t ever send 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
The offset is refering to an array, so offset 0 is actually the first link.
--
Plutarck
Should be working on something...
...but forgot what it was.
""McShen"" <[EMAIL PROTECTED]> wrote in message
9btbqt$t79$[EMAIL PROTECTED]">news:9btbqt$t79$[EMAIL PROTECTED]..
rogrammer explicitly says what to
load and what to unload.
Ah well, I suppose that's the price of simplicity.
Thanks for your answer. I feel better about Java now...but now I have issues
about the size of my RAM. ;)
--
Plutarck
Should be working on something...
...but forgot what it
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
nd they'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.05
or 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
small 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 w
Not enough "}".
Change it to:
--
Plutarck
Should be working on something...
...but forgot what it was.
""Francois Boucher"" <[EMAIL PROTECTED]> wrote in message
9bsk0h$r2e$[EMAIL PROTECTED]">news:9bsk0h$r2e$[EMAIL PROTECTED]...
> I wrote this
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().
-
to normal.
--
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
nt.
It's just 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 Shopp
rself. 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 PROT
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.
n. To see if they've attempted 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 P
obably a Java programmer ;)
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].
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
s within any of the specified 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
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 PR
unless you 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 defi
ather 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
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" <[EM
> 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 somethin
bal file that all
my scripts use to keep things simple.
I haven't used a tag other than , , and in weeks.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Duke"" <[EMAIL PROTECTED]> wrote in message
002301c0c87d$9f1e3c80$[EMAIL PROTECTED]&quo
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 i
s 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:DC017B079D81D411998C0
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" &l
uite useful for killing useless input without
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.
"La
rks for NNTP 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
> 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 forgo
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.
ct and one 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 :
Is it what y
uot;;
To get that to work like you want it to, you need only do:
echo 'Value of test: ' . $test++ . ' ';
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
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 PR
every time the script is run.
However, you must still make a call to pg_pconnect before you attempt to
query your database.
Anyway, using include while not open a new connection for each query. But it
will open a new connection for each time the page is visited.
--
Plutarck
Should be working on some
"exporting data to a palm" is far too vague.
PHP can produce data in a format suitable for saving on a Palm, or you can
have it interpret data from a Palm. To physically save data from a webpage
to a palm requires client-side scripting.
--
Plutarck
Should be working on something
OBALS, 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 some
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"" <[E
r the user does not have
access to that database.
--
Plutarck
Should be working on something...
...but forgot what it was.
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Greetings,
>
> This is a mysql question, (but I'm using php
tab, it works.
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
1 - 100 of 272 matches
Mail list logo