Php Without Server

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Php Without Server

coolcat50
I have just recently bought a laptop and would like to use PHP for local reasons on it, but I am not allowed to setu p a local webserver because it would slow down our already crappy internet. Is there a way for me to run local PHP without using Apache or any other webserver for purely local uses.

Reply

jlhaslip
Install a copy of XAMPP or WAMP or Easyphp onto your laptop to set up an Apache, mysql, etc that will not affect your Internet connection at all.
It allows you to run php scripts on your localhost with no Internet connection at all.

It also saves the Server at the Hosting account from getting messed up by your testing of Scripts... Google XAMPP, for example.
XAMPPlite is also available as a Portable Application so you can run it from a Flash Drive, too. Again, no impact on your Internet connection.

Reply

truefusion
The only way it'll affect your current internet connection is if someone tries to access your server with your IP address. You could tell any firewall you may have to prevent any outside traffic from coming in through ports 80 and 8080.

Reply

Dsavi_X4
I have heard about something like this, except maybe a bit advanced and not what you're looking for. It lets you run .php files as standalone programs. And by the way, since when can't you run PHP on LocalHost? I've always thought that doing that was the only way to get it to work offline. I'll see what that thing was called again...

*Gets out Ye Olde book of PHP*

It's called Command Line PHP. I'll find something on it.

Oh yes, I forgot, first post.

Reply

gogoily
Register Envirement variables of Windows, then you can use command to run php code just like this:
C:\php somephpfile.php

Reply

anachro
thats pretty cool, I didn't know that you could localhost run scripts while offline. blink.gif

hmm... I wounder if my teacher will let me test the theory out on her PC for an assignment laugh.gif

Reply

khuongcomputer
That's crap if you can't get a local webserver.
I really suggest for something like Easy PHP, it's setup a webserver on your PC really fast. Then you can use it for your purpose (only your computer can use this localhost). If needed, can be removed later.

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.

Similar Topics

Keywords : php, server

  1. Dohwow
    4 my private server (2)
  2. Php Pages Permission On Apache Server
    PHP pages permission on Apache Server (1)
    Hello, I want to know what permissions for PHP pages should be given on Apache web server so that
    PHP pages can be executed. If PHP pages are in a folder, what permissions should be given for that
    folder? ....
  3. Can Php Interact With A Visual Basic App On A Server
    (8)
    I am currently making a game. And I want to use a command through php to ineract with a visual
    basic app on my server. Is it possible? and how?....
  4. Wappyftp V1.00
    upload to server via ftp from your mobile phone :-) (8)
    wappyFTP v1.00 by wappy --- site: http://cult.trap17.com mail: admin@cult.trap17.com --- -Welcome
    to wappyFTP, with this wap script your users can upload files directly to their server via FTP from
    a mobile phone! --- -Its extremley easy to install, open index.php and put the name of your site
    instead of YOURSITE.COM -Upload the folder wappyFTP_v1.00 to the root directory of your web server
    -Link to it like wappyFTP_v1.00/index.php -Its all done ENJOY --- YOU MAY DISTRIBUTE AND/OR EDIT
    THIS SCRIPT BUT DO NOT REMOVE THE AUTHORS NAME! --- ©2006-2007 wappyCULT /....
  5. I Need Webmail On My Server
    (so admins on my site can access it) (0)
    Right now, if i go to the cpanel of my site, I can access webmail of any of the email addresses I
    have. Unfortunatly, I would prefer it if the administrators did not know the password to the
    cpanel. I want them to be able to access mail from 1 of the email accounts. I have tried letting
    all the admins access the account through their own cliants, but it became a mess, not knowing wich
    admins have responded to which emails, because most emails are hosted localy when received by
    cliants such as outlook. Then I had the idea of making one page, with webmail on it. Where....
  6. Php Server Time
    (4)
    i think i may asked this question awhile back but i never really got it solved. ok..i had a block
    that told me the server time info or whatever. and the GMT wus at 00:00 i wanted to change it to
    -5:00 but i didnt know how, so how can i change it? im not sure of the codes in the php to change it
    to the right GMT time becuase im always gettn the wrong times n day....
  7. Logging Dowload Files From Your Server Onto A Html File
    (1)
    Well, i had the idea of logging the downloads from my web in a html file few weeks ago, and i solved
    it with a lil php page included in my homepage. You could name the links with a name like
    "download.php?file=filename.ext" and then, in the download.php put the next code: (well you put
    the html and head and body tags if u want, i only write the php here) CODE <? if
    (isset($_GET['file']))
    $file=$_GET['file']; //so it gets the GET data from url
    (file=filename.ext); $ip=$_SERVER[....
  8. Parsing Html As Php
    and XAMPP as the server version on Windows (7)
    On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
    forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
    php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
    add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
    I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
    work to parse html through the php parser. Any ideas on how to get these htm....
  9. Email Server Help Please
    I need noob detailed help on setting up a email server on windows XP (0)
    Hello I would like to say thank you for any help you might give me. I'm new to Apache / PHP and
    MySQL I have all them up and running propertly I think. I want to make a PHP online game and I need
    to set up an email server so I can have and authincation system. When the player creates an account
    I want the computer to email the player a link the have to click on to make there account active.
    I have a Comcast 8mbits broadband connection My server is running at http://192.168.1.105 My
    PHPinfo file is http://192.168.1.105/phpinfo.php My FormMail File http://192....
  10. Does Gd Use Much Server Ressources?
    (0)
    Well, my topic title is pretty descriptive. Does GD use much server ressources, is it heavy to run,
    or is it light and flawless just like a normal PHP script? If I use GD much, should the images be
    cached? And by the way, I don't know how to cache images. I know how to create them, but I
    can't manage to store them in a folder, and then check that folder to see if the file is already
    cached. If it's not, the PHP script will create it.....
  11. Server Time Help
    (4)
    My Webpage If you check here in my site in my Login block called "user info" at the bottom it
    tells u the "server time". Well that server time for me is wrong. This is what is displayed QUOTE
    Server Time · Time 14:06:53 · Date 19 Feb 2006 · Timezone +0000 The Date is right but the
    Timezone and Time are just way off. My Timezone should be -500. What do i have to do to fix this? Is
    it in my cpanel or do i have to go edit this block itself??....
  12. Php And Asp.net Form
    server control html component (6)
    does this sort of feature can be done in php. http://www.w3schools.com/aspnet/aspnet_forms.asp or
    how and what are the differences.. thanks /huh.gif' border='0' style='vertical-align:middle'
    alt='huh.gif' /> ....
  13. Php & Apache Server
    PHP & Apache Server (7)
    I want to install PHP. For this I have downloaded Apache Server. But I am not able to configure it.
    If anybody knows how to configure it, please let me know. Without Apache Server I am not able to
    configure PHP. I have also tried one of the installation file available on internet which
    automatically performs all installation tasks, but it also does not solve my problem.....
  14. I'm setting up punBB
    Why won't the db server work? (2)
    What is it?....

    1. Looking for php, server

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for php, server

*MORE FROM TRAP17.COM*
advertisement



Php Without Server



 

 

 

 

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