I had no problem installing php4 as sapi module and php5 as cgi executeable.
The server starts with no error messages. BUT, when I try opening a file
(phpinfo.php5 with content the server return a 500
Internal Server Error.
Have the following lines added to httpd.conf
LoadModule php4_module "D:/p
I had no problem installing php4 as sapi module and php5 as cgi executeable.
The server starts with no error messages. BUT, when I try opening a file
(phpinfo.php5 with content the server return a 500
Internal Server Error.
Have the following lines added to httpd.conf
LoadModule php4_module "D:/p
) == true) $separator = "\t"; // om texten är
>
> if(isset($_POST['users'])
> {
> $_SESSION['temp_users'] = $_POST['users'];
> }
> if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t";
> ...
> if(isset($_POST['users'])
> {
> $_SESSION['temp_users'] = $_POST['users'];
> }
> if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t";
> ...etc
>
> hope it helps
> Pete
>
Will take a look at function.serialize too. Thank you guys
--
PHP General Mailing List (http://www.ph
I want to give the visitor a possibility to create plenty of new user
accounts by letting the him paste the userinfo from a tab-, comma- or
semicolonseparated file to a textarea (form.php). Then some checking needs
to be done (check_users.php) before the final result is written to the db
(add_users
"John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Øystein Håland wrote:
> >>From Excel you can save a table as a tab separated txt-file. I want to
take
> > this and execute INSERT queries (by uploading the file or by copying the
&g
>From Excel you can save a table as a tab separated txt-file. I want to take
this and execute INSERT queries (by uploading the file or by copying the
content into a textarea). Anyone who has a script to do this? My platform is
Windows, but the script will be used on a Linux web server.
--
PHP G
em occure i my update script:
if (date("M",filemtime($_SERVER['PATH_TRANSLATED']))=="Jan") {..}
)
> "ØYstein HåLand" <[EMAIL PROTECTED]> skrev i meddelandet
> news:[EMAIL PROTECTED]
> > Is there some way to retrieve the phpvariabl
That gives the following error: Notice: Undefined index: PATH_TRANSLATED
and the reason is the variable isn't set by Apache/PHP
"Matt" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> - Original Message -----
> From: "Øystein Håland
Is there some way to retrieve the phpvariable PATH_TRANSLATED on my local
win2k+Apache2+php4.3.2 box?
Using phpinfo() does not show PATH_TRANSLATED
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HTTP_USER_AGENT"], 'Gecko'))
> {
> // ... set gecko css
> $css='main.gecko.css';
> }
> ?>
>
>
> Some title
>
>
>
>
> .
> .
> .
> "ØYstein HåLand" <[EMAIL PROTECTED]> pí¹e v diskusním pø
I'm sorry Dan, but it don.t make any difference. Here's almost the complete
code:
";
if (ereg("/math", $_SERVER['PHP_SELF']) == true) {
echo "
some javascript here ";
}
else if (ereg("/prov/", $_SERVER['PHP_SELF']) == true) {
echo "
some more javascript here ";
}
echo "