php-windows Digest 23 Jul 2002 10:33:47 -0000 Issue 1253

Topics (messages 14878 through 14888):

php.ini
        14878 by: Wayne A. Darby

uploading
        14879 by: Kit Kerbel

Re: "weeks" via date function
        14880 by: Nicola Delbono
        14887 by: Wolfgang Schneider

Re: Exec
        14881 by: charlesk

Re: phpnuke
        14882 by: Bryan Carbonnell
        14883 by: Peter

Newbie Question
        14884 by: Kit Kerbel
        14885 by: Vail, Warren

help with popup windows
        14886 by: admin

MySQL..
        14888 by: Sandeep Murphy

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 ---
Is there some quirky setting in the php.ini file that needs to be changed in
order to write to a mysql database?


--- End Message ---
--- Begin Message ---
Setup:  php4.2.1 on NT4 server

trying to upload file using copy function

getting this error:

Warning: Unable to open 'C:\Documents and Settings\kkerbel\TODO.txt' for 
reading: No such file or directory in D:\Inetpub\wwwroot3\testupload.php on 
line 24


any ideas?

Kit



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--- End Message ---
--- Begin Message ---
Search google with the word "date_calc"

it's a class. You can do almost everything about dates

*********** REPLY SEPARATOR  ***********

On 19/07/2002 at 13.41 Scott Hurring wrote:

>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Hello everyone,
>>
>> I have a question concerning how to determine the week of the year
>> via the date functions in php ...
>>
>> Does anyone have a suggestion on how to set up some code to determine
>> which "week of the year" the "current date" is in, that is for
>> today's date (19 July 2002) it should return "29" (this being the
>> 29th week of 2002).


Nicola Delbono
///////////////////////////////////////////
Il notiziario dei notiziari
http://www.notiziarioweb.it/
///////////////////////////////////////////

www.smscitta.com | www.musicalbox.it
www.filosofo.it | www.bollicine.com

--- End Message ---
--- Begin Message ---
On Mon, 22 Jul 2002 23:06:47 +0200, Nicola Delbono wrote:

>Search google with the word "date_calc"
>it's a class. You can do almost everything about dates

Dear Nicola

thank you very much for your note and helpful hint !  Knowing what to
search for in search engines does help :-) !
God bless you with His grace and peace 
Wolfgang 

Looking for Biblical information? COME AND SEE! 
-- ONLINE Courses: http://classes.bibelcenter.de ... NEW!
-- BibelCenter: http://www.bibelcenter.de 
-- Bookstore: http://www.worthy.net/BibelCenter/ 



--- End Message ---
--- Begin Message ---
The file I am trying to execute can be executed by Everyone.  
This command works when I specify the local server and it does not work when I specify 
a different server.
The dnscmd.exe works for both local and remote servers when run from a command line.

Charles

---------- Original Message ----------------------------------
From: Scott Carr <[EMAIL PROTECTED]>
Date: Wed, 10 Jul 2002 11:34:26 -0500

Sounds like a permissions problem.  

Everywhere else you are running as you or root.  Under the Web Server, you are
probably running as "Nobody".  

Check permissions on the file you are trying to execute.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting charlesk  <[EMAIL PROTECTED]>:

> I am trying to get php to create a DNS entry on a different server.
> 
> When I open a command shell and enter the command it works fine.  (
> (dnscmd.exe servername /EnumRecords domainname @) OR
> (dnscmd.exe IPaddress /EnumRecords domainname @)
> When I have php exec() the same command from a command line it works fine.
> (c:\php\php.exe c:\test.php4)
> When I have php exec() the same command from a web page it fails.
> (www.intranet.com/dnsinfo.php)
> 
> When servername is the local server it works fine from everywhere.
> 
> Also when I access the website I am using IIS 5.0 and NT authentication so
> the task manager shows that the php.exe is running as me. (Permision shouldnt
> be an issue)
> 
> My question is, does the exec function have network access or why isnt this
> working from a webpage?
> 
> Charles Killmer
> PHP 4.2.1 IIS 5.0 Windows 2000 Server
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
On 22 Jul 2002 at 15:11, Wayne A. Darby wrote:

> I am new to php and am trying to implement a chat client that is based
> in php. I am using MySQL, APACHE, & PHPNUKE and I can type in the
> address and hit my site just fine. When I try to click on a link I
> recieve the error message "Cannot view this page directly".
> 
> Is there anyone that can help me with this? I have searched up and
> down the php.ini file but haven't found a mistake. Any help would be
> greatly appreciated.

That sounds like a PHPNuke error and not a PHP error.

--
Bryan Carbonnell - [EMAIL PROTECTED]
Unfortunately common sense isn't so common!


--- End Message ---
--- Begin Message ---
> On 22 Jul 2002 at 15:11, Wayne A. Darby wrote:
> 
> > I am new to php and am trying to implement a chat client that is based
> > in php. I am using MySQL, APACHE, & PHPNUKE and I can type in the
> > address and hit my site just fine. When I try to click on a link I
> > recieve the error message "Cannot view this page directly".
> > 
> > Is there anyone that can help me with this? I have searched up and
> > down the php.ini file but haven't found a mistake. Any help would be
> > greatly appreciated.
> 
> That sounds like a PHPNuke error and not a PHP error.
> 

it is a PHPNuke security measure....

what you have to do is 
1 make sure you have set it up correctly as in copy the relevent files to the module 
&/or block  folders
2 make sure the module is activated or u have admin rights so u can view the module

PHPNuke doesn't like you accessing a file like  http://localhost/foo.php   unless u 
are accessing the admin section..
what it likes is to be able to go 
http://localhost/module.php?name=nuke_chat

--- End Message ---
--- Begin Message ---
Why do you have to use backslashes in a file path?  (i.e. c:\\upload)

Also, is there any way to avoid doing this, or is it just the php way.

Kit

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---
--- Begin Message ---
Actually it's the "windows way".  One of those valuable innovations that
makes windows software a leader in technology.  Figuring out which is which,
keeps many people employed... hope you don't mind sarcasm...


Warren Vail
Tools, Metrics & Quality Processes

-----Original Message-----
From: Kit Kerbel [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 6:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Newbie Question


Why do you have to use backslashes in a file path?  (i.e. c:\\upload)

Also, is there any way to avoid doing this, or is it just the php way.

Kit

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Can anyone tell me how to incorporate 
a JavaScript code for a link to a 
popup window, that will house a javascript chat...
and have that link inside a table cell/row...in php?

how do i do this...I'm going nuts trying to figure it out.

<*** http://www.myispnet.net ***>
   Administrator
   My ISP Network
   [EMAIL PROTECTED]
<*** http://www.myispcentral.net ***>

--- End Message ---
--- Begin Message ---
Hi guys,

Know this is not a MySQL forum.. wud however appreciate if anyone can answer my 
question...

I had installed MySQL as an service on my Win 98 machine...I seem to hv forgotten how 
to remove/uninstall the service! (feeling sheepish)...

can anyone pl tellme how exactly do I uninstall the service??

thnx,
sands
--- End Message ---

Reply via email to