the
dir ..
--
Chris Lee
[EMAIL PROTECTED]
"Thomas Karcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi PHP users,
>
> I have a couple of PHP scripts that generate dynamic content for a
website.
> Now the admin of
hehe, not exactly a php question but whatever.
you have a firewall correct? if you dont, lie and say you do because no one
should be caught dead without one, and add the person to your block list.
--
Chris Lee
[EMAIL PROTECTED]
"Alawi" <[EMAIL PROTECTED]> wrote in mess
you *could* limit them, imaesx() and imagesy() are what your looking for. what I would
say is why? why limit someones image upload when you can easily resize it.
display_thumbnail.inc
should be able to hack it up :)
--
Chris Lee
[EMAIL PROTECTED]
""george"" <[
header("Location: http://$SERVER_NAME/$redirurl");
or better
header("Location: http://$SERVER_NAME/$redirurl?$SID");
where $SID = "PHPSESSID=". session_id();
this way your sessions will carry if your not using cookies and are using
--enable-trans-sid
i
<[EMAIL PROTECTED]> wrote in message
so your trying to take a list of variables and register them as session vars?
$val)
{
global $val;
session_register($val);
}
}
?>
this will work for that.
--
Chris Lee
[EMAIL PROTECTED]
""Tobias Talltorp"" <[EMAIL PROTECTED]> wrote in message
.
--
Chris Lee
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi, I am trying to set a cookie and it doesn't work. I am running IE 5.
I have IE set to prompt before setting cookies but I never get a prompt.
Here is my c
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
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]
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]
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" <[
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
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
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
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
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
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
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
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
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
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
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
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]"&
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
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
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
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
< 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
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
$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
$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
precision] [, char method])
where the optional method value indicates the method of rounding, the
default being the current method.
Thanks.
Lee Howard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
cleanly.
--
Chris Lee
[EMAIL PROTECTED]
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL PROTECTED]...
> echo "
> $done1
> $done2
>
>
>
>
>
> ";
> ?>
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
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
";
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
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
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
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]>
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
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
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
;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
.
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
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&
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
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
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
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
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
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
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
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
/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
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]
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
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
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
putting something like
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]
--
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
$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
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
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
I use Outlook Express and Im posting this via news.php.net into php.general
--
Chris Lee
[EMAIL PROTECTED]
"Chris Hayes" <[EMAIL PROTECTED]> wrote in message
3B981E0F.25754.4210CA@localhost">news:3B981E0F.25754.4210CA@localhost...
> hi,
> from http://www
dont like it, write your own.
my examples are allways updated, they're just symbloic links to the accual
files I use.
because its code src, not bin, you can change it however you want, have fun,
people shouldnt be so anal about their code or others code.
--
Chris Lee
[EMAIL PROT
NOT a tag-based language. You can create
: any functions you want and call them already from a combination
:
:
ColdFusion 5 finally allows users to define functions, so the above
strength for PHP is now a strength for ColdFusion.
--
Eugene Lee
[EMAIL PROTECTED]
--
PHP General Mai
Like the subject says, is there a downloadable version of the Annotated
PHP Manual? I'm not always connected to the Internet, so this would be
a great help. Thanks in advance.
--
Eugene Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
On Wed, Sep 12, 2001 at 10:14:29PM -0400, Jack Dempsey wrote:
: Eugene Lee [mailto:[EMAIL PROTECTED]] asked:
: >
: > Like the subject says, is there a downloadable version of the Annotated
: > PHP Manual? I'm not always connected to the Internet, so this would be
: > a great
ve spec. type casted
that as strings, they should compare fine as strings. this is where I
beleive there is more then a quirk and more of a bug.
the third susceeds just as it should, its just not near as elegant as a
simple if ($var_1 == $var_2).
--
Chris Lee
[EMAIL PROTECTED]
--
PHP G
OK I am trying to write a script that will bring data out of a database into
a select box. But what I need it to do is repeat 5 times or more depending
on what it brings out. I can only get it to display one select box. Here is
what I got so far:
Flavors Select
">
Please HE
- you have cookie support on or off ?
- you using any header redirects ? (you have to manually add the SID to
URI's)
send some src and a link. lets see whats going on.
--
Chris Lee
[EMAIL PROTECTED]
"Lic. Rodolfo Gonzalez Gonzalez" <[EMAIL PROTECTED]> wrote in
mes
correct me if Im wrong, but I wanted to add a note saying that php supports
loading .COM and .NET only if the server is windows based.
--
Chris Lee
[EMAIL PROTECTED]
"Sterling Hughes" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
php doesnt support https url-wrappers. grab the data with an external app
maybe, it'll be ugly.
exec('lynx -source https://www.pilotmedia.fi/ > /tmp/somefile.txt');
fopen('/tmp/somefile.txt', 'r');
unlink('/tmp/somefile.txt');
--
Chris Le
)
echo "
";
echo "
{$val['product_name']}
";
}
echo "
";
there you go every five products you get a new line.
--
Chris Lee
[EMAIL PROTECTED]
"Alawi Albaity" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
using mysql is an excelent choice, if your not using a db Ive seen people
pass the data raw
echo "
mediawaveonline.com
";
then
session_decode(base64_decode($session_data));
its ugly, but it works.
--
Chris Lee
[EMAIL PROTECTED]
"Josh Hoover" <[EMAIL PROTE
is this even a php related question? post some code and an example site and
we'll see what we can do.
--
Chris Lee
[EMAIL PROTECTED]
"Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I run a web appli
aries that your not
going to use ? only put relevant data in your libraries and only call
relevant libraries and you wont have a problem.
--
Chris Lee
[EMAIL PROTECTED]
"Bora Paksoy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
('Last-Modified: '. gmdate('D, d M Y H:i:s') .' GMT');
header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache');
should tell most browsers not to cache.
--
Chris Lee
[EMAIL PROTECTED]
"Wolfram Kriesing&q
or if you want the hand to show up over the image. change the tag to
--
Chris Lee
[EMAIL PROTECTED]
"Neil Freeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I have a form which contains an:
>
> W
PHP 4.0.6 has been out for 3 months now. Any word on the next update?
--
Eugene 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
I know of is Objective-C, which is the
base language for Apple's new Unix-based Mac OS X.
As for PHP supporting named parameters, it seems silly to preserve C's
use of parentheses. Why not do something more radical like Objective-C
that draws from Smalltalk syntax:
$bar = [
'/images/image1.png' is '/images/image1.png'
'images/image1.png' is '/images/image1.png'
you are using the first, unless your something wierd on your first box, like
chroot, or safe_mode, or something else Ive never used, I dont know why the
first server i
server, if it isnt, just send the user back with a nasty message and tell
them to smarten up :)
if ( time() > mktime(1, 1, 1, $month, $day, $year) )
echo "Bad !!";
else
echo "Good, now I'll save the data";
--
Chris Lee
[EMAIL PROTECTED]
"Kristjan K
change that to where ever your sybase dir is.
--
Chris Lee
[EMAIL PROTECTED]
"Caleb Carvalho" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I have installed sybase on my Linux 7.1 machine and after
> c
there are tutorials all over the inet.
--
Chris Lee
[EMAIL PROTECTED]
"Mark Lo" <[EMAIL PROTECTED]> wrote in message
000501c145d9$c5f56ca0$caccfea9@mark">news:000501c145d9$c5f56ca0$caccfea9@mark...
> Hi,
>
> I would like to know how to w
script can NOT use the first apps socket, sockets arent shared
like that.
yes, sending and recienveing should be ok, any data backed up will just be
stored in buffers.
--
Chris Lee
[EMAIL PROTECTED]
"Stefano Baronio" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"&
have you thought of just using
http://www.php.net/manual/en/function.serialize.php
http://www.php.net/manual/en/function.unserialize.php
its alot easier.
--
Chris Lee
[EMAIL PROTECTED]
"John Frenzel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:
27;]) AND $PHPSESSID !=
$HTTP_GET_VARS['PHPSESSID'])
all small things, nothing big looks wrong. try it and see.
--
Chris Lee
[EMAIL PROTECTED]
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Ok, newbie I am but ... I seem
.
Header("WWW-Authenticate: Basic realm='someother-domain' ");
Header("HTTP/1.0 401 Unauthorized");
--
Chris Lee
[EMAIL PROTECTED]
"Eric J Schwinder" <[EMAIL PROTECTED]> wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROT
OK,
I am working on my first shopping cart using PHP and MySQL and I am having a
few problems.
The first problems is I need to bring out of a database a group of Jam
flavors. I can do that but when certain items come up there needs to be the
same flavors but repeated mutiple times and I am no
g $search_a - $search_b of $search_c Orders
";
if ($prev >= 0)
echo "
<$IMG src='image/back.gif'>
";
echo "
<$IMG src='image/home.gif'>
";
if ( $next < $search_c )
echo "
<$IMG src='image/next
there are functions like current() next() etc but they wont help you in this
case. I just wrote my own.
function index($array, $index)
{
return @$array[$index];
}
$now = index(localtime(), 7);
--
Chris Lee
[EMAIL PROTECTED]
"John A. Grant" <[EMAIL PROTECTED]> wrote i
with exec() I wouldnt assume that all the PATH info is there, just to be
sure, use hardcoded paths.
exec("/usr/bin/mysqldump > /tmp/somesql.txt", $return);
print_r($return);
--
Chris Lee
[EMAIL PROTECTED]
"Christian Dechery" <[EMAIL PROTECTED]> wrote in me
why is this amazing ?
--
Chris Lee
[EMAIL PROTECTED]
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> After getting the PHP source from the CVS and compiling I tested with
> phpinfo(). The result was
o "
Displaying $search_a - $search_b of $search_c Orders
";
if ($prev >= 0)
echo "
<$IMG src='image/back.gif'>
";
echo "
<$IMG src='image/home.gif'>
";
if ( $next < $search_c )
echo "
<$IMG src
Hi Guys,
I was wondering if anyone knows of a project for creating a
troubleshooting wizard, much like in the Microsoft help. I've managed to
make something which kind of works myself, but the problem is writing an
interface to add/remove/add/manage the questions and steps.
Thanks in advance.
Thanks Pete,
I've already spent about 45 minutes trying to find a project which does
this, to no avail...
On Thu, 14 Oct 2004, pete M wrote:
goto
sourceforge.net
there's tons of stuff there.. No need to reinvent the wheel ;-)))
pete
Lee Standen wrote:
Hi Guys,
I was wondering if anyon
I want to use Textarea as the text-file viewer and editor of my homepage.
But Textarea doesn't work exactly as i intended.
In sometimes, TextArea doesn't show up
and moreover the some parts of the file are displayed(rendered) in browser
without TextArea!
--
PHP General Mailing List (http://www
Thank you, Jay Blanchard and Andrew Ballard!!!
Could you explain what was my fault concerned about this case?
Thanks in advance!
My codes were
.
..
" . $contents . "";
?>
""Jay Blanchard"" wrote in message
news:31454d514ff9a949b1fdfe294d5d1d80080...@ygex01wal.onecall.lo
Yes, I just want to edit a file in the textarea!
thank you.
""Jay Blanchard"" wrote in message
news:31454d514ff9a949b1fdfe294d5d1d80080...@ygex01wal.onecall.local...
[snip]
.
..
" . $contents . "";
?>
[/snip]
Try http://us3.php.net/manual/en/function.file-get-contents.php
601 - 700 of 890 matches
Mail list logo