Test Your Php Pages W/o Upload/internet - complete *working* guide on how to test your php pages

Pages: 1, 2, 3, 4, 5, 6
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

Test Your Php Pages W/o Upload/internet - complete *working* guide on how to test your php pages

Iarkalwen
Oh wow! Thanks!

I gave up trying to learn PHP because I couldn't view the pages without uploading them. Now I can go back to attempting to learn PHP! ^^

Reply

michaelper22
Nice tutorial. I have seen WAMP (Windows, Apache, MySQL and PHP) befoer, but XAMPP has many more features built in and has the benefits of A) being open source cool.gif having a non-installer setup for those of us with limited privelages under Windows NT/2000/XP and C) having an FTP server.

Reply

Will
thanks Ill have to try this. It would make things alot easier. Because now I edit the php wonder if I messed up and then I upload it and if I mess up I have to edit it then upload it again overwrite the existing... Ide rather just test it before I upload it. Thanks.

Reply

littleweseth
People : if you're thinking about hosting a website from your home broadband connection - WATCH IT! Check your ISP's terms and conditions VERY CAREFULLY. ISP's often insert a clause saying that you are not allowed to host a website from your broadband connection because you aren't paying for uploads, only downloads, and it costs the ISP money. Tread lightly. They probably won't mind if you're hosting a testing server with low traffic, but don't try anything big.

Reply

snlildude87
QUOTE(littleweseth @ Nov 30 2005, 10:37 PM)
People : if you're thinking about hosting a website from your home broadband connection - WATCH IT! Check your ISP's terms and conditions VERY CAREFULLY. ISP's often insert a clause saying that you are not allowed to host a website from your broadband connection because you aren't paying for uploads, only downloads, and it costs the ISP money. Tread lightly. They probably won't mind if you're hosting a testing server with low traffic, but don't try anything big.
*

Yep. This method should only be used to test your scripts. I hated that I had to upload a script each time I made changes to it when I'm writing them, so I found a mini server that saved me a bunch of time.

Also, hosting your own site requires a lot more than you think. Not only would your ISP have to allow, but you would probably have to spend money on electricity...not to mention security to keep out hackers and viruses on your server.

 

 

 


Reply

saga
hey guys.. recently before i read this thread I also made the same effort.. trying to test both php and mysql in my compter without internet connections.. the catch is i use different method... so i want to know guys what you think to my appraoch is it good enough or i have to do it the way this tut said.. anyway here is what i do....

first i install the windows web server IIS..
then install PHP, the same version trap17 has..
and then install MySql the same version with trap17 again and then
install PhpMyAdmin trap17 is using....

and so here I am not needing to upload my php codes even the database usage...

the only thing i dont like is to view the php pages i have to use this url
http://localhost/index.php which means i cant directly click the index.php file but open first the IE and type the http://localhost/index.php...

so what do you think? to those expert out there.. is this a good practice or not?

Reply

sandbox
I had a miniserver setup with IIS, and let's just say that I soon received a rootkit and I will never use IIS again. Perhaps someone more knowledgable can discuss the relative security profiles of IIS vs. Apache and how much work has to go into "securing" the installation.

Reply

sxyloverboy
Uh oh i think i did it wrong or somehting well it seems to work. In The XAMPP control panel everything is running and stuff. but when i tryed to goto the php test page thing it said "The Connection Was Refused When attempting to contact localhost"

snlildude87: do you know what could have happened?

Reply

sxyloverboy
actualy sorry disregard that. but i cant get it to work as a web server. it times out when i connect through ip adresse. from yown computer or a friends.

Reply

Arne-Christian
I use WAMP Server, with Apache, MySQL and PHP, its perfect for me works good and all, even easy to install, nothing special you have to fix on it. Works on Windows Computer to!

I Recommedate it!

