image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
LinkBack Thread Tools
  #1  
Old November 20th, 2001, 03:29 PM
AdmiralAK's Avatar
Simply Daemonic
 
Join Date: Oct 2000
Location: Classified
Posts: 5,792
Thanks: 0
Thanked 0 Times in 0 Posts
AdmiralAK is on a distinguished road
Yahoo and php ?

Does yahoo support php ?
I want to learn it and yahoo will be (as always has been) my testing ground.

any ideas as to what server side stuff yahoo supports ?


Admiral
__________________
<<------------------------------>>
Seid ihr bereit fuer Club Admiralty ????
Club Admiralty: Http://www.club-admiralty.com
Copyright 1996-present
Bonified Gadget Geek :-)
<<------------------------------>>
Reply With Quote
  #2  
Old November 20th, 2001, 04:13 PM
themacko's Avatar
Barking at the moon.
 
Join Date: Sep 2001
Location: Tempe, Arizona
Posts: 1,695
Thanks: 0
Thanked 0 Times in 0 Posts
themacko is on a distinguished road
you mean, you want to test php on your yahoo/geocities account?
__________________
"May all your trails be crooked, winding, lonesome, dangerous, leading to the most amazing view, where something strange and more beautiful and more full of wonder than your deepest dreams waits for you."
-Edward Abbey
Reply With Quote
  #3  
Old November 20th, 2001, 05:30 PM
3mors's Avatar
HampCake Studios
 
Join Date: Oct 2001
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
3mors is on a distinguished road
nah, search in yahoo about free php hosting and you'll find some good sites.

But if you wanna learn, you'd better set up an apache server & php on your mac. It's very easy.
__________________
3mors
------------------------------------------------------
iMac G5 20"/MacBook Pro 17"/PowerBook G4
------------------------------------------------------
Reply With Quote
  #4  
Old November 20th, 2001, 05:42 PM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
Quote:
Originally posted by 3mors
But if you wanna learn, you'd better set up an apache server & php on your mac. It's very easy.
To activate php, you could manually edit the apahce configuration and library files, but these neat trickx do it for you:

Go to the terminal

cd /etc/httpd
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so
sudo perl -p -i.bak -e 's%#(AddType \S+-php[ -])%$1%i' httpd.conf

Now any .php files in your webserver directory will be dealt with accordingly.
I have my apache set up to parse html files as php - useful if you have an html editor that doesn't like non html extensions like Golive.

In the terminal:
sudo pico /etc/httpd/httpd.conf

in the pico text editor controll-W to search, and search for "AddType"
Edit the line with .html in it, if there is one (if not just add this) so it looks like:

AddType application/x-httpd-php .html

Exit, saving.

type sudo apachectl graceful

to restart the webserver.

Bernie :o)

(Good this pooch, AdmiralAK? ;o) lol
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>

Last edited by bighairydog; November 20th, 2001 at 06:05 PM.
Reply With Quote
  #5  
Old November 20th, 2001, 05:49 PM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
Oh yeah, and it's a good idea to have MySQL too, just for the hell of it. http://www.entropy.ch/software/macosx/mysql/ is an invaluble source of binaries for tings like that.

Bernie :o)
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
Reply With Quote
  #6  
Old November 20th, 2001, 06:37 PM
AdmiralAK's Avatar
Simply Daemonic
 
Join Date: Oct 2000
Location: Classified
Posts: 5,792
Thanks: 0
Thanked 0 Times in 0 Posts
AdmiralAK is on a distinguished road
well this was oging to be my plan

1) Buy PHP book
2) Buy a web dev CD from openosx.org with all the dev stuff I would ever need
3) Make/play with php pages
4) upload to geocities.

I am on dial up so I cannot
1) Tie up my phone line serving content
2) dont have bandwidth for my real audio streaming.

My Machine at work is a beige G3, no OS X on it. My boss doesnt want me to put os x on it so I cannot use that machine as a web server. Furthermore what happens to my server if I am not there and it goes down (i.e. I go on vacation ) ...

I will take a look at free php hosting if yahoo cant do it


Admiral
__________________
<<------------------------------>>
Seid ihr bereit fuer Club Admiralty ????
Club Admiralty: Http://www.club-admiralty.com
Copyright 1996-present
Bonified Gadget Geek :-)
<<------------------------------>>
Reply With Quote
  #7  
Old November 20th, 2001, 06:51 PM
themacko's Avatar
Barking at the moon.
 
Join Date: Sep 2001
Location: Tempe, Arizona
Posts: 1,695
Thanks: 0
Thanked 0 Times in 0 Posts
themacko is on a distinguished road
yahoo/geocities definately can't do it. the only free php/mysql hosting I know of is www.f2s.com but they're overbooked and I don't think accepting anymore free accounts. You might, however, be able to find just a free php server w/o mysql. i dunno, good luck though
__________________
"May all your trails be crooked, winding, lonesome, dangerous, leading to the most amazing view, where something strange and more beautiful and more full of wonder than your deepest dreams waits for you."
-Edward Abbey
Reply With Quote
  #8  
Old November 20th, 2001, 06:59 PM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
&nbsp; I use http://easily.co.uk/ . It's not free (£35 GBP per year) but it's very cheap, and supports everything (PHP, ASP, Perl, CGI, MySQL).
&nbsp; I'll bet that any free php host will cut down the features, e.g. won't let you use the excellent mail() function to send emails, so you won’t be able to develop properly anyway.

Bernie :o)
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
Reply With Quote
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check Yahoo! Mail twister Mac OS X System & Mac Software 5 May 13th, 2003 11:06 PM
ftp running applications... Trip Mac OS X System & Mac Software 2 December 28th, 2001 12:42 PM


All times are GMT -5. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.