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

Read Latest Entries..: (Post #57) by iGuest on Jun 16 2008, 03:34 PM. (Line Breaks Removed)
Apache php and MySQL Test Your Php Pages W/o Upload/internet Hi,Can you please help...I have completed the installation of XAMPP as laid out in your tutorial but Apache will not start, when I try to do it a get a busy message, MySQL is fine and shows as running. Each time I click on start Apache it returns busy.Any ideas please?-question by Mike Parker... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Tutorials

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

snlildude87
In this tutorial, I'm going to show you how to test your PHP pages without the Internet or uploading the files to your trap17 server. This tutorial is similar to doom's, but the links he provided does not work, so I decided to make my own tutorial with working links. The program that I will be using for this tutorial is called XAMPP. XAMPP is a modification of the popular Apache server, and I'm using XAMPP because of its simplicity to install as well as maintain. The current version of XAMPP is 1.4.13 and it has the following bundled in the download:
QUOTE
Apache HTTPD 2.0.53, MySQL 4.1.11, PHP 5.0.4 + 4.3.11 + PEAR + Switch, MiniPerl 5.8.3, Openssl 0.9.7f, PHPMyAdmin 2.6.1 pl3, XAMPP Control Panel 1.0, eAccelerator 0.9.2a, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.6a, SQLite 2.8.15, ADODB 4.60, Zend Optimizer 2.5.7, XAMPP Security


The Blurb

Every web site on the internet, including your website at trap17, is hosted on some sort of server. What is a server you ask? A server is basically a central processing unit (CPU), similar to the one you have next to you, that has a program installed, usually Apache or its variants. The main job of the server is to serve up web pages for you to enjoy.

How do I get a XAMPP?

Simple. The following are direct links to download XAMPP from various servers:

* http://kent.dl.sourceforge.net/sourceforge...3-installer.exe
* http://cogent.dl.sourceforge.net/sourcefor...3-installer.exe
* http://heanet.dl.sourceforge.net/sourcefor...3-installer.exe
* http://ovh.dl.sourceforge.net/sourceforge/...3-installer.exe
* http://nchc.dl.sourceforge.net/sourceforge...3-installer.exe
* http://optusnet.dl.sourceforge.net/sourcef...3-installer.exe
* http://easynews.dl.sourceforge.net/sourcef...3-installer.exe
* http://switch.dl.sourceforge.net/sourcefor...3-installer.exe
* http://mesh.dl.sourceforge.net/sourceforge...3-installer.exe
* http://belnet.dl.sourceforge.net/sourcefor...3-installer.exe
* http://jaist.dl.sourceforge.net/sourceforg...3-installer.exe
* http://puzzle.dl.sourceforge.net/sourcefor...3-installer.exe
* http://citkit.dl.sourceforge.net/sourcefor...3-installer.exe

If one doesn't work, try the others. smile.gif

Once you have downloaded XAMPP (25 MB), run the installer and install it in c:\apachefriends. Whatever name you choose, you have to keep in mind that XAMPP has to be in an upper directory, so c:\program files\apachefriends will not work.

Congratulations! You now have your very own non-working server on your computer.

Make it Work - The Harder Way

Go to My Computer -> C: -> apachefriends -> xampp if you chose to install it in the apachefriends directory. You should see several files and folders in the xampp folder. The first thing to remember is not to get intimidated because the file names are very descriptive, so they're easy to understand.

To start your server, find the file name called "php-switch.bat" and double click on it. Type "5" (without quotes), so the window should look somewhat like this:
CONSOLE

#----------------------------------------------------------------------#

# Copyright © 2002-2004 Apachefriends #

#----------------------------------------------------------------------#

# Authors: Kay Vogelgesang <kvo@apachefriends.org> #

# Oswald Kai Seidler <oswald@apachefriends.org> #

########################################################################



The working version in XAMPP is => PHP 5 <=
The verwendete Version in XAMPP ist => PHP 5 <=


Type number or 'x' (exit) for selecting your choice!
Gebe nun Nummer oder 'x' (exit) zum auswaehlen ein!

4) Switching to PHP 4 (zu PHP 4 wechseln)
x) Exit (Beenden)
5_

You now have PHP running on your computer! smile.gif Now, press any key to exit that window.

To get Apache running on your computer, find the file called "apache_start.bat". You now have Apache running on your computer. Congratulations! smile.gif The most important part is running or testing PHP scripts on your computer.

Making it Work - The Easier Way

Go to your My Computer -> C: -> apachefriends -> XAMPP -> Double click on xampp-control.exe (should be the last file in that directory) -> Click the first two "Start" buttons (the last two are optional) -> Click on the X on the top right hand corner of the application.

Congratulations! You have just started Apache with PHP and MySQL on your computer in less than 5 minutes, and best of all, the big black console/DOS screen is not there. smile.gif

Running PHP Scripts on your Computer

Go to your xampp folder which should already by opened. Find the folder called "htdocs" and double click on that. Right click inside that folder -> New -> Text Document ( user posted image)-> Rename the new file to "testphp.php" (without quotes) -> Click Yes -> Double click on testphp.php -> Type:
CODE
<?php echo "Whee, PHP!"; ?>
Save the file (Ctrl + S).

Open your favorite browser and type in "http://localhost/testphp.php" in the address bar. If you see "Whee, PHP!", then you did everything right! If not, then either I screwed up or you did not follow my instructions. Post whatever problems you have and I'll try to fix it.

You can also allow friends to see your PHP script. Simply find your IP address, and give them this URL: http://youripaddress/testphp.php. If your friend complains that it's taking forever, chances are you have a slow internet connection. The faster your internet connection -> the faster your friends will be able to view the pages hosted on your computer. Now you know why most servers demand a fast internet connection such as T1. smile.gif

Closing Apache

Go back to the xampp folder and find a file called "apache_stop.bat" and click on it. Apache is now turned off on your computer!

Frequently Asked Questions

Q: Will .htaccess work?
A: Yes! Open a new file in Notepad and save it as a ".htaccess" file. Now, go to your File Manager in your cPanel. Go into the public_html folder and find a file named .htaccess. Click on it. On the right pane, you will see a list of things you can do with that file. Click on Edit File and a window should pop up. Copy everything in that box and paste it in the opened Notepad. Save Notepad (Ctrl + S).

Q: Why is .htaccess important?
A: No, but you can do some pretty cool stuff with it. For example, you can make custom 404 pages or, my favorite, you can make your server treat a file name of your choice to parse as PHP, so a file ending in .html will be parsed as a PHP script. This is really cool because it gives members the impression that your site is edited by hand.

Q: How do I make my server parse .html files as a .php file?
A: Make a .htaccess file as shown in the first question in this FAQ. Append this line to your .htaccess file:
CODE
AddType application/x-httpd-php .html .htm
In fact, ".html .htm" in the code above can be anything your heart desires. You can go all out and replace ".html .htm" with ".yourname", so pages ending in ".yourname" will be parsed as if it were a PHP script. smile.gif You can also make your server parse files with no extensions as a PHP script. Just append this line to your .htaccess file:
CODE
DefaultType application/x-httpd-php
I like this, too, because it looks as if you store EVERY page in different folders. laugh.gif

Q: Can't I just exit out of Apache without clicking on apache_stop.bat?
A: NO! For some reason, this is very bad and will cause problems. apache_stop.bat has to run in order to shut down Apache correctly.
[hr=noshade][/hr]
That's all for now! Remember, if you have any questions about this tutorial, feel free to post it, and I'll do my best to answer it. smile.gif

Edit: Added "Making it Work - The Easier Way" smile.gif

 

 

 


Reply

zippy77
Great tut snlildude! I tried it and all works well!

I thought I might add something to this tut though.

If you wanted to run a web server from your computer to serve your website to the internet with a web address not an IP, you could follow the next steps:

1) After you have installed the server as described by snlildude, go to DynDNS.org and sign up for a dynamic DNS account.

3) Log into your DynDNS account and on the left hand menu you should see a link to "Dynamic DNS" Click on it. Choose your domain name(something like: mywebsite.dyndns.org), input your IP address (to find your IP address in windows go to Start>Run> then type "ipconfig" or some ver. of windows "winipcfg" no quotes) then click Add Host.

All Done!

Now any time sombody types in the new web address you got, DynDNS.org will direct the request to your web server.

You may need to update your IP address with them occasionally because even though you are using Dynamic DNS (means it detects your new IP every time you get a new one) sometimes manually updating your IP makes things update faster on the DynDNS site.

Hope this will help some of you. And sorry snlildude for adding to your tut, I just think taking it this one step further might help some people. smile.gif

 

 

 


Reply

snlildude87
QUOTE(zippy77 @ Apr 17 2005, 05:57 PM)
And sorry snlildude for adding to your tut
*

That's all right smile.gif If this tutorial becomes popular, and people start adding their own little snippets like you, then I'll add those to the end of my tutorial to make one big tutorial laugh.gif