~ Arne-Christian

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3, 4, 5, 6
Recent Queries:-
  1. http upload test - 0.20 hr back. (1)
  2. test php on computer - 3.25 hr back. (1)
  3. how to test php script without uploading - 9.66 hr back. (1)
  4. test php script on computer - 17.19 hr back. (1)
  5. test php without uploading - 20.94 hr back. (1)
  6. test your php here - 25.93 hr back. (1)
  7. upload du page en php - 27.22 hr back. (1)
  8. how to upload website on internet in xp - 27.73 hr back. (1)
  9. page test en php - 32.88 hr back. (1)
  10. test your php files - 34.38 hr back. (1)
  11. test php pages - 35.59 hr back. (2)
  12. testing php page - 63.37 hr back. (1)
  13. good php test page - 64.49 hr back. (1)
  14. upload testen php xampp fix - 65.87 hr back. (1)
Similar Topics

Keywords : test, php, pages, w, o, upload, internet, complete, working, guide, test, php, pages

  1. [aef] Most Recent Topics Listing Mod
    on your Web-site pages (2)
  2. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
    This example will show you how use a string in VB to create PHP code. In order to do this, you need
    a string to store your PHP page and a function that I will list at the bottom of the page for you to
    put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
    String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
    ---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
    -------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
  3. Clearing Your Ie Tif
    Clear your Temporary Internet Files on IE (0)
    -Welcome to: Clearing your Internet Explorer Temporary Internet Files Tutorial-!
    Attention!: As some of the members on here may know, it is possible to clear your Internet
    Explorer Temporary Files. I have searched this entire Tutorials subforum to find a topic already
    made, and I have found nothing. This tutorial I did NOT find this on Google, or any other search
    engine. I always find this out for myself. Lets start: Ok, first we open up Internet Explorer,
    then we click "Tools"...then we click on "Internet Options...". On the Main page "Gener....
  4. Surf Internet Without Opening It. Useful For School
    How-to! (13)
    Wanna surf the internet without opening up internet explorer, firefox, or opera? This trick might
    save you from detention when you go back to school and go on my site. Open up Notepad. Start -> All
    Programs -> Accessories -> Notepad Press F1 to bring up the Help. Click the top left corner (the
    icon) of the help window. Select Jump to URL… Type in http://nerdnirvana.org . Now when your
    teachers come around to check out the windows you’ve opened, you won’t get caught! ....
  5. Simple Javascript And Password System
    How to protect your pages with password (9)
    The quickest way to get a password protection system up and running is to use a Prompt box in
    JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
    what the password should be, could even be one each, that can be sorted out at the next page then
    pass the "input" directly through the url by changing the .href, like
    http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
    the referring page, and three fails from an IP if you like the php (the next page): CODE
    <?php // processdo....
  6. Php--> Content-only Pages
    Create easy to edit php pages. (9)
    Description Learn to create easy to edit content-only pages with php. By parsing your layout into
    your pages, you can reduce file sizes and files will become much neater. Try it out Ok, lets
    start by creating a file called template.php. CODE <?php
    //--------------------------------- //Layout top section //---------------------------------
    $top = <<< html <!-- include HTML header code here --> <body>
    INSERT CODE FOR [b]TOP[/b] OF LAYOUT HERE. html;
    //--------------------------------- //Layout bottom sec....
  7. Php - Forms, Date And Include
    Working with POST and GET and also the Date() function (0)
    /--------PHP FORMS, DATE AND INCLUDE TUTORIAL BY FLASHY--------\ Hi and welcome to my
    tutorial. I will show you how to make simple PHP forms with the POST and GET statements. I will
    also show show you the Date() function too, aswell as the include() function. OK, so first you need
    a good understanding of HTML, and you need to create your form using that. So lets start off with
    the HTML form. 1. Create a page called form.html. 2. Insert your standard tags like: CODE
    <html> <head> <title>Working with php forms.</title> </he....
  8. Increase Internet Bandwidth In Windows Xp
    (10)
    Windows XP reservers 20 percent of the Internet bandwidth for QoS ( Quality of Service). This is
    unnecessary and can be disabled. By disabling this you get a boost in the Bandwith. Follow the
    following steps: * Select Start > Run and enter gpedit.msc to Open the Group Ploicy Editor.
    * In the left-hand column in the window, navigate to Computer Configuration > Administrative
    Templates > Network > QoS Packet Scheduler * In the right column double-click on Limit
    reservable bandwidth and select Enabled . * Change the Bandwidth Limit to 0 and click OK. N....
  9. Internet Explorer Sucks
    Yeah, I said it. (14)
    I'll give you guys a special sneak preview of this tutorial... a good ten minutes before it
    comes out on my website... enjoy. Internet Explorer Sucks Description Its time to send those
    pesky Internet Explorer users a message. Learn how with my brand new "IE Sucks" PHP Code. (Only
    $29.99, but wait there's more!) Try It Out Alright, in order to give those IE users
    what they deserve we will be using the good ol' HTTP_USER_AGENT command. This command grabs the
    users browser name, etc. Its also useful for all kinds of other things such as stalki....
  10. Internet Connection Sharing With Xbox 360 And A Laptop
    For Windows XP (possibly Vista) (7)
    Alright, I just found out about this very recently on my quest to get a wireless adapter for my Xbox
    360. You can use the wireless connection from your laptop as an internet connection for the 360.
    I'm putting this up because I had a lot of trouble with the DNS portion of this and no one has
    posted up the way that I found to do it, so here I go. Supplies: Laptop connected to internet Xbox
    360 Ethernet Cable (comes with Xbox, can use any other though) 1. First, have your xbox turned on.
    Also have your PC on, since this next part is all with the computer. This will....
  11. How To Delete Your Search History In Microsoft Internet Explorer
    (3)
    How to delete your search history in Microsoft Internet Explorer As you know, when you type a
    keyword in google or yahoo, Microsoft Internet Explorer saves your keyword for later search.
    Unfortunately these keywords remain on your hard drive even you clean your cookies. To clean your
    keywords do following: In Microsoft Internet Explorer 6.0 1- Click on Tools and then select
    Internet Options. 2- In Internet Option window, click on content tab. 3- In content tab, click on "
    AUTOCOMPLETE" button. 4- In " AUTOCOMPLETE SETTINGS" window, click on " CLEAR FORMS" to remove....
  12. Do You Want To Use Php Code In Your Html Pages?
    Within two minutes you will! (9)
    Whilst searching around for help to setup cutenews blog I came across a way to use php in html pages
    - lo and behold it works! so I thought I'd share it with you all (Unfortunately I can't
    remember the site so I wrote this up a couple of minutes after I did it:) ). This method requires a
    web server with apache installed. So, luckily for us all this covers the whole of Trap17... even
    Qupis /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Just
    to make the point, this is in no way a difficult task and it doesn't requir....
  13. Document Type Declarations
    And why we use them in html pages (0)
    This code: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd"> <html> <head>
      <title>HTML 4.0 Strict document</title>     <meta
    http-equiv="content-type"  content="text/html;charset=utf-8" >     <meta
    http-equiv="Content-Style-Type"  content="text/css" > </head>
    <body>      <p>... Your HTML content here ...</p>      <p>... More
    HTML content here ...</p>   </b....
  14. Psp Error- Tut On How To Fix
    When you try to use the internet does your psp get an internal error? (31)
    First of all, psp can browse the internet with its simple browser. BUT! What you may not know
    is that there is a bug where when you try to search or use a wireless lan connection (WLAN) the psp
    may say something like: Internal Error (80410A0B) To fix this without any memory loss, take out
    the UMD which is in the psp, and also take out the memory card. Next, go to settings, then system
    settings and click restore settings, the psp may freeze up, but it is not broken, take out the
    batter pack and put it back in, the settings should be restored and all should work.....
  15. Speed Up Your Internet Explorer Fast As Firefox
    Internet Explorer isn't slow (17)
    This is s little tip that you can make your Internet Explorer browser can run fast as Firefox
    browser. You can make it by following the step by step below step 1: first you go to start menu
    and then choose run. step2: After you choose run,it appears a little box,then you can type regedit.
    step3:Find the key that you need by following this HKEY_CURRENT_USER \ Software \
    Microsoft \ Windows \ CurrentVersion \ InternetSettings step4:On the right box,right
    click and choose new ,then continue choose DWORD Value step5:type into the box : MaxConnec....
  16. Making A Dynamic Page On Blogspot
    Using an external server to make your pages hosted on blogspot dynamic (5)
    Good morning everyone. Have you ever wondered how to allow your visitors to edit content on your
    blog? Like adding a post straight off the page, adding a link, editing your profile etc. This will
    be extremely useful if you want your visitors to contribute to your blog besides writing comments or
    tagging. 1. Adding a post straight off the page. Go to blogger.com, login, select your blog. Go to
    settings -> email. By enabling blog email, you can now add a post by simply sending an email to the
    address you specified. The address should look something like: yourusername....
  17. How To: Make A Simple Php Site
    Making one file show up on all pages using php (21)
    I have looked all over the site and could not find anything that was like this simple, or just like
    this at all.. For some people i know that you are using a basic HTML site...and having a big menu
    if you want to add somthing you have to go into every one of the pages and add or remove or edit
    what you want to do, but with somthing verry simple all you would have to do is edit one file, and
    all of the pages that have the PHP script on them would suddenly change to what that one file is.
    So to start off if you are planning on using this little tirck, the page that you a....
  18. Linux Info/howto
    Info about working with linux part1 (6)
    Linux on your desktop?! What kind of hardware do i need to run Linux? Linux will
    basically run on almost all hardware you can think of. from a usb-memorystick up to a big mainframe.
    For modern distro's a PentiumIII/Celeron or Athlon computer with 128mb ram (256mb recommended)
    are good enough to use. I thought Linux was free but there also packages for sale? Thats correct
    you can get Linux for free from the internet but there is also a option to buy it at a store. When
    you buy (for instance) suse linux at a store you will be provided with a handbook an....
  19. Secure The Email Addresses On Your Website!
    Wonderful script and useful! And working (10)
    Just follow the instructions below: /* Secure Email Function by Juan Karlo Aquino de
    Guzman Website: http://www.karlo.ph.tc and http://www.abs-cbn.ph.tc E-mail:
    http://www.karlo.ph.tc/send.php Usage: showEmail("support@microsoft.com",0); OR
    showEmail("support@microsoft.com",1); Types: 0 = ordinary random 1 = more secure random To
    include to a script: include_once("email_secure.php"); */ And here is the code :
    CODE <?php /*     Secure Email Function by Juan Karlo Aquino de Guzman     Website:
    http://www.karlo.....
  20. How To Edit Your "index Page"
    Adding new pages? (0)
    This tutorial was requested by sxyloverboy . Introduction: sxyloverboy has asked me how
    to make your navigation bar on him website change to add another page, without having to do it on
    every page. Well, I have the answer for you! Beginning Assuming you have a FTP upload
    access, you'll be open your file "index.php" -=Example=- Once your "index.php" file is open
    press "CRTL+F" (Find) and search for something that looks like this; CODE                
     <tr>                                <td class="off" onmouseover=....
  21. How To Save Upload Time In Cpanel
    (37)
    Do not Extract files and then upload them by ftp, try the following (1)open the file manager
    (2)upload the zip or gz format file (3)then extract the file it save the comulation time for
    ftp client and the ftp server.....
  22. Custom 404 Error Pages
    A Tutorial On How To Make Custom 404 Error Pages (17)
    I've seen a tutorial on here and no offense but it was horrific, this is the real way you do a
    404 Error Page. Make a file called: htaccess.txt Open it up and put this: CODE ErrorDocument
    404 /myerrorpage.html You will need to change myerrorpage.html to whatever your page is called.
    Also when you upload this file to your server you need to rename it to: .htaccess Yes, the dot is
    before the words. You need to do this on the server because on Windows you cannot do that!....
  23. ---> Speed Up Internet <----
    (1)
    QUOTE I have already posted block adserver. Use that to update your hosts file QUOTE
                1. Windows 2k/XP               1. First, open the Windows Registry using Regedit, and
    (after backing up) navigate to:                  
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider
                  2. Note the following lines (all hex dwords):                   Class = 008 (
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' />   - indicates that
    TCP/IP is a name service provider, d....
  24. How To Block Google Web Accelerator
    from caching your pages (6)
    This only applies to your site, I don't know how I'm going to protect my email; I'm
    using gmail. This sucks big-time. Anyway. This is how you do it. If you have an existing .htaccess
    file in your root, add this to it: CODE RewriteBase / RewriteCond %{REMOTE_ADDR} ^72.14.192.
    RewriteCond %{REQUEST_URI} !^/gwa-forbidden.html$ RewriteRule ^.*$ /gwa-forbidden.html
    This is, of course, assuming you have RewriteEngine On . If you don't have it on, use
    this: CODE RewriteEngine on RewriteBase / RewriteCond %{REMOTE_ADDR} ^72.14.192....
  25. Css Trick: Hide Disabled Internet Explorer Vertical Scrollbar
    (18)
    I'm working on a website and a few minutes ago I got very tired from the Internet Explorer
    vertical scrollbar. This vertical scrollbar is always there, even if the length of the page does not
    require a vertical scrollbar. In this case, Internet Explorer will disable the scrollbar though not
    remove it. In my opinion this would be correct behaviour. The disabled however not hidden scrollbar
    means that a switch between a preview of your website in Mozilla Firefox and MS Internet Explorer
    will lead to an annoying change of the location of your layout. To disable this an....
  26. Secure Dynamic Pages Ii
    (0)
    Just put the following code in every begining of your PHP script: CODE <?php
    error_reporting("0"); ?> So, you will never see any errors. OR CODE
    <?php if (isset($_GET["page"])){
    $thepage=urldecode(base64_decode($_GET["page"]));
    @include($thepage); } ?> ....
  27. Secure Dynamic Pages
    Another good php tutorial. (7)
    Hello all, Recently a friend of mine gave me this code to make your site completley dynamic and
    secure at the same time. Here is what you have to do. Open a new page in your text editor and paste
    in this code. CODE <?php error_reporting (E_ALL ^ E_NOTICE);
    if(!$page){ $page = $HTTP_GET_VARS['page']; }
    if($page=="" or $page=="main"){
    include("main.php"); } if($page=""){   die("You
    cannot access this page directly..."); } ?....

    1. Looking for test, php, pages, w, o, upload, internet, complete, working, guide, test, php, pages

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for test, php, pages, w, o, upload, internet, complete, working, guide, test, php, pages

*MORE FROM TRAP17.COM*
Similar
[aef] Most Recent Topics Listing Mod - on your Web-site pages
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
Clearing Your Ie Tif - Clear your Temporary Internet Files on IE
Surf Internet Without Opening It. Useful For School - How-to!
Simple Javascript And Password System - How to protect your pages with password
Php--> Content-only Pages - Create easy to edit php pages.
Php - Forms, Date And Include - Working with POST and GET and also the Date() function
Increase Internet Bandwidth In Windows Xp
Internet Explorer Sucks - Yeah, I said it.
Internet Connection Sharing With Xbox 360 And A Laptop - For Windows XP (possibly Vista)
How To Delete Your Search History In Microsoft Internet Explorer
Do You Want To Use Php Code In Your Html Pages? - Within two minutes you will!
Document Type Declarations - And why we use them in html pages
Psp Error- Tut On How To Fix - When you try to use the internet does your psp get an internal error?
Speed Up Your Internet Explorer Fast As Firefox - Internet Explorer isn't slow
Making A Dynamic Page On Blogspot - Using an external server to make your pages hosted on blogspot dynamic
How To: Make A Simple Php Site - Making one file show up on all pages using php
Linux Info/howto - Info about working with linux part1
Secure The Email Addresses On Your Website! - Wonderful script and useful! And working
How To Edit Your "index Page" - Adding new pages?
How To Save Upload Time In Cpanel
Custom 404 Error Pages - A Tutorial On How To Make Custom 404 Error Pages
---> Speed Up Internet <----
How To Block Google Web Accelerator - from caching your pages
Css Trick: Hide Disabled Internet Explorer Vertical Scrollbar
Secure Dynamic Pages Ii
Secure Dynamic Pages - Another good php tutorial.
advertisement



Test Your Php Pages W/o Upload/internet - complete *working* guide on how to test your php pages



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE