Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 16th, 2003, 08:09 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,674 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 8 m 32 sec
Reputation Power: 219
Send a message via ICQ to computer
PHP app locally on laptop

Hey,

I wrote a PHP app to do some athletics scoring, using MySQL db.

However, I need to be able to run it off my laptop without connection to the net.

Is there any program I can install (short of installing Apache, PHP and MySql) that will allow me to have a DB and run a PHP site locally?

Preferable free
__________________

Reply With Quote
  #2  
Old July 16th, 2003, 08:23 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,674 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 8 m 32 sec
Reputation Power: 219
Send a message via ICQ to computer
Hey, this has ended up in here. I though i posted in the lounge, please move.


Thanks

Reply With Quote
  #3  
Old July 16th, 2003, 09:11 AM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,635 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 44 m 19 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
Probably not. You do, after all, need a web server to serve web pages.

Reply With Quote
  #4  
Old July 16th, 2003, 09:14 AM
Targaz's Avatar
Targaz Targaz is offline
I played Richard the Third
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Den Haag, Netherlands
Posts: 122 Targaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I'm not a PHP expert, but I believe there's some way to use PHP with GTK+ to make applications instead of webpages.
__________________
Now is the winter of our discontent made glorious summer by this son of York.

Reply With Quote
  #5  
Old July 16th, 2003, 09:24 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,674 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 8 m 32 sec
Reputation Power: 219
Send a message via ICQ to computer
not a php app, more of a standalone php parser...

Reply With Quote
  #6  
Old July 16th, 2003, 10:58 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
Not really, you can get them but they all emulate a webserver in the end and don't work that well. Most of the ones I saw also cost quite a bit, don't know why you would pay for it when it doesn't work that well.

Reply With Quote
  #7  
Old July 16th, 2003, 11:00 AM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 545 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 59 m 51 sec
Reputation Power: 9
Can't you set up apache/MySQL/PHP and then run from localhost 127.0.0.1?

That's what I do on my iBook to do offline development work. I see no reason why the same thing wouldn't work for you.

Reply With Quote
  #8  
Old July 16th, 2003, 11:46 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,674 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 8 m 32 sec
Reputation Power: 219
Send a message via ICQ to computer
i'll give it a go..

however, can I stop people viewing it from outside?
I want to be able to test on my LAN, but not letting the world see in

Reply With Quote
  #9  
Old July 18th, 2003, 09:57 PM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 545 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 59 m 51 sec
Reputation Power: 9
.htaccess, oh wait...password protect the directory if you don't want prying eyes. Don't know how to do that any on windows anymore.

Reply With Quote
  #10  
Old July 19th, 2003, 04:41 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,674 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 8 m 32 sec
Reputation Power: 219
Send a message via ICQ to computer
what do you think about PHPTriad?

Reply With Quote
  #11  
Old July 19th, 2003, 11:18 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
PHPTriad is now Sokkit . Looks good.

But, for very simple Windows PHP apps, you might want to check out BadBlue, where you can get a full HTTP server (with PHP) for Windows, in a 480K download.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #12  
Old July 19th, 2003, 12:49 PM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,693 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 16
Quote:
PHPTriad is now Sokkit . Looks good.

hehe - IonPanel created this page in 0.126073 seconds using 36 queries.

The link you posted above - a whopping 2kb html file needed 36 queries and .126073 seconds.

I know, shoot me for the off subject post. Just looking for stuff to nit pick at...

Last edited by jpenn : July 19th, 2003 at 12:51 PM.

Reply With Quote
  #13  
Old July 19th, 2003, 10:00 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
Quote:
Originally posted by jpenn
The link you posted above - a whopping 2kb html file needed 36 queries and .126073 seconds.

Now Joe, we all know the real reason that page takes 36 queries is because they are using MySQL, and have no real concept of relational database abstraction. Oops, now I'm way off topic .

Reply With Quote
  #14  
Old July 22nd, 2003, 11:02 AM
SilkySmooth's Avatar
SilkySmooth SilkySmooth is offline
Newbie :P
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2001
Location: In the PHP Engine :-)
Posts: 2,880 SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 11 h 32 m 23 sec
Reputation Power: 15
Quote:
Originally posted by rycamor
Now Joe, we all know the real reason that page takes 36 queries is because they are using MySQL, and have no real concept of relational database abstraction. Oops, now I'm way off topic .


LoL

Anyway computer, back to the topic, I was doing some research a long time ago because I had a customer who wanted to run a demo web site off a CD which was of course written in PHP. Back then I did find a nifty peice of software that allowed you to do this, if you do some searches on Google you might find the same.

The only limitations obviously because it was on a CD was that you couldn't perform writes of any kind, but you can download it to play with for free, you have to pay to get rid of some warning message if I remember correctly. Not sure how it was on performance though.

If you hacked into it to find out how they have the engine running you could possibly port MySQL into it, but now I'm just theorising, the easy solution is of course Triad of Dev.
__________________
---------------------
-- SilkySmooth --
---------------------
Proxy | Little Directory

Reply With Quote