How do I open a .php document? And what do I open it with?
956115
PHP is a scripting language.  Documents ending in .php are likely to be scripts written in that language.  First, be sure that script is not meant to do anything damaging to your computer - this can, in general, be decided based upon how reliable the source you got it from is.  The guaranteed way, of course, is to open it in a text editor but that requires you to be knowledgeable on PHP.\n\nAssuming the script is not harmful, you can install PHP on your computer and then follow simple configuration options in PHP documentation to configure PHP for the web-server you have (if you have none, you need to download that too, probably installing the web-server first is a better idea, Apache is a good web server).  Once you have it configured, you can put the PHP script in your web-server's public files folder and view it using your web-browser.\n\nOf course, all of this is a bit of a hassle; but you can find PHP information at http://www.zend.com (see developer section, downloads).  A short tutorial is at http://www.zend.com/manual/tutorial.firstpage.php
674331
idepends what language you're using - depending on how secure you want it, you could put the file in question on a page with an arbitrary name (say "mywebsite.com/gkhkfgksn.html" that is only accessed via an html form which asks users to eneter their email and then use java or php or whatever to validate the form data. (simple validating stuff you should be able to find anywhere - mayve dynamicdrive.com or phpfreaks.com or something). \n\ni like php for my stuff- - i think i'd make users register for the site w/ email address and ask them if they'd like to be added to my mailing list onthe same form, and let it all flow into a mysql DB.
20609
Use picy gallery.  It should be just what you need, and is only a single small PHP file.
1054550
file with a chm extension is a html help file. you cannot open it by double clicking.\n\nmore on chm file click below.\nhttp://filext.com/detaillist.php?extdetail=CHM
676820
you don't need to convert anything. just put the html code outside the <?php ... and ?> tags and they will show up as normal html.
467689
make php file and put this codes in it\n\n<?\n$name= $_REQUEST['name'];\n$last= $_REQUEST['last'];\n$email= $_REQUEST['email'];\n$msg= $_REQUEST['msg'];\n$msg2="\n<div align=&#92;"center&#92;">\n<table border=&#92;"1&#92;" width=&#92;"42%&#92;" bordercolor=&#92;"#C0C0C0&#92;" height=&#92;"208&#92;">\n<tr>\n<td>".$name."</td>\n</tr>\n<tr>\n<td>".$last."</td>\n</tr>\n<tr>\n<td>".$email."</td>\n</tr>\n<tr>\n<td height=&#92;"105&#92;">".$msg."</td>\n</tr>\n</table>\n</div>";\n\n\n$to  = "your@email.com" . ", " ; // note the comma\n$to .= "your@email.com";\n\n$subject = "Online Form";\n$headers  = "MIME-Version: 1.0&#92;r&#92;n";\n$headers .= "Content-type: text/html; charset=iso-8859-1&#92;r&#92;n";\n$headers .= "From: Sales Department <visitor@yoursite.com>&#92;r&#92;n";\n$headers .= "Cc: your@email.com&#92;r&#92;n";\n\nmail($to, $subject, $msg2, $headers);\ninclude("done.html");\n\n?>\n\n\nand make this html form\n\n<form method="POST" name="mail" action="mail.php">\n<table width="400" cellspacing="2" cellpadding="2" border="0">\n  <tr>\n    <td width=90>name:</td>\n    <td>\n<input name="name" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);" size="1"></td>\n  </tr>\n<tr>\n    <td width=90>lastname:</td>\n    <td>\n<input name="last" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160; height:17" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);" size="1"></td>\n  </tr>\n<tr>\n    <td>email:</td>\n    <td><input name="email" dir="ltr" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160"></td>\n  </tr>\n<tr>\n    <td valign=top>decription:</td>\n    <td>\n<textarea name="msg" cols="28" rows="3" id="comments" style="border-width:1; font-family: Tahoma; font-size: 1em; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; width:220px;" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);"></textarea></td>\n  </tr>\n<tr>\n    <td></td>\n    <td><input type="submit" value="submit" name="submit" style="font-family: Tahoma; font-size: 1em"></td>\n  </tr>\n</table>\n</form>\n\nalso make done.html and put your tanx message in it
1184526
you can open it using a normal web page editor or creator like frontpage, dreamweaver etc.\n\nHowever, to execute that page, it must actually reside on a computer / server with frontpage extensions installed on it.
33992
You may gave to do it through a server side languages. You can download free one. But It depends on our web server. It may support one or two server side script, not all.\n\nhere are some sites\nAll Scripts:\nhttp://www.hotscripts.com/\nASP:\nhttp://www.aspin.com/\nCGI:\nhttp://cgi.resourceindex.com/\nPHP:\nhttp://php.resourceindex.com/\n\n\nFOLLOW THE INSTRUCTION TO INSTALL. IT WON'T BE HARD. YOU DON'T NEED TO BE A NERD\n\nGOOD LUCK.
601985
try grab-a-site or winHTTrack.. but you need to configue some setting to download a php file, or else, it will be compiled as and saved as html.
875614
<?php\n\n$out = fopen("fileout.txt","a+");\n$l=fopen("file2.txt","r");\n$r=0;\nwhile ( ($str=fgets($l))!=null) {\n\n$f[$r]=$str;\n//fwrite($out,"$r[$r]&#92;n");\n\n#print_r ($f);\necho "<br>";\n$r++;\n\necho "<br>";\n}\n\necho "<form>";\necho "<input mode=off type=checkbox name=asc_rad>Ascending ";\nEcho "<br>";\necho "<input type=checkbox name=disc_rad >Descendig";\nEcho "<br>";\necho "<input type=checkbox name=rev_rad>Reverse";\nEcho "<br>";\necho "<input type=submit name=sbm value=DO!>";\necho "</form>";\nfclose($l);\nprint_r ($_REQUEST);\necho "<br>";\n\nIF ($_REQUEST[asc_rad]=="on" && $_REQUEST[sbm]=="DO!"){\nasort ($f);\nprint_r ($f);\n}else{\nIf($_REQUEST[disc_rad]=="on"&& $_REQUEST[sbm]=="DO!"){\narsort ($f);\nprint_r ($f);\n}\n}\nIF ($_REQUEST[rev_rad]=="on" && $_REQUEST[sbm]=="DO!"){\narray_reverse ($f);\nprint_r ($f);\n}\nfor($counter = 0; $counter < count($f); $counter++)\n{\nfwrite($out,"$r[$counter]&#92;n");\n}\n\n?>
978532
What you can do is create this using flash which seamlessly integrates with PHP. I personally don't have much experience in this type of web application, but I did manage to find several scripts that you could look into for creating this system.\n\nI have included the link below. I hope these serve your purposes.\n\nEnjoy!
476992
All you need it is to link to a file other than say an .html page, like a zip file or what not. As long as the server doesnt know what to do with it, it will ask you if you want to open or download it. All you need to do is set up an "href" tag.
402892
right click on the page and a drop-down box will appear.  Scroll down till you highlight "Source" and then click on that.  This will open up the pages source code, usually HTML, language.
947473
Try this:\n\n$url = 'http://www.yahoo.com';\n$getcode = file_get_contents($url);\n\nthen go from there. php doesn't like to hash things out the way you have it set. Its kind of a bug. This is just a walk around. It should work.
236925
http://developer.yahoo.com/php/\nhttp://www.litfuel.net/mybic/
869239
There are two ways to go with this, and both will avoid having to bounce off the server's error page first. One way is Apache's mod_write. I've actually written an article on that one, and it's in the source link below.\n\nThe other way is via the server variable, path_info (also sometimes pathinfo) which will list all extra parts after the executable file. Access the variable like this...\n\n$_SERVER['PATH_INFO'];\n\nTo get the exact name, run this function on your server...\n\nprint_r($_SERVER);\n\nThis will output all your server variables. Of course, path info won't be there if there isn't any data, so call it with something like this...\n\nexample.com/test.php/some/info\n\nYou can use an .htaccess file to force Apache to interpret ALL the files in a folder as PHP scripts, and then forgo the extension, so you can have...\n\nexample.com/text/some/info\n\nBut mod_rewrite really is a better solution. Here's the info...
602639
I'm not entirely sure what you mean, though I will answer your question in a completely biased matter.\n\n\nDON'T USE ASP! PhP is cooler B)\n\n\nYou can give a text box a name like jimbob then make it into a form and do this...\n\n<form method="post" action="file.php">\n<input type="text" name="jimbob" size="25">\n<input type="submit" value="Send">\n</form>\n\nThen on the file.php use this code\n\n<?php\n$message = $_REQUEST['jimbob'];\necho "$message";\n?>\n\nAHA! Look at how beautifully it works. Click on the source link and see for yourself!\n\nSee, you first define what $message is by requesting the submitted form data, or at least a piece of it. Then echo, or you can use print, the already defined $message. Pretty neat huh?