473,395 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

running php scripts from a CD

is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris
Jul 17 '05 #1
11 1804
The only thing I'm aware of:
http://www.dwebpro.com/
Cheers,
Daniel
http://www.danhendricks.com

Jul 17 '05 #2
i did something like that once, but it's a while ago. I used some
installer-creator-program-thingy to create an install.exe that whould
install apache and mysql service (in the background =D) and php, insert
the content to the database and copy the php files to htdocs dir, and
than created some shortcuts. This was on a windows machine. It's a bit
of a struggle to make something like that (lots of clicking and trying
before the program makes what you want) but it pays off in an executable
where all the receiving user has to do is run install.exe and
everything's setup.

so eh - it's something like that. i guesse it whould be harder if you
want to make something like that for linux, but i never tried that to be
honest... as I said it's a while ago - so I don't remember what program
I used or how I did it... but I did it, so to answer your question:

yes there is a way to do that =) I didn't make a fake server by the way
- it was the real thing mate, on the local machine dough...

chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris

Jul 17 '05 #3
chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris

You can direct the output to hard coded html. I don't recall the
technique but it's something simple to spit out the whole thing hard coded.
Jul 17 '05 #4
chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that
doesnt have internet access ??
can some sort of fake server be setup ??

chris


There is software to do this, I can't remember what it's called. Google it.
It runs in memory. Supports database access as well.
Jul 17 '05 #5
chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that
doesnt have internet access ??
can some sort of fake server be setup ??

chris


http://www.indigostar.com/microweb.htm
Jul 17 '05 #6
chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that
doesnt have internet access ??
Yes.
can some sort of fake server be setup ??


Not a fake server, a real one. Install Apache or the like, plus the PHP
stuff, and you can run PHP scripts.

I used the package at EasyPHP to install Apache/PHP/MySQL all at once.

Brian
Jul 17 '05 #7
I noticed that Message-ID: <zs********************@speakeasy.net> from
paul contained the following:
is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris

You can direct the output to hard coded html. I don't recall the
technique but it's something simple to spit out the whole thing hard coded.


I did that once but I did it manually as there were only about 20 pages.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #8
That works great and so easy tooo- thankyou
"Nik Coughin" <nr***********@woosh.co.nz> wrote in message
news:5t*******************@news.xtra.co.nz...
chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that
doesnt have internet access ??
can some sort of fake server be setup ??

chris


http://www.indigostar.com/microweb.htm

Jul 17 '05 #9

chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that doesnt have internet access ??
can some sort of fake server be setup ??


Perhaps, phpSt.Chung Leong's PHP FreeStyle
<http://www.conradish.net/bobo/>

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #10
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...

chris wrote:
is there a way to run PHP scripted pages from a CD on a machine that

doesnt
have internet access ??
can some sort of fake server be setup ??


Perhaps, phpSt.Chung Leong's PHP FreeStyle
<http://www.conradish.net/bobo/>

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/


Doesn't work any more 'cause I was using an eval version of Borland Delphi
:-(

I'm working on a improved C++ version.
Jul 17 '05 #11
Chung Leong wrote:
<snip>
Perhaps, phpSt.Chung Leong's PHP FreeStyle
<http://www.conradish.net/bobo/>
Doesn't work any more 'cause I was using an eval version of Borland

Delphi :-(

I'm working on a improved C++ version.


That's nice.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
4
by: Peter Otten | last post by:
Is there a way to limit both width and height of a canvas text item? My current workaround seems clumsy: import Tkinter as tk root = tk.Tk() canvas = tk.Canvas(root, width=400, height=200,...
1
by: Patrick | last post by:
Hi, The company's database has multiple schema. If I want to modify a stored procedure, which is saved as a script (something like abc.sql), I opened that script in Query Analyser, made the...
3
by: Sravani | last post by:
Hi, I am setting up a new server for an already running website. The problem is the person before me ran ASP scripts on .html extension pages (The old machine is a windows 2000 server with IIS...
4
by: Nick Sinclair | last post by:
Hi all, I'm new to C. I have successfully written a small C program that acts as a "wrapper" around cgi scripts. These scripts perform admin tasks such as backing up etc. Obviously, The need...
1
by: edovale | last post by:
Hi there, I am trying to create a db on db2 and when running the scripts, which have been successfully ran before, I get the following error: DB21034E The command was processed as an SQL...
2
by: Dave Hughes | last post by:
Just noticed something rather annoying after upgrading my test box (a Linux server running DB2 UDB v8 for LUW) to fixpak 11 (for reference it was previously on fixpak 7). In the past I've relied...
6
by: Ishpeck | last post by:
I'm using Python to automate testing software for my company. I wanted the computers in my testing lab to automatically fetch the latest version of the python scripts from a CVS repository and...
24
by: Mark | last post by:
Hi, I'm new to python and looking for a better idiom to use for the manner I have been organising my python scripts. I've googled all over the place about this but found absolutely nothing. I'm...
22
by: V S Rawat | last post by:
(bringing the discussion here for php.general) I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL 5.0.51b. http://localhost/ is E:\wamp\www\ I have put the first php script...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.