Re: [PHP-WIN] Testing php in Win2000?
Hi, I have a similar problem, but can only view the output in my browser from the php files when I am connected to the Internet. When I am not connected, I get the standard error page in the broswer. Hope someone can help?? Thanks, Bryan. ""John Lim"" <[EMAIL PROTECTED]> wrote in message 9du5jf$n38$[EMAIL PROTECTED]">news:9du5jf$n38$[EMAIL PROTECTED]... > You need to install IIS on windows 2000, and then install the PHP > executables from php.net. If you are using windows 2000, > IIS is probably preinstalled. Look for a wwwroot directory on your hard > disk. > > Regards, John > > "Geoff" <[EMAIL PROTECTED]> wrote in message > 9dpbks$qgs$[EMAIL PROTECTED]">news:9dpbks$qgs$[EMAIL PROTECTED]... > > > > How do I test my .php files in windows2000? > > > > I run it in explorer and it gives me a blank screen. I try to test it in > DW4 > > and it gives me a blank screen. > > > > The only way I can do it now is by uploading to my server and testing it > > online. > > > > I use Dreamweaver 4 for my coding. > > > > Also, where can I find good newbie tutorials? I'm really interested in > > getting some online databases going and have VB/Delphi/C experience. > > > > cheers... > > > > - Geoff > > > > > > > > > > > > -- > > 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 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 scripts only work when connected to the internet.
Hi, Win2k, IIS, 4.05 I have a problem where I can only view the output in my browser from the php files when I am connected to the Internet. When I am not connected, I get the standard error page in the broswer. Hope someone can help?? -- 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: Re[2]: [PHP-WIN] Testing php in Win2000?
Thanks for the response. Its on my laptop, and yeah, it works when I am connected to the network at work, or connected to the internet from home. It doesn't work at all when the laptop is standalone. Is there a workaround for this?? Thanks, Bryan. "David Elliott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hail Bryan > > On 25 June 2001 at 21:57:12 +1000 (which was 12:57 where I live) Bryan > wrote and made these points > > > I have a similar problem, but can only view the output in my browser from > > the php files when I am connected to the Internet. When I am not > > connected, I get the standard error page in the broswer. > > Are you on a LAN ? > > If not W2K has the nasty habit of switching of all TCP/IP bits when it does > not need them. > > - -- > Cheers, ___ > David |MUA- The 1, The Only, The Bat! | E-mailaholics | > _| Win 2K Adv Ser 5.0.2195 SP2 | International | > | Tribble use #06 - indoor baseball. | > > -BEGIN PGP SIGNATURE- > Version: PGP 6.5.8ckt (Build 06) > Comment: PGP Signed, sealed, delivered. > > iQA/AwUBOzc/h/mK8eZlD0U0EQIo2QCcC1fyUP49xkYCfeJtBRSF+sKUN90AoOdS > mA+uSD8Aw6SKQWBhbaMWONB9 > =6qw/ > -END PGP SIGNATURE- > > > -- > 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]
Re: [PHP-WIN] php scripts only work when connected to the internet.
Thanks Hugh, I have been trying http://mylaptop/whatever.php where mylaptop is the localhost but it won't process when the laptop is standalone and not connected to the network or dialled in to the web. When I am connected, all php scripts work fine. Am I missing something in the configuration of IIS?? Bryan. ""Hugh Bothwell"" <[EMAIL PROTECTED]> wrote in message 9h91nj$aul$[EMAIL PROTECTED]">news:9h91nj$aul$[EMAIL PROTECTED]... > > ""Bryan"" <[EMAIL PROTECTED]> wrote in message > 9h7agu$biv$[EMAIL PROTECTED]">news:9h7agu$biv$[EMAIL PROTECTED]... > > Hi, > > > > Win2k, IIS, 4.05 > > > > I have a problem where I can only view the output in my browser from the > php > > files when I am connected to the Internet. > > When I am not connected, I get the standard error page in the broswer. > > > > Hope someone can help?? > > If you read the file directly with your browser, it won't work. Try looking > at http://localhost/whatever.php instead. You have to pull it through the > server to get it to process the PHP before it gets to your browser. > > > > -- > 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]
Re: [PHP-WIN] php scripts only work when connected to the internet.
A big thank you to all that replied!! I was given a number of solutions and have so far tested two and found both of these to fix the problem. 1. Instead of using http://mylocalhostname/filename.php, I used http://127.0.0.1/filename.php and it processed OK when I wasn't connected. 2. Try working offline. This one took me a while to figure out; You'll have to pardon my ignorance here, but I thought there must have been an option with the IIS, and couldn't find it, so as a last straw attempt, I tried the browser work offline option and presto, when I tried http://mylocalhostname/filename.php the php file processed OK when working offline. Again thankyou to all Bryan. ""Bryan"" <[EMAIL PROTECTED]> wrote in message 9h7agu$biv$[EMAIL PROTECTED]">news:9h7agu$biv$[EMAIL PROTECTED]... > Hi, > > Win2k, IIS, 4.05 > > I have a problem where I can only view the output in my browser from the php > files when I am connected to the Internet. > When I am not connected, I get the standard error page in the broswer. > > Hope someone can help?? > > > > > -- > 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] trying to code a simple hyperlink. Can anyone spot my error
I am very new, and trying to get php to generate a hyperlink to the client. I am just trying to get an underlined link to an "accessgranted.htm" page. Can anyone spot my error? Return email will be greatly appreciated. Thanks :-)Bryan ___ " ; echo"click here"; echo""; } ?> -- 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] CuRL
I cannot get the curl commands to work in Windows. I am using WAMP 5. Can anyone point me in the right direction on how to get it working? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server
>>All PHP does, is create a dynamic webpage, ie create a web page >>"on-the-fly". This does not expose any holes any more than creating an html >>page does. not true - PHP is as secure as the pages you program. lack of user input verification is a good example. >>There was recently a scare at php.net where a security loophole >>was found, but it didn't concern windows users I believe. not true - it affected any server running PHP v3.0.10-v3.0.18, v4.0.1-v4.1.1 with at least one .php file on it. Everyone was encouraged to upgrade to 4.1.2 >>Because the PHP development is a very much open-source project, >>any holes are spotted and repaired much faster than, say, a >>hole was discovered in IIS. Again, the bug was spotted years ago, supposedly by some hacker community. It was just not reported and fixed until the 4.1.2 release. ->the POST vulnerability is covered here. ->http://security.e-matters.de/advisories/012002.html ->using the php binary to read and execute files on windows. ->http://www.php.net/release_4_1_2_win32.php ->[ this was not a problem for IIS you will be running ] ~ b r y a n -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:51 AM To: Eric Gentry; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server So far as I'm aware, you're correct, secure IIS and php is secure as well. I once saw a report in a security website or magazine (i think the latter) complaining that PHP was insecure in so much that variables were posted with the header details and could therefore be intercepted. This in itself is not so much a problem of PHP, and can be worked around by using sessions I believe. All PHP does, is create a dynamic webpage, ie create a web page "on-the-fly". This does not expose any holes any more than creating an html page does. There was recently a scare at php.net where a security loophole was found, but it didn't concern windows users I believe. Because the PHP development is a very much open-source project, any holes are spotted and repaired much faster than, say, a hole was discovered in IIS. Can anyone else confirm this with me? Ross -Original Message- From: Eric Gentry [mailto:[EMAIL PROTECTED]] Sent: 02 April 2002 16:28 To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server Bruce, Thanks for all of you input, it is much appreciated it. I do know about securing IIS, but I was concerned about security when adding PHP into the mix. >From the answers I received, I am assuming that the security is in the OS/Server software, and that there aren't any inherent security measure to be taken with PHP? In short, if the OS/web server is fairly secure, PHP does not break that, correct? That is my main concern. Thanks, Eric -Original Message- From: Bruce Barnes [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 8:24 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server Eric et al; START BY MAKING A FULL AND COMPLETE BACKUP OF YOUR MACHINE! IF you make an error with USERS, GROUPS and PERMISSIONS, you might lock yourself completely out of the machine and not be able to regain access to your drives and directories without a complete reinstall of the Windows 2000 Operating System. The first thing that anyone who is running Windows 2000 should do is to format the logical drives using NTFS - this allows for MUCH greater file security than other file systems. The next thing to do is to DELETE the permissions for the GROUP "EVERYONE" from all of your logical drives. To DELETE the permissions for the GROUP "EVERYONE" from the directory that is going to contain the actual files for the web site. If we assume that the name of the site is "WWW.PHPHEADACHES.COM and the directory in which the files are located is "PHPHEADACHES", then we would highlight the directory "PHPHEADACHES", right click on the directory, goto the SECURITY TAB and /UNCHECK the box that is at the bottom of the SECURITY WINDOW that states: "Allow Inheritable Permissions from Parent to Propagate to this Object." At that point you should receive an option window that will allow you to: COPY REMOVE or CANCEL You want to select COPY. This will COPY all of the users and groups permissions to the local directory Next, HIGHLIGHT the GROUP named "EVERYONE" and press the DELETE key. The "EVERYONE" GROUP has now been deleted from the directory and has no permissions and you have now locked out anyone except the users and groups to which you specifically give permissions. For the purposes of PHP, the "everyone" user, as referenced in the installation instructions, can be replaced with the GROUP of "USERS" (no quotes) from the LOCAL MACHINE on which IIS and PHP are installed, and that use can be given the "write" permissions where the "EVERYONE" user used to be required to have th
RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server
>>not true - it affected any server running >>PHP v3.0.10-v3.0.18, v4.0.1-v4.1.1 >>with at least one .php file on it. >>Everyone was encouraged to upgrade to >>4.1.2 sorry - they made patches for earlier versions also, so everyone was advised to patch or upgrade. ~ b r y a n -----Original Message- From: Bryan Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:25 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server >>All PHP does, is create a dynamic webpage, ie create a web page >>"on-the-fly". This does not expose any holes any more than creating an html >>page does. not true - PHP is as secure as the pages you program. lack of user input verification is a good example. >>There was recently a scare at php.net where a security loophole >>was found, but it didn't concern windows users I believe. not true - it affected any server running PHP v3.0.10-v3.0.18, v4.0.1-v4.1.1 with at least one .php file on it. Everyone was encouraged to upgrade to 4.1.2 >>Because the PHP development is a very much open-source project, >>any holes are spotted and repaired much faster than, say, a >>hole was discovered in IIS. Again, the bug was spotted years ago, supposedly by some hacker community. It was just not reported and fixed until the 4.1.2 release. ->the POST vulnerability is covered here. ->http://security.e-matters.de/advisories/012002.html ->using the php binary to read and execute files on windows. ->http://www.php.net/release_4_1_2_win32.php ->[ this was not a problem for IIS you will be running ] ~ b r y a n -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:51 AM To: Eric Gentry; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server So far as I'm aware, you're correct, secure IIS and php is secure as well. I once saw a report in a security website or magazine (i think the latter) complaining that PHP was insecure in so much that variables were posted with the header details and could therefore be intercepted. This in itself is not so much a problem of PHP, and can be worked around by using sessions I believe. All PHP does, is create a dynamic webpage, ie create a web page "on-the-fly". This does not expose any holes any more than creating an html page does. There was recently a scare at php.net where a security loophole was found, but it didn't concern windows users I believe. Because the PHP development is a very much open-source project, any holes are spotted and repaired much faster than, say, a hole was discovered in IIS. Can anyone else confirm this with me? Ross -Original Message- From: Eric Gentry [mailto:[EMAIL PROTECTED]] Sent: 02 April 2002 16:28 To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server Bruce, Thanks for all of you input, it is much appreciated it. I do know about securing IIS, but I was concerned about security when adding PHP into the mix. >From the answers I received, I am assuming that the security is in the OS/Server software, and that there aren't any inherent security measure to be taken with PHP? In short, if the OS/web server is fairly secure, PHP does not break that, correct? That is my main concern. Thanks, Eric -Original Message- From: Bruce Barnes [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 8:24 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server Eric et al; START BY MAKING A FULL AND COMPLETE BACKUP OF YOUR MACHINE! IF you make an error with USERS, GROUPS and PERMISSIONS, you might lock yourself completely out of the machine and not be able to regain access to your drives and directories without a complete reinstall of the Windows 2000 Operating System. The first thing that anyone who is running Windows 2000 should do is to format the logical drives using NTFS - this allows for MUCH greater file security than other file systems. The next thing to do is to DELETE the permissions for the GROUP "EVERYONE" from all of your logical drives. To DELETE the permissions for the GROUP "EVERYONE" from the directory that is going to contain the actual files for the web site. If we assume that the name of the site is "WWW.PHPHEADACHES.COM and the directory in which the files are located is "PHPHEADACHES", then we would highlight the directory "PHPHEADACHES", right click on the directory, goto the SECURITY TAB and /UNCHECK the box that is at the bottom of the SECURITY WINDOW that states: "Allow Inheritable Permissions from Parent to Propagate to this Object." At that point you should receive an option window that will allow you to: COPY REMOVE
[PHP-WIN] inclusion error
I believe that I am close to getting this to work but now I am getting the following error when trying to view .php files in my browser: Warning: Failed opening '/wwwroot/[directory]/time.php' for inclusion (include_path='c:\php4\pear') in Unknown on line 0, where [directory] is the directory of my html and php files. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] phpnuke
On 22 Jul 2002 at 15:11, Wayne A. Darby wrote: > I am new to php and am trying to implement a chat client that is based > in php. I am using MySQL, APACHE, & PHPNUKE and I can type in the > address and hit my site just fine. When I try to click on a link I > recieve the error message "Cannot view this page directly". > > Is there anyone that can help me with this? I have searched up and > down the php.ini file but haven't found a mistake. Any help would be > greatly appreciated. That sounds like a PHPNuke error and not a PHP error. -- Bryan Carbonnell - [EMAIL PROTECTED] Unfortunately common sense isn't so common! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] text file parsing
Hello, I have only been working with php for about 2 hours now so bare with me if I type something stupid. I am trying to open up a remote text file, parse the file, and output the parsed text as html. As of now I can open the file read characters into a buffer and then output them as html. My problem is with parsing the buffer to get to the text I want to output. Should I read the entire file into an array? Then output the parts of the array I want to show? If so please post some type of example code. Does php have functions to move through a file and choose which characters you want to put into an array or a buffer? Any help would be greatly appreciated. Thanks for your time -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php/apache $remote_addr variable help!
--- pasupathy <[EMAIL PROTECTED]> wrote: > > hello, please help > > the script won't return the > IP address of the > viewer of my remote webpage, Try also try It will tell you all the vars available, and you can see if register_globals is turned off (which is why you need to use HTTP_SERVER_VARS[]) Cheers, Bryan __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.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] errorhandler problems with mssql
I am having a problem with my custom errorhandler "ignoring" the exit (or die) inside the handler. I have experienced it with several mssql_* functions. php 4.0.6 and php 4.0.7 running in cgi mode on iis 5 Try the code below: using an invalid servername, it behaves properly (returns an error). But if you have a valid servername, and invalid username/password the script never finishes. The browser will time out. This also happens if you have a valid servername/username/password, but invalid db name. Or of you can connect, but pass an invalid query. (not in this code snippet) Can anyone else reproduce this problem? Am I doing something wrong? It makes using a custom error handler useless... Thanks for any insight! Bryan __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.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: Looking for something like floor() only to roun d to a nearest div
--- "Asendorf, John" <[EMAIL PROTECTED]> wrote: > $floor_val = 6 * ((int) 15/6) // yielded 15 for > me... not what I was going > for. This returned 15 for me, too. But this does what you want: $floor_val = 6 * floor(15/6) Cheers! Bryan > > -Original Message- > > From: cybot [mailto:[EMAIL PROTECTED]] > > just use > > > > $floor_val = 6 * ((int) 15/6) __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] ldap_start_tls
Hi, Has anyone had problems with the function ldap_start_tls? I am trying to use it and php give me this error: PHP Fatal error: Call to undefined function: ldap_start_tls() in C:\phpfile.php Bryan Thoreson ~~~ Bryan Thoreson 3/21/2003 Infotech Professional CLA-Net University of Minnesota -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] ldap_start_tls
Daniel, I have ldap and openssl enabled. Am I missing something else? Bryan On Sat, 22 Mar 2003 05:26:55 +0100, Daniel Diehl wrote: >Hi Bryan, >do ya have enabled the module in the php.ini ?? >Please make a and look if the module >is probably loaded.. > >Cheers, >Daniel > >>-Original Message- >>From: Bryan Thoreson [mailto:[EMAIL PROTECTED] >>Sent: Freitag, 21. März 2003 20:24 >>To: [EMAIL PROTECTED] >>Subject: [PHP-WIN] ldap_start_tls >> >> >>Hi, >> >>Has anyone had problems with the function ldap_start_tls? I >>am trying to use >>it and php give me this error: >>PHP Fatal error: Call to undefined function: ldap_start_tls() in >>C:\phpfile.php >> >>Bryan Thoreson >> >>~~~ >>Bryan Thoreson 3/21/2003 >>Infotech Professional >>CLA-Net University of Minnesota >> >> >> >>-- >>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] PHP 5??
Does anyone know what the roadmap for PHP 5 is? I'm trying to patiently wait for the ability to create a ssl network stream, and my understanding is that will come when PHP 5 is released, or is there another way to do this in the Windows platform. Bryan ~~~ Bryan Thoreson 6/3/2003 Infotech Professional CLA OIT University of Minnesota Phone: 612-626-8051 Cell Phone: 612-308-6229 Email: [EMAIL PROTECTED] Calendar: http://calendar.yahoo.com/public/thor0215 HelpDesk: http://helpdesk.cla.umn.edu -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Import Trusted Root Cert
Hi, Does anyone know how to import a trusted root certificate for use with a LDAP TLS bind? Bryan ~~~ Bryan Thoreson 12/15/2003 Infotech Professional CLA OIT University of Minnesota -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] IIS 6 and App Pools
Hi, Does anyone have any great suggestions on how to handle the Application Pools in II6 and PHP? Any suggestions would be greatly appreciated. Bryan ~~~ Bryan Thoreson 1/7/2004 Network Administrator CLA OIT University of Minnesota -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Contact Form Problem
Sounds more like a blacklisted email domain... -Original Message- From: dustie [mailto:djd...@ntlworld.com] Sent: Monday, June 06, 2011 12:55 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Contact Form Problem Hi all Got an absolutely baffling problem with a bit of code that I've been using for a very long time now that I've never had a problem with until now... Here's the code: * Name Email Address Message: Send!! * When it runs, no email is forwarded from it. It's always worked before and, after a very long time diagnosing, I've pinpointed what the problem is - it's the 4th line: *$Headers = "From: cont...@weddingdjswindon.com";* Specifically, the domain name. If I change it to *anything else* at all (such as wedding.com or swindon.com), the form works and the message arrives. Keep it as it is though and the message just disappears down a black hole. This is the same domain name that the page/site is going to be hosted at. Has anyone got any idea at all why this is happening? All my other websites use the same code and have their own domain name in the email address and work perfectly. Why is this one single site not playing ball? Thanks in advance Darren -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php