SunQuest
           Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 13th, 2001, 01:47 PM
TheAncientMariner TheAncientMariner is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: UK
Posts: 1 TheAncientMariner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile

hello to one and all

I am seeking advice as to the intial set up of my machine (pc). the pc currently operates windows 98. would I be better setting up under windows or is the better route to partion a disk and run redhat. Any advice is most welcome. It is my intention to run Perl, PHP, MySQl.

Regards
TheAncientMariner

Reply With Quote
  #2  
Old February 13th, 2001, 05:50 PM
JohnB JohnB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Location: UK
Posts: 527 JohnB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I run php and mysql on a Windows 95 system without too much difficulty. When I started out I set up a Linux system. I know some people absolutely love Linux but I prefer my windows set up. It's easy to work with my familar graphics programs etc. . Also it's much better for testing web pages. Most people who visit your sites will be using Imternet Explorer or Netscape on a Windows system. The version of Navigator for Linux seemed very inreliable and as far as I'm aware there is no Internet Explorer for Linux (doesn't seem very likely ).
If you get a host that allows you telnet access - I strongly advise you to do so you will have good but slow access to (probably) a Linux machine for finalising your scripts/webpages anyway.


John

Reply With Quote
  #3  
Old February 14th, 2001, 12:15 PM
Statik Statik is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 129 Statik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Question

JohnB: How do you handle mail() in PHP? I'm trying to learn PHP and mySQL for a shopping cart project I have and I'm using the tutorial found on DEVSHED "Building and E-Commerce Site". In part 2, the files included with the tutorial have a password emailer program, but I'm unable to use them. I get the following error:
Warning: Unknown error in /Inetpub/wwwroot/mymarket/lib/mymarket.php on line 141

How do I fix this? I'm not using apache, which seems to be what everyone else is using, I'm using IIS5 under W2K Server. My responsibilities are going to be the PHP scripts. I've had to learn how to install and configure mySQL and PHP in order to test my scripts, so I'd rather not have to figure out Apache as well. Is there an easy way to get mail() working with IIS5?

Thanks
Statik


Reply With Quote
  #4  
Old February 14th, 2001, 04:34 PM
JohnB JohnB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Location: UK
Posts: 527 JohnB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I'm sorry I use an Apache server an my windows system. Try posting this in the php forum someone might be able to help you - that is a very busy forum.
I was really referring to using a windows environment for development only.


John

Reply With Quote
  #5  
Old March 11th, 2001, 01:22 AM
CryingWolf CryingWolf is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Spokane, WA
Posts: 1 CryingWolf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey John

I am setting Apache up on a win98 box for the first time. It is running ok but I have a question about security.

Do we have access to a system like htaccess??? while running on a win98 box???

also a lot of stuff seems to be for unix/linux, Do you know of any good sites for apache,php,mysql, for windows sites???

Thanks in advance

Late

Reply With Quote
  #6  
Old March 11th, 2001, 08:13 AM
JohnB JohnB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Location: UK
Posts: 527 JohnB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hi,

I set up my mysql/php system with the help of the tutorials at webmonkey:

http://hotwired.lycos.com/webmonkey/99/21/index2a.html

They discuss both Linux and Windows set ups and tell you where to get the binaries. (at least they did when I set mine up. It may have changed since but at a quick glance it loooks the same.)

As I said I only use this system for development. I find it very convenient from the point of view of being able to access windows based programs for graphics etc. It is also handy to be able to view pages through a browser on a windows system.

John

Reply With Quote
  #7  
Old March 11th, 2001, 08:14 AM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
statik,

Under Winbloz you need to change the configuration in php.ini. You should comment out the line for sendmail=... and give a value to SMTP=mail.yourmailserver.com

That way PHP can send any mail to your SMTP server since there isn't a sendmail program in Win.

CryingWolf,

You can control http access with .htaccess using Apache under Win. Apache works pretty much the same as do PHP and MySQL. There are some PHP functions that won't work under Win because they are actually calling Unix functions, but other than that and some specific configurations (such as the SMTP mentioned above) everything should work exactly the same (except of course Win being MUCH less stable).

Reply With Quote
  #8  
Old March 14th, 2001, 12:59 PM
dsb dsb is offline
PerlGuy
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Posts: 714 dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 15 h 44 m 20 sec
Reputation Power: 36
Send a message via AIM to dsb
Quote:
Originally posted by rod k
statik,

Under Winbloz you need to change the configuration in php.ini. You should comment out the line for sendmail=... and give a value to SMTP=mail.yourmailserver.com

That way PHP can send any mail to your SMTP server since there isn't a sendmail program in Win.

Heh heh...Winbloz...
That information about configuring php.ini for SMTP and not sendmail is good stuff. I've been wondering that myself.
__________________
- dsb -
Perl Guy

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Newbie getting started


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway