Sunday, May 23, 2010

Why is the PHP file content printed instead of runned?

I have Apache/MySQL/PHP on Windows XP.



I want my PHP files to behave in my computer like in web host.



I open a PHP file with FF and its content is printed!



Why is the PHP file content printed instead of runned?





It seems you have not configured your Web server (apache) for PHP. Try like.. I%26#039;ve got this from PHP manual...



PHP and Apache 2.0 on Windows



Consider to read the Windows specific notes for Apache 2.0.



Warning



Apache 2.0 is designed to run on Windows NT 4.0, Windows 2000 or Windows XP. At this time, support for Windows 9x is incomplete. Apache 2.0 is not expected to work on those platforms at this time.



Download the most recent version of Apache 2.0 and a fitting PHP version from the above mentioned places. Follow the Manual Installation Steps and come back to go on with the integration of PHP and Apache.



There are two ways to set up PHP to work with Apache 2.0 on Windows. One is to use the CGI binary the other is to use the Apache module DLL. In either case you need to stop the Apache server, and edit your httpd.conf to configure Apache to work with PHP.



You need to insert these three lines to your Apache httpd.conf configuration file to set up the CGI binary: Example 3-7. PHP and Apache 2.0 as CGI



ScriptAlias /php/ %26quot;c:/php/%26quot;



AddType application/x-httpd-php .php



Action application/x-httpd-php %26quot;/php/php.exe%26quot;



If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module



; For PHP 4 do something like this:



LoadModule php4_module %26quot;c:/php/sapi/php4apache2.dll%26quot;



AddType application/x-httpd-php .php



; For PHP 5 do something like this:



LoadModule php5_module %26quot;c:/php/sapi/php5apache2.dll%26quot;



AddType application/x-httpd-php .php



Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x.



Why is the PHP file content printed instead of runned?



Have you configured Apache to parse PHP? If you check your PHP folder, you will find a file called install.txt. It has a section on configuring PHP on Apache.



See http://www.lurkhere.com/apache768.html



http://www.developer.com/lang/php/articl...



http://blogcms.com/?item=install-apache-...



You%26#039;re on your way...

I need a good ASP Forum script, similar to PHPBB?

i recently switched web hosts and can%26#039;t use our beloved phpbb on this asp server. the ASPBB script we are using now is alright but there are increasingly more problems. so what is a good ASP forum script we can use, maybe similar to phpbb?



I need a good ASP Forum script, similar to PHPBB?





Why not download the ASP Forums for free from Microsoft itself ?



http://www.asp.net/Forums/Download/

Is this true?notification of winning?

FROM MICROSOFT AWARD TEAM MICROSOFT AWARD TEAM



Address 20 Park, Harlesden London NW15 United Kingdom



Ticket number====== Alo79-55-279-18



Serial number ======Alotd/9/14/06/07



Lucky number ======885-32-48-40(111)



Winning code number: (19000)



Dear Winner,



WINNING NOTIFICATION



We write to inform you that Microsoft and aol has set out and sucessfully organised a Sweepstakes marking the year 2008 anniversary we rolled out over GBP 鎷?,000 000 00. Participants for the draws were randomly selected and drawn from a wide range of web hosts which we enjoy their patronage.



The selection was made through a computer draw system attaching personalised email addresses to ticket numbers. If you ignore this, you will regret it later. Microsoft and AOL are now the largest Internet companies and in an effort to make sure that Internet Explorer remains the most widely used program, Microsoft and AOL are running an e-mail beta test.



Your email address as indic



Is this true?notification of winning?





You don%26#039;t get anything for nothing, it%26#039;s a scam do not answer do not give personal information.The following sites give more information.



www.scambusters-419.co.uk



www.truthorfiction.com



.Also If you go to the following link you will get some info on ID theft www.identity-theft.org.uk the iinternet is safe enough if you are careful but please answer nothing that you are doubtful about.Good Luck and be careful



Is this true?notification of winning?



no there always scams



Other Replys:This is a scam. Dont be fooled.



Other Replys:NO; it%26#039;s SPAM



Other Replys:Another Scam after your bank details, just ignore it



Other Replys:You%26#039;re the second person to post this question. It%26#039;s a SCAM! Why would they give you money? They want to take money from you.



Good Luck!



Other Replys:It%26#039;s a scam. If it offers anything for free, it%26#039;s a scam.



Other Replys:DELETE THESE..... they are scams and you will lose.



Other Replys:Nope. Microsoft is something we call the machine, or the system. It wants all your cash.



Also: I think AOL is affiliated with Apple.



Other Replys:1. It sounds too good to be true, so it isn%26#039;t true.



2. The sentence construction is terrible: another clear sign of a scam.



3. The phrase %26quot;If you ignore this, you will regret it later%26quot;. Would Microsoft and/or AOL really use a phrase like that?