Reply

zippy77
Sorry I just noticed that in the addition I made to snlildudes tutorial, I put step 1, then step 3. That was just a typo. There is no third step. It should be step 2.

OOPS! rolleyes.gif

Reply

beeseven
When I start Apache, it runs in a new window that just sits there. Is it possible to make it run in the background or system tray?

Reply

snlildude87
You can't get rid of it in anyway sad.gif

However, I think there are programs out there that can make anything appear in your system tray. Whenever I find it, I'll PM you the link smile.gif

Edit: Yes, you can!

Reply

etan
he he he me smart and figure out a back way
open the cpanel that comes with it and click start for all of them then hit the X not exit and its on ur system tray.

Now I have a question how do I get rid of that start page they give u so I can try to do something for a friend and that way they cant acces the mysql

Reply

snlildude87
QUOTE(Nate @ Apr 17 2005, 10:21 PM)
he he he me smart and figure out a back way
open the cpanel that comes with it and click start for all of them then hit the X not exit and its on ur system tray.

Now I have a question how do I get rid of that start page they give u so I can try to do something for a friend and that way they cant acces the mysql
*


Nice!! I'm going to edit my original post to include your method smile.gif

Go to My Computer -> C:\ -> apachefriends -> xampp -> htdocs. See the index.html file? Kill it. Delete it. Rename it. Edit it. Eat it. You get the idea - do whatever you want to that index.html file so that the code inside it will not execute:
CODE
<html>
<head>
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang">
<meta http-equiv="refresh" content="0;url=/xampp/splash.php">
</head>
<body bgcolor=#ffffff>
</body>
</html>

As you can see from the code above, the index.html file will take you to the splash.php file as soon as it's opened, so you have to delete index.html and make your very own index.php file. Then, when you go to http://youripaddress/, your very own index page will show. smile.gif

I hope that made sense laugh.gif

Reply

etan
thanks mate that is gonna help me test a whole php site im gonna make

Reply

Saint_Michael
ok my problem is the txt document this is what i get testphp.php.txt what am i doing wrong

Reply

Latest Entries

iGuest
Apache php and MySQL
Test Your Php Pages W/o Upload/internet

Hi,

Can you please help...I have completed the installation of XAMPP as laid out in your tutorial but Apache will not start, when I try to do it a get a busy message, MySQL is fine and shows as running. Each time I click on start Apache it returns busy.

Any ideas please?

-question by Mike Parker

Reply

Bayuugan
wow tis is really a great tutorials..i must say it has greatly inspired me to start programming me again.
Thanx to U GUYZ!!! biggrin.gif

Reply

coldasice
QUOTE(jlhaslip @ Dec 27 2007, 08:08 PM) *
Acid,
If you have an XAMPP installed, phpmyadmin is available by:

1. open your Apache Server
2. open a Browser window/tab
3. enter "localhost" in the Adress Bar

phpmyadmin is on the left hand side under tools.



well its almoust the same on wamp

enter localhost

and on left side at bottm it is.. or just type localhost/phpmyadmin -.- no diffrence =)

Reply

Acid
QUOTE(jlhaslip @ Dec 27 2007, 08:08 PM) *
Acid,
If you have an XAMPP installed, phpmyadmin is available by:

1. open your Apache Server
2. open a Browser window/tab
3. enter "localhost" in the Adress Bar

phpmyadmin is on the left hand side under tools.

Oh, thanks a lot. biggrin.gif I appreciate it!

Reply

jlhaslip
Acid,
If you have an XAMPP installed, phpmyadmin is available by:

1. open your Apache Server
2. open a Browser window/tab
3. enter "localhost" in the Adress Bar

phpmyadmin is on the left hand side under tools.

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. how to test your php is working on windows - 3.64 hr back. (1)
  2. how to test your version of php - 4.74 hr back. (1)
  3. test php on computer - 7.31 hr back. (1)
  4. php test pages - 12.91 hr back. (1)
  5. page de test php - 12.91 hr back. (1)
  6. php test page - 16.18 hr back. (1)
  7. test your php code - 25.31 hr back. (1)
  8. test php directly on computer - 29.13 hr back. (1)
  9. test your php online - 31.18 hr back. (1)
  10. how to upload php mail program on real website and execute - 37.16 hr back. (1)
  11. upload php, xampp - 41.67 hr back. (1)
  12. how to test php - 45.64 hr back. (1)
  13. how to write a php test page? - 47.19 hr back. (2)
  14. upload php page and test - 50.64 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! (15)
    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