Got a problem thats baffling me.
I have a form that includes a file that starts a session.
Creating sessions are no problem, but deleting the session variable is
not working as its supposed to.
Sudo code ->
include('some_file.php'); // This file starts the session via
session_start();
switch(
If you have register_globals on, you'll need to session_unregister it.
Gerard Samuel wrote:
Got a problem thats baffling me.
I have a form that includes a file that starts a session.
Creating sessions are no problem, but deleting the session variable is
not working as its supposed to.
Sudo code
Thanks for saving my sanity. The best answer is the simplest one.
Im testing my code on a domain where register_globals were on. Never
would have thought of checking that.
Thanks once again, now I can go to sleep...
Leif K-Brooks wrote:
If you have register_globals on, you'll need to session_u
On 10-Mar-2003 Philip J. Newman wrote:
> If i was to use PHP to call all my images from out side the wwwroot, dose
> anyone have a method that they use?
>
show.php
-
'image/jpeg',
'jpg' => 'image/jpeg',
'gif' => 'image/gif',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpe
At 03:17 10.03.2003, Todd Cary said:
[snip]
>I want to display a file under program control in the same manner as one
>would with using an >a> tag e.g.
>
>Click Target="_blank">here to open the Race Schedule
>
>In other words, if certain conditions are met,
Hi,
Tell me , is sessions safe - why is it really used ? Is it important te
delete the session variables after u use it ? When a user logs on to my site
, he enters the password , i then encrypt the password and verify it with
the one in the database ! Will someone be able to hijack the session ge
Can somebody look at this and tell me way the first while loop will
only loop through the database once when there is more than one record
that should be processed.
while($members = @mysql_fetch_object($result)) {
$logged_email=$members->email;
$logged_title=$members->title;
$logged_first_name
Hi,
Monday, March 10, 2003, 7:20:37 PM, you wrote:
RK> Can somebody look at this and tell me way the first while loop will
RK> only loop through the database once when there is more than one record
RK> that should be processed.
RK> while($members = @mysql_fetch_object($result)) {
RK> $logged_
Hello Tom,
I have been looking at this for an hour and thought it was something
like that but I could not see it. I guess it is time to go to bed.
Thanks
Monday, March 10, 2003, 1:47:27 AM, you wrote:
TR> Hi,
TR> Monday, March 10, 2003, 7:20:37 PM, you wrote:
RK>> Can somebody look at this an
Hi, I'm a newbie with php and I have a big problem with the use of PHP 4.1.1
with apache/1.3.26, mod_ssl/2.8.10 and OpenSSL/0.9.6d. (Tested on Windows
and Linux)
For a demonstration I have to get the user certificate of an SSL connection
to identify the user.
I try to get information's about the c
$this->$arr[]
should be
$this->arr[]
You are using a variable defined within the class - since it is a class variable you can reference it as you would anything else within the class, using '$this->'
Patrick Teague wrote:
I'm having problems figuring this out. This first way gives me a
In mysql use
DATE_FORMAT(FROM_UNIXTIME(time),"%H ... etc")
In PHP use
echo date("", time());
Read the manuals at mysql.com and php.net.
jim
Lord Loh. wrote:
How do I convert the unix time stamp (the one I get by the time()) to a
readable English language time
I am getting data from mySQL
Nothing is safe unless it goes over SSL, and even then, NOTHING is 100%
secure :)
The point is that you shouldn't have the plain text password as a session
var...
Your login form (and the script that varifies the login) should be secure
(see note), and should establish a session var like "logged_
a trick i use is with the time() function
e.g.
$var = time();
then
header('location: .page.php?var=' .$var);
This forces the browser to retrive the page again from the server.
might be of some use.
adrian.
- Original Message -
From: "Daniel Joyce" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
what problem I want to use eval in my script but its generate this error :
Parse error: parse error, unexpected T_LNUMBER in
C:\Projects\phpmag\admin\functions\admin_cont.php(22) : eval()'d code on line 4
Parse error: parse error, unexpected T_LNUMBER in
C:\Projects\phpmag\admin\functions\admi
Hi,
I used a script to generate some result from a
database, which i want to display in flash.
In Flash, i created the Dynamic Text and declared
"newsbits" as Vars, and set it to Multiline.
I also loaded the PHP variables with the following
command in the ActionScript of the Frame :
loadVariables
Jens Lehmann wrote:
James wrote:
LWP is a perl thing. Curl is probably the best thing to use.
Have you tried using googles php api which they provide free?
http://www.google.com/apis/
I had a look at the API, but I'm not sure if it's appropriate and easy
to use with PHP. It's still beta and mi
try
echo "\$all_types_list .= \"$all_types_list\";";
there should be a syntax error
Alawi wrote:
what problem I want to use eval in my script but its generate this error :
Parse error: parse error, unexpected T_LNUMBER in C:\Projects\phpmag\admin\functions\admin_cont.php(22) : eval()'d code on li
Should not it be:
$SQL = "SELECT * FROM table ORDER BY id asc LIMIT ".($autoindex -5)." ,5;";
John Taylor-Johnston wrote:
I don't know whether this is a MySQL or PHP quesiton.
$SQL = "SELECT * FROM table ORDER BY id asc LIMIT $autoindex -5 ,5;";
I would like to get the autoindex value of my tabl
If I sort an array, and now the keys are not in numerical order, how can I
get the key of the first element?
If I do array_shift I get the first element but I want that key.
Thanks,
Diana
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 12:54 10-3-03, you wrote:
what problem I want to use eval in my script but its generate this error :
Parse error: parse error, unexpected T_LNUMBER in
C:\Projects\phpmag\admin\functions\admin_cont.php(22) : eval()'d code on line 4
eval ("\$all_types_list .= \"$all_types_list\";");
For tho
When does the carbadge collector start ?
Thanks
Shaun
--
Novtel Consulting
Tel: +27 21 9822373
Fax: +27 21 9815846
Please visit our website:
www.novtel.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When you load a php page there is a "session.gc_probability" % chance it
will start.
session.gc_probability is set in php.ini
Shaun van den Berg wrote:
When does the carbadge collector start ?
Thanks
Shaun
--
Novtel Consulting
Tel: +27 21 9822373
Fax: +27 21 9815846
Please visit our website:
Garbage collection is a random process. You can however set the
probability of it starting on every session call in the php.ini file,
along with the elapsed time of a session variable, after which it is
considered garbage.
On my system, my probability is set to "1", meaning there is a 1% chance
of
Hi,
I am quite new to php and I am trying to find a way of
sending details of a web form over e-mail in both text
and html format. There are numerous sites on the web
that try and explain how to do this but they are
worded very complicated and to be honest I haven't
found one that is particularly
Is there a generally recommended way of storing an array created by PHP
in a MySQL database field ?
What type of field should it be, and how do you get the whole array
back in one go without reconstructing it row by row, if that is
possible?
{R}
--
PHP General Mailing List (http://www.php.n
On Monday 10 March 2003 22:30, {R}ichard Ashton wrote:
> Is there a generally recommended way of storing an array created by PHP
> in a MySQL database field ?
serialize() and unserialize().
> What type of field should it be, and how do you get the whole array
> back in one go without reconstructi
Hello All,
I have some data in a MySQL table and I need to format it better. I have some
thousands of data from my users connections like this:
++-+-++--+---++
| id | unixtime| ip
Serializing it would be the best way: seralize($myArray)
then you can get the array back using unseralize($serializedarray)
-Original Message-
From: {R}ichard Ashton [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 14:31
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL and PHP arrays
Is there a
The PEAR Mail_mime class tends to take the headache out of this sort of
thing. See the example at the bottom of the manual page:
http://pear.php.net/manual/en/core.mail.mime.php
mh.
On Mon, 10 Mar 2003, [iso-8859-1] Ian A. Gray wrote:
> Hi,
> I am quite new to php and I am trying to find a way
The pear class looks great, unfortunately my server
doesn't have pear yet. :-(
I didn't realise it was an either/or situation for
sending html or text only e-mails. I thought you
could send one e-mail which has the content in
text-only and html-format so that the person's e-mail
programme can deci
On Monday 10 March 2003 22:46, Ian A. Gray wrote:
> The pear class looks great, unfortunately my server
> doesn't have pear yet. :-(
> I didn't realise it was an either/or situation for
> sending html or text only e-mails. I thought you
> could send one e-mail which has the content in
> text-only
Jens,
I would suggest that you try writing a script that keeps track of how
many tags have been opened (look for "<"), versus how many tags have
been closed ("[^>]*/>") on a line-by-line basis. Using that number, you
should be able to indent the code properly.
Let us know what you've got so far.
There is a technique to make a large comment at the top of your html based
email, which would be your content readable by the users who have text-only.
Granted all the html code would be at the bottom. I saw it done in a
newsletter or two, very cleaver and effective!
Dickon...
- Original Me
On Monday 10 March 2003 21:13, Diana Castillo wrote:
> If I sort an array, and now the keys are not in numerical order, how can I
> get the key of the first element?
> If I do array_shift I get the first element but I want that key.
Not very elegant -- there must be a better way?
foreach ($doo as
At 16:35 10.03.2003, Jason Wong said:
[snip]
>Not very elegant -- there must be a better way?
>
>foreach ($doo as $key => $value) {
> print "Key:$key Value:$value";
> break;
>}
[snip]
Possibly using array_keys()?
good day to all readers.
It's specifically a javascript question.
I've a form containing a hidden table, and inside of this last, controls
that contain useful information invisible to the user, for example, hidden
select tags that contains set of items, only subsets of it are visible to
the user.
Beau Hartshorne wrote:
Jens,
I would suggest that you try writing a script that keeps track of how
many tags have been opened (look for "<"), versus how many tags have
been closed ("[^>]*/>") on a line-by-line basis. Using that number, you
should be able to indent the code properly.
I need to coun
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2003 15:35
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] array question
>
>
> On Monday 10 March 2003 21:13, Diana Castillo wrote:
> > If I sort an array, and now the keys are not in numerical
> order, how
PS: If you want a tool which really cleans up HTML you should use HTMLTidy
of course. :)
http://tidy.sourceforge.net/#source
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 10 Mar 2003 22:34:44 +0800, Jason Wong wrote:
>On Monday 10 March 2003 22:30, {R}ichard Ashton wrote:
>> Is there a generally recommended way of storing an array created by PHP
>> in a MySQL database field ?
>
>serialize() and unserialize().
>
>> What type of field should it be, and how do
http://betterphp.org
The Better PHP mailing list is available for anyone who wants to learn
how to write secure, efficient web applications. We focus on the LAMP
(Linux-Apache-MySQL-PHP) platform but welcome other questions.
This list is intended for people who use PHP, and who want feedback on
c
I have some sets of values that I have stored in several tables in a mySQL
database. These don't often change, but are referenced on every single page
view. While each call is quick, as a gross the load on the server is too
high. I would like to know if there is a way to have these sets of value
I am using php to send an xml request, but the people on the side that
receives the xml says they can only receive from activex generated xml (with
code similar to below)
Does anyone know how to generate the xml from php so it comes out exactly
like it does from this active x object?
var s;
var
You get at the data through $array = mysql_result($result,0,0);
Mike
"{R}Ichard Ashton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, 10 Mar 2003 22:34:44 +0800, Jason Wong wrote:
>
> >On Monday 10 March 2003 22:30, {R}ichard Ashton wrote:
> >> Is there a generally recomm
>
> I have some sets of values that I have stored in several tables in a mySQL
> database. These don't often change, but are referenced on every
> single page
> view. While each call is quick, as a gross the load on the server is too
> high. I would like to know if there is a way to have these s
I'm sending credit card info to a 3rd party credit card processing site.
I would like to keep the inputted values and, after the approval, have
them appear in the value part of the form so that they don't have to
re-input the same values they had just put in for the credit card. how
can i do
mysql_fetch_array($result) works too. It fetches the data from the current row and is
used in conjunction with a while loop:
while($array=mysql_fetch_array($result))
{
//stuff to do with the current array
}
Robbert van Andel
-Original Message-
From: Mike Mannakee [mailto:[
I am working on a simple authentication script, where the user submits a
login and password, the credentials are checked and the user is
redirected to another script. The new script checks the HTTP_REFERER
and if its the original script it continues, otherwise it stops with a
message about being u
jim
there is no need for the second parameter in Date() for PHP, unless u want
something other then current time.
Date ('m-d-y') is the same as Date ('m-d-y', Time())
Joel
"James Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In mysql use
>
> DATE_FORMAT(FROM_UNIXTIME(tim
You should look at E-xact (http://www.e-xact.com). They have a solution
they call "tagged transactions" that actually replaces the credit card
numbers with "tags" that are only meaningful in the context of your
merchant account. That way, you can let your customers make repeat
purchases without act
This is a PHP group please post JS questions to a JS group unless u have PHP
code in inside requiring help !!!
IE considers it non-active when style.display = 'none'
you can not reference it via the 'javascipt' controls.
it must be made visible to work in IE... i think u should look at another
so
Thanks to your help, this now is working:
/* Validate session_id here */
header("Content-type: text/html");
header("Content-Disposition: filename=" . $filename);
$fp = fopen($filename, "r");
if($fp) {
fpassthru($fp);
fclose($fp);
}
?>
Now I would like to open the file in a new windo
Todd,
if that script is the result of a link being follwed, add target="blank" to
the end.
George
> -Original Message-
> From: Todd Cary [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2003 5:28 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP] Opening a file in a new window
>
>
> Thanks to your
Is the only way to keep an array alive between one class and another to
store it as a session array?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't like the Language Auto Detection system either but mabe others
do... so I don't think it should be removed ..
On Mon, 2003-03-10 at 19:41, Wez Furlong wrote:
> Perhaps because he prefers to read most sites in his native language?
>
> --Wez.
>
> On Mon, 10 Mar 2003, Mincu Alexandru wrote:
Thanks, but what I need are static values accessible in the script, without
having to fetch them from the database every single page view. They do
occassionally change, but in the main they're fairly static.
Mike
"Rich Gray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> > I
I'm sending information to be processed by a third party site. I need
to store the inputted information in my site, via session or whatever,
at some point. However, the 3rd part site only accepts the information
via a POST form submission, so I can't record the variables, then
redirect them t
I'm looking for a php tutorial or script which can open and read an existing
.jpg or .png from another URL.
Next, the script then modifies that image by - say - cropping off the bottom
by 20px or resizing it by 50%.
Lastly, could this modified file then be renamed on ones server?
Many thanks,
To
- Original Message -
From: "Tom Woody" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 9:53 AM
Subject: [PHP] HTTP_REFERER security implications?
> I am working on a simple authentication script, where the user submits a
> login and password, the credentials are c
Not sure if there is a function that I missed when I did a search on this
at php.net, but here is the situation:
I have an array that looks something like this:
12:00:00
12:05:00
12:10:00
12:15:00
Bascially, it just has all times in it for a day in 5 minute
increments. This is more of a templat
Hello,
Am I correct in my understanding that for a multi-select input, PHP requires
that the name attribute end with square brackets (i.e. http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>How do I delete a specific time out of the array or
> how do I delete
> a range of times out of the array? I would like to be able to delete
> 12:05:00 but if I want, delete a range like 12:05:00 to
> 12:10:00.
Here's some code.
Kirk
function remove_array_values($valuesToRemove, $array)
{
I have a number of websites that are on a hosting company, that I have been
using for a year or so. Suddenly, this morning, all of the websites began to
have PHP script errors on scripts that have run without fail for a long
period of time. I think the server setup must have been altered this weeke
You should contact the web hosting system administrator and verify that
they upgraded php. From what i can tell it seems that they did upgrade
php.
--
Ray
On Mon, 2003-03-10 at 10:58, Chad Henderson wrote:
> I have a number of websites that are on a hosting company, that I have been
> using for
You can initiate a POST from within your script using cURL, assuming your
php installation has cURL support enabled. Check http://www.php.net/curl
for details.
mh.
On Mon, 10 Mar 2003, Doug Parker wrote:
> I'm sending information to be processed by a third party site. I need
> to store the inp
- Original Message -
From: "Dan Phiffer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 11:24 AM
Subject: [PHP] Multi-select inputs and naming
> Hello,
>
> Am I correct in my understanding that for a multi-select input, PHP
requires
> that the name attribute end
> I'm sending credit card info to a 3rd party credit card processing site.
> I would like to keep the inputted values and, after the approval, have
> them appear in the value part of the form so that they don't have to
> re-input the same values they had just put in for the credit card. how
> ca
Folks, I am trying to build Apache 2.0 /PHP (latest) on an HPUX 11.
I configured both of them to handle DSO. PHP generates the .so, which later I
rename to .sl and move to the modules directory and run make install
successfully. After adding the LoadModule and the Addtype directive, apache
giv
On Mon, 10 Mar 2003, Dan Phiffer wrote:
> Am I correct in my understanding that for a multi-select input, PHP requires
> that the name attribute end with square brackets (i.e. name="my_select[] multiple>") in order for the submission be handled
> properly?
As far as I know, that is correct. I'd
Thanks for the reply. If they did upgrade PHP, which I am fairly sure they
did, are there changes to the new PHP that would prevent the script from
working? Or is it a matter of them not setting up the upgrade the same as
the previous installation?
"Ray Hunter" <[EMAIL PROTECTED]> wrote in mess
> Not sure if there is a function that I missed when I did a search on this
> at php.net, but here is the situation:
>
> I have an array that looks something like this:
> 12:00:00
> 12:05:00
> 12:10:00
> 12:15:00
>
> Bascially, it just has all times in it for a day in 5 minute
> increments. This i
It sounds like either allow_url_fopen is set to false or php was compiled
with --disable-url-fopen-wrapper. Either way, checking the output of
phpinfo() should give you your answer.
mh.
On Mon, 10 Mar 2003, Chad Henderson wrote:
> Thanks for the reply. If they did upgrade PHP, which I am fairly
I did not see the
"Mark Heintz Php Mailing Lists" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
It sounds like either allow_url_fopen is set to false or php was compiled
with --disable-url-fopen-wrapper. Either way, checking the output of
phpinfo() should give you your answer.
mh.
> (All the help on php.net about HP has does not address this issue. Also,
> there is not docs on how to install PHP/APACHE2.0 as static.)
That's because we do not support a static build for Apache2.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Thanks for the reply Mark,
allow_url_fopen is set to on
i did not see anything about --disable-url-fopen-wrapper
Here is the info file:
http://www.afgaonline.com/phpinfo.php
"Mark Heintz Php Mailing Lists" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
It sounds like either allow
Tony,
You might want to try the online php manual, I hear it's very good.
You should be able to do all of the tasks you desire. Look for "image" in
your search.
Hope this helps.
Hugh
- Original Message -
From: "Anthony Ritter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March
Hi all,
I recently had a freelancing experience that has left me somewhat sour and
questioning myself. Unfortunately I don't feel I can fairly evaluate myself
and so I owuld like to put the question to my peers who populate the PHP
forum as to whether I have performed competently.
Last we
Rasmus,
Thanks for the reply.
Then, what am I doing wrong on the DSO installation ?
Any docs I could get my hands on ?
Thanks again.
Harring.
--- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> > (All the help on php.net about HP has does not address this issue. Also,
> > there is not doc
Right - but the problem is, the form is submitting to another site, so i
don't have a way to store the variables. I could put them in session
variables, but I would have to create another script and then forward
the form submission to the outside side. This isn't working because the
outside
[snip]
> If it turns out that I am incompetent, then I will happily send them a
> bill for zero hours, otherwise I would like to take comfort that I am not
> ripping them off.
Just my humble opinion, of course, but I think you did the job quickly
considering what you were given to start with.
Tom,
This will completely break in AOL. An AOL user's referer changes all the time.
Joseph
"Tom Woody" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I am working on a simple authentication script, where the user submits a
> login and password, the credentials are checked and the
"CPT John W. Holmes" wrote:
>
> [snip]
> > If it turns out that I am incompetent, then I will happily send them a
> > bill for zero hours, otherwise I would like to take comfort that I am not
> > ripping them off.
>
> Just my humble opinion, of course, but I think you did the job quickly
> co
> Unless you're ashamed to be running php, or don't intend to be spending as
> much time on security as you should, why would this be an issue? If your
> app is well-written, the knowledge that it's implemented with php
> shouldn't benefit a potential attacker. You know what they say about
> secu
[snip]
> Thanks, I did estimate 20 to 30 hours for them after I had set up the
mirror
> server and before the actual work began. At the same time I asked if they
wanted
> me to stop to which they replied that I should continue.
Offer them some cheese with their whine and tell them to pay up!
---J
On Mon, 10 Mar 2003, Robert Cummings wrote:
> All in all I spent 20 hours total for the client at a rate of $40 USD/hr
> which I believe is on the low end of freelance. I myself have 3 years
> experience devloping PHP web applications. So the question I ask is whther
> this time frame is reaso
I have a display of images that every fourth image I want to start a new
column. In ColdFusion I would use the MOD operator like this:
if query.recordcount MOD 4 eq 0
/if
I am just having a brain lapse today, can someone help me do this same
functionality in PHP?
Thanks!
--
P
Hey all,
Some of my users have reported a problem with my site and it's taken a
while to debug it, but I think I've finally tracked it down.
If they go to the site as:
http://www.mysite.org/
Then it works
But if they go as:
http://mysite.org/
It doesn't.
I believe it has to do with my use
On Mon, 10 Mar 2003, Dan Phiffer wrote:
> I guess this question was coming from a "couldn't they have designed in a
> cleaner way?" perspective. Don't get me wrong, I think the way PHP does an
> outstanding job of handling these particular kinds of form submissions, I
> just figured there might be
if($recordcount % 4 == 0)
{
echo '';
}
mh.
On Mon, 10 Mar 2003, Clint Tredway wrote:
> I have a display of images that every fourth image I want to start a new
> column. In ColdFusion I would use the MOD operator like this:
>
> if query.recordcount MOD 4 eq 0
>
>
> /if
>
> I am
Perhaps something like:
\n";
}
?>
HTH,
-Dan
"Clint Tredway" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a display of images that every fourth image I want to start a new
> column. In ColdFusion I would use the MOD operator like this:
>
> if query.recordcount MOD 4 eq 0
thanks, I knew it was simple.. just can't think today!
-Original Message-
From: Dan Phiffer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 2:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Question
Perhaps something like:
\n";
}
?>
HTH,
-Dan
"Clint Tredway" <[EMAIL PROTECTED]>
> To others on the list: how do perl, jsp, asp, etc.
> handle the passing of multiple selects? What is their equivalent of php's
> "var[]" syntax for handling form values?
>From what I've picked up, if there are multiple variables in the query
string / post data with the same name, the scripting
hi
i am experiencing a major problem with sessions expiring randomly in some of my
apps. i will log in and start clicking around and then i will eventually
arrive at a page that tells me that i'm not logged in anymore. this happens
apparently randomly. i have seen it on ie6, ie for mac, netsca
On 10-Mar-2003 Tom Woody wrote:
> I am working on a simple authentication script, where the user submits a
> login and password, the credentials are checked and the user is
> redirected to another script. The new script checks the HTTP_REFERER
> and if its the original script it continues, otherw
I believe there's a domain limitation inherent to the way cookies work
(assuming a cookies-based sessions setup), but there may be some way of
circumventing that (can't some ad banner companies track visitors from site
to site?). Seems like a multi-file search and replace should do the trick.
If yo
something like:
print "";
while ( statement )
{
$i++;
if ($i==1) print "";
print "";
your image code;
print "";
if ($i==4)
{
print "";
unset($i);
}
}
if ($i==1) print "";
if ($i==2) print "";
if ($i==3) print "";
print "";
might work
It's possible you're being afflicted with the same problem I am. See
the message just one or two above this about "Sessions problem". What I
found in my debugging is that it had to do with how I was
mix-and-matching the way I specified links.
Short version of the problem is that http://mysite
Make sure that the url is always the same. For example if a user is at a
page http://mysite.com/phpscript.php and you link to
http://www.mysite.com/phpscript.php (notice the www) the session might not
follow because the url is different.
-Original Message-
From: freaky deaky [mailto:[EMAIL
Assuming that php is configued to rewrite the url tags, try turning off
cokkies in the browser and let the Session if carry over. This might help
you debugg it.
-Original Message-
From: David Chamberlin [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:41 PM
To: [EMAIL PROTECTED]; F
1 - 100 of 171 matches
Mail list logo