in the php.ini make sure the global register=on. PHP 4+ this is set to off
by default.
From: "Jed R. Brubaker" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session Variables
Date: Wed, 4 Dec 2002 00:15:19 -0700
I am having a problem with a simple script that uses session var
hi,
i try to use a simple counter-script wich is useing the
ImageCreateFromPNG() - function. this work with php4.2.3 as a module in
apache2 very fine. but if i try the same script on the website with the
configurations of my provider it is not working! my provider use the same
versions but with cgi
hi guys,
thnx for the info.. As Leon pointed out, am wondering what would happen to the blobs
?? How do i send/convert them to another db format??
Some of the clients r pretty stubborn and wud want to continue with whatever db they
hv.. dbase, excel or whatever..
I personally hv never worked w
Thanks for all for the response.
My application work in the Win32 system with Apache web_server and have
php.ini directives configurated like
auto_prepend_file=C:\OPENFEDRA\apache\htdocs\systemvariables.php
My PHP script do not have any include_once() function because the directives of
the PHP i
Sands,
Whilst I take Leon`s point about running into conversion problems, data is
data! - you may not find exact equivalents to field types, autoincrement
presents its own head scratchers and so on. But what can be ripped out of
one format can generally be stuffed into another. Blobs certainly ru
Hi,
I am coding a community site and am, (once again) experimenting with a
user system.
Currently I have a user class that checks the user's username and
password with the database and returns them to a login script (with the
password md5 encoded). The login script then registers these (passwo
Hi Cam,
I guess u r quite right about this stuff getting a bit "off topic"! :) this is my last
mail regarding this topic..
if anyone has more ideas to share pl mail me off the list @ [EMAIL PROTECTED]
thnx a bunch,
cheers, sands
-Original Message-
From: Cam Dunstan [mailto:[EMAIL PROT
My guess is that the session ID is changing. Try adding the session ID to
the end of the URL and see if the output matches. If not, you know where the
problem lies.
e.g. header( "Location: url/page.php?SessionIDViaQuery=".session_id() );
Okay, so its harder on your page as your login script is on
Hello Kieran,
Wednesday, December 04, 2002, 5:12:07 PM, you wrote:
KH> session_start();
[...]
KH> session_register('username');
KH> session_register('password');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
You forgot these lines .
Now you can test it somethin
You can do it by checking if the submit button was pressed:
if (isset($name_of_the_submit_button)) {
// the button was pressed
}
Maybe you can include checking a hidden field.
"Matt Babineau" <[EMAIL PROTECTED]> escribió en el mensaje
000d01c29af0$77e6d400$0210a8c0@webdevx">news:000d01c29af0$77e6d
I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4).
Everything went ok, but the include() function.
I have problems when including files.
I tried to specify a directory in the php.ini file but it still didn't work.
This is how i have the include line:
include ('file.inc');
I c
include takes the base directory to be the same directory the script is in.
e.g.
Running the file c:\my_web\Stephen\index.php
include( "hello.php" )
this includes the file c:\my_web\Stephen\hello.php
Hope this helps
Stephen
- Original Message -
From: "Omar" <[EMAIL PROTECTED]>
To: <[EMA
The variable $HTTP_REFERER will tell you the origin of the request.
So you can check it with:
if (EREG('xxx.php$',$HTTP_REFERER)) { //only look for the name file
//process data
}
-- or ---
if ($HTTP_REFERER=='www.yyy.com/path/xxx.php') { //look for the entire url
//process data
Thanks for all.
My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
I have the php.ini auto_prepend_file like this:
auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
All work fine with this configuration of the php.ini.
For same reason I must to do not configure php.in
I am running PHP and MySQL on the following platforms;Windows 2000, XP and
ME and I am finding that the same code does not work. Can some one please
explain this to me?
It fails on the connect string every time. Is there a reason for this?
Windows 2000 = No work
XP = No work
ME = Does work
Jim,
> I am running PHP and MySQL on the following platforms;Windows 2000, XP and
> ME and I am finding that the same code does not work. Can some one please
> explain this to me?
> It fails on the connect string every time. Is there a reason for this?
>
> Windows 2000 = No work
> XP = No work
> M
Hi
Can you tell me your experiences about web servers.
I need fast web server which runs on Win2000, compatible with PHP (i mean
that php works without problems) and is not IIS
Thx
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-windows Digest 4 Dec 2002 20:04:13 - Issue 1470
Topics (messages 17252 through 17269):
Session Variables
17252 by: Jed R. Brubaker
17253 by: Zaid Al-Hamdoon
Problems with ImageCreateFromPNG()
17254 by: Hermann Otteneder
Re: data format..
17255 by: Sandee
Franco Pozzer wrote:
> Thanks for all.
>
> My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
>
> I have the php.ini auto_prepend_file like this:
> auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
>
> All work fine with this configuration of the php.ini.
>
> For same reas
Better (though still theoretically spoofable) would be to include a random
number/string in a hidden field, store that number in the session, and check
to see that the number returned in the form is the same as what is expected
for that session. It's theoretically possible that someone could hijac
Omar wrote:
> I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss
> 4). Everything went ok, but the include() function.
> I have problems when including files.
> I tried to specify a directory in the php.ini file but it still
> didn't work. This is how i have the include line:
> in
Jed R. Brubaker wrote:
> I am having a problem with a simple script that uses session
> variables. It is a user authentication script and none of my users
> have had any problems with the exception of one individual. The
> session variables simply don't carry over. I am half convinced that
> it is
go to http://www.apache.org Rado Rad rasho matie, half the world runs on it,
you`ll never use IIS again.
- Original Message -
From: "Radovan Radic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 7:05 AM
Subject: [PHP-WIN] Fast Web server
> Hi
>
> Can you
Hello,
I've been trying to run a PHP program called PHPList 1.9.3 available at
http://www.phplist.com/files/. The program does not seem to retain it's
sessions when running on a Windows environment.
The program runs well on my Mac OS X 10.2 "Jaguar".
Here is the info on my Windows machine:
Windows
Please help:
I'm working through PHP Fast & Easy Web Development tutorial book by Julie
C. Meloni. It's pretty good. But I've fat-fingered in a script
(Alllinone_form.php) and I get the following error.
Parse error: parse error in c:\program files\apache
group\apache\htdocs\testing\allinone_for
Hi
This is probably something very simple like a missing '}'. Check that all
functions are closed! You could even do a count on the '}' character and check
that it returns an even no. though this is not fool-proof.
Cheers
jpirtle wrote:
> Please help:
>
> I'm working through PHP Fast & Easy Web
Can anyone tell me how to make a script return to the prviose page.
like say im doing a insert then i want it to auto return to the previose
page?
- Original Message -
From: jpirtle <[EMAIL PROTECTED]>
To: PHP Windows Help List <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 11:36 PM
Here's what I do:
Page1.php submits info to page2.php.
In page2.php:
Viola.
-Dash
-Original Message-
From: freeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 12:56 AM
To: PHP Windows Help List
Subject: Re: [PHP-WIN] mystery line
Can anyone tell me how to make a scr
28 matches
Mail list logo