4. Have you ever heard of such a sweepstake from any other source? I doubt it, so it%26#039;s probably a scam.



5. Does the email invite you to view the official websites for either Microsoft or AOL to see further information on the supposed sweepstake? No, so it%26#039;s probably a scam.



Let%26#039;s face it, it%26#039;s a scam. And a bad one at that.



Other Replys:Unless you entered a sweepstakes it is a scam. Microsoft, nor any other company, enter random people into sweepstakes. You must always enter in some fashion, be it electronically, or by purchasing a ticket, or by writing down your name, address and phone number and sliding it into a box collecting entries.



Here is a link to just one article outlining how prevalent



this is becoming:



http://www.hoax-slayer.com/microsoft-meg...



Don%26#039;t be one of the thousands of dupes who get fooled by these schemes. If it sounds too good to be true, and you didn%26#039;t enter any sweepstakes, then you can be sure it is a hoax at best, and a method to steal your personal information or rob you of any money you send to pay for the %26quot;taxes%26quot; %26quot;associated%26quot; with your *winnings*.



You would be amazed how many people actually fall for these hoaxes, and who get parted with their money instead of %26quot;winning%26quot; any money!



Good for you to check it out before believing what was sent to your inbox. Good luck and have a nice day.

I receive a lot of scams like this.How I can stop them?

Microsoft Award Team



Ref: BTD/968/07



Batch: 409978E



Dear Lucky winner,



WINNING NOTIFICATION



The prestigious Microsoft and MSN have set out and successfully



organised a Sweepstakes marking the begining of the year anniversary,



The Management rolled out over 100,000.000.00 (One Hundred Million



Great Britain Pounds) Begining of the year lucky email selected draws.



Participants for the draws were randomly selected and drawn from a wide



range of web hosts which will be given the opportunity to benefit from



year our patronage.



The selection was made through an electronic computer draw system



attaching personalised email addresses to ticket numbers.Microsoft and



MSN are now the largest Internet companies and in an effort to make



sure that Internet Explorer remains the most widely used programme,



Microsoft and MSN are running an e-mail beta test.



Your email address as indicated was drawn and attached to ticket



number 008795727498 with serial numbers BTD/9080648302/07 and drew the



lucky numbers 14-21-25-39-40-47(20) which subsequently won you



鎷?,000,000.00 (One Million Great Britain Pounds) as one of the jackpot



winners in this draw. You have therefore won the entire winning sum of



鎷?,000,000.00 (One Million Great Britain Pounds). The draws registered



as Draw number one was conducted in Brockley, London United Kingdom on



the 20th 0f March 2007. These Draws are commemorative and as such special.



Please be informed by this winning notification,to file your claims,you



are to make contact with your designated agent who shall by duty guide



you through the process to facilitate the release of your prize.To file



for your claim Please Contact your fiduciary agent quickly



Mr.Wayne Anderson



Microsoft Promotion Award Team



Head Winning Claims Dept.



Email: claimsmanager11@yahoo.com.hk



Telephone:+44 70457 06391



Our special thanks and gratitude to The entire management and



associates of Micro soft.We wish you the best of luck, as your luck



ushers you into a prosperous new year. Thank you for being part of our



promotional award programme and commemorative Anniversary Draws.



From the Uk Board of Management



DR. HAWKES SCHMOLL



Head Customercare Service



Microsoft Promotion Team



NB:Any claim not collected before fourteen (14) working days from date



of notification indicate the specified lucky winner has voluntarily



forfeited his/her winnings.



I receive a lot of scams like this.How I can stop them?





I get lot of those spams too, there is no way you can stop them using a free email service. All you can do is report every single one of them you see in inbox as spam. Those spam use different email address each time, so it will come to your inbox again.



I receive a lot of scams like this.How I can stop them?



nothing. you can get spam blocker software if you want. The one thing you never want to do is hit unsubscribe or reply asking them to stop. All that does is confirm your email address to them.



Other Replys:Stop giving out your email address to every web site that ask first off. Second now that it%26#039;s out there you probably need to change it and don%26#039;t give it away this time.



Turn on any SPAM tools at your ISP (contact them about this).



Do not click any %26quot;take me off this list%26quot; links in emails.



Do not sign up for newsletters using your primary address.



Do not turn on %26quot;Out of Office%26quot;



Do not use your real email address for websites unless required.



Setup a free email account somwhere for use on web sites and otehr places where you need to give away an address.



I run my own servers so I create an email address for each service I have to sign up for, yahooanswers@suchandsuch.com so then if I start getting SPAM at that address I know who let it out and I can just turn it off and redirect the site to a new one or just stop using their services.



Other Replys:If it is a pop-up use Google toolbar and use the popup blocker. If its e-mail unsubscribe or put it on your ignore list



Other Replys:I use my %26quot; delete %26quot; button. Poof it is GONE.



Other Replys:419 Scam 閳?Fake Lottery UK Scam Phone Numbers



http://www.joewein.de/sw/419-phone-uk.ht...



http://www.ftc.gov/spam/



http://www.ftc.gov/bcp/conline/edcams/sp...



If you get spam email that you think is deceptive, forward it to spam@uce.gov. The FTC uses the spam stored in this database to pursue law enforcement actions against people who send deceptive email.



Information about 419 Scammer%26#039;s



http://spywarekiller.hyperboards.com/ind...



How to deal with Spam



http://spywarekiller.hyperboards.com/ind...



* Internet Crime Prevention Tips



http://www.ic3.gov/preventiontips.aspx



* Internet Crime Schemes



http://www.ic3.gov/crimeschemes.aspx



Spam.org



http://www.spam.org/



http://www.spam.org/links.htm



Other Replys:Contact your ISP. Spam block, or block the sender%26#039;s email or IP address. I%26#039;ve threatened to prosecute.

I have a registered domain. can i get any free webhosting service?

I want a free web host



I have a registered domain. can i get any free webhosting service?





http://www.LocoDomains.com offers free hosting when you get a domain



I have a registered domain. can i get any free webhosting service?



usually not with a preregistered domain... you can, however, sign up for free hosting with a company mike http://x10hosting.com and then redirect your domain name to their IP address.



Other Replys:Best thing will be go for a paid one, if you are thinking to make a serious site for your Earnings.



If wanna make for fun, search the net, you will get a lot.



Choose among them, having maximum Sefvices offered.



Other Replys:well I sure know a fee one. Try www.doteasy.com



It is called transfer hosting and it is free mate.



Other Replys:If you are planing to use your website for business purpose, do not go for cheapest option. What if your website is not available 10% of the time ? Rather try a good web hosting provider like http://aplis.net/



Else you can use free webhosting provider like awardspace



Other Replys:If you are serious about websites either for personal or your business, don%26#039;t go to free web hosting as they are usually not reliable and you may end up losing all your hard work. Free web hosts usually put advertisements on your websites and it could be annoying.



