php-windows Digest 23 Jul 2003 23:34:42 -0000 Issue 1837
Topics (messages 20873 through 20885):
Re: session problem
20873 by: Luis Moreira
20874 by: Mikael Jansson
20875 by: Mikael Jansson
Re: Web pages not being displayed
20876 by: Mikael Jansson
Help PHP + Access
20877 by: Kishore Kumar
20878 by: Mikael Jansson
20880 by: Piotr Pluciennik
Re: XmlRpc extension problem in windows
20879 by: Donald Tyler
20881 by: WebDevMagazine
Re: Subject: Web pages not being displayed
20882 by: Neil Smith
"Hands on" help required
20883 by: WL
closing windows
20884 by: Jon Phipps
Re: combo boxes
20885 by: Peter Houchin
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
If you could interpret them, and the problem would be to get rid of them,
that's one thing.
This is different.
Be more specific.
What warnings ?
----- Original Message -----
From: "tana dsasa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 11:17 AM
Subject: [PHP-WIN] session problem
> I have installed an user-login aplication on my website (
> http://www.norbertnet.ro ) but i have problems with session controls.
> I receive all kinds of warnings and i don't know how to interpret them
>
> thanks advanced
>
>
> ---------------------------------
> Want to chat instantly with your online friends? Get the FREE
Yahoo!Messenger
>
--- End Message ---
--- Begin Message ---
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with
sessions.
What I am building is a loginsystem and I need to save some parameters in
session variables. This works fine on my Win2k pro machine but when I moved
it to winXP it creates two different sessions when I set the $_SESSION
variables. here is some psedo code:
1. When going to any page first thing is to check if permission is set and
also setting a session variable with the pagename (to use as an redirct
later on)
2. after setting the session variable an file is included that performs the
actual login or permission check. In this file another session variable is
set after the login is made, and now starts the weard thing, because now a
new sessionID will be created and if I look in the sessiondata directory
there will be 2 files with that has all the data I have set but in 2 files.
The first session variable is set from a PHP file in one directory and then
the include file is in another directory and that seems to be the problem
because if I move the first PHP file into the include file directory it will
all work just fine.
Please say you have some comments on what the problem is.
Thanx in advance
/ Mikael
--- End Message ---
--- Begin Message ---
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with
sessions.
What I am building is a loginsystem and I need to save some parameters in
session variables. This works fine on my Win2k pro machine but when I moved
it to winXP it creates two different sessions when I set the $_SESSION
variables. here is some psedo code:
1. When going to any page first thing is to check if permission is set and
also setting a session variable with the pagename (to use as an redirct
later on)
2. after setting the session variable an file is included that performs the
actual login or permission check. In this file another session variable is
set after the login is made, and now starts the weard thing, because now a
new sessionID will be created and if I look in the sessiondata directory
there will be 2 files with that has all the data I have set but in 2 files.
The first session variable is set from a PHP file in one directory and then
the include file is in another directory and that seems to be the problem
because if I move the first PHP file into the include file directory it will
all work just fine.
Please say you have some comments on what the problem is.
Thanx in advance
/ Mikael
--- End Message ---
--- Begin Message ---
If you look at the source code in your browser do you see all of the code
that you sent or is it "cut of" in the end?
Have you checked in your browser settings if the page ar cached or loaded
everytime?
This is just wild guesses to ensure that the browser is not the problem
br
/ Mikael
"Greg Whitehead" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All
>
> I could use some help. I have a problem with which I am not sure if its
> PHP4.3.2, MySQL4.0.13 or Apache2.0.46 all running on windows XP.
> The problem is I have a web page that shows a list of data (20 items) from
> MySQL database using PHP script and I get varying results when I view this
> page:
>
> page displays normally (very seldom).
> page displays header only.
> page displays nothing (most commonly).
> page displays a few entries then stops.
> page displays the page with some weird code being displayed beside the
> header (uppercase P and square box with a ? following).
>
> MySQL logs don't show any problem accessing the data.
>
> I have tried using the both Internet Explorer and Netscape, both browsers
> give similar problems. Netscape seems to more tolerant than Explorer.
> Continued refreshing will get the page to eventually display in Netscape
but
> this does not happen with Explorer.
>
> Anyone have any ideas what might be my problem ?
>
> Thanks in Advance
>
> Greg Whitehead
>
>
--- End Message ---
--- Begin Message ---
I am trying to connect MS Access XP with PHP.
Could Some One Tell Me How to Write a Code For that. (A Sample Code Will Be
Better For Me To Understand).
Advance Thanks.
By Kishore.
_________________________________________________________________
It's all happening @ F1. Feel the thrill!
http://server1.msn.co.in/sp03/formula2003/index.asp Race along right here!
--- End Message ---
--- Begin Message ---
I supose you can use the builtin ODBC functionality in PHP (I know its in
PHP Version 4). I'm not sure how to use it but it has functions like
ODBC_connect (), ODBC_execute, ODBC_result and so on so I think its quite
easy to figure out how to use. But as I said before I have never used it,
just found it in the PHP Manual under ODBC.
Good luck
/Mikael
"Kishore Kumar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to connect MS Access XP with PHP.
>
> Could Some One Tell Me How to Write a Code For that. (A Sample Code Will
Be
> Better For Me To Understand).
>
>
> Advance Thanks.
> By Kishore.
>
> _________________________________________________________________
> It's all happening @ F1. Feel the thrill!
> http://server1.msn.co.in/sp03/formula2003/index.asp Race along right here!
>
--- End Message ---
--- Begin Message ---
to connect to db via ODBC:
$dbhandle = @odbc_connect('your_ODBC_DSN',
'user','password');
if($dbhandle == 0)
{
die('Database not connected');
}
where "your_ODBC_DSN" is name of your ODBC source;
then you use all odbc instructions to work with your
db using for example:
1. odbc_exec($dbhandle, $query);
2. odbc_fetch_row($cursor);
3. odbc_result($cursor,'db_field_name');
then at the end you close your database:
odbc_close($dbhandle);
Read more in the manual under "Unified ODBC functions"
HTH
Piotr
--- Kishore Kumar <[EMAIL PROTECTED]> wrote:
> I am trying to connect MS Access XP with PHP.
>
> Could Some One Tell Me How to Write a Code For that.
> (A Sample Code Will Be
> Better For Me To Understand).
>
>
> Advance Thanks.
> By Kishore.
>
>
_________________________________________________________________
> It's all happening @ F1. Feel the thrill!
> http://server1.msn.co.in/sp03/formula2003/index.asp
> Race along right here!
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---
--- Begin Message ---
Got some replies with this the first time but didn't solve the problem so I
am posting again. Please help!
Hi Everyone,
I am having trouble getting the XmlRpc extension working with PnP 4.2.3.
SYSTEM:
Windows XP Pro
PHP 4.2.3 (Running as Apache module)
Apache 2.0.44
When Apache starts I get the following error:
Unknown(): Unable to load dynamic link library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.
The error.log after a clean start:
[Fri Jul 18 17:08:29 2003] [notice] Parent: Created child process 3420 PHP
Warning: Unknown(): Unable to load dynamic library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found. in Unknown on line 0 [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Child process is running [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Acquired the start mutex. [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Starting 250 worker threads.
I know the dll exists in the correct location and the extension path is
specified correctly in the php.ini file because other extensions load fine.
Anyone have any suggestions?
Thanks.
--- End Message ---
--- Begin Message ---
please show me your phpinfo file.
Bogomil
http://webdevmagazine.co.uk/n/
--- End Message ---
--- Begin Message ---
No, without any code samples, error logs, URL information or any other
diagnostic information we'd be guessing. Sorry.
At 10:17 23/07/2003 +0000, you wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "Greg Whitehead" <[EMAIL PROTECTED]>
Date: Tue, 22 Jul 2003 16:11:22 +0930
Subject: Web pages not being displayed
MIME-Version: 1.0
Hi All
I could use some help. I have a problem with which I am not sure if its
PHP4.3.2, MySQL4.0.13 or Apache2.0.46 all running on windows XP.
The problem is I have a web page that shows a list of data (20 items) from
MySQL database using PHP script and I get varying results when I view this
page:
page displays normally (very seldom).
page displays header only.
page displays nothing (most commonly).
page displays a few entries then stops.
page displays the page with some weird code being displayed beside the
header (uppercase P and square box with a ? following).
MySQL logs don't show any problem accessing the data.
I have tried using the both Internet Explorer and Netscape, both browsers
give similar problems. Netscape seems to more tolerant than Explorer.
Continued refreshing will get the page to eventually display in Netscape but
this does not happen with Explorer.
Anyone have any ideas what might be my problem ?
Thanks in Advance
Greg Whitehead
--- End Message ---
--- Begin Message ---
Hi all.
I'm not a PHP scripter, but rely on one for a web app I run. It's hosted on
an old server of mine, and my new server connects to it from Cold Fusion. I
desperately need it on my new server, but simply can't get it working. I've
tried for over 2 months now, and have had some help from the kind
php.windows folks here but am still struggling.
I was wondering if someone would be willing to have a play and see if they
can get it working. I'll give you FTP access to my server...
Yours in desperation!
Will
--- End Message ---
--- Begin Message ---
I am curious as to how, from within php, you could emulate the javascript
window.close() function. The other thing is how would I blend javascript and
php, it call javascript functions from php. The javascript will be located
in the same page as the php.
Jon
--- End Message ---
--- Begin Message ---
Raul,
Thank you very much for your help it works like a charm :)
--
Peter Houchin
Sun Rentals
-----Original Message-----
From: Raul IONESCU <LYNX Fil Impex> [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 23 July 2003 4:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] combo boxes
Be more specific. Send HTML code. If it is what I think you ment then
the problem is very easy solved through JavaScript and MySQL querryies
(and PHP of course, but basically JavaScript is most important part).
-----------------------------------------------------------------
Raul IONESCU - IT Technician & WebMaster
LYNX Fil Impex (www.lynx.ro)
Art Business Romania (www.artbusinessromania.com)
e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel/Fax: +4021 3103002, +4021 3159230, +4021 3145190, +4021 3143875
> ----- Original Message -----
> From: "Isai Arasu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 22, 2003 10:10 PM
> Subject: [PHP-WIN] combo boxes
>
>
> > I have comboboxes filled dynamically using PHP
> > scripts, when i change the selection all my form
> > fields' values must be changed (pulled from database).
> > How do i do that. I m using Apache.
> >
> > Isai.
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
--- End Message ---