Have you tried passive mode?
Vinod wrote:
> Hi friends,
>
> I am having a DSL Internet connectivity in our office and my PC is
> connected to Internet using a HTTP/FTP Proxy(192.168.0.10) and the
> browser(Mozilla) in my PC is configured to connect to net through the
> proxy
>
> When I tried to c
I found that http://designdiscussions.com is backonline with a new url.
They use to have a pretty nice PHP forum going. They need a mod for their
PHP forum too...
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ngled HTTP_REFERER variable, which was missing, but the value was some long
string.
Any ideas?
thanks,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I had a browser reporting itself as Opera 7.0 [en] fail recently in submitting
a form.
Specifically, it didn't forward the right value.
Using this html in the form
The browser sent the value "on" instead of the value "4". So, the form couldn't
be processed correctly.
Has anybody encountered
page to be
http://domain2.com/domain2/myform.php
Ideas?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a new page that receives the file, or not using $PHP_SELF but
> the actual filename.
Can't do that, the page is repeatedly and indefinitely called.
Others have asked me to tell them if we find a solution. Which we're still
looking for, I guess. I'm still open to suggestions.
Is there any way to test a file to confirm it is an RTF file?
I'm thinking along the lines of how we can test for an image with
getimagesize().
kind regards,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> > I'm thinking along the lines of how we can test for an image with
> > getimagesize().
> >
> > kind regards,
> >
> > bill
> >
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s the next oldest.
Lather, rinse, repeat.
kind regards,
bill
"Beauford.2002" wrote:
> Hi,
>
> I have a hockey database with players names in it and I want to be able to
> update their stats one after the other. To be more clear - when the page is
> first enter
uthors are used to
editors doing things with their text; think of a magazine or newspaper editing,
cutting, putting in pictures, etc. Second, authors don't want to learn html any
more than they want to learn page layout programs. Give them some basic
formatting stuff and add more as needed.
.3em
while the anchor tag with id from the GET request should have .5em. If there is
no highlight the extra "a" line won't be printed in the CSS.
There's a lot of other ways to do it, but this should give you a start.
kind regards,
bill
"Mary D. Taffet" wrote:
that didn't work.
while ($crow=mysql_fetch_array($cresult)) {
$therow[]=$crow;
}
asort($therow["Year"]);
reset($therow);
asort($therow["Month"]);
reset($therow);
asort($therow["Day"]);
reset($therow);
ideas?
kind regards,
bill
--
PHP General Mailing List (
Hi André,
Sorting like that doesn't get it sorted by date. Each row has a lot of fields. It
actually needs to be sorted three times by three fields, Year, Month, and Day.
Because the query uses a GROUP BY statement, I can't sort it in the query.
André cupini wrote:
> Bi
d the order to
SELECT ...
GROUP BY $detailsdb.eid
HAVING foobar = $numcatchoices
ORDER BY Year, Month, Day
thanks,
bill
"John W. Holmes" wrote:
> > Sorting like that doesn't get it sorted by date. Each row has a lot
> of
> > fields. It
> > a
function mysql_one_element($query, $element) {
// quickly returns just one element from a query
$one=mysql_query($query);
// add error checking here if you wish
$r=mysql_fetch_array($one);
$thisvalue=$r[$element];
return($thisvalue);
}
$row=mysql_one_element("select euro from brandsto
comments below
Axis Computers wrote:
- Original Message -
From: Axis
Computers
To: [EMAIL PROTECTED]
; PHPSent:
Tuesday, September 10, 2002 4:51 PMSubject: Questions regarding
inserting and updating data into a MySQL db
Hi, I'm
developing a web application that uses forms for user in
Ooops, for clarity, I shouldn't have named the result of the function "row" but
"euro". It should be:
$euro=mysql_one_element("select euro from brandstofprijzen where id=2", "euro");
Bill wrote:
> function mysql_one_element($query, $element)
I'd like to do this, but it produces an error:
if ($_POST{["detail"][11][116]} && !$_POST{["detailtext"][19][114]}) {
so I'm left doing this
if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) {
How can I encapsulate the array so it is a multi-dimensional array and not just
a strin
How do I know it won't just assume that $_POST["detail"][11][116] means the
116th character in the string $_POST["detail"][11]?
"Larry E . Ullman" wrote:
> > if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) {
> >
> > How can I encapsulate the array so it is a multi-dimensional ar
The following code causes IE to break the tag.
logout
Logout page";
$_SESSION = array();
session_destroy();
echo "Session destroyed\n";
echo "
\n";
?>
View/Source in IE: displays this (note broken):
logout
Logout pageSession destroyed
h1>
Details: Works fine in other browsers I've tried
ession_destroy() command because commenting it out the
problem goes away.
kind regards,
bill
Eugene Lee wrote:
On Fri, Oct 24, 2003 at 01:24:32PM -0400, bill wrote:
:
: The following code causes IE to break the tag.
:
:
: session_start();
: header("Cache-control: private");
: echo
Aha, I'm using PHP 4.1.2 with trans-sid enabled for browsers that don't
use cookies.
Now that I know where to look, I found that putting ob_start() at the
beginning seems to help.
kind regards,
bill
David Otton wrote:
On Fri, 24 Oct 2003 15:42:45 -0400, you wrote:
Tried break
now the top of the page says:
---
session_start();
$thevals=array(alpha,beta,gamma,delta,epsilon);
while (list($key, $val) = each($thevals)) {
if (!session_is_registered($val) ) {
session_register("$val");
}
}
--
thanks,
bill
--
PHP General Mailing
O.K., this seems to work:
---
$thevals=array(alpha,beta,gamma,delta,epsilon);
while (list($key, $val) = each($thevals)) {
if ($HTTP_POST_VARS["$val"] && (!session_is_registered("$val"))) {
session_register("$val");
}
}
---
If I create an office calendar using PHP & mySQL, how can I program
normal days off for (U.S.) holidays like Christmas, Fourth of July,
Easter, etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
e intval() because it
has decimals.
kind regards,
bill
--
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]
disabled.
I pass the session id via a hidden tag within a POST form.
?>
thanks for any help,
bill
--
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: [EM
The script works fine if cookies are enabled on the browser.
I'm using PHP 4.0.3pl1 as a cgi on a Unix machine.
thanks in advance,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
dir
$firstpath = substr($SCRIPT_FILENAME,0,$spos);
$fullpath = $firstpath . SCRIPT_NAME;
Not sure, but I think it's close.
kind regards,
bill
Hrishi wrote:
> hey,
>
> don't go bald yet :)
>
> my web host (communitech.net) has the same setup... is that where you're
hi everyone,
i have been using perl for quite some time, but after getting used to
php4, i think it rocks.
i am wondering which is better, performance-wise, when trying to match the
same text: PCRE or POSIX extended in php4?
cheers,
Bill
--
PHP General Mailing List (http://www.php.net/)
To
$days = ;
if ($days % 7 == 0) {
...then $days is divisible by seven;
} else {
...if is not;
}
the % is the modulus operator. basically divides left hand side by right
hand side and returns the remainder.
HTH
On Fri, 27 Apr 2001, Jacky wrote:
> - Original Message -
> From: Jacky
>
There al RC4 crypt/decrypt class here:
Class Made By Mukul Sabharwal [[EMAIL PROTECTED]]
http://www.devhome.net/php/
On October 21, 2000
kind regards,
bill hollett
Augusto Cesar Castoldi wrote:
> Hi,
>
> Anyone have some function to crypt and text then decrypt?
>
> regards,
&g
27; )
OR (events.attr REGEXP '[[:<:]]that[[:>:]]' )
)
)
AND date LIKE '2001-05%'
ORDER BY date
(*note): this would have been AND if the keyword was 'this and that'
is this how it is generally done or am I way off here? :)
cheers,
bill
--
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]
nder high enough load to make a difference :( i
prefer to let mysql do all the work it can because i figure the web server
is busy enough will all kind of regular html requests.
good luck... hope this helped.
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
On Thu, 10 May 2001, Steve Wade wrote:
> I'm trying to get a redirect working - never done one before.
>
> Here's the line from the referring page (index.php3):
>
> test link
>
> Here's redirect.php:
>
> echo $fred;
I don't think you can output anything like this to the browser before you
issue
eldname called "approved".
In any case, assuming the fieldnames are correct, the above should work.
kind regards,
bill hollett
Sandeep Hundal wrote:
> hi all,
>
> i've got a simple problem, yet it doesn't work, so i hope someone can
> help me out here.
>
> i&
On Fri, 11 May 2001, Steve Wade wrote:
> Thanks - hmm - doesn't seem to do it though.
>
> My current code is:
>
>
> if ($HTTP_GET_VARS['fred'] != "") {
> # $statement = "UPDATE links SET hits=hits+1 WHERE href=\"$u\"";
> # mysql_query($statement);
> header("Location: $HTTP_GET_VARS['
blah.
The actual data reads 'Well, it doesn\'t blah blah blah...'
Any ideas or help would be appreciated.
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
tes in php.ini or in .htaccess like this:
If site is running PHP4:
php_flag magic_quotes_gpc on
If site is running PHP3:
php3_magic_quotes_gpc on
Hope this helps others.
kind regards,
bill
bill wrote:
> Importing table data with PHPAdmin always fails wherever a \ characte
SELECT * FROM table1, table2 WHERE table1.user_id = table2.user_id
"John E. Haag" wrote:
> Hi,
>
> Can anyone tell me how to properly execute a JOIN from PHP to
> MySQL??
>
> I just want to JOIN two tables, both of which have 'user_id' in
> common, and then get all of the fields from the match
Not sure what you're asking exactly, but I have a "Find a Dealer" page where
a person puts in their zip code and selects how far they want to look.
http://earthcomfort.com/find_a_dealer.html
Is that what you're looking for?
Todd Pillars wrote:
> I found a site that had a commercial PHP versio
Do you capture the actual Client side Machine path before they hit the
submit button or after?
If before, I'm guessing you use javascript.
If after, I have no guess. I didn't think that information was passed with
the POST.
kind regards,
bill hollett
Jason Lotito wrote:
> &g
ot;\" with a double slash "\\"
Use phpMyadmin to upload the data.
It may require a bit of futzing but it should work.
kind regards,
bill hollett
[EMAIL PROTECTED] wrote:
> i got a 1.21 txt file worth of backup data on my HD.
> I need to get it up and running on my new mysql ser
Is there a way to detect the presence of HTML tags?
I don't want them stripped out, I just want to know if a string contains
them.
I'm rolling my own mailing program and want it to detect the HTML if
present and send it appropriately.
kind regards,
bill hollett
--
PHP General Ma
Yes, I thought similarly. But so far, neither works.
$string="blah x<4 blah";
if (strlen($string) != strlen(strip_tags($string))){
echo "html";
} else {
echo "text";
}
The above still echos "html".
kind regards,
bill
Jack Dempsey wrot
Two suggestions:
Use
if (!isset($submit))
OR
change the order around
kind regards,
bill hollett
Tarrant Costelloe wrote:
> When using:
>
> {
> // First html page containing login form
> }
> else
> {
> // Results of login form, including login fa
I use php as a CGI from a secure location to do it all.
To add a user to .htpasswd on Apache:
$thefile=fopen("$pathtofile/.htpasswd", "a");
$newuserline="$username:" . crypt($pass) . "\n";
fwrite($thefile, $newuserline);
kind regard
, thereby producing one value which was the original
content of the tag.
kind regards,
bill
Ben Gollmer wrote:
> Hi all -
>
> I'm experimenting with PHP's XML parser for an application that maps XML
> tags to MySQL database fields.
>
> As a test for my parsing pro
Is there a function that can strip high ascii from a string?
thanks,
bill
--
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]
What does this global variable stand for?
HTTP_IL_PAD
--
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]
How can I find the value of image tags in an HTML file:
No line breaks are in the tags but they do have other parameters.
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Keep track of rows, and add images at rows 4 & 8. See below
Craig Westerman wrote:
> The following lists 12 items from a fruits table.
>
> $results = mysql_query("SELECT ID, date, appleprice, orangeprice, pearprice
> FROM fruits");
$x=1;
>
> while ($data = mysql_fetch_array($results))
> {
> ?
How can I set the php include path on an Apache machine using .htaccess.
Assuming I'm puting it outside of the web root, I think it is something
like:
php_include_path "../includefiles/:../../includefiles/"
but that generates server errors.
Any suggestions?
kind regards
Congratulations to all three of you!
Michael Kimsal wrote:
> It doesn't seem to have been mentioned here unless my newsfeed is very
> slow, but phpdeveloper.org has a quick mention of the new addition to
> Rasmus' family.
>
> http://www.phpdeveloper.org/
>
> "Well, everyone's favorite PHP develo
ons?
kind regards,
bill hollett
--
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]
When parsing XML data, the CDATA sometimes contains an ampersand (&).
The XML parser sends this as two events, one before the ampersand and
one after. That yields two data sections (when there is only one).
Ideas on how to keep them together?
Is this a bug?
kind regards,
bill hol
If the problem is just the web address, etc., in the bottom of the page, that can be
turned off.
In NN, File/Page Setup and uncheck the boxes in the header and footer
In IE, File/Page Setup and remove the stuff in the header and footer fields.
Lauri Vain wrote:
> Hello,
>
> A client requeste
What is the proper header to send when presenting dynamic xml pages to
the browser?
--
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]
far, I've been tossing this around:
$clength=strlen($xmlfiledata);
header("Host: myhost.com");
header("Content-Type: application/xml; charset=iso-8859-1");
header ("Content-length: $clength");
echo "$xmlfiledata";
I thought about sending "Content
To the tune of "Let it Be",
with apologies to the Beatles and all those who have gone before:
When I find my code in tons of trouble,
Then the newsgroups come to me,
Speaking words of wisdom:
"PHP"
As the deadline fast approaches,
And the bugs are all I see,
Somewhere, someone whispers"
"PHP"
P
;s been sending emails,
> She sais she's feeling jealousy,
> Because I have a new friend,
> PHP
>
> -Kevin
>
> - Original Message -
> From: "bill" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 20, 2001 9:14 AM
:
SELECT name FROM my_database
WHERE UNIX_TIMESTAMP(date) = $thisdaysec
Unfortunately, this code, which used to work fine, begins to fail when
looking for dates after this weekend. The two unix timestamps are
exactly one hour off. Daylight savings time?
I appreciate any help.
kind regards,
bill
stamp - $dbdate;
//above gives you the difference in seconds.
$daydifference = intval($thedifference / 86400);
// 86400 is number of seconds in a day
// intval because I don't want partial days, just number of days
// $daydifference above gives you the difference in days
kind regards,
bill
[EM
query, another user do another query, and then the first
user's mysql_insert_id function produce the wrong result?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
d=$row["id"];
$thisitem=$row["item"];
$ckresult=mysql_query("SELECT id FROM table2 WHERE id=$thisid");
if (!mysql_num_rows($ckresult)) {
echo "$thisitem using id $thisid is in table 1 but does not
appear in table 2";
} // end if
} // end whil
n and searching that column for metphone matches, then using
the id to get the human-readable data on a match.
i like the last one (and prefer metaphone), but am wondering what others
might be doing.
thanks kindly,
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
I think L is 50.
bill
Kurth Bemis wrote:
> what does the roman numeral L mean?
>
> can someone point me to a page that has all of the roman numerals and their
> English equivlents?
>
> i forgot?
>
> ~kurth
>
> --
> PHP General Mailing List (http://www.php.net/)
If I upload images to a web directory using PHP, how can I prevent a web
browser from getting a file list of the directory while still allowing
it to be polled for specific images?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I use this to replace URLs as links:
$text = eregi_replace("(http://[^ ]*)","\\1",$text);
What can I use to replace email addresses (like "[EMAIL PROTECTED]") as
e-mail links?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
s new lines with:
but instead with the new XHTML compliant break tags:
I tried just substituting the new tag into the above regular expressions
to no avail. Any ideas?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
I think you need to check your Apache time limits too.
Michael Conley wrote:
> I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1. I am trying
> to do a file upload from the users PC to my web server. If I do a small
> file, the transfer goes fine. If I do a large file (> 50 MB),
I thought my regexps were up to snuff until they processed this url:
http:[EMAIL PROTECTED]
Anybody have a regexp that can parse for both http & mailto links and
turn that into an http link -without- turning it also into a mailto
link?
--
PHP General Mailing List (http://www.php.net/)
To unsu
Bill wrote:
> I thought my regexps were up to snuff until they processed this url:
>
> http:[EMAIL PROTECTED]
>
> Anybody have a regexp that can parse for both http & mailto links and
> turn that into an http link -without- turning it also into a mailto
> link?
Thou
Hi Matthias,
I tried it but it didn't work. It returned a "Document contains no data" error.
I put the preg_replace info all on one line. Could that have affected any
whitespace?
kind regards,
bill
Matthias Winkelmann wrote:
> This uses just one expression (and th
I tried the new move_uploaded_file() function. It seems to work fine
but doesn't assign any permissions to the moved file, not even for
reading.
Is there any way around this? Can I define the permissions myself?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.ph
function TrimString($sString,$iLen=125){
$retstring=strtok($sString," ")." ";
do {
if(!$tmp=strtok(" ")." ") break;
$retstring.=$tmp;
} while(strlen($retstring)<$iLen);
if(strlen($retstring) Hi,
>
> What I'd like to do is take a string (paragraph) of text consisting of say
> 500 wo
Have you tried this?
header("Content-Type: application/x-octet-stream");
header("Content-Description: MP3 file");
David Minor wrote:
> Can anybody tell me why this doesn't work in IE? I need to force download
> mp3 files instead of IE5.5 trying to apply a helper app. This code works
> fine fo
If they're empty but phpinfo displays them you're probably inside a function and
haven't declared HTTP_POST_FILES as global.
Jason Dulberg wrote:
> I am working on an image upload script and I've tried to use the variables
> from $HTTP_POST_FILES however it seems that no matter how I try to get
The first echo statement doesn't work, the second does. Anybody know
why?
$string1=15;
$string2=27;
$myarray[$string1][$string2]="syncopated";
echo "$myarray[$string1][$string2]\n"; //displays Array[27]
echo $myarray[$string1][$string2] . "\n"; //displays syncopated
--
PHP General Mailin
Not only a good answer, but the best explanation.
thanks,
bill hollett
Rasmus Lerdorf wrote:
> > The first echo statement doesn't work, the second does. Anybody know
> > why?
> >
> > $string1=15;
> > $string2=27;
> > $myarray[$string1][$string2]=
How can a random string of only letters and numbers be generated?
I'm stumped so far on how to avoid including symbols.
--
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 administrat
) {
mt_srand ((float) microtime() * 100);
$seed = TRUE;
}
// weak error checking mechanism
if ($len < 1 || !intval($len)) $len = 8;
$chars_len = strlen($chars);
for ($a=1; $a <= $len; $a++) {
$tmp .= $chars[mt_rand(0,$chars_len)];
}
return $tmp;
}
Philip Olson w
ture
reference.
PHP 3 also barked at
is_numeric()
which I just changed to intval()
I should really do better bounds checking. How about:
$len=intval($len);
if (!$len) $len=8;
kind regards,
bill
Philip Olson wrote:
> It appears the only change you made was :
>
> > $tm
http://yourwebsite.com/webpage.html#anchor?variable=1234
Rebecca Donley wrote:
> Hi all,
> Several days ago I asked for help with this problem and you gave me
> information on the output control functions, which was much appreciated and
> solved some of my problems. However, I can't seem to fin
d regards,
bill hollett
--
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]
();
}
Yet, when run as a cron job, it still outputs two lines:
X-Powered-By: PHP/4.0.6
Content-type: text/html
And so sends the resultant e-mail. Can I make it output nothing when
run as a cron job?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
link text
Scott Mebberson wrote:
> Hi Guys,
>
> How do you reference both a named anchor and a query string in a link? i.e.
> link text I am not sure if this is
> even possible?
>
> thanks
>
> Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Do failed tests mean I absolutely should NOT install. Or is it normal to
have a few fails? Try two different versions, all have some failure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at the end of make test
no critical errors, 3 or 4 said they were bugg. then 3 said iI may have a
branded libc.
""Peter Smit"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Dec 3, 2007 12:18 AM, Bill <[EMAIL PROTECTED]> wrote:
Do failed te
Thank you.
configure ended with no errors. But it said "Don't forget to make test", so
like a good little lemming I did.
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Dec 3, 2007 11:01 AM, Bill <[EMAIL PRO
>> Is it a good idea to put a cart in a session var since the cart will be
>> an
>> array ?
>
>Yes, and it's far more secure than putting the actual data into a
> cookie, since that can be changed on the client-side to alter prices
> and other data.
Thanks
--
PHP General Mailing List (
Hi
Ubuntu7.10 LAMP
A PHP session destroys itself as soon as the client disconnects from the
site.
Why if I connect from another machine, log in, and disconnect without
logging off, and return 5 mins later, my session is still alive ?
Thanks
--
PHP General Mailing List (http://www.php.ne
Hi Daniel,
>> Why if I connect from another machine, log in, and disconnect without
>> logging off, and return 5 mins later, my session is still alive ?
>
>A session only expires in three cases:
>a.) An explicit session_destroy() is sent.*
>b.) The user-side cookie with the s
Hi Daniel,
>http://www.nabble.com/Logging-session-timeout-in-DB-to15845123.html
It can build a lot of stress on the server.
What if I use connection_aborted() ?
In the status line of the page I can write a 'connected' timer and use it to
check the connection !?
At most I'll have a 30 secs.
Hi Daniel,
> on the site. If all you want to do is find out if they still have the
> socket open, then there are much smaller, simpler ways.
Like what ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
>> > socket open, then there are much smaller, simpler ways.
>>
>> Like what ?
>
>I meant as opposed to the session-handling method I sent in the
> other thread. However, you may want to look into having JavaScript
> handle the session-watching, and report to the server via AJAX calls
>
>>
>> I want to prevent one from taking over a session from one who left the
>> site
>> and left his desk for a moment.
>>
>> What if that connection were two servers communicating together !?
>> Any crooked mind could then steal the latent session and start fire in
>> the
>> system(s).
>
>
the encoding in the editing window of Outlook while this
garbaged email shows it doesn't work. I still see the garbage, yet my
outlook is set for utf-8 !!
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Manuel
>> In the body that column shows " Brébeuf " in Windows Outlook.
> You may want to try this MIME message composing and sending class that
> http://www.phpclasses.org/mimemessage
Looks great Manuel.but my server is under dyndns and the DN isn't qualified
so no mail functions available
Hi Manuel
> You can build mailto: links with a default subject and text, but I am
> not sure you can force Outlook to use specific HTML. It's wiser to not
> rely on mailto: .
Hotmail will accept mail delivery from PHP ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
1 - 100 of 286 matches
Mail list logo