php-windows Digest 17 Mar 2006 13:40:53 -0000 Issue 2913

Topics (messages 26760 through 26767):

Re: [PHP] Problem
        26760 by: chris smith

Re: Problem
        26761 by: Bikram Suri

Re: [PHP-DEV] Re: Problem
        26762 by: Kamesh Jayachandran
        26764 by: Bikram Suri
        26765 by: Bikram Suri

PHBLIB, PHPDEV Win32, FastTemplate Page Refresh Issue
        26763 by: Anton Heuschen

Re: include txt in html
        26766 by: Alf Stockton

PHP & mssql date/time fields
        26767 by: Alf Stockton

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 ---
On 3/16/06, Bikram Suri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp
> installed on my machine but before wamp I had done a standalone installation
> of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the
> c:\PHP5 directory from my system. How can i reset the include path?? I'm
> running Windows XP with latest wamp installatin(MYSQL+PHP+Apache)

Look for a php.ini file (the info file should tell you where it is)
and edit it there.

--
Postgresql & php tutorials
http://www.designmagick.com/

--- End Message ---
--- Begin Message ---
Thanks for all your replies. I have changed the include_path settings in 
php.ini which is in c:\wamp\php
but still it takes the include path as c:\php5\PEAR

Please help

regards
Bikram

""Bikram Suri"" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have 
> wamp installed on my machine but before wamp I had done a standalone 
> installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and 
> deleted the c:\PHP5 directory from my system. How can i reset the include 
> path?? I'm running Windows XP with latest wamp 
> installatin(MYSQL+PHP+Apache)
>
>
> Any help would be greatly appreciated
>
> regards
>
>
> -- 
> Bikram Suri 

--- End Message ---
--- Begin Message --- See what 'Configuration File (php.ini) Path' shows and identify the php.ini used accordingly.

Please don't [post this kind of help request to internals.

With regards
Kamesh Jayachandran
Bikram Suri wrote:
Thanks for all your replies. I have changed the include_path settings in php.ini which is in c:\wamp\php
but still it takes the include path as c:\php5\PEAR

Please help

regards
Bikram

""Bikram Suri"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hi,

I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp installed on my machine but before wamp I had done a standalone installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the c:\PHP5 directory from my system. How can i reset the include path?? I'm running Windows XP with latest wamp installatin(MYSQL+PHP+Apache)


Any help would be greatly appreciated

regards


--
Bikram Suri


--- End Message ---
--- Begin Message ---
I changed that it was windows but still did not change anything. I even 
reinstalled wamp but still
the include_path variable in phpinfo(); shows c:\php5\pear

Please help as this putting a stop on my work

regards and thank you for all the help


-- 
Bikram Suri



"Kamesh Jayachandran" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> See what 'Configuration File (php.ini) Path' shows and identify the 
> php.ini used accordingly.
>
> Please don't [post this kind of help request to internals.
>
> With regards
> Kamesh Jayachandran
> Bikram Suri wrote:
>> Thanks for all your replies. I have changed the include_path settings in 
>> php.ini which is in c:\wamp\php
>> but still it takes the include path as c:\php5\PEAR
>>
>> Please help
>>
>> regards
>> Bikram
>>
>> ""Bikram Suri"" <[EMAIL PROTECTED]> wrote in message 
>> news:[EMAIL PROTECTED]
>>
>>> Hi,
>>>
>>> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have 
>>> wamp installed on my machine but before wamp I had done a standalone 
>>> installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it 
>>> and deleted the c:\PHP5 directory from my system. How can i reset the 
>>> include path?? I'm running Windows XP with latest wamp 
>>> installatin(MYSQL+PHP+Apache)
>>>
>>>
>>> Any help would be greatly appreciated
>>>
>>> regards
>>>
>>>
>>> -- 
>>> Bikram Suri
>>
>> 

