I have a similar problem only my sessions expire once you leave the site,
even for a second. I'm not so experienced with cookies so how can I fix
this?
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "John W. Holmes" <[EMAIL PROTECTED]>
Cc: "'Gerard Samuel'" <[EMAIL PROTEC
Hi,
Tuesday, December 3, 2002, 7:37:20 AM, you wrote:
VE> Hi.
VE> I'm new in PHP. Could you point me where can i download a sample script
VE> about how can i paginate some results?
VE> TIA
Here is a class that will create a google like pagination of results if that is
what you are after :)
cou
> I've noticed this as well with the things I've been doing for
sessions.
> They way I understand it is that the server side session storing
values is
> supposed to expire after a certain lenght of time. I currently have
this
> at default so I think it should expire after 24 mins. The cleanup is
d
> Wednesday, December 4, 2002, 4:01:07 AM, you wrote:
> >> Ive just been getting myself deep into using sessions.
> >> Sessions are working as it should except for one condition.
> >> Say I log into the site, and the session is started, and I don't do
> >> anything for the next 30 mins, then go bac
Hi,
Wednesday, December 4, 2002, 1:04:07 PM, you wrote:
S> I have a similar problem only my sessions expire once you leave the site,
S> even for a second. I'm not so experienced with cookies so how can I fix
S> this?
S> - Original Message -
S> From: "Tom Rogers" <[EMAIL PROTECTED]>
S> To
howdy
i have got me a form, that when submitted is effectlively only one variable,
but when i submit it, it grabs the last field displayed instead of the one
selected.. normally this would be easy but I think because I have it inside
a loop it's playing havock on me..
-[form code in side the
Hi,
Wednesday, December 4, 2002, 1:33:03 PM, you wrote:
No question :)
It's just that this is what the original question was about and why I suggested
doing his own sesssion timeout check as the deleting proccess is too unreliable
to depend on for timeout handling. PHP will quite happily return st
> i have got me a form, that when submitted is effectlively only one
> variable,
> but when i submit it, it grabs the last field displayed instead of the
one
> selected.. normally this would be easy but I think because I have it
> inside
> a loop it's playing havock on me..
>
>
> -[form code
> No question :)
> It's just that this is what the original question was about and why I
> suggested
> doing his own sesssion timeout check as the deleting proccess is too
> unreliable
> to depend on for timeout handling. PHP will quite happily return stale
> data
> which could be bad in a login ty
Martin,
Anyone,
I'm desperate :( PHP isn't sending my SQL correctly. It's not a MySQL problem. It's my
PHP syntax.
Debugging:
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
$sql = 'SELECT ... FROM '.$table.' WHERE MATCH ... AGAINST
(\'"ready maria"\' IN BOOLEA
Hi,
Wednesday, December 4, 2002, 1:59:11 PM, you wrote:
JWH> Okay. I think I thought you were the original poster. How do you know
JWH> it's returning "stale" data, though? If the cookie is valid, and there
JWH> is still a session file (or data in memory), then why is it stale or
JWH> expired. Ma
Hi,
Wednesday, December 4, 2002, 2:06:36 PM, you wrote:
JTJ> Martin,
JTJ> Anyone,
JTJ> I'm desperate :( PHP isn't sending my SQL correctly. It's not a MySQL problem.
It's my PHP syntax.
JTJ> Debugging:
JTJ> http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
JTJ>
"Lars Espelid" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I reload the page the data gets stored once more.
if (record already exists) {
echo "hey you hit reload!"
} else {
[save record to database]
}
- Steve Yates
- I know a good tagline when I
Tom,
Anyone,
No I'm not looking for a ", I'm trying to pass double quotes into MySQL.
Like I said, it works when debugging:
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
http://ccl.flsh.usherb.ca/print/display.test.inc.phps
but fails when I try to pass my doub
what are the field types in the mysql DB?
> -Original Message-
> From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 4 December 2002 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Whimper, help :)
>
>
> Tom,
> Anyone,
>
> No I'm not looking for a ", I'm tryin
>Is there a minimum field size for using mcrypt?
Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a
string that is usually longer than the original string, since the return has
to be a multiple of the block size used. So a 2-character string takes
"blocksize" characters when
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 connect to our ftp site using the following script, I
have
Peter Houchin wrote:
Mostly varchar(255) and a couple of text. (I may have one longtext).
But should that make a difference?
Like I said, I can run the same SQL in PHPMyAdmin (a MySQL interface) and I get the
correct reponse. But pass it through PHP and kablooey. Won't work?
John
> what are t
I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at the
following code as I cannot figure out what I'm doing wrong.
Page1.
session_start();
session_register("step");
$step=1;
header("location: page_A.php");
Page_A.
session_start();
extract($_SESSION);
$step=2;
hea
--- Steve W <[EMAIL PROTECTED]> wrote:
> My company is looking to move our site away from Cold
> Fusion due to the cost. We had talked about JSP, but I
> would highly prefer PHP. After evaluation, with the
> generic database functions now supporting Oracle in CVS,
> I think this might be a possibil
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bready+maria%26quot%3B
I blame PHP. Can't be MySQL.
echo $sql displays the EXACT same thing.
Debugging ... Works jdaxell.ccl = 2 records found:
$sql = 'SELE
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bready+maria%26quot%3B
I blame PHP. Can't be MySQL.
echo $sql displays the EXACT same thing.
Debugging ... Works jdaxell.ccl = 2 records found:
$sql = 'SELE
On Wednesday 04 December 2002 11:55 am, Siva Kumar wrote:
> About 3 months back I posted the following message to the list:
>
> On Saturday 12 October 2002 12:11 pm, Siva Kumar wrote:
> > I am running Apache/PHP with Postgresql. For the past one day, whenever
> > there is an error in the php script
On Wednesday 04 December 2002 14:12, Manuel Ochoa wrote:
> I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at
> the following code as I cannot figure out what I'm doing wrong.
>
> Page1.
> session_start();
> session_register("step");
> $step=1;
> header("location: page_A
Hello, I am the creator of eNetwizard Content Management Server, an open
source content management system using the LAMP suite. I am getting
ready for its first major release and have come across some problems
that I need to address first... I'm not really sure where to start this
is such a *huge
On Wednesday 04 December 2002 09:41, Stephen wrote:
> Nevermind, I fixed it. But now I have another problem. One, my select box
> has some sub-directories. How cna I filter those out? It is also showing a
> bunch of numbers. I included a screenshot of the select box. The following
> is the code:
>
On Wednesday 04 December 2002 08:29, Jeff Bluemel wrote:
> ... but the date format doesn't seem to
> allow me to pass it a date.
Your code?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications
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 connect to our ftp site using the following script, I
have
Hoa a todos,
Deseo hacer uso de PHP para crear formularios con la finalidad de acceder a una base
de datos MySQL 3.23.53a (todo sobre Linux). Tengo instalado ahora mismo RADIUS y MySQL
e iba a decidirme a montar PHP. He estadoobservando las indicaciones de instalación y
la verdad, soy bastante n
I was the original poster to this topic. Quite suprised it continued..
I have my sessions stored in a database, thus I thought the problem was
there, but have come to realise,
that is how sessions behave naturally.
I originally thought, that the expired session garbage collection dumps
stale ses
On Wednesday 04 December 2002 07:39, Justin French wrote:
> > When I reload the page the data gets stored once more. I'm sure this is a
> > well known problem. Are there any smart tricks to prevent this from
> > happening?
>
> Yes, and they get discussed on this list almost daily... a quick search
Hi,
try $newwidth." x ".$newheight instead.
It's important to put the spaces inside the " <- ...don't know the word
:-)
If it's still not working you could try
settype($newwidth, "string");
settype($newheight, "string");
echo $newwidth." x ".$newheigt;
but I think, this is not necessary!
101 - 132 of 132 matches
Mail list logo