ually need
the $conn in mysql_query() and die() is just nasty, I like a little bit more
friendly user errors. I also like to shorten things by putting the
mysql_query in the if() statement
if ( !mysql_query($sql) )
--
Chris Lee
[EMAIL PROTECTED]
"Gary" <[EMAIL PROTECTED]> wr
benchamrking is a common question with a common answer, "try it yourself",
depending on your situation/hardware/software this will very greatly from
machine to machine.
--
Chris Lee
[EMAIL PROTECTED]
"Niklas lampén" <[EMAIL PROTECTED]> wrote in message
[EMA
$value)
vs
while (list($key, $value) = each ($count))
--
Chris Lee
[EMAIL PROTECTED]
"Christian Haines" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi all,
>
> PHP-4.03pl
> LINUX 7.0
>
> i am still havin
I just use LIMIT its alot better, alot less CPU intensive.
if (!isset($pos))
$pos = 0
SELECT * FROM product LIMIT 0, $pos
$pos++
if ( !((SELECT count(*) FROM product) > $pos) )
Next
you get the idea.
Chris Lee
[EMAIL PROTECTED]
"Jeff Oien" <[EMAIL PROTECTED]&g
nc( '". implode("', '", $args) ."', 'one more arg' ); ";
}
thats just nasty. and dont try putting the func_get_args() in the implode, I
get a warning saying dont even try it. plus it would still be ugly.
--
Chris Lee
[EMAIL PROTECTED]
--
putting something like
is trims the string
to the spec length and takes the last word (or pastial word) off.
you might want to take a look at wordwrap() too, probably not what your
looking for though.
--
Chris Lee
[EMAIL PROTECTED]
"Tom Carter" <[EMAIL PROTECTED]> wrote in message
01ea01
check your status code at
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.9
on a side note, your post was in the wrong newsgroup, try a orum related to
http not php.
--
Chris Lee
[EMAIL PROTECTED]
"Mark Lo" <[EMAIL PROTECTED]> wrote in message
00090
you never defined test[8] thats why its undeined. more likley then not check
in your php.ini file, i bet you have
warning = ~E_WARNINGS E_ALL;
in your linux box and
warning = E_ALL;
in your win box.
I like all warnings and errors showing, personal opinion.
--
Chris Lee
[EMAIL
I dont mean to be picky but .. ".. allows you to import comma separated
files .. dunno about .csv .."
csv = comma seperated values
so yes mysql can import csv using the LOAD DATA func or user writen php func
:) sorry about pointing that out.
--
Chris Lee
[EMAIL PROTECTED]
/mediawaveonline/test2.php on line 10
if you ask me, I should get a warning on line 2 where the switch is, not on
4, 7, 10 where the case statements are.
php 4.0.5 cgi does not do this.
--
Chris Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
shamefull plug alert, shame, shame alert.
php/perl/java/etc/etc/etc forum gets two new posts a day. "you can have tens
of comments" if you wait 5-7 days.
--
Chris Lee
[EMAIL PROTECTED]
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">ne
I used similar and just put it into a function
function array_max($array)
{
asort($array);
return current($array);
}
this just gives me the first element of the array.
--
Chris Lee
[EMAIL PROTECTED]
"Patrick Meisel" <[EMAIL PROTECTED]> wrote in message
[EMAIL
not exactly a php question. but to answer your question .. I have no answer.
--
Chris Lee
[EMAIL PROTECTED]
"Reductor" <[EMAIL PROTECTED]> wrote in message
005d01c10881$a8517a80$0200a8c0@ReDucTor">news:005d01c10881$a8517a80$0200a8c0@ReDucTor...
Hey,
What are
src file to a link in
the web root.
of course you could allways send the download headers and readfile() the
file.
--
Chris Lee
[EMAIL PROTECTED]
"Mark Lo" <[EMAIL PROTECTED]> wrote in message
001101c10884$863351a0$caccfea9@Mark">news:001101c10884$863351
include_once('some_class.egn');
$some_class = new some_class;
$some_class->some_function();
--
Chris Lee
[EMAIL PROTECTED]
"Jack" <[EMAIL PROTECTED]> wrote in message
020801c108af$36dc70c0$[EMAIL PROTECTED]">news:020801c108af$36dc70c0$[EMAIL PROTE
yes of course, you know your own anser :)
some_class.egn
index.php
--
Chris Lee
[EMAIL PROTECTED]
"Jack" <[EMAIL PROTECTED]> wrote in message
021b01c108b1$ec596640$[EMAIL PROTECTED]">news:021b01c108b1$ec596640$[EMAIL PROTECTED]...
Exactly what the title said, I
need a little more data. how is it failing ? where in what code ? how are
you using it ? in what way do you want it to work ?
http://php.net/manual/en/function.isset.php
--
Chris Lee
[EMAIL PROTECTED]
""kaab kaoutar"" <[EMAIL PROTECTED]> wrote in message
[EMA
download the manual from snaps.php.net ALLWAYS has the most current manual.
php.net/manual will never be more current then snaps.php.net. php.net/manual
will have the comments though. I dont know if php.net will like all those
hits of you updating your mirror, email them.
--
Chris Lee
you are so close .. store the images outside the http root. have a php page
verify the user and use
header('content-type: image.jpeg');
readfile('/tmp/image.jpg');
there ya go. its the only way i can see.
--
Chris Lee
[EMAIL PROTECTED]
""Arash Dejkam&
.
index.php is ok
http://www.e-tankless.com/index.php is not. you will have to re-write it
yourself.
if cookies are disabled and the phpsessid is not in the url then php has
absolutly no way of knowing its the same customer, therfore it creates a new
phpsessid.
--
Chris Lee
[EMAIL PROTECTED
;WWW-Authenticate: Basic realm='". mtime() ."' ");
Header("HTTP/1.0 401 Unauthorized");
exit();
--
Chris Lee
[EMAIL PROTECTED]
""Cefull Lo"" <[EMAIL PROTECTED]> wrote in message
9gs89c$u29$[EMAIL PROTECTED]">news:9gs89
I just check the var.
if (isset($HTTP_SESSION_VARS['count']))
echo "
Yes its all set :)
";
--
Chris Lee
[EMAIL PROTECTED]
""news.php.net"" <[EMAIL PROTECTED]> wrote in message
9gss6k$kud$[EMAIL PROTECTED]">news:9gss6k$ku
im here to start a flamewar.
dont use " then. why not use ' ?
echo "
"
echo "
"
I like the second. it is proper html check it with w3.org.
--
Chris Lee
[EMAIL PROTECTED]
""scott [gts]"" <[EMAIL PROTECTED]> w
me('a');
for($c = 0; $c < 10; $c++)
echo "test";
$debug->time('b');
for($c = 0; $c < 10; $c++)
?>testtime('a');
?>
0.0002 : a
2.0003 : b
1.9478 : a
therefore on *my* system it is very very slightly faster to exit out of php
and
does the dir exist ? I dont use win2k for php so im guessing. win2k also has
some sort of permissions doesnt it ? does the dir have to have the same
perms that the server does ? linux needs this to be true.
--
Chris Lee
[EMAIL PROTECTED]
"Ben Edwards" <[EMAIL PROTECTED]>
hehe. ok i'll explain, half way through you will see what you were doing
wrong :)
// valid
$test = 'chris lee';
echo $test;
// in-valid
echo $test;
$test = 'chris lee';
// valid
$pullquote1 = 'test for pull quote';
include('header.inc
I havent used them in php/pear but here is some more info
http://www.php.net/manual/en/class.pear.php
--
Chris Lee
[EMAIL PROTECTED]
"Martín Marqués" <[EMAIL PROTECTED]> wrote in message
01062015390800.12018@bugs">news:01062015390800.12018@bugs...
> Can we dre
";
foreach($array as $pos => $val)
if ( !(@$row++ % 2) AND $row != 1)
echo "
$val
";
else
echo "
$val
";
echo "
";
?>
--
Chris Lee
[EMAIL PROTECTED]
""McShen"" <[EMAIL PROTECTED]> wr
why do you want todo it this way ? to tell if a user is logged in I assign a
valid people_id (session_var) if the var has a valid id, then they are
logged in, else they are not.
--
Chris Lee
[EMAIL PROTECTED]
""Rosen"" <[EMAIL PROTECTED]> wrote in message
9
ok. to anser my own questions. oi. type=image name=done then the var will
not be $done but $done_x and $done_y
--
Chris Lee
[EMAIL PROTECTED]
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL
cleanly.
--
Chris Lee
[EMAIL PROTECTED]
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL PROTECTED]...
> echo "
> $done1
> $done2
>
>
>
>
>
> ";
> ?>
o n t e n t -
t y p e : a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e
d . . C o n t e n t - l e n g t h : 2 1 . . . . d o n e 2 . x = 3 9 & d o
n e 2 . y = 1 7
but the var $done2 is not set. any ideas ? this a php bug? I cant see it
being a browser error or a apache erro
why not just simply it more
while ($r = mysql_fetch_array($result))
{
// do your thing here
}
--
Chris Lee
[EMAIL PROTECTED]
"Jon Haworth" <[EMAIL PROTECTED]> wrote in message
67DF9B67CEFAD4119E4200D0B720FA3F53FA57@BOOTROS">news:67DF9B67CEFAD4119E4200
, its very nice, more feature rich and comparable to speed to mysql.
--
Chris Lee
[EMAIL PROTECTED]
"Jon Haworth" <[EMAIL PROTECTED]> wrote in message
67DF9B67CEFAD4119E4200D0B720FA3F53FA58@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3F53FA58@BOOTROS...
> I thou
sure this is not complicated, this is easy :)
HTML in here, anything you put here, will
goto the file too.
Download
";
$file = fopen("$DOCUMENT_ROOT$filename", 'w+');
fwrite($file, ob_get_contents());
?>
is this what you mean ? please get back to me.
--
notified, like an email ? look at the mail() function. when the user logs
on, email yourself.
--
Chris Lee
[EMAIL PROTECTED]
""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can anyone suggest wh
your close.
the '&' goes in front of the variable being given, not in the function args.
--
Chris Lee
[EMAIL PROTECTED]
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to be abl
ing I
want perminently stored, that all goes in the database. sessions are handy
for storeing unique id numbers to identiy what customer is who. you can
store massive stuff in there, I wouldnt, databases are more reliable and
work better for this purpose. thats what databases are for.
--
Chris Le
calling session_register() on a var that is allready registered is asking
for trouble. there seems to be some bug in php concerning this.
";
?>
will work better for you I hope. please get back to me regarding how this
worked out.
--
Chris Lee
[EMAIL PROTECTED]
"Ro
et to nobody.nobody (ie. whatever your
webserver is set to), or does postalias run as suid root ? what Im getting
at is maybe the app is being run but doesnt have the permissions to edit the
file because of the user.group that is running the app.
--
Chris Lee
[EMAIL PROTECTED]
"Nashirak Bosk&q
sql_error() . "\n";
echo "Query: $query\n";
echo "Line : $line\n";
exit();
}
}
after every mysql command put this.
check_db($query, __LINE__);
ie.
this will help alot in finding any mysql errors.
what was the command on line 27 ? email/news groups form
open the file with gd and use imagesx() and imagesy()
gd does not handel quicktime, only jpeg, gif (older, dont go there), png,
tiff I think thts it. I havent checked. but never the less, images, not
movies.
--
Chris Lee
[EMAIL PROTECTED]
"Nicolas Mermet" <[EMAIL PROTECT
Jason,
Sorry for newbie question, how I compile MySQL from SRPM?
I know how to compile from source tar bar but not form SRPM.
Simple step to show how would be nice.
Thanks in advance.
Regards,
Chris Lee
On 21 May 2001 16:43:48 -0700, [EMAIL PROTECTED] (Jason
Murray) wrote:
>> Al
phpinfo() allways has a list of variables. but of course every variable is
allways in $GLOBALS too.
--
Chris Lee
[EMAIL PROTECTED]
"Alex Black" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi all,
>
> can't
be
passed as arguments to the function.
--
Chris Lee
[EMAIL PROTECTED]
"Siim Einfeldt aka Itpunk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi everybody,
>
> Is it possible (and if it is, how) to globalize all th
you
also do not need to check
'if ($check[$j][$i] == 1)' becase if it is set at all, then it 'had' to be
checked.
Is this what you were looking for ?
--
Chris Lee
[EMAIL PROTECTED]
""Dean Martin"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTE
accually php allready has this command and you are so close to it :)
--
Chris Lee
[EMAIL PROTECTED]
""Ken Jansons"" <[EMAIL PROTECTED]> wrote in message
001d01c0e08c$54601480$[EMAIL PROTECTED]">news:001d01c0e08c$54601480$[EMAIL PROTECTED]...
Hello,
I
Regards,
Chris Lee
--
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]
every page it needs to. one comment is
opera will give the user a warning with this http://username:[EMAIL PROTECTED]/
method, stating they are going to a 'possibly' misjeaveous site.
--
Chris Lee
[EMAIL PROTECTED]
""Romulo Pereira"" <[EMAIL PROTECTED]>
I dont think there are ways of doing that. can you give some code snippits ? what data
are you storing in the session ? sessions are great for storeing unique id's etc, you
can use them to store your entire db, but you shouldnt IMHO...
--
Chris Lee
[EMAIL PROTECTED]
"jare
(supposed to require) full urls. in other words its a good
idea to put PHPSESSID=$PHPSESSID on all your full urls anyhow, just incase for
non-cookie browsers.
--
Chris Lee
[EMAIL PROTECTED]
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
");
then add
header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
header("HTTP/1.0 401 Unauthorized");
to pop up a login box.
--
Chris Lee
[EMAIL PROTECTED]
""Chris"" <[EMAIL PROTECTED]> wrote in message
9e06jc$jel$[EMAI
this exact question was talked about yesterday. 'barcode font' in google comes up with
a hole list of fonts to use. use them in conjunction with pdflib to make barcodes.
--
Chris Lee
[EMAIL PROTECTED]
"Keith Ng" <[EMAIL PROTECTED]> wrote in message
[EMA
, after the page is loaded. you could get the data
from javascript and use a header_redirect to give php that data. sorry I dont have a
code snippit.
--
Chris Lee
[EMAIL PROTECTED]
""DRN"" <[EMAIL PROTECTED]> wrote in message
9dv0a8$4gd$[EMAIL PROTECTED]"&g
val)
$value[$pos] = some_func($value[$pos]);
else
$value[$index] = some_func($value[$index]);
return $value;
}
this what your looking for ?
--
Chris Lee
[EMAIL PROTECTED]
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM
cant say for sure, but I dont play around with rawencode and addslasses for urls, just
use urlencode()
echo "
test
";
--
Chris Lee
[EMAIL PROTECTED]
""Claudia Smith"" <[EMAIL PROTECTED]> wrote in message
9duqke$9g1$[EMAIL PROTECTED]">news
27;ll include my session file. this will allways set $SID and will also allow you to
transfer session's across multiple domains. handy. somesites dont want to fork the
money out to purchase their own ssl certificates, so we transfer them to our server
where they can use our certificate (dif
I can't say this is for sure, but I am almost 100% sure adobe function, not a pdflib
function to convert html -> pdf. sorry I dnt have any recommendations, I had to write
a special convert_pdf page for every page.
--
Chris Lee
[EMAIL PROTECTED]
""Matthew M. Boulter&q
chr(13), chr(10), $data);
// convert all 0A0A to 0A
$data = str_replace(chr(10).chr(10), chr(10), $data);
this will standardize it for you.
--
Chris Lee
[EMAIL PROTECTED]
""Hannes Schmiderer"" <[EMAIL PROTECTED]> wrote in message
9dtv8b$cud$[EMAIL PROTECTED]
or Delphi you could write that code to allow
connections, then php could send it data. I dont know howto do that.
--
Chris Lee
[EMAIL PROTECTED]
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am not sure about this t
g
will show you all the errors, when a new error is added it will be auto displayed.
--
Chris Lee
[EMAIL PROTECTED]
"todd kennedy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
do you know of an easy way to change the errors generat
data too. (new, read, unread, priority)
--
Chris Lee
[EMAIL PROTECTED]
""Mattias Segerdahl"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I was wondering if someone could help me explain how Microsoft OUTLOOK knows
w
this will ensure that the variable is a POST var vs a GET var too...
function test()
{
global $HTTP_POST_VARS;
echo $HTTP_POST_VARS['login'];
}
--
Chris Lee
[EMAIL PROTECTED]
""Miguel Ribeiro"" <[EMAIL PROTECTED]> wrote in message
9dpgkk$md
this will remove the www plus the top level domain
this will remove the first host and the top level domain.
--
Chris Lee
[EMAIL PROTECTED]
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am trying to figure
this is something I never needed todo, but it works.
these two files are on the same server, just under different domains. because I am
using the same session_id() they share the same value.
--
Chris Lee
[EMAIL PROTECTED]
""Sigitas Paulavicius"" <[EMAIL PROTE
signed short RETCODE;
/sydbd.h
typedef int RETCODE;
Can I change the typedef to signed short in sysdb.h file?
Any other workaround.
Many thanks in advance for newbie question.
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
your variable scope is local not the function
function name()
{
global $variable;
}
--
Chris Lee
[EMAIL PROTECTED]
""Subodh Gupta"" <[EMAIL PROTECTED]> wrote in message
002b01c0cce9$aa670b60$c834d6d2@subodhgu">news:002b01c0cce9$aa670b60$c834d6d2@
are 11 hard coded link.php?$SID and the rest (aprox 20) are all left upto
trans-sid. they do not get replaced, the other hardcoded 11 do though as expected. how
can I convert the trans-sid ones? without hardcoding every single link... ? thats alot
of links and forms I have to replace....
--
re a simple way to tell php to use the new format? other then
// top
ob_start();
...
// bottom
echo ereg_replace("?PHPSESSID=". session_id(), "/PHPSESSID/". session_id(),
ob_get_contents());
oi, what a mess
--
Chris Lee
[EMAIL PROTECTED]
--
PHP General Mailing
compile php as a cgi then do this
php -q test.php
done. no problem, it will probably install php into /usr/local/bin make sure its in
the path
--
Chris Lee
[EMAIL PROTECTED]
""Bertjan Schrader"" <[EMAIL PROTECTED]> wrote in message
9bmddj$hdd$[EMAIL PROTECTE
.
--
Chris Lee
[EMAIL PROTECTED]
"Philip Olson" <[EMAIL PROTECTED]> wrote in message
Pine.BSF.4.10.10104192119590.43248-10@localhost">news:Pine.BSF.4.10.10104192119590.43248-10@localhost...
coding style? here's what pear has to say :
http://www.php.net/manual
I agree with your bracket style not your return policy. oh well :)
if ($true)
{
// do something
} else
{
// do something else
}
--
Chris Lee
[EMAIL PROTECTED]
""Sander Pilon"" <[EMAIL PROTECTED]> wrote in message
008d01c0c90f$c712bbc0$ce6278d4@
I preffer the first.
--
Chris Lee
[EMAIL PROTECTED]
""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Which is better?
function blah() {
switch( $bob ) {
case 1:
return "this";
r_repeat(' ', $padding * 2);
$this->_make_tree($category_id[$pos]);
}
$padding--;
}
all you need is three fields, the categories id, the categories parent, and the
categories name. recusion is tricky stuff :)
--
Chris Lee
[EMAIL PROTECTED]
""Johan Eve
I can do it, it aint pretty though
$val)
if (in_array($val, $range))
echo "True ";
else
echo "False ";
?>
works, just aint pretty.
--
Chris Lee
[EMAIL PROTECTED]
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9bn
$id] = $result['link_id'];
$this->link_cat[$id][$cat] = $result['link_cat'];
$this->link_url[$id]= $result['link_url'];
$this->link_name[$id]= $result['link_name'];
}
}
}
ok this is a supper basic example, but try it, modify it, play aroun
$peop_r =
fetch_db_value('people_manager', "WHERE username = '$PHP_AUTH_USER' AND password =
'$PHP_AUTH_PW' ") )
$SessionID = $peop_r['peopleID'];
else
{
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Header("HTTP/1.0
7; threads by hitting
relpy, hehe.
--
Chris Lee
[EMAIL PROTECTED]
""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
news:9b1k02$f6h$[EMAIL PROTECTED]...
Hello all,
I think most of users knows about news://news.php.net and list archives, if you
use your ma
< time() if it is then
proceed, else update next_time = time + 300;
If you need a code example email me, I'll whip something up :)
--
Chris Lee
[EMAIL PROTECTED]
""george"" <[EMAIL PROTECTED]> wrote in message
9b1p05$t6c$[EMAIL PROTECTED]">news
s.php will still not be
able to return anything. using include_once(..) this way has limited usfullness. not
saying its not usfull, just saying its limited.
--
Chris Lee
[EMAIL PROTECTED]
""Ashley M. Kirchner"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTE
I was interested in stripping the content between the tags too though. the content
between the tags is allways 18 char so I did this.
$article_body = ereg_replace(".{18} ", '', $article_body);
that seemed to work. oi, regex is bad stuff, haha.
--
Chris L
I have this
...
or
...
or
...
or
...
I want to strip the all that out of my text. I havent a clue about regex, I wish I
did. could I get some insight, even a site to learn a little more. ? thanks
--
Chris Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
im to lazy to figure out the mysql commands, just copy the files.
cp sometable.MYI sometable2.MYI
cp sometable.MYD sometable.MYD
cp sometable.frm sometable.frm
mysqladmin flush-tables
easier.
--
Chris Lee
[EMAIL PROTECTED]
""McShen"" <[EMAIL PROTECTED]> wr
another note (yat) is why do you use php3?
Ive seen a few people still using php3 vs php4. I coulndt see any reasn for staying.
just alot of reasons to switch.
--
Chris Lee
[EMAIL PROTECTED]
"Louis Brooks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"&
ase->select_array('', 'orders, orders_product', $query) as $pos =>
$orders)
{
...
}
--
Chris Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
I have to agree Nuno, sessions are alot easier/simpler.
--
Chris Lee
[EMAIL PROTECTED]
"Nuno Silva" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
short:
try removing the third parameter to setcookie and if the errors
have you edited your php.ini file ? you have to uncomment the imap dll.
extension=php_imap4r2.dll
if you dont have this dll, you'll have to find it, cant help you there.
--
Chris Lee
[EMAIL PROTECTED]
""Nilesh Parmar"" <[EMAIL PROTECTED]> wrote in messag
postgres lightning fast when it came to multiple table joins,
but I have yet to run it in production, so I dont know about stability/reliability.
--
Chris Lee
[EMAIL PROTECTED]
""Steve Brett"" <[EMAIL PROTECTED]> wrote in message
99nf2e$vq0$[EMAIL PROTECTED]"&g
time stamp , time(), you can play with them using
getdate() and mktime() those two functions will provide all the date verification you
need.
--
Chris Lee
[EMAIL PROTECTED]
""Rob McMahan, Jr."" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">ne
you want to just execute the perl script? use
http://php.net/manual/en/function.exec.php
$return = exec("/pathtocgi/script.cgi VAR1 VAR2 &");
if you want the data returned, its in $return.
--
Chris Lee
[EMAIL PROTECTED]
""Brandon Orther"" <[EMAIL
best/easiest/bulkist way it to serialize it and urlencode it.
test";
?>
--
Chris Lee
[EMAIL PROTECTED]
""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
99gkbv$tcg$[EMAIL PROTECTED]">news:99gkbv$tcg$[EMAIL PROTECTED]...
Hi!
I write
experiencing is bad, its your
fault or your browsers, not php's, blame the browser" haha j/k
--
Chris Lee
[EMAIL PROTECTED]
"Carfield Yim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why the data in HTML form lost wh
even better, verify the date as a whole rather then just as an int.
there you go, try it. someone puts an invalid date in? no problem it fixes it for you.
--
Chris Lee
[EMAIL PROTECTED]
""Matt Williams"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
you have to register the variable after it is set, not before. also only register the
variable once, dont keep re-registering it, some builds ie php-4.0.5 (snap) doesnt
like re-registering vars (sometimes).
this is my session file, works great for me.
--
Chris Lee
[EMAIL PROTECTED
x27;);
readfile('/path/imagename.jpg');
--
Chris Lee
[EMAIL PROTECTED]
""Marcelo Pereira"" <[EMAIL PROTECTED]> wrote in message
006001c0b396$05167cc0$0b01a8c0@hmmg">news:006001c0b396$05167cc0$0b01a8c0@hmmg...
Hi All,
How can I show images, capt
I have never heard that $GLOBALS[''] causes performance issues, where did you get this
info? does $HTTP_SESSION_VARS work if you turn
register_globals on;
in php.ini? here is my session.egn file.
--
Chris Lee
[EMAIL PROTECTED]
"Michael Champagne" <[
how long my string is ?
--
Chris Lee
[EMAIL PROTECTED]
--
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]
other way around, set the variable the register it
session_start();
$hello = 'chris lee';
session_register('hello');
here is my session file.
--
Chris Lee
[EMAIL PROTECTED]
""Lic. Rodolfo Gonzalez Gonzalez"" <[EMAIL PROTECTED]
attachments ar stripped for security purposes by the mailing list server. please post
the code in your msg.
--
Chris Lee
[EMAIL PROTECTED]
""Miguel Loureiro"" <[EMAIL PROTECTED]> wrote in message
00ad01c0b2ff$f12a9c00$[EMAIL PROTECTED]">news:00ad
101 - 200 of 398 matches
Mail list logo