--- End Message ---
--- Begin Message ---
I changed that it was windows but still did not change anything. I even
reinstalled wamp but still
the include_path variable in phpinfo(); shows c:\php5\pear

Please help as this putting a stop on my work

regards and thank you for all the help


-- 
Bikram Suri



"Kamesh Jayachandran" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> See what 'Configuration File (php.ini) Path' shows and identify the
> php.ini used accordingly.
>
> Please don't [post this kind of help request to internals.
>
> With regards
> Kamesh Jayachandran
> Bikram Suri wrote:
>> Thanks for all your replies. I have changed the include_path settings in
>> php.ini which is in c:\wamp\php
>> but still it takes the include path as c:\php5\PEAR
>>
>> Please help
>>
>> regards
>> Bikram
>>
>> ""Bikram Suri"" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>
>>> Hi,
>>>
>>> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have
>>> wamp installed on my machine but before wamp I had done a standalone
>>> installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it
>>> and deleted the c:\PHP5 directory from my system. How can i reset the
>>> include path?? I'm running Windows XP with latest wamp
>>> installatin(MYSQL+PHP+Apache)
>>>
>>>
>>> Any help would be greatly appreciated
>>>
>>> regards
>>>
>>>
>>> -- 
>>> Bikram Suri
>>
>>

--- End Message ---
--- Begin Message ---
Dear list.


I have a problem with a web application. 

Tech/Specs.

Used PHPDev5 on a Win32 box (Windows 2003 Server, and XP).
Using PHPLIB : auth,and DB connections
Use FastTemplate 


The problem: 

When a user enters data (on a form) on a page and it is saved to the
database, when the user goes to a page to display this, it does not actually
display any data (seemingly nothing was saved). I monitored this and noticed
(by looking directly in the DB - MySQL 4.x ) that the records was in fact
saved - but the user could not see this on the page where it was supposed to
display the data. Some pages makes use of a drop-down list to allow the user
to select the record, the item does not appear in the list even if the
record was in fact saved to the database? 

I have also noticed that when I have made changes to the page, addedd
something, changed a font etc, then when I try to open that page it is not
reflected on the page, at first I thought that I have changed the wrong
page, but this was not the case. 

When I clear the offline content, log-out from my web app, and close the
browser (IE) and open the browser (IE) and log in again and go to the page,
then only does the changes to the page show up, or does it show the saved
content of the database.

I have tried to set IE caching to auto, every visit to page, every time IE
starts etc, nothing works, I also find that in FireFox I do not get this??? 

What is also strange is that my users would sometimes be logged out again,
when they go from one page to the next, I can see a pattern here and does
not happen on any specific page also, the user will just link to another
page and then the loggin screem comes up again. I have checked that my page
end with the line/call to page_close()


Any advice from someone with experience of same probleme would be greatly
appreciated.


Anton

[EMAIL PROTECTED]
[EMAIL PROTECTED]

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
 

--- End Message ---
--- Begin Message ---
mailbox 19860221 wrote:
Alf,

Did you check the following lines?

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

Both those lines are and have been uncommented since original install, but thank you for the suggestion.


--
Regards,
Alf Stockton            www.stockton.co.za

That secret you've been guarding, isn't.

My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---
--- Begin Message --- The next problem I need to resolve is accessing records in a PHP program from a mssql database where the index I need to select on is a datetime field and PHP appears to be ignoring the time portion.

The field is defined as
StartDate datetime 8
and would, when looking from Enterprise Manager, contain something similar to
2006/03/10 06:00:00 AM.

The select statement I use is similar to:-
select ID, Name, StartDate, EndDate FROM db WHERE [EMAIL PROTECTED] AND @Today>=StartDate AND @Today <=EndDate ORDER BY EndDate

This, of course, means that two records where only the time is different are both selected whereas all I need is to get the one within the current date/time period.

Suggestions please.

--
Regards,
Alf Stockton            www.stockton.co.za

Give your very best today.  Heaven knows it's little enough.

My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---

Reply via email to