Dear Umesh,
I already restart Apache, but it didn't work.
OT question:
Do Apache's Directory Directive, use relative path or absolute path
for matching?
Beside, I am using PHP Version 4.2.3
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
(Default is
off). Any Hints?
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You need to use:
php_value register_globals 1
I tried, but still fail, phpinfo still show
register_globals OffOff
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ob_flush()
Thanks curt, it's working ^_^
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
first?
I am using PHP 4.3.2 (cli) (built: May 28 2003 15:10:38)
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try this:
?php
exec('ipconfig',$catch);
foreach($catch as $line){
if(eregi('IP Address',$line)){
list($t,$ip) = split(':',$line);
echo 'IP is '.$ip.\n;
}
}
?
Thanks Tom, but I think it only work for Win NT, how about Win 9x?
--
PHP General
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER[SERVER_ADDR]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER[SERVER_ADDR]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To
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 [EMAIL PROTECTED
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]...
Hello guys,
at moment i'm read
on a dynamic image the browser will cache this file to death,
only downloading a new image when you clear your cache and restart your
browser, so dont use this on any dynamic stock charts haha.
--
Chris Lee
[EMAIL PROTECTED]
Peter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
insted of
if ( $isloggedin )
user logged in
do
if ( $HTTP_SESSION_VARS['isloggedin'] )
user is logged in
--
Chris Lee
[EMAIL PROTECTED]
Steve Maroney [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hey guys,
I know this has been br
look at the output bufering functions.
http://php.ca/manual/en/ref.outcontrol.php
--
Chris Lee
[EMAIL PROTECTED]
Paul H. Breslin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm trying to create a function that will generate output that
wow sessions and cookie on the same page? why dont you just use one or the
other? I pref sessions. never the less.
your not setting the exp, path, or domain in your setcookie() you must do
all those.
setcookie('name', 'chris lee', time()+84700, '/',
'www.mediawaveonline.com');
--
Chris Lee
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 this website should be able to b
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 message
00cd01c18a1a
run phpinfo() is ftp support in there? if not run configure like you
normally do and scroll up to the ftp section, are there any errors in there?
if so what are they?
--
Chris Lee
[EMAIL PROTECTED]
Sam Schenkman-Moore [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
else.
have you tried the PEAR db wrappers? PEAR came out after I wrote mine, therfore I
never used them, you?
Chris Lee
[EMAIL PROTECTED]
- Original Message -
From: matt stewart [EMAIL PROTECTED]
To: 'Chris Lee' [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent
its stupid, but a session has to be started beore it can
be destroyed.
--
Chris Lee
[EMAIL PROTECTED]
Olivier Masudi [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In my online store i use session.
I use a script to check that a user dont make
as long as your start the session on the new page everything will work. are
your clients not using cookies? and you have trans-sid enabled? you'll need
to pass the SID to the new page then obv.
--
Chris Lee
[EMAIL PROTECTED]
William Sanchez Sanchez [EMAIL PROTECTED] wrote in message
if I nc to my server on port 23 I get the same thing. ie there is nothing
wrong. your going to have to emulate the telnet protocal now, thats just the
connect string.
--
Chris Lee
[EMAIL PROTECTED]
Kancha [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
The following code
thanks for the inscription. here's mine.
--
Chris Lee
[EMAIL PROTECTED]
Sim/Haouhach [EMAIL PROTECTED] wrote in message
58C7D97FA088D31190FD0090277B017502EA06DC@EXCHANGE">news:58C7D97FA088D31190FD0090277B017502EA06DC@EXCHANGE...
Lynda Haouhach
Ingénieur système
SONATRACH
Email
thats exactly how you do it.
foreach( $array as $pos = $val )
echo
a href='javascript:windowpopup('page.php?id=$pos')'$val /abr
;
--
Chris Lee
[EMAIL PROTECTED]
Martin Hughes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How could
sounds like php is having a problem resolving the dns. could be 1 of a 100
things ...
try putting the IP of the machine in vs the domain name.
--
Chris Lee
[EMAIL PROTECTED]
Martin Leclair [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
how those remote servers destinguish where the images are coming from is
from the Referr header.
play around with getting the data manually using fopen()/fwrite()/fread()
and your done. not so easy eh, well it works.
--
Chris Lee
[EMAIL PROTECTED]
Martin Kampherbeek [EMAIL PROTECTED
online editor? you got 1mb free? no? buy a floppy. install ultraedit, it's
the best editor around imho.
--
Chris Lee
[EMAIL PROTECTED]
R. Lindeman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
can someone help get a online editor
thanx
R.
foreach( $array_name as $pos = $val )
echo
input type=hidden name='array_name[$pos]' value='$val'
;
or use sessions.
--
Chris Lee
[EMAIL PROTECTED]
Gkin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I want to pass through
take a look at my session.egn file.
http://www.mediawaveonline.com/examples/
--
Chris Lee
[EMAIL PROTECTED]
Anthony [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I need some help with sessions. I read the sections in the manual and
I know this isnt answering your question, but skip cookies and goto
sessions, easier to work with.
now the answer to your question, you need to set the domain and path on your
setcookie()
setcookie('name', 'value', $exp, '/', $SERVER_NAME);
--
Chris Lee
[EMAIL PROTECTED]
Steve Osborne
its irrelevant. now there is a file system dependancy. in linux is inodes,
not enough and you'll have some problems, win2k I dont know.
--
Chris Lee
[EMAIL PROTECTED]
Aaustin [EMAIL PROTECTED] wrote in message
002101c18293$671c5d00$0300a8c0@tomato">news:002101c18293$671c5d00$
take them from the arguments list
$argv[]
I know its not what you asked, its just what I answered.
--
Chris Lee
[EMAIL PROTECTED]
August Zajonc [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Interested in getting a single character a
break it down.
if ( $ef != 'nm' )
echo a : $efbr;
else
echo b : $ef br;
if ( $HTTP_REFERER !=
'http://www.globalhealth.org/news/article.php3?id=1526' )
echo c : $HTTP_REFERERbr;
else
echo d : $HTTP_REFERERbr;
now you can see where the bug is.
--
Chris Lee
[EMAIL PROTECTED
Header(WWW-Authenticate: Basic realm='$SERVER_NAME' );
Header(HTTP/1.0 401 Unauthorized);
is the proper http auth hearders, change the realm and you'll have to
re-authenticate.
--
Chris Lee
[EMAIL PROTECTED]
J.F.Kishor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]"
2k is alot of data to be sending using GET or POST, just leave it on the
server in a session variable.
redirect server 2000 bytes - client
GET client 2000 bytes - server
or via sessions
redirect server 50 bytes - client
GET client 50 bytes - server
--
Chris Lee
[EMAIL PROTECTED]
Jim
I'll try and answer your questions as will the rest off the forum Im sure,
just post away.
--
Chris Lee
[EMAIL PROTECTED]
Melva Garcia [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am looking for a mentor to help me along with
using php and m
a good guess would be every email client does it differnetly. unfort Id have
to say try it yourself. Id imagine its long enough that you shouldnt have to
worry about it, but I could be wrong.
--
Chris Lee
[EMAIL PROTECTED]
Tom Churm [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED
haha, I bet it cant resolve, and I doubt it works on other machines :)
www.myserver,com
www.myserver.com
see the diff? ditch the comma and put a period in insted :) trust me it
happens to the best of us.
--
Chris Lee
[EMAIL PROTECTED]
Jeff Lewis [EMAIL PROTECTED] wrote in message
configure --help
ie. nope, nothing there.
--
Chris Lee
[EMAIL PROTECTED]
Arne Brune Olsen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
Does anyone know if there is a module for rational rose for generating php
code from UML diagrams
=$prevcarry_keep='back/a
a href='$PHP_SELF?position=0carry_keep='home/a
a href='$PHP_SELF?position=$nextcarry_keep='next/a
;
--
Chris Lee
[EMAIL PROTECTED]
J. Roberts [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm trying to update a report gen
it has to be done via javascript.
javascript = clientside
php = serverside
if the plugins are on the clientside then javascript is needed. and no,
sorry, I dont know how.
--
Chris Lee
[EMAIL PROTECTED]
Daniel Reichenbach [EMAIL PROTECTED] wrote in message
01c1816b$ae010230$796010ac
need more info buddy. does this query work at the mysql command prompt? show
us an example, show us 10 records and accual query being exec and what the
returned result is and what you think it should be.
--
Chris Lee
[EMAIL PROTECTED]
Fîk ì?çìsâî [EMAIL PROTECTED] wrote in message
try php.ca or any of the other mirrors when php.net is down.
I bet you got that file your running open in an editor eh? close the file in
the editor then run the file, no problems.
--
Chris Lee
[EMAIL PROTECTED]
Boaz Yahav [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]"
it in the url to the ssl site, if this is done then you have to
treat your session data as if it were cookie data, dont trust it.
--
Chris Lee
[EMAIL PROTECTED]
Jordan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hello all,
Two questions
1) Is it
you dont have output buffering on, check php.ini or add it manually to an
.htaccess.
--
Chris Lee
[EMAIL PROTECTED]
J.F.Kishor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hello,
I'am trying to create an image using php image functions
that command doesnt even work from the mysql command prompt for me, Ive
never used LAST_INSERT_ID(), but it dont work for me. try it on your mysql
command prompt.
--
Chris Lee
[EMAIL PROTECTED]
Ise [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
configure --help
in other words, no. but there is nothing from stopping you from writing a
module :) im sure there are others out there that would like such a feature,
ie for fax's
--
Chris Lee
[EMAIL PROTECTED]
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]"
' AND
password = '$PHP_AUTH_PW' ) )
$SessionID = $peop_r['peopleID'];
else
{
Header(WWW-Authenticate: Basic realm='$SERVER_NAME' );
Header(HTTP/1.0 401 Unauthorized);
bad_passwd();
}
?
http://www.mediawaveonline.com/examples/
--
Chris Lee
[EMAIL PROTECTED]
Jtjohnston [EMAIL PROTECTED] wrote
-select_array('', 'petinfo', '') as $pos = $val )
echo $val['pet_name'] .br;
if ( !isset($val['pet_name']) )
echo No Pets br;
I like that more. but whatever.
--
Chris Lee
[EMAIL PROTECTED]
Jay Fitzgerald [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
do a header re-direct.
header(Location: http://domain.com/page.php;);
include any variables you want, inc session vars if needed.
--
Chris Lee
[EMAIL PROTECTED]
Andrew Forgue [EMAIL PROTECTED] wrote in message
001d01c17ddc$a898fc40$6701a8c0@ajf">news:001d01c17ddc$a898fc40$6701
class's as session variables much more handy.
--
Chris Lee
[EMAIL PROTECTED]
Kurt Lieber [EMAIL PROTECTED] wrote in message
E16Bitf-00049T-00@z8">news:E16Bitf-00049T-00@z8...
I am working on an open source e-commerce package and have hit a wall with
sessions.
I
you a starting point on recursion.
--
Chris Lee
[EMAIL PROTECTED]
Alawi [EMAIL PROTECTED] wrote in message
002201c17dc2$75276cd0$753f47d4@mcsh2l7jqy8bgj">news:002201c17dc2$75276cd0$753f47d4@mcsh2l7jqy8bgj...
I want to know how can i do that Recursive loop to get categories as example
to be blunt. then dont use session.auto_start. classes must be defined
before variables can be created based on that class, obviously. the proper
order has to be.
- class definition
- session initialized
--
Chris Lee
[EMAIL PROTECTED]
Matthieu Brunet [EMAIL PROTECTED] wrote in message
wrong newsgroup.
--
Chris Lee
[EMAIL PROTECTED]
Caspar Kennerdale [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have just installed mandrake
something that is annoying me with KDE is that the default view within the
file manager is wi
header(Location: www.domain2.com);
--
Chris Lee
[EMAIL PROTECTED]
Manu Verhaegen [EMAIL PROTECTED] wrote in message
001301c17c93$53be4620$[EMAIL PROTECTED]">news:001301c17c93$53be4620$[EMAIL PROTECTED]...
I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com)
I
echo td.$row[id].td\n;//id for the firt record ex:1
echo td.$row[name].td\n;//id for the second record ex: 2
or
echo td.$row[0].td\n;//id for the firt record ex:1
echo td.$row[1].td\n;//id for the second record ex: 2
is that what you mean?
--
Chris Lee
I dont know if Im pointing out the obvious or if you orgot to post more
code.
?PHP
header(Content-type: application/octet-stream);
header(Content-Disposition: attachment; filename=file.txt);
// get file data rom db or wherever
echo $data;
?
--
Chris Lee
[EMAIL PROTECTED]
Joe Van
this is fine as any of a place to ask OOP questions :)
--
Chris Lee
[EMAIL PROTECTED]
Roko Roic [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I don't know if this is the right place to ask this (there is no
.news.admin
group on news.php.net), b
Dear John,
Actually I need to generate an report which need an half an hour to
complete.
The MS Proxy Server time out for the long process, so I want to create the
report by following method:
apache/mod_php - call cgi/php - email notify end user when completed.
Regards,
Chris Lee
number of keywords is guna be ugly.
any SQL idea's ? yes I know this is a php forum, but its related.
--
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
%') )
WHERE ( (search_query LIKE '%ba%') OR (search_engine LIKE '%ba%') )
WHERE ( (search_query LIKE '%cc%') OR (search_engine LIKE '%cc%') )
WHERE ( (search_query LIKE '%ab%') OR (search_engine LIKE '%ab%') )
nasty eh? any better idea's. I hope so ..
--
Chris Lee
[EMAIL PROTECTED]
Chris Lee [EMAIL
this '/' method looks kinda neet, but some vars get messed, ie $PHP_SELF,
just be carefull using it.
?php
$INC = explode('/', $REQUEST_URI);
unset($INC[0]);
unset($INC[1]);
$INC = implode('/', $INC);
include_once($INC);
?
Chris Lee
[EMAIL PROTECTED]
OòkóöårzòËèkó [EMAIL
.
--
Chris Lee
[EMAIL PROTECTED]
Richard Baskett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Unusual that I didnt even get one response, so I shall try again! :)
Ok why does this not work?
session_name(adminid);
session_start();
unset($sess);
sessi
if your using mod_auth then mod_auth will be called not mod_php. if you want
mod_php to be called, dont use .htaccess (they are apart of mod_auth).
sorry...
--
Chris Lee
[EMAIL PROTECTED]
Zhu George-Czz010 [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
javascript
javascript = client side
php = server side
unless you want to print on a printer on the server, your goign to need to
use javascript. not only are you asking in the wrong forum, real answer is
'I dont know' sorry cant help ya bud.
--
Chris Lee
[EMAIL PROTECTED]
Luz Lopez
'busy.tmp' doesnt exist
- - write a file 'busy
- - do something
- - delete the file
- else
- - bugger off
?
--
Chris Lee
[EMAIL PROTECTED]
Luz Lopez [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all
I am creating a program PHP that will be ac
you dont need any unctions in php todo this. you need to install openssl and
compile it into apache.
port 80 = http (non-secure)
port 443 = https (secure)
http://www.somesite.com/index.php unsecure
https://www.somesite.com/index.php same page, now everything is secure
have fun.
--
Chris
I dont worry about it. why are you?
--
Chris Lee
[EMAIL PROTECTED]
Luis Corea [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I want to Know how can I save information on a Data Bse that will be
access
for many persons at the same time.
date() shoudl give you the time in your timezone, gmdate() should give you
the time in the GMT timezone. I would check your server and make sure the
timezone is correctly set.
--
Chris Lee
[EMAIL PROTECTED]
Steve Tsai [EMAIL PROTECTED] wrote in message news:none...
For reference:
OS
put the mysql_db_query in an if() statement, more likley then not your
select statement isnt returning any results.
--
Chris Lee
[EMAIL PROTECTED]
Sc [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi;
i keep getting an error of: Warning:
sure there is, get it at php.net goto download section and choose the cgi
version. there you are. php.exe
--
Chris Lee
[EMAIL PROTECTED]
John A. Grant [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I've installed ActivePerl, which gives me a wa
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 PROTECTED] wrote in message
0110231140330C
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...
Hello,
How can I search for a cert
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 my books
says that session ID's are created in the /tmp dire
'/a
;
--
Chris Lee
[EMAIL PROTECTED]
Nicklas Bondesson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
all ideas are very welcomed !!
/nicke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
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 in message
[EMAIL
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 message
[EMAIL PROTECTED]">new
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 amazing :
=
/next.gif'/a
;
--
Chris Lee
[EMAIL PROTECTED]
Mick Fitzpatrick [EMAIL PROTECTED] wrote in message
005801c14db9$6bfe4900$0100a8c0@garage">news:005801c14db9$6bfe4900$0100a8c0@garage...
Hello
After several days of reading various articles on the web I've 'finally'
got
a basic
, 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 to be losing my session vars when I load up
a
different php page.
My set-up:
1- main page starts
.
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 PROTECTED]...
I used a pretty basic system to check HTTP authen
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:[EMAIL PROTECTED]...
it is.
--
Chris Lee
[EMAIL PROTECTED]
Jeb Scarbrough [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I run the code below it writes the image to the webroot/images
directory on a Solaris machine running iPlanet and php4.04pl1. When I run
the exactly s
at the
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 Kanarik [EMAIL PROTECTED] wrote
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
creating my first php-4.0.4pl1-9 page
there are tutorials all over the inet.
?
$file_name = '/tmp/counter.txt';
$counter = fread(fopen($file_name, 'r'), 4096);
echo $counter;
unlink($file_name);
fwrite(fopen($file_name, 'w+'), ++$counter);
?
--
Chris Lee
[EMAIL PROTECTED]
Mark Lo [EMAIL PROTECTED] wrote
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]">news:[EMAIL P
(category set);
document.formMoviesSearch.submit();
}
/script
...
input type='hidden' name='sub' value=''
img src=genre.png onclick=set_category()
or if you want the hand to show up over the image. change the img tag to
a href='javascript: set_category()'img src=genre.png/a
--
Chris Lee
[EMAIL
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 application that opens a socket us
.
the obvious question is why are you loading 10 100k libraries 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
: '. 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 [EMAIL PROTECTED] wrote in message
01091919575201.01019@hubert"
- 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
message
[EMAIL PROTECTED
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]...
On Mon, 17 Sep 20
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 Lee
[EMAIL PROTECTED]
Ville Mattila [EMAIL PROTECTED
;
}
echo
/tr
;
there you go every five products you get a new line.
--
Chris Lee
[EMAIL PROTECTED]
Alawi Albaity [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
how can i show my record to user to view it five
record by fifve record by cl
, but it works.
--
Chris Lee
[EMAIL PROTECTED]
Josh Hoover [EMAIL PROTECTED] wrote in message
E973048AB322D411AE99009027E32DF685CD83@FRAZ">news:E973048AB322D411AE99009027E32DF685CD83@FRAZ...
You can use NFS shares, but I've read that it is too slow for most
situations. My suggestion would b
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) )
a href='$PHP_SELF?pos=$pos'Next/a
you get the idea.
Chris Lee
[EMAIL PROTECTED]
Jeff Oien [EMAIL
, $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 having problems with sessions. the following does nothing but
should appe
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
[EMAIL PROTECTED]">news:[EMAIL P
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] wrote in message
[EMAIL
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.php.net/support.p
1 - 100 of 338 matches
Mail list logo