php-windows Digest 12 May 2002 01:25:08 -0000 Issue 1140
Topics (messages 13704 through 13712):
Forms don't work
13704 by: Frank Pohl
13705 by: Rasmus Lerdorf
13706 by: Frank Pohl
13707 by: Rasmus Lerdorf
13708 by: Frank Pohl
13709 by: Rasmus Lerdorf
preg_replace or ereg_replace.. or something
13710 by: Nicola Delbono
Include_path problem
13711 by: George Kesarios
permissions
13712 by: Brandon Feldhahn
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 ---
Hi,
first I have to excuse my bad english, but I have a problem and I hope I
can find help here.
I've installed the Xitami webserver and PHP, both in the newest versions.
At first everything seems to be fine, but the problem ist that variables
out of a form won't be send to the next script by get- or post method, what
means if I try to load a script with
http://localhost/script.php?action=load the variable $action is undefined.
Does anyone know how to solve thos problem? Is it PHP related or a Xitami
problem?
Thx for the help
Frank Pohl
--- End Message ---
--- Begin Message ---
Turn on register_globals in your php.ini file
On 11 May 2002, Frank Pohl wrote:
> Hi,
>
> first I have to excuse my bad english, but I have a problem and I hope I
> can find help here.
> I've installed the Xitami webserver and PHP, both in the newest versions.
> At first everything seems to be fine, but the problem ist that variables
> out of a form won't be send to the next script by get- or post method, what
> means if I try to load a script with
> http://localhost/script.php?action=load the variable $action is undefined.
> Does anyone know how to solve thos problem? Is it PHP related or a Xitami
> problem?
> Thx for the help
>
> Frank Pohl
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Rasmus Lerdorf) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> Turn on register_globals in your php.ini file
>
> On 11 May 2002, Frank Pohl wrote:
>
>> Hi,
>>
>> first I have to excuse my bad english, but I have a problem and I
>> hope I can find help here.
>> I've installed the Xitami webserver and PHP, both in the newest
>> versions. At first everything seems to be fine, but the problem ist
>> that variables out of a form won't be send to the next script by get-
>> or post method, what means if I try to load a script with
>> http://localhost/script.php?action=load the variable $action is
>> undefined. Does anyone know how to solve thos problem? Is it PHP
>> related or a Xitami problem?
>> Thx for the help
>>
>> Frank Pohl
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
Still not working with tourning on register_globals. Got the error message
undefined Variable, even phpmyadmin have the same problem.
--- End Message ---
--- Begin Message ---
> Still not working with tourning on register_globals. Got the error message
> undefined Variable, even phpmyadmin have the same problem.
You didn't turn them on correctly then. Perhaps you edited the wrong
php.ini file. Put a phpinfo() call on a page and check where PHP is
looking for the php.ini file and also check the status of the
register_globals setting on that page.
-Rasmus
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Rasmus Lerdorf) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>> Still not working with tourning on register_globals. Got the error
>> message undefined Variable, even phpmyadmin have the same problem.
>
> You didn't turn them on correctly then. Perhaps you edited the wrong
> php.ini file. Put a phpinfo() call on a page and check where PHP is
> looking for the php.ini file and also check the status of the
> register_globals setting on that page.
>
> -Rasmus
>
>
It's tourned on correctly. Phpinfo told me that register_globals is tourned
on. Could this be a Xitami problem or is there something else that could be
wrong in my php.ini?
Frank
--- End Message ---
--- Begin Message ---
No idea, I don't actually do Windows.
On 11 May 2002, Frank Pohl wrote:
> [EMAIL PROTECTED] (Rasmus Lerdorf) wrote in
> [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>
> >> Still not working with tourning on register_globals. Got the error
> >> message undefined Variable, even phpmyadmin have the same problem.
> >
> > You didn't turn them on correctly then. Perhaps you edited the wrong
> > php.ini file. Put a phpinfo() call on a page and check where PHP is
> > looking for the php.ini file and also check the status of the
> > register_globals setting on that page.
> >
> > -Rasmus
> >
> >
>
> It's tourned on correctly. Phpinfo told me that register_globals is tourned
> on. Could this be a Xitami problem or is there something else that could be
> wrong in my php.ini?
>
> Frank
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hello I'd like to have a regex which can find words > 4 length
in the body of an HTML page adding an incrementing number before
every word, but preserving original HTML ( so no strip_tags )
Example:
<html><head><title></title></head>
<body>
<h1>Hello,</h1> this is my first brilliant page<br>
on the web. Hey <b>what</b> an <i>amazing</i> thing.
</body>
</html>
would become
<html><head><title></title></head>
<body>
<h1>[1]Hello,</h1> [2]this is my [3]first [4]brilliant [5]page<br>
on the web. Hey <b>[6]what</b> an <i>[7]amazing</i> [8]thing.
</body>
</html>
I'm getting crazy with escapes and tags..
Thanks
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 ---
Can anyone please tell me what this
means and how to go about to fix it!
Im fairly new and this error keeps popping up
in most of the scripts I try to run.
Warning: Failed opening '../htmlheader.php' for inclusion (include_path='')
in C:\Program Files\Apache Group\Apache2......
Using Apache 2 (windows)
and php 4.12
Thanks in Advance
--- End Message ---
--- Begin Message ---
Hello, i need to now how to set permissions for scripts to work on another server,
this is my error, and im trying to make a guest book, what do i do the change the
permissions or get around this, thanks.
Warning: fopen("mb.php3.comment", "a") - Permission denied in
/home/nofx413/public_html/annotate.php3 on line 29
Warning: fwrite(): supplied argument is not a valid File-Handle resource in
/home/nofx413/public_html/annotate.php3 on line 30
Warning: fclose(): supplied argument is not a valid File-Handle resource in
/home/nofx413/public_html/annotate.php3 on line 31
here are lines 29 - 31 in the script:
$fp = fopen (basename($PHP_SELF) . ".comment", "a");
fwrite ($fp, $message );
fclose ($fp);
--- End Message ---