php-windows Digest 28 Feb 2001 09:48:07 -0000 Issue 466 Topics (messages 5742 through 5748): Re: Install Help: Win98/PWS 5742 by: Ignatius Teo 5748 by: Karl Phillipson Newbie question 5743 by: Ernesto 5744 by: Gonzalo Vera Re:[PHP-WIN] HTTP Header REFERER 5745 by: Erin's Fan Club Here... another newbie question 5746 by: Ernesto Re: [PHP-DB] Resolution detect and redirect 5747 by: Ben Cairns 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] ----------------------------------------------------------------------
Have you edited the registry merge file that comes with the distro and merged that into your registry? Ignatius > -----Original Message----- > From: Mark Petereit [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 28 February 2001 08:17 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Install Help: Win98/PWS > > > > I have installed PHP and PWS on my Win98 system and have > followed all of the install instructions, including manually > configuring all of the registry entries. When I try to pull > up http://localhost/index.php in Internet Explorer v5.5, I > see what looks like the file download dialog pop up with a > status bar and disappears almost immediately. Then, a DOS box > pops up with PHP in the title, then it immediately > disappears. Nothing is displayed in my browser. > To me, it seems like the output HTML from PHP is not being > loaded as the input to Internet Explorer. > Can someone help point me in the right direction here? > Mark Petereit > > > > --------------------------------- > Do You Yahoo!? > Yahoo! Mail Personal Address - Get email at your own domain > with Yahoo! Mail.
You might also want to look and see if you have enabled execute permissions for your root web directory within the PWS console. Karl Ignatius Teo wrote: > Have you edited the registry merge file that comes with the distro and merged that >into your registry? > > Ignatius > > > -----Original Message----- > > From: Mark Petereit [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, 28 February 2001 08:17 > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] Install Help: Win98/PWS > > > > > > > > I have installed PHP and PWS on my Win98 system and have > > followed all of the install instructions, including manually > > configuring all of the registry entries. When I try to pull > > up http://localhost/index.php in Internet Explorer v5.5, I > > see what looks like the file download dialog pop up with a > > status bar and disappears almost immediately. Then, a DOS box > > pops up with PHP in the title, then it immediately > > disappears. Nothing is displayed in my browser. > > To me, it seems like the output HTML from PHP is not being > > loaded as the input to Internet Explorer. > > Can someone help point me in the right direction here? > > Mark Petereit > > > > > > > > --------------------------------- > > Do You Yahoo!? > > Yahoo! Mail Personal Address - Get email at your own domain > > with Yahoo! Mail.
Hi, I'm doing my first steps in PHP and I have my first simple question: We use MySQL in our website and I saw that PHP has special functions for MySQL. Now, I'm starting a big project and I don't want it to be MySQL-dependant, so I would like to access MySQL via MyODBC. Is this ok? Is there any drawback in doing this? I guess it's slower, but... is it REAAALLY slower? I want to do this, so PHP doesn't know what kind of database is reading, and so, I can change my DBMS in the future without disturbing my code. Thanks in advance Ernesto
It is slower. Maybe not REEAALLY slower if you don't have much traffic, but when it comes to kicks, you're losing quite some performance. I would suggest that you have a look at some of the DB abstraction layer classes available un phpclasses.upperdesign.com or at www.hotscripts.com; they could come in handy in making your scripts DB-independent (as far as it can go) and still not lose so much performance. I also did my own layer (very simple and easy to put to work, it will give you the idea) for ODBC and MySQL, that you could have if you like. Just say so. Regards, Gonzalo. > Hi, > I'm doing my first steps in PHP and I have my first simple question: > We use MySQL in our website and I saw that PHP has special functions for > MySQL. > Now, I'm starting a big project and I don't want it to be MySQL-dependant, > so I would like to access MySQL via MyODBC. > Is this ok? > Is there any drawback in doing this? > I guess it's slower, but... is it REAAALLY slower? > I want to do this, so PHP doesn't know what kind of database is reading, and > so, I can change my DBMS in the future without disturbing my code. > Thanks in advance > Ernesto
Hi: For me this code works on Win2k Pro running Apache and PHP v4.02pl2; <?php echo $HTTP_REFERER; ?> Otherwise, you could get Javascript to pass the variable onto the request url passed to the PHP script. I think the syntax is nearly the same for Javascript so you would just need to tack it on to the request uri like... http://server.com/my_file.phpHTTP_REFERER=<script>$http_var</script> Or even retrieve it through a simple Perl script. >In apache, the variable: >HTTP REFERER is automatically set. >I don't run apache, I tried to access the variable like this in a >regular script: > ><?php >echo "$http referer"; >?> <<SNIP>> >Thanks in advance >RDB Hope this helps, regards Jerry
I use WebSite Pro 2.4 and I installed PHP 4.0.4pl1. Now, when I reach index.php, it results in a blank page. WebSite error log says API DLL C:\PHP\sapi\php4isapi.dll loaded on demand. ISAPI: ServerSupportFunction() called with unknown opcode 1016 before you say so... mappings are ok and I can't upgrade to WebSite 2.5 because of other extensions installed. Any suggestions? Thanks in advance Ernesto
<SCRIPT> if (screen.width==640) { Your Redirect Here} if (screen.width==800) { Your Redirect Here } if (screen.width==1024) { Your Redirect Here } </SCRIPT> Hope this is what you need -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK......"