If you like to create websites (usually you will end up more than 1 website, I got more than 100 websites in about 6 months%26#039; time), go for multiple web hosting services where you could host all your websites in one account.



I would like to suggest following webhosting which I use, they are excellent.



Hostmonster http://www.hostmonster.com/track/ryukend...



They offer hosting of %26quot;unlimited domains%26quot; and you will get massive webspace of 300000 MB (300 GB ). They only charge $5.95/month and they offer %26quot;a free Domain Name%26quot; and installing service called %26quot;Fantastico%26quot;. By using Fantastico, you could create own forum, photo gallery, shopping cart (e-commerce),your own auction site and your own blogs within few seconds. They also offer %26quot;Free Website Builder%26quot; as well.



Visit the site to check details.



Hostmonster http://www.hostmonster.com/track/ryukend...



More the list of BEST WEB HOSTING sites visit



http://www.nicewebhosts.com



FREE AD-FREE HOSTING.



If you would like free ad-free hosting, try



http://www.webzonetalk.com/hosting.html



Other Replys:Try Kohli Hosting http://www.kohlihosting.com They r the India%26#039;s cheapest %26amp; best webhosting company... they r cheapest n reliable... contact them now!!!



Get 20MB webspace, unlimited bandwidth, 5 email a/c, and alot of goodies.... for just for $15 per year!!! wat else u want??



Other Replys:If you get tired of the low level of service from the free providers and decide you%26#039;re willing to spend just $5.95 a month, take a look at getting a virtual server.



There%26#039;s a comparison review of the top providers at http://www.unlimitedhostland.com



Good luck!



Other Replys:Microsoft has a free basic level web hosting service. You don%26#039;t have to get a domain through them. You can transfer your existing domain. They have detaild info on how to do that.



Look up Office Live Basics at www.microsoft.com if the following link doesn%26#039;t work.



http://office.microsoft.com/en-us/office...

Friday, October 30, 2009

Can you verify the below noted email I received- sounds like 'hooie' to me?

The prestigious Microsoft and AOL has set out and successfully



organised a Sweepstakes for our email owners for the month of



april/may 2007.



100,000.000.00 (One Hundred Million Great Britain Pounds) is been roll



out to all our email account owners. Participants for the draws were



randomly



selected and drawn from a wide range of web hosts which we enjoy their



patronage.



The selection was made through a computer draw system attaching



personalised email addresses to ticket numbers.Microsoft and AOL are



now the largest Internet companies and in an effort to make sure that



Internet Explorer remains the most widely used program, Microsoft and



AOL are running an e-mail beta test.



Your email was luckily drawn by a computer balloting system as one of



our winners in our experimental lottery bonanza from the prestigous



MICROSOFT AND AOL ONLINE PROMOTION. Thus, making you the winner



Your email address as indicated was drawn and attached to ticket number



008795727498 with serial numbers BTD/9080648302/06 and drew the lucky



numbers 14-21-25-39-40-47(20) which subsequently won you 500,000.00GBP



(Five Hundred Thousand Great Britain Pounds) as one of the jackpot



winners in this draw. You have therefore won the entire winning sum of



500,000.00GBP (Five Hundred Thousand Great Britain Pounds).



We appreciate your patronage. This draw was held on the 26-05-2007



and the result was sent to my office today.



Please be informed by this winning notification,to file your claims,you



are to make contact with your designated agent who shall by duty guide



you through the process to facilitate the release of your prize.



Please contact our Fiduciary Agent for VALIDATION.



**************************************...



DR JOHN MATHINS



Microsoft Promotion Award Team



Head Winning Claims Dept.



TELL:+44 70457 12370



E-mail:johnmathins_0227@yahoo.co.uk



**************************************...



Can you verify the below noted email I received- sounds like %26#039;hooie%26#039; to me?





It sure looks like %26quot;hooie%26quot; to me.



The selling and sentence structure are both British, but both AOL and Microsoft are American companies.



Look at the e-mail address: It%26#039;s a Yahoo! address! If there are two companies in the world that don%26#039;t need a Yahoo! e-mail address, those two are AOL and Microsoft.



As another poster noted, the country code for the telephone number should be 1 rather than 44.



The last paragraph asks you to %26quot;make contact with [YOUR] designated agent, but, whoever he is, he is THEIR agent, not MINE.



The e-mail says to %26quot;contact our Fiduciary Agent for VALIDATION.%26quot; It then lists Dr. John Mathins as the %26quot;Microsoft Promotion Award Team....%26quot; I would assume he is the Fiduciary Agent, but he is not identified as such.



Messages like this one are written by attorneys. They make everything crystal clear. This is a sham.



You might have some fun with this one, but be careful.



Scott



Can you verify the below noted email I received- sounds like %26#039;hooie%26#039; to me?



If you have ever personally dealt with AOL or Microsoft, you%26#039;ll KNOW that they don%26#039;t EVER, EVER give away money for anything. ANY e-mails you receive that say that you%26#039;re in a sweepstakes or a raffle at random are rubbish.



Other Replys:Sounds like houie to me. The giveaway is the +44 country code. The US is 1. If it was legate, it should be a 1 country code and a Microsoft email address. I would stay away.



Other Replys:doesn%26#039;t sound real to me.



look it up on snopes.



Other Replys:AOL and Microsoft with a Yahoo contact email?



That has to be the best %26quot;Come hither,%26quot; of the 21 Century, . . . said the spider to the fly!

PHP syntax shows up blank....why?

I%26#039;m new to PHP and MySQL and I%26#039;m trying to get a basic test to work. I can see the html but the PHP does not appear. I know how to save it in php format and upload it to my website, but I still get a blank screen when I visit that page. Any suggestions or ideas of what the problem might be? Do I have to put it in a certain spot on my website? I%26#039;m using Yahoo as my web host.



syntax:



%26lt;html%26gt;



%26lt;head%26gt;



%26lt;title%26gt;PHP Test%26lt;/title%26gt;



%26lt;/head%26gt;



%26lt;body%26gt;



%26lt;p%26gt;This is an HTML line



%26lt;p%26gt;



%26lt;?php echo %26quot;This is a PHP line%26quot;;



phpinfo();



?%26gt;



%26lt;/body%26gt;



%26lt;/html%26gt;



PHP syntax shows up blank....why?





1. Make sure the webserver supports php



2. Make sure your file extension is php and not html (apache doesn%26#039;t parse html for php by default)



This shouldn%26#039;t be an issue with php, for for correctness, you should add end paragraph tags (%26lt;/p%26gt;).



Other than that, it looks all right, so it must be one of the first two suggestions.



PHP syntax shows up blank....why?



Well the first question should be: is php running on the webserver? If php is not running it can not parse your file and generate output.



Other Replys:Maybe Yahoo does not support php scripting. I put your script on my website and it works fine - see http://ccgi.origamimark.co.uk/test001.ph...



Other Replys:If that web page doesn%26#039;t work on your web server and you%26#039;ve made sure it%26#039;s saved as a .php file, then you most probably don%26#039;t have PHP running on whatever hosting service you%26#039;re using.



The simplest way to make sure php works is to make a file like so:



%26lt;?



echo %26quot;Hello World%26quot;;



?%26gt;



And save that as test.php. Then access it through the web and see what happens. I%26#039;m not educated in yahoo%26#039;s web hosting but if you can get to a command prompt, you can also type %26quot;php%26quot; to see if it%26#039;s installed.