/sec with 10 includes each on
ALL difernet files. you could have 1000hit/sec on the same files.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Eduardo Dominguez"" <[EMAIL PROTECTED]> wr
code snipits allways help :) but a guess would be that your not putting the var in ''
echo "
$value
";
please email if this is not the problem.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250
";
?>
im not exactly sure on what
if (issset($userfile))
{
global $userfile;
unset($userfile);
} else
{
// do some code
}
this is supposed todo, what is the global there for? what does it do? please explain.
--
Chris Lee
doesnt seem stable either, some imap functions if
there are no folders or headers causes apache to seg fault.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
use news.php.net it rocks. no huge bulk email in your box after a weekend. no funky
re-pley, nice.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Rick St Jean" <[EMAIL PROTECTED]> wrote in
gt;start = $this->break;
}
}
$debug = new debug;
//---
$debug->time('start');
// code snippit
$debug->time('end');
?>
works great or me. you can find out exactly where your code is slowing you down, only
thing is now to find
ok, Ive now been able to fetch news headers, but boy is it slow. to fetch 10 out of
430 headers your looking at 19sec.
news://news.php.net/php.gtk
$headers = imap_fetch_overview($this->mail_stream, "427:437");
is slow... oi. any ideas on speed ?
--
ko $ulica $kodpocztowy $miejscowosc}";
'' vs "" is a big difference, single quotes do not parse the data in between them,
therfore it is ok to use '' with {}
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554
this will work
$val)
$tmp_array[$pos] = $val['year'];
asort($tmp_array);
// display however you want
foreach ($tmp_array as $pos => $val)
echo $array[$pos]['name'] ."\n";
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
you mean you want the url ?
$HTTP_REFERER
This variaable is set by the client's browser though, this means it may not be set at
all, or could be forged. you will have to check against this.
I dont think this is what you mean though, email me I'll see what I can do.
--
usr_loginName);
foreach($arrLoginName as $pos => $val)
if (match)
return 1;
return ;
}
?>
is this what you mean? please post regarding.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
one is '. $people[$pos]['phone'] ."\n";
mail($email_to, $email_body, $email_from);
}
now good change im out to lunch here, but sithout a code snippit im grabing here.
please post regarding, thank you.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1
eak - $this->start) / 10;
echo number_format($time, 4) .' '. $text ."\n";
$this->start = $this->break;
}
}
$debug = new debug;
//---
$debug->time('start');
// code snip
recusrion is your friend.
$val)
{
if (is_array($val))
{
if (in_multi_array($needle, $val))
return 1;
} else
if ($val == $needle)
return 1;
}
}
if (in_multi_array('d', $test))
echo "TRUE \n";
else
echo "FALSE \n";
?>
--
works great. I use it on a few sites. time.egn has a simple mtime() function and
database.egn are just my sql wrappers.
";
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Daniele"
using client side form verification is a bad idea anyhow, just write a simple php
verify.
";
foreach ($form_error as $pos => $val)
echo "
$val
";
echo "
";
}
echo "
";
?>
simple stuff, server side is fool proof, c
ID']);
if ( isset($HTTP_POST_VARS['PHPSESSID']) )
session_id($HTTP_POST_VARS['PHPSESSID']);
if (!isset($HTTP_SESSION_VARS['SessionID']))
{
$SessionID = mtime();
session_register('SessionID');
}
$PHPSESSID = session_id();
$SID = "PHPSESSID=$PHPSES
permisions ?
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""noah"" <[EMAIL PROTECTED]> wrote in message
98be51$o3u$[EMAIL PROTECTED]">news:98be51$o3u$[EMAIL PROTECTED]...
is there a r
- syntax highlighting
- linking to php.net/manual/ functions.
- new files open inside main windows (file tabs) not in new windows (like IE)
there are lots
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Dan Cleveland&quo
;
Back
";
echo "
Home
";
if ( $pos_next < $product_count )
echo "
Next
";
?>
compare your position to how many fields are in the db.
SELECT count(*) FROM site ;
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1
I use a script like this, place it in cron, run it once a day to search the db and
email the nescisary people the reminders they request.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""John Huggins"" <[
on the
other side, not accually included. ie.
include_file.php
index.php
http://$SERVER_NAME/include_file.php);
?>
this will echo
hello
and $test will not be avalible to index.php
include() work very differnert depending on how it is used.
--
Chris Lee
Mediawaveonline.com
simple example
count('site', '');
$result = $database->select_array('', 'site', "LIMIT $pos, $HOW_MANY");
foreach($result as $pos => $val)
echo $val['site_address'] ."\n";
if ($pos_prev >= 0)
echo "
Back
";
echo "
Home
";
if ( $pos_next < $product_count )
echo "
Next
";
$this_country = $val['country'];
echo "
$this_country
";
}
echo "
";
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Nicole Lallande" <[EMAIL PROTECTED]> wrote
quot;item NOT in cart";
?>
check if the stockno is in the cart, if it is display a differnet icon
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Mark Lo (3)"" <[EMAIL PROTECTED]> wrote in messag
more lilly then not its the " ' problems.
echo "
$remote_address
$file_id
$user_id
$time_of_event
";
is better
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Joh
while loop
while($row = mysql_fetch_array($result))
{
//do something.
}
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Mrvball008"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
use OP_HALFOPEN. I had to use this to get nntp working
right.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Terrence Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
users home dir, ie. /home/lee make a symbolic link callred wwwroot to where
ever you want their home ftp dir to be.
ln -s /home/httpd/vhosts/lee.com /home/lee/wwwroot
done.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Ja
atment, in a file, oi,
headache.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Marian Vasile"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What is fa
amp;', $args));
}
}
echo "
index
";
?>
--
Chris Lee
[EMAIL PROTECTED]
"Nick Davies" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi (again).
Is there a simple was to take post data from a form and create a
ok, this is what you asked for
";
?>
but why cant you just do this.
echo "
";
--
Chris Lee
[EMAIL PROTECTED]
"Harshdeep S Jawanda" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
x27;];
else
{
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Header("HTTP/1.0 401 Unauthorized");
bad_passwd();
}
?>
--
Chris Lee
[EMAIL PROTECTED]
""Christian Boesch"" <[EMAIL PROTECTED]> wrote in message
016a01
h_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 401 Unauthori
I think im not understandting, because your asking a simple question.
--
Chris Lee
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Morning,
I have a section of HTML that Is added to a page if a user logs in successful
this question was answered be me only two days ago. it would be nice to see people
checking before they post.
--
Chris Lee
[EMAIL PROTECTED]
""WreckRman2"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am having
null is a bad idea. if a value is set to null in a table then that variable will not
be set.
namephonefaxemail
chris lee37710955541120NULL
$result['name'] is 'chris lee'
$result['phone'] is '3771095';
$result[
try it. everyone will get a differnet answer, the only way we could tell would be to
write three scripts and time them, you write three scripts and time it and you will
get different results then us.
--
Chris Lee
[EMAIL PROTECTED]
""Marian Vasile"" <[EMAIL PROTE
people wouldnt use an FAQ, when you see three people ask the exact same question on
one single day, you know they dont read the other post, or care. if they wont read the
posts on the same day they wont read an FAQ, they keep posting.
--
Chris Lee
[EMAIL PROTECTED]
""
your not putting it in quotes.
echo "
";
change to
echo "
";
quotes are your friend :)
--
Chris Lee
[EMAIL PROTECTED]
""george"" <[EMAIL PROTECTED]> wrote in message
98tdl2$ps2$[EMAIL PROTECTED]">news:9
please post more code, ie where $name is set.
in the mean time try this, shouldnt help but might
foreach($empid as $pos => $val)
{
echo "{$empid[$pos]} {$name[$pos]}";
}
--
Chris Lee
[EMAIL PROTECTED]
""Tom Harris"" <[EMAIL PROTECTED]> wrote
I'll show you how you want, but will recommend using arrays.
heres what you should be doing.
$val)
// do something
?>
alot simpler, expandible and easier to read. Im sure its probably faster too...
--
Chris Lee
[EMAIL PROTECTED]
"Ekkard Gerlach" <[EMAIL
In defence of zend technologies and open source. Is your php code being used for
profit? then purchase the encoder. Is your code being used for non-profit? then
release it as open source for the community to use.
--
Chris Lee
[EMAIL PROTECTED]
""Chris Anderson"&quo
I dont know how good of an idea it is to have 180 variable variable names. oi,
headache. but the question you asked was this.
" $q = 'tar1-1' how do I access the variable $tar1-1 "
no problem
echo $$q;
--
Chris Lee
[EMAIL PROTECTED]
""Per Kallin"&qu
have a 1024 limit for data in the url bar, I could be wrong. the
other thing is you'll find spaces suck in url bars.
http://www.mediawaveonline.com/index.php?name=Chris Lee
will echo
Chris
thats all. the space ends all. you'll have to convert all spaces to %20
where/$file_name");
--
Chris Lee
[EMAIL PROTECTED]
""Thalis A. Kalfigopoulos"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Helloppl,
a problem with a file_upload form :-( Here is what I've done
what if you have three headers depending on what colors a user likes. this favorite
color is stored in a session variable
$fav_color = 'blue_header';
there are obviously easier ways todo this, but its a simple example.
--
Chris Lee
[EMAIL PROTECTED]
""Bo
unset()
$val)
echo "$val";
unset($test[2]);
foreach($test as $pos => $val)
echo "$val";
?>
--
Chris Lee
[EMAIL PROTECTED]
""Alexander Gräf"" <[EMAIL PROTECTED]> wrote in message
995d13$cfl$[EMAIL PROTECTED
stanard newbie answer :)
php is server side, not client side
php is serverside there is no way of ever ever doing anything client side because of
this.
http://php.net/manual/en/function.fopen.php
are the functions for opening files.
--
Chris Lee
[EMAIL PROTECTED]
"
edit php.ini for the expiry and the gc (garbage collection) percentage.
--
Chris Lee
[EMAIL PROTECTED]
""Peter Houchin"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
on my server in /tmp it saves the session de
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
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 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";
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@
.
--
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
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
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
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....
--
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@
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
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
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 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
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
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
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
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]
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
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
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
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
, 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
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
");
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
(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
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
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]>
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]
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
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
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
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
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
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
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
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
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
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
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
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
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.
--
, 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
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
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
set your max upload file size smaller then. default is 2mb max. I find that
too small, I re-set mine to 5mb. I have 2g of ram on our server, 5mb isnt a
worry to me. Id rather that then the slow speed of writing the file to the
hd.
--
Chris Lee
[EMAIL PROTECTED]
"David" <[EM
Ive seen em on zend.com, I wrote my own. I would recommend you take a look
at the ones on zend.com and modify it to taste.
--
Chris Lee
[EMAIL PROTECTED]
"Daniel Harik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> He
php.net/strstr
if ( strstr($string, $search) )
echo "TRUE";
else
echo "FALSE";
--
Chris Lee
[EMAIL PROTECTED]
"Brandon" <[EMAIL PROTECTED]> wrote in message
001e01c158b3$91579170$5a52a040@wi">news:001e01c158b3$91579170$5a52a040@wi...
create the variable then register it, not the other way around.
also a great function for checking arrays is print_r()
print_r($HTTP_SESSION_VARS);
--
Chris Lee
[EMAIL PROTECTED]
"Ross Barefoot" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
d the
browser on the next launch will delete the cookie.
--
Chris Lee
[EMAIL PROTECTED]
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> I have been experimenting with PHP4 using sessions and one of m
that, well
its your choice to offer them the security risk or not. I just tell our
customers, "sorry, nope, to big of a security risk.", I have yet to have one
complain so badly they switch hosting services.
--
Chris Lee
[EMAIL PROTECTED]
"Kurt Lieber" <[EMAIL
101 - 200 of 398 matches
Mail list logo