php-windows Digest 8 Feb 2003 20:45:57 -0000 Issue 1578
Topics (messages 18403 through 18407):
Re: Setting cookies question
18403 by: Andrew Staples
CAREFUL! xml, xslt & php - long mail
18404 by: thomash.gmx.co.za
mssql_query raises "The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:" Error
18405 by: Davoud Sangchoulie
Re: PHP and Apache2 experimental?
18406 by: Davy Obdam
18407 by: Vladimir Galkov
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 ---
Warning...admitted Newbie
I can't seem to get cookies set on my win2k php installation (latest version
of php, just loaded this week):
I run this script on a page:
<?
// Check to see if chocolate chip cookie actually exists.
if (isset($_COOKIE["ChocolateChip"])) {
// Grab the value from cookie.
$value = $_COOKIE["ChocolateChip"];
// Print the cookie value.
print "$value";
// If chocolate chip cookie doesn't exist ...
} else {
// Set cookie with a value.
setcookie ("ChocolateChip","Yummmmmy!");
// Redirect back to this page.
header("Location: cookies.php");
}
?>
and the page never loads....it eventually just times out, meaning it is just
looping on itself, I suppose. I don't get any messages in my event log
(error_reporting = E_ALL). Is something supposed to be written to the
php/sessiondata directory? On my local machine, I search my cookie
directory for the cookie, but I don't find any cookies that match (using IE
6.0+) What am I doing wrong? Any help is appreciated.
Thanks,
Andrew
--- End Message ---
--- Begin Message ---
Hi guys,
HELP! HELP! HELP!
I REALLY would like to use xml & xsl to create dynamic content for a site.
Php will play the role of bringing them together, catching the output and
updating the files.
--- OS = win2000 P | php version=4.3 | server=Apache ----
NOW! I have downloaded following files:
- Expat-1.95.6 (even though included in PHP4.3) -> to the sys/ root C:
- phpxmlclasses -> in the dev folders
- Sablotron parser v.0.97 -> currently in the php4.3 folder (where to?)
- EXSLT classes -> dev folders
As the install_win file said i copied the expat.dll into the PATH
(=c:\winnt).
But after that there was little documentation about what to do next.
So i executed the sabcmd.exe of the Sablot, which started to moan about a
missing libexpat.dll.
Then, i copied all the missing dll's (js32.dll...etc), as well as the
sabcmd.exe, into the system PATH(=c:\winnt).
After, yet, another unsuccessful try to create an xslt parser (undefined
function xslt_create() - a base function of the Sablot parser),
i also copied the libexpat.dll, expat.dll and all the others needed into
c:\winnt\system32, and into the php dll folder.
To no avail!
I made a reference in the system variable PATH to the expat.dll ... no
success.
One more thing about my setup:
The apache is configured to use php's asapi modules. It reads them out of
the php4.3 folder on c:.
-----------------------------
Question:
1. What is supposed to happen?
2. How will php know (without an entry into the ini file) where it needs to
read the sablot's dll files from?
3. Why has php not upgrade the expat version from the 1.95.2 to the
installed 1.95.6?
4. What now?
5. Who can PLEASE explain to me, as you would to a slice of bread, what the
right setup is?
It sounds too easy in the installer files!
6. Am i really that thick?
Whoever is attempting to use xml & xslt is a DARE DEVIL! (...sorry for the
exaggerations!...)
Kind regards
thomash
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
--- End Message ---
--- Begin Message ---
Hi.
I have installed "PHP 4.1.1" on IIS server (Windows
2000 Advanced Server).
After connecting to SQL Server 2000 using
"mssql_connect" command and selecting my database
using "mssql_select_db", I am going to query on that
database using "mssql_query".But the "Application
Error" dialog box appears and I get the "CGI Error The
specified CGI application misbehaved by not returning
a complete set of HTTP headers. The headers it did
return are:" Error.
Could you tell me, what's wrong? and what should I do
to solve this problem?
Thanks,
Davoud
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
Hi Matt,
I have used Apache 2 with PHP on Windows 2000 Pro and Windows XP
Home/Pro since the first Apache 2 version came out, I never experienced
any problems. I think Apache 2 is better then 1.3x.... on a windows
machine. I am now running Apache 2.0.44 and PHP 4.3.0 without any
problem on a windows XP system.
Best regards,
Davy Obdam
Matt Hillebrand wrote:
Hello. I'm just wondering when the use of PHP with Apache 2 for Windows
will no longer be considered "experimental." I'm tired of using Apache
1.3x on our Windows 2000 server.
Have any of you had any problems with PHP4/Apache2 on Windows?
Thanks.
================================================================
Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd.
--
--------------------------------------------------------------------
Davy Obdam - Obdam webdesign©
mailto:[EMAIL PROTECTED] web: www.davyobdam.com
--------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
"Matt Hillebrand" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: 003301c2cf0c$5e029560$0100a8c0@beast">news:003301c2cf0c$5e029560$0100a8c0@beast...
> Hello. I'm just wondering when the use of PHP with Apache 2 for Windows
> will no longer be considered "experimental." I'm tired of using Apache
> 1.3x on our Windows 2000 server.
>
> Have any of you had any problems with PHP4/Apache2 on Windows?
>
> Thanks.
The only problem I ever had with Apache 2 & php 4 + win2k Adv Srv, since I
start the service - one of my users set ICQ to use 80 port and use it threw
his remote access to server... ;-)
So... I use appache 2 somth about six months on websrwer with traffic about
200-300Gbytes pear moth, havy cgi scripts, about 700-800 visitors a day,
ASP, Perl, Php, MySQL, MS SQL.. no much problems with it ;-)
--- End Message ---