[PHP-WIN] installing on a remote web host
Hi all, I have searched for any info on installing php up to a web host's server as far as they have told me "PHP is enabled by default" so! I am looking for the documentation that will guide me in the process of uploading and activateing php ... thanks! Rob deltona, fl -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Php Setup - begginer
Hello, I'm wanting to learn php, but am having trouble setting up my computer so that I can use it. I know that you need to have a server with php enabled. I'm using a single PC with Windows XP, and have IIS installed. I have also downloaded the latest version of php and installed that too. Still though, I can't seem to get it working, I'm not sure if its the php, the server or just my stupidity. Does anyone know how to do this? (I guess so considering this is php.windows). Or, does anyone know a good web site that explains how to set it all up. I've tried using the php manual and some php books, but they don't really focus on how to get the whole thing working together, and I find them particularly vague when explaining the server thing. Also, is IIS the best solution or is there something a bit easier, like the Microsoft Personal Server or Apache?...I don't really know much about these...but then I don't really know much about IIS either. I'm a server/networking novice you might say. Cheers for any help in advance. Rob email: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: How do you tell if 'mail' function was successful?
Ross Honniball wrote: Anyone know how to tell if a mail('[EMAIL PROTECTED]', 'sub', 'body') is successful or not? Thanks .. Ross . . Ross Honniball. JCU Bookshop Cairns, Qld, Australia. . The problem with mail is it only passes the message to the mail server, there is no real way i can follow the message all the way to the users inbox, It gets to the part where the message is accepted into the server queue, so you would really only get an error if the mail server was down, or has certain requirements that wernt met... authentication for one. Rob Aldred Masterserver Limited www.masterserver.co.uk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] setting php for accepting the urls... phpinfo.php/extra/information/
Hi, could someone possibly point me in the right direction for allow PHP on IIS 6 to accept urls with the query string seperated by slashes.. like.. http://mysite.com/phpinfo.php/extra/information/ I need to do this to allow the setup of search engine friendly pages :D Thanks Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: a little question
Kurlic wrote: hi all! can someone tell me how i upload and download files to / from a mysql db? thank u ^_^ Hi, this is a rarther broad question to ask, there are plenty of file upload system out there http://www.hotscripts.com http://php-resourceindex.com just a couple of good resource sites :) Rob Masterserver Limited http://www.masterserver.co.uk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: DOM/XML -> PHP 5.0.3 HowTo?
S.F. Alim wrote: Hi list, i took this tutorial for creating xml file from scratch. toturial is is present at sitepoint. www.sitepoint.com/print/management-system-php. ok i dont know how to enable DOM/XML feature, when i do phpinfo(); it does give that DOM/XML is enable but i cant run this tutorial. i try to debug and found out that i cant create document root. ie. $doc = domxml_new_doc("1.0"); [this part comes when u create addArticle.php file]it gives me blank page. any idea what is wrong? That's a tutorial for the domxml ext in PHP 4. See http://www.php.net/manual/en/ref.dom.php for DOM in PHP 5. Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: building php 5.2.1 on windows
Hi Rashimi, Rashmi Badan wrote: Hi, I'm trying to build php 5.2.1 on windows and am hitting the following problem at link time Creating library Release\php5ts.lib and object Release\php5ts.exp libxml.obj : error LNK2019: unresolved external symbol _xmlDllMain referenced in function [EMAIL PROTECTED] Release\php5ts.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Intel\CPP\Compiler81\IA32\bin\icl. exe"' : return code '0x460' I am linking it to a libxml2.lib that I have compiled. When I do a dumpbin i do not see the _xmlDllMain symbol. I tried downloading some libxml2 binaries but they didn't have that symbol either. That symbol is not made available by default in the builds. You have a couple of options: 1) Use my libxml2 builds - the ones that the official binaries are built off of. http://ctindustries.net/libxml/ I haven't had a chance to publish the .29 build and was not satisfied with the .27 and .28 builds to build those, so all I have are .26 until I have time. 2) Build libxml2 2.6.29 from source (must compile with a MS compiler) and have PHP link against the libxml2_a_dll.lib file. I added that to the default libxml2 MSVC build but still need to commit the additon to the PHP build system (will be post 5.2.4). Once done, then the official libxml2 binaries (2.6.29+) will be able to be used. all you need to do is change the config.w32 file in ext/libxml to: if (CHECK_LIB("libxml2_a_dll.lib;libxml2_a.lib", "libxml") && *AND* add the LIBXML_STATIC_FOR_DLL flag ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC /D LIBXML_STATIC_FOR_DLL "); Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: building php 5.2.1 on windows
Hi Rashmi, Rashmi Badan wrote: Hi . . . 2) Build libxml2 2.6.29 from source (must compile with a MS compiler) and have PHP link against the libxml2_a_dll.lib file. I added that to the default libxml2 MSVC build but still need to commit the additon to the PHP build system (will be post 5.2.4). Once done, then the official libxml2 binaries (2.6.29+) will be able to be used. all you need to do is change the config.w32 file in ext/libxml to: if (CHECK_LIB("libxml2_a_dll.lib;libxml2_a.lib", "libxml") && *AND* add the LIBXML_STATIC_FOR_DLL flag ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC /D LIBXML_STATIC_FOR_DLL "); I tried #2 but it didn't seem to help. I'm working with libxml2 2.6.27 and so I had to build libxml2_a_dll.lib by referring to the makefiles in 2.6.29. But now I get some additional warnings, old problem persists :( It won't work with un-modified 2.6.27 code. I had also made a few modifications to threads.c and threads.h, which were committed for 2.6.29. Is there any reason you need .27 and can't use the .26 (or build against .29)? Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: building php 5.2.1 on windows
Rashmi Badan wrote: I was using .27 on linux and had to get the same working on windows as well, so am using that version. Will using .29 solve my problem of not being able to build on windows? Is that a recommended version anyway? Then I could probably upgrade to .29 - although it would save me some effort in being able to work with .27 itself. .29 will solve your problem and contains the latest bug fixes so always recommended. As in my last message, if you want to use .27 on windows, you need to patch threads.c and threads.h with the changes that are in .29 to get the symbol properly exposed and exported. Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Can't load 'SimpleXML' as 'libxml' is not loaded in Unknown line 0.
I will be fixing this soon to support the new .30 libxml2 builds (just been lazy). For now, all you need to do is edit the config.w32 file in ext/libxml with the following (not on my windows system so might not be 100% accurate): change: if (CHECK_LIB("libxml2_a.lib;libxml2.lib", "libxml") && to if (CHECK_LIB("libxml2_a_dll.lib;libxml2_a.lib;libxml2.lib", "libxml") && change: ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC "); to: ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC /D LIBXML_STATIC_FOR_DLL "); do buildconf, then configure again and finally nmake. That will now build using the new static for dll lib of libxml2. Rob Chhaya Sharma wrote: I am trying to integrate libxml2 with PHP by linking it with libxml2_a_dll.lib.However this is not happening.Apache throws following warning. PHP Warning: Cannot load module 'SimpleXML' because required module 'libxml' is not loaded in Unknown on line 0 I have added libxml.obj to STATIC_EXT_OBJS and libxml2_a_dll.lib to STATIC_EXT_LIBS and LIBXML_STATIC_FOR_DLL to STATIC_EXT_CFLAGS. Following are the two crucial lines in the makefile for obtaining library libxml2_a_dll.lib . .c{$(LIBXML_STATIC)}.obj: $(CC) $(INCLUDE_FLAGS) $(CFLAGS) /D "LIBXML_STATIC" /D "LIBXML_STATIC_FOR_DLL" /Fo$(LIBXML_STATIC)\ /c $< all: $(STATIC_OBJS) $(SO_OBJS) lib.exe /nologo /OUT:$(LIBXML_STATIC)\libxml2_a_dll.lib $(STATIC_OBJS) I am novice to such kind of job.Can anyone please help me. Thanks, Chhaya -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] request for php_mcrypt.dll for 4.0.6
I have libmcrypt up and running under win32, and have apache and php4 running - can anyone throw me a copy of the php_mcrypt.dll for php4.0.6 so that I can get the two bits to talk to each other... cheers mrob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] Re: Using PHP in Web Pages
If all you want to do is pull navigation, or other common components, into a page then PHP is slow compared with the specifically deisgned web-server function for it - SSI (Server Side Includes). Try: http://httpd.apache.org/docs/howto/ssi.html.html I haven't found a HTTP server yet that doesn't support this standard and it's wuicker than calling into PHP by a long way. cheers mrob --- elias <[EMAIL PROTECTED]> wrote: > you can always use PHP and the include(), like > > header.htm is: > > menu1 href="#">menu2 > > > and footer.htm is another file, > > in your main.php file you can do like: > > > > > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] printer functions
I'm trying to do a printer_open but I keep on getting a warning that it can't connect to the printer. The printer isn't local to the web server. It exists as a network printer (shared by another system). I'm using a fully Windows environment (I know...I know). I've tried specifying the printer name as the share name, system name, and IP address. None of which work. Is there a trick to making a connection? I hope that you don't need to have only a local printer. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer functions
I didn't even think of that. Thanks. I tried it and got the printer to show up. Now I've got to figure out how to open a connection to it. The printer_open function isn't working as I would expect. Thanks again!! Rob Cox "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 001401c12bed$aa326f00$1300020a@erik_laptop">news:001401c12bed$aa326f00$1300020a@erik_laptop... > Hi Rob! > > I haven't had the chance to play with this set of functions yet. However, a > quick browsing of the docs found this function: > > http://www.php.net/manual/en/function.printer-list.php > > Try firing that off with the PRINTER_ENUM_NETWORK or PRINTER_ENUM_REMOTE > options. See what printers if finds and how it identifies them. Just a guess > on how you might troubleshoot things a little. > > - Erik > > > > -Original Message- > > From: Rob Cox [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 23, 2001 10:54 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] printer functions > > > > > > I'm trying to do a printer_open but I keep on getting a warning that it > > can't connect to the printer. The printer isn't local to the web > > server. It > > exists as a network printer (shared by another system). I'm using a fully > > Windows environment (I know...I know). I've tried specifying the printer > > name as the share name, system name, and IP address. None of > > which work. Is > > there a trick to making a connection? I hope that you don't need to have > > only a local printer. > > > > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] printer_start_doc
I have been able to establish a connection to a printer. printer_start_doc and printer_start_page don't seem to be working. I keep on getting the following errors: Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php on line 4 Warning: couldn't start a new page in E:\Archive\html\PSprint.php on line 5 Warning: couldn't end the page in E:\Archive\html\PSprint.php on line 35 Fatal error: couldn't terminate print job in E:\Archive\html\PSprint.php on line 36 any ideas?
Re: [PHP-WIN] printer_start_doc
Yes I believe that I a m running under the IUSR_ComputerName account. I'll have to verify permissions. I've just noticed that the handle that is being returned is showing as 'Resource id #1'. I have no idea about that but it makes sense that if I don't have a proper handle, I won't be able to create a doc. I would like to thank you Erik. You pushed me in the right direction to get to here. "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 005001c12cc1$2be4f4e0$1300020a@erik_laptop">news:005001c12cc1$2be4f4e0$1300020a@erik_laptop... > > I have been able to establish a connection to a printer. > > Sweet! > > > printer_start_doc and printer_start_page don't seem to be working. I > > keep on getting the following errors: > > > > Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php > > on line 4 > > Sounds like a possible permissions issue, perhaps. You're running under the > iuse_computername account, right? > > Just a "off the top o' my lid" thought, > - Erik > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
I've made sure that the printer is available to IUSR_ALPHA (my server). The printer is actually open to everyone but I made sure that IUSR_ALPHA was specified too. Nothing. Still get the same error. "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > Yes I believe that I a m running under the IUSR_ComputerName account. I'll > > have to verify permissions. > > Do that. If it's a printer being shared over the network, it's subject to > either the domain permissions or the permissions specific to the box doing > the sharing (or both, actually). Wow. That was a long-ass runon sentence! > > > I've just noticed that the handle that is being returned is showing as > > 'Resource id #1'. I have no idea about that but it makes sense that if I > > don't have a proper handle, I won't be able to create a doc. > > That's because you're running PHP4. It ID's things like connections, > etc...as Resource #(whathaveyou). It's an interesting way to keep track of > how many major resources you have in a script. ;) > > > I would like to thank you Erik. You pushed me in the right > > direction to get to here. > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up with, > I'm sure. Besides...it's good karma. You get some, you pass it on! > > - Erik > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
I will give it a try. Thanks. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 14:20 24.08.2001 -0400, Rob Cox wrote: > >I've made sure that the printer is available to IUSR_ALPHA (my server). The > >printer is actually open to everyone but I made sure that IUSR_ALPHA was > >specified too. Nothing. Still get the same error. > > please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip > there have been some fixes to the extension since 4.0.6. > if that still doesn't work please provide some reproducing code. > sounds like printer_start_doc() is failing (permission problem, no device > context created/failed,...). > > daniel > > > > >"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message > >005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > > > Yes I believe that I a m running under the IUSR_ComputerName account. > >I'll > > > > have to verify permissions. > > > > > > Do that. If it's a printer being shared over the network, it's subject to > > > either the domain permissions or the permissions specific to the box doing > > > the sharing (or both, actually). Wow. That was a long-ass runon sentence! > > > > > > > I've just noticed that the handle that is being returned is showing as > > > > 'Resource id #1'. I have no idea about that but it makes sense that if > >I > > > > don't have a proper handle, I won't be able to create a doc. > > > > > > That's because you're running PHP4. It ID's things like connections, > > > etc...as Resource #(whathaveyou). It's an interesting way to keep track of > > > how many major resources you have in a script. ;) > > > > > > > I would like to thank you Erik. You pushed me in the right > > > > direction to get to here. > > > > > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up with, > > > I'm sure. Besides...it's good karma. You get some, you pass it on! > > > > > > - Erik > > > > > > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > /*-- > daniel beulshausen - [EMAIL PROTECTED] > using php on windows? http://www.php4win.de > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
Updated to 4.0.7rc1 and it still didn't work. Here's my snippet: $handle = printer_open("\\\kinkos\\kinkos"); printer_start_doc($handle, "Project Status"); printer_start_page($handle); printer_write($handle, "any text"); printer_end_page($handle); printer_end_doc($handle); printer_close($handle); "Rob Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I will give it a try. Thanks. > > "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > At 14:20 24.08.2001 -0400, Rob Cox wrote: > > >I've made sure that the printer is available to IUSR_ALPHA (my server). > The > > >printer is actually open to everyone but I made sure that IUSR_ALPHA was > > >specified too. Nothing. Still get the same error. > > > > please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip > > there have been some fixes to the extension since 4.0.6. > > if that still doesn't work please provide some reproducing code. > > sounds like printer_start_doc() is failing (permission problem, no device > > context created/failed,...). > > > > daniel > > > > > > > > >"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message > > >005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > > > > Yes I believe that I a m running under the IUSR_ComputerName > account. > > >I'll > > > > > have to verify permissions. > > > > > > > > Do that. If it's a printer being shared over the network, it's subject > to > > > > either the domain permissions or the permissions specific to the box > doing > > > > the sharing (or both, actually). Wow. That was a long-ass runon > sentence! > > > > > > > > > I've just noticed that the handle that is being returned is showing > as > > > > > 'Resource id #1'. I have no idea about that but it makes sense that > if > > >I > > > > > don't have a proper handle, I won't be able to create a doc. > > > > > > > > That's because you're running PHP4. It ID's things like connections, > > > > etc...as Resource #(whathaveyou). It's an interesting way to keep > track of > > > > how many major resources you have in a script. ;) > > > > > > > > > I would like to thank you Erik. You pushed me in the right > > > > > direction to get to here. > > > > > > > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up > with, > > > > I'm sure. Besides...it's good karma. You get some, you pass it on! > > > > > > > > - Erik > > > > > > > > > > > > > > > >-- > > >PHP Windows Mailing List (http://www.php.net/) > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > /*-- > > daniel beulshausen - [EMAIL PROTECTED] > > using php on windows? http://www.php4win.de > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
Both the web and print server are running Windows 2000 SP2. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = printer_open("\\\kinkos\\kinkos"); > >printer_start_doc($handle, "Project Status"); > >printer_start_page($handle); > >printer_write($handle, "any text"); > >printer_end_page($handle); > >printer_end_doc($handle); > >printer_close($handle); > > i'm unable to reproduce this locally, i'll try to figure that out in a > network later. > which OS is the server/client running. > btw: don't use printer_write. it's for sending raw printer data, you'll > have to do something like > > $handle = printer_open(); > printer_set_option($handle, PRINTER_MODE, "TEXT"); > printer_write($handle, "Text to print"); > printer_close($handle); > > better see http://php.net/manual/en/function.printer-draw-text.php > > daniel > > p.s.: you can also contact me privately > > >"Rob Cox" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I will give it a try. Thanks. > > > > > > "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > At 14:20 24.08.2001 -0400, Rob Cox wrote: > > > > >I've made sure that the printer is available to IUSR_ALPHA (my server). > > > The > > > > >printer is actually open to everyone but I made sure that IUSR_ALPHA > >was > > > > >specified too. Nothing. Still get the same error. > > > > > > > > please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip > > > > there have been some fixes to the extension since 4.0.6. > > > > if that still doesn't work please provide some reproducing code. > > > > sounds like printer_start_doc() is failing (permission problem, no > >device > > > > context created/failed,...). > > > > > > > > daniel > > > > > > > > > > > > > > > > >"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message > > > > >005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > > > > > > Yes I believe that I a m running under the IUSR_ComputerName > > > account. > > > > >I'll > > > > > > > have to verify permissions. > > > > > > > > > > > > Do that. If it's a printer being shared over the network, it's > >subject > > > to > > > > > > either the domain permissions or the permissions specific to the box > > > doing > > > > > > the sharing (or both, actually). Wow. That was a long-ass runon > > > sentence! > > > > > > > > > > > > > I've just noticed that the handle that is being returned is > >showing > > > as > > > > > > > 'Resource id #1'. I have no idea about that but it makes sense > >that > > > if > > > > >I > > > > > > > don't have a proper handle, I won't be able to create a doc. > > > > > > > > > > > > That's because you're running PHP4. It ID's things like connections, > > > > > > etc...as Resource #(whathaveyou). It's an interesting way to keep > > > track of > > > > > > how many major resources you have in a script. ;) > > > > > > > > > > > > > I would like to thank you Erik. You pushed me in the right > > > > > > > direction to get to here. > > > > > > > > > > > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up > > > with, > > > > > > I'm sure. Besides...it's good karma. You get some, you pass it on! > > > > > > > > > > > > - Erik > > > > > > > > > > > > > > > > > > > > > > > > > >-- > > > > >PHP Windows Mailing List (http://www.php.net/) > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > >To contact the list administrators, e-mail: > >[EMAIL PROTECTED] > > > > > > > > > > > > /*-- > > > > daniel beulshausen - [EMAIL PROTECTED] > > > > using php on windows? http://www.php4win.de > > > > > > > > > > > > > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > /*-- > daniel beulshausen > [EMAIL PROTECTED] - [EMAIL PROTECTED] > using php on windows? http://www.php4win.com > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
Thanks for the info on using printer_draw_text. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = printer_open("\\\kinkos\\kinkos"); > >printer_start_doc($handle, "Project Status"); > >printer_start_page($handle); > >printer_write($handle, "any text"); > >printer_end_page($handle); > >printer_end_doc($handle); > >printer_close($handle); > > i'm unable to reproduce this locally, i'll try to figure that out in a > network later. > which OS is the server/client running. > btw: don't use printer_write. it's for sending raw printer data, you'll > have to do something like > > $handle = printer_open(); > printer_set_option($handle, PRINTER_MODE, "TEXT"); > printer_write($handle, "Text to print"); > printer_close($handle); > > better see http://php.net/manual/en/function.printer-draw-text.php > > daniel > > p.s.: you can also contact me privately > > >"Rob Cox" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I will give it a try. Thanks. > > > > > > "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > At 14:20 24.08.2001 -0400, Rob Cox wrote: > > > > >I've made sure that the printer is available to IUSR_ALPHA (my server). > > > The > > > > >printer is actually open to everyone but I made sure that IUSR_ALPHA > >was > > > > >specified too. Nothing. Still get the same error. > > > > > > > > please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip > > > > there have been some fixes to the extension since 4.0.6. > > > > if that still doesn't work please provide some reproducing code. > > > > sounds like printer_start_doc() is failing (permission problem, no > >device > > > > context created/failed,...). > > > > > > > > daniel > > > > > > > > > > > > > > > > >"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message > > > > >005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > > > > > > Yes I believe that I a m running under the IUSR_ComputerName > > > account. > > > > >I'll > > > > > > > have to verify permissions. > > > > > > > > > > > > Do that. If it's a printer being shared over the network, it's > >subject > > > to > > > > > > either the domain permissions or the permissions specific to the box > > > doing > > > > > > the sharing (or both, actually). Wow. That was a long-ass runon > > > sentence! > > > > > > > > > > > > > I've just noticed that the handle that is being returned is > >showing > > > as > > > > > > > 'Resource id #1'. I have no idea about that but it makes sense > >that > > > if > > > > >I > > > > > > > don't have a proper handle, I won't be able to create a doc. > > > > > > > > > > > > That's because you're running PHP4. It ID's things like connections, > > > > > > etc...as Resource #(whathaveyou). It's an interesting way to keep > > > track of > > > > > > how many major resources you have in a script. ;) > > > > > > > > > > > > > I would like to thank you Erik. You pushed me in the right > > > > > > > direction to get to here. > > > > > > > > > > > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up > > > with, > > > > > > I'm sure. Besides...it's good karma. You get some, you pass it on! > > > > > > > > > > > > - Erik > > > > > > > > > > > > > > > > > > > > > > > > > >-- > > > > >PHP Windows Mailing List (http://www.php.net/) > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > >To contact the list administrators, e-mail: > >[EMAIL PROTECTED] > > > > > > > > > > > > /*-- > > > > daniel beulshausen - [EMAIL PROTECTED] > > > > using php on windows? http://www.php4win.de > > > > > > > > > > > > > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > /*-- > daniel beulshausen > [EMAIL PROTECTED] - [EMAIL PROTECTED] > using php on windows? http://www.php4win.com > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] printer_start_doc
Any luck? "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = printer_open("\\\kinkos\\kinkos"); > >printer_start_doc($handle, "Project Status"); > >printer_start_page($handle); > >printer_write($handle, "any text"); > >printer_end_page($handle); > >printer_end_doc($handle); > >printer_close($handle); > > i'm unable to reproduce this locally, i'll try to figure that out in a > network later. > which OS is the server/client running. > btw: don't use printer_write. it's for sending raw printer data, you'll > have to do something like > > $handle = printer_open(); > printer_set_option($handle, PRINTER_MODE, "TEXT"); > printer_write($handle, "Text to print"); > printer_close($handle); > > better see http://php.net/manual/en/function.printer-draw-text.php > > daniel > > p.s.: you can also contact me privately > > >"Rob Cox" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I will give it a try. Thanks. > > > > > > "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > At 14:20 24.08.2001 -0400, Rob Cox wrote: > > > > >I've made sure that the printer is available to IUSR_ALPHA (my server). > > > The > > > > >printer is actually open to everyone but I made sure that IUSR_ALPHA > >was > > > > >specified too. Nothing. Still get the same error. > > > > > > > > please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip > > > > there have been some fixes to the extension since 4.0.6. > > > > if that still doesn't work please provide some reproducing code. > > > > sounds like printer_start_doc() is failing (permission problem, no > >device > > > > context created/failed,...). > > > > > > > > daniel > > > > > > > > > > > > > > > > >"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message > > > > >005101c12cc2$fb03c390$1300020a@erik_laptop">news:005101c12cc2$fb03c390$1300020a@erik_laptop... > > > > > > > Yes I believe that I a m running under the IUSR_ComputerName > > > account. > > > > >I'll > > > > > > > have to verify permissions. > > > > > > > > > > > > Do that. If it's a printer being shared over the network, it's > >subject > > > to > > > > > > either the domain permissions or the permissions specific to the box > > > doing > > > > > > the sharing (or both, actually). Wow. That was a long-ass runon > > > sentence! > > > > > > > > > > > > > I've just noticed that the handle that is being returned is > >showing > > > as > > > > > > > 'Resource id #1'. I have no idea about that but it makes sense > >that > > > if > > > > >I > > > > > > > don't have a proper handle, I won't be able to create a doc. > > > > > > > > > > > > That's because you're running PHP4. It ID's things like connections, > > > > > > etc...as Resource #(whathaveyou). It's an interesting way to keep > > > track of > > > > > > how many major resources you have in a script. ;) > > > > > > > > > > > > > I would like to thank you Erik. You pushed me in the right > > > > > > > direction to get to here. > > > > > > > > > > > > Bah, piffle, tain't no thing. It's nothing you wouldn't have come up > > > with, > > > > > > I'm sure. Besides...it's good karma. You get some, you pass it on! > > > > > > > > > > > > - Erik > > > > > > > > > > > > > > > > > > > > > > > > > >-- > > > > >PHP Windows Mailing List (http://www.php.net/) > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > >To contact the list administrators, e-mail: > >[EMAIL PROTECTED] > > > > > > > > > > > > /*-- > > > > daniel beulshausen - [EMAIL PROTECTED] > > > > using php on windows? http://www.php4win.de > > > > > > > > > > > > > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > /*-- > daniel beulshausen > [EMAIL PROTECTED] - [EMAIL PROTECTED] > using php on windows? http://www.php4win.com > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] printer_start_doc
Can anyone get this working? I keep on getting: Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php on line 6 I did an printer_open successfully. Now I want to create my document to print but I can't get by this step. Any idea's out there? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] PHP & personal web server
Hi, I am totally new to PHP but can someone tell me if it is possible to install php on a machine and run it with microsoft personal web server (like I currently do with my asp pages) Any help in assisting me move from ASP to PHP would be gratefully appreciated. Thanks in advance Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] Survey question of sorts - "editors" and "development environments" have been generically mentioned in various emails to this list ... I'm interested in
specific mention of what you folks use when developing PHP code. I am a newbie; have been using notepad to create small php scripts while learning syntax, etc. I am curious what you folks use and recommend for us who are starting out. I, per se, have no problem with notepad, but am wondering what you're experiences have been with various IDE software that I have found while googling, i.e., phpide, PHPEdit, et al. Thanks in advance, Rob E. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Session not working
"Voodoo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php > scripts at home, can't publish them. I'm trying to set some session vars, > but the variables simply disappear when I try to use them again. Made the > following code to test it, but when I click on 'increment' the 'numb' var is > set to 0 again. > > > //code on test.php: > session_start(); > if (isset($_SESSION['numb'])) { >$_SESSION['numb']++; > } else { >$_SESSION['numb'] = 0; > } > echo $_SESSION['numb'].""; > ?> > Increment I copied and pasted the above code and it worked perfectly. You may need to check some following settings in your php.ini session.use_cookies session.use_trans_sid session.cookie_path session.save_path. These are some I can think of right off that might be causing problems. You're probably using cookies, and I'd bet the save_path needs setting, as it probably wouldn't default to something valid. -- Rob > > The strange thing is that when I publish this 'test.php' file on a web > server it works just fine. I think there's something wrong with my local > server configuration or at the php.ini file, but I can't figure out what is > it. > > Can somebody help me? > > Thanks, > > Voodoo > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Main Directory and E_mail Extractor
"Michael Bao" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > require ("d:/iis/www3/lib/common/auth.inc"); > > require ("/lib/common/auth.inc"); I need. > > > > When I want to include some file, I must key in the absolute directory. So I change include_path line to "include_path = d:/iis/www3/" in "php.ini" file. But it doesn't work.Please tell me the reason. For the include directory, your change to the ini file should work. Are you running PHP as a module, and if so, have you restarted the web server? > > > > When some clients visited my web site, I want to keep their E_mail address in my database. Please tell where I can get this kind of skills and materials. > > > > thank you, > > > > Michael > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Store array in mysql?
"Disko_kex" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If I have a normal array like "Array ( [0] => 1 [1] => 3 [2] => 82 )" , > and want to store the array in a mysql table and then want to use it. > How can I do? > > // jocke > There are at least two ways you can do this. If you really want to use a mysql table (not recommended) and your keys are all sequential integers, just implode the array and save it in a text or long char field. If you just need to save the array temporarily between pages, use sessions. -- Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: how to establish relationship in Mysql
"Thomas Edward Lawrence" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > May it establish relationship in Mysql as if we can establish relationship > between tables in Access ? If can , please tell me , I use php Myadmin and > EMS Mysql manager version 2.5 , thank you . > > If you're looking for foreign keys, no. MySQL doesn't support that. (Though I think it may be on the list of things to do.) -- Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Re: how to establish relationship in Mysql
Wow. That's nice. Never heard of that table type before. -- Rob "Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Not so. Actually you can enforce FOREIGN KEYs if you choose the InnoDB table > type. > > Ignatius > _ > ----- Original Message - > From: "Rob Adams" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 21, 2003 5:41 PM > Subject: [PHP-WIN] Re: how to establish relationship in Mysql > > > > "Thomas Edward Lawrence" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > May it establish relationship in Mysql as if we can establish > relationship > > > between tables in Access ? If can , please tell me , I use php Myadmin > and > > > EMS Mysql manager version 2.5 , thank you . > > > > > > > > > > If you're looking for foreign keys, no. MySQL doesn't support that. > > (Though I think it may be on the list of things to do.) > > > > -- Rob > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] I need help with fopen()
$profilename="f:/inetpub/wwwroot/PHP_HeadHunterWebSite/HeadHunter/".$FIRSTNA ME."_".$LASTNAME."_MemberProfile.html"; OR $profilename="f:\inetpub\wwwroot\PHP_HeadHunterWebSite/HeadHunter\".$FIRSTNA ME."_".$LASTNAME."_MemberProfile.html"; @unlink($profilename); $htmlfile=fopen($profilename,"w"); I'm woirkign on a windows2000 server php 4.3.1 I've check all my permissions .. they are fine .. any other suggestions Warning: fopen(f:/inetpub/wwwroot/PHP_HeadHunterWebSite/HeadHunter/test_test_MemberPr ofile.html) [function.fopen]: failed to create stream: Permission denied in f:\inetpub\wwwroot\PHP_HeadHunterWebSite\HeadHunter\creatememberprofile_crea teit.php on line 31 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] problems with fopen
I running a php script on Linux box and I'm having problems with permissions ... I can upload a file to the same directory ... I just can't get php to open a file. here is my code .. $profilename="/home/jwd/html/HeadHunter/".$FIRSTNAME."_".$LASTNAME."_MemberP rofile.html"; $htmlfile=fopen($profilename,"w+b"); any ideas ?? Thanks ! Rob Hermann [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] best php editor?
Another vote for UltraEdit. Great macroing and it's column mode is the best I've seen. -- Rob "Francesco Marsan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Or Ultraedit. Super-fast. -Messaggio originale- Da: Luis Moreira [mailto:[EMAIL PROTECTED] Inviato: martedì 4 novembre 2003 17.28 A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] best php editor? There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/) Luis - Original Message - From: "Disko_kex" <[EMAIL PROTECTED]> To: "'Bobo Wieland'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 04, 2003 4:00 PM Subject: RE: [PHP-WIN] best php editor? > Try Editplus or Editpad. You can find them at www.download.com > > > -Original Message- > From: Bobo Wieland [mailto:[EMAIL PROTECTED] > Sent: den 4 november 2003 16:07 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] best php editor? > > Hi! > > What is the best php editor out there? Preferbly freeware... I use > Homesite+ > right now. It's the best one so far that I've tried but I would like > codehints which Homesite doesn't provide. So I would like an editor > that, > when I write "a_defined_php_function(" the editor would show > "first_param_type/function, [second_param_type/function]" etc... > > And I would also like a good handling of tabulators... > And if possible also support for xhtml and javascript (bonus if it > supports > AS (Flash ActionScript) too...) > > Thanks! > > .bobo > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Angry, up all night newbie (re: apache config)
I found the "install" text file included with the PHP for Windows download incomphrehensible and useless. I won't go on and on, but was wondering if someone can point me to some information that would explain, in a simple, deterministic and clear way, what steps are necessary to get Apache to load the proper PHP modules and recognize the contents of .php files. I'm working with the latest version of PHP, which doesn't particularly like the latest version of apache (2.0), so I downloaded and installed the 1.3x version of apache. All I can say is that if someone can help me with this, I'll owe 'ya one. TIA RC ps. please send email regarding this to [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: bar graph gd
"Jm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi guys: > I'm using php5 on winxp with IIS. I'm trying to run a simple bar graph > demo found it on phpbuilder site. When I run it I get nothing but an x in > the top left corner of my web page(no errors nothing). Are you sure there aren't any errors? Check the error log file that php creates. (See settings in php.ini.) I often find errors in there that I never even saw evidence of in the browser. > GD is uncommented in my php.ini, ext dir set and I have verified that GD > is installed through php -m,phpinfo() , and gd_info(). Can anyone offer me > some advice on how to troubleshoot this problem. > I searched google, and did see other posts like mine but no solutions. Any > thoughts or suggestions would be appreciated. Other than that, you might try changing your error reporting level and your default error handler. See http://www.php.net/manual/en/ref.errorfunc.php for an example on how to set another error handler. Then you can output (to file) your own messages. (Remember, outputting to stdout won't do any good, because it's all being treated as an image.) -- Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] is exif installed with php for windows?
Hi, i am trying to use the exif functions for and image directory, i want to display advanced header attributes such as shutter speed and color depth. I run my own windows servers, installed with plesk. it would appear the binary included with plesk doesnt have exif compiled... iv never compiled a version myself before... does the binary archive on php.net have exif enabled for windows? Cheers Rob -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] PHP and Apache
Have you tried just commenting out the AddModule line? It works for php4... Rob -Original Message- From: Logan B [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 March 2005 1:37 PM To: php-windows@lists.php.net Subject: [PHP-WIN] PHP and Apache Hi, I'm using Apache 1.3 on my Windows XP Pro box with PHP 5. I'm trying to get Apache to reconize it. I've added "LoadModule php5_module "c:/PHP/php5apache.dll"" and "AddModule mod_php5.c" to the httpd.conf file. I restart Apache, but it throws a santax error that says that the module [mod_php5.c] is not in the loaded modules list and that it cannot be loaded. I have double checked the directory that PHP is in. Is it bad that I cannot find "mod_php5.c" in that directory? I can find php5apache.dll, just not the .c file. Can anyone help me? Thanks! ./ Logan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] mapfile
hi all Does anyone have debug map files for the release version of php 4.3.10? I'm getting a semi-intermittent access violation, but I don't have access to MSVC to build the debug versions of the dlls. thanks! btw, in case this looks familiar to anyone, here's the info I have about the crash, which happens every few requests, particularly it seems on reloading pages generated after a POST. Windows XP pro SP2 Apache/1.3.33 (Win32) PHP/4.3.10 stack trace: 7C910C27 C:\WINDOWS\system32\ntdll.dll 7C910D5C C:\WINDOWS\system32\ntdll.dll 77C2C2DE C:\WINDOWS\system32\msvcrt.dll 77C39AE9 C:\WINDOWS\system32\msvcrt.dll 77C35F5D C:\WINDOWS\system32\msvcrt.dll 77C35FEC C:\WINDOWS\system32\msvcrt.dll 10047D4E c:\php4\php4ts.dll or sometimes: 77C46137 C:\WINDOWS\system32\msvcrt.dll 100CA6AE c:\php4\php4ts.dll 60002E50 c:\php4\php4apache.dll 6000186F c:\php4\php4apache.dll dll base addresses: 0x6000 php4apache.dll 0x1000 php4ts.dll Rob Agar Web Site Consultant Wild Lime Media - [EMAIL PROTECTED] Studio 1, 70 McLeod Street, Cairns 4870 Tel: 07 4081 6677 | Fax: 07 4081 6679 Web and Software Development Services - www.wildlime.com Search Engine Optimisation Services - search.wildlime.com Professional Website Hosting Services -www.hostonlime.com.au Winner 2004 Telstra North QLD Media Awards - Best Website - Online Content & Information -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php