Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-24-2005, 03:17 AM   #1
coolioman
skullcracka
 
coolioman's Avatar
 
Join Date: Dec 2004
Location: the locust swarm
Posts: 349
Send a message via AIM to coolioman Send a message via Yahoo to coolioman
Default help with PHP

i am having alot of trouble using php.

my first question:
i have heard that you can test your php file by typing:

http://localhost/phpfile.php/

that doesnt seem to work for me....it just says 'page cannot be displayed"
do i have to have a domain name?


second question: with flash i want to have the user input some text in a text area, and when he presses 'send' i want the data he entered to be sent to a blank .txt document (preferrably a blank html document.) i have read a tutorial on doing this out of flash, but it doesnt seem to work well


any help will be appreciated.
__________________
Reality continues to ruin my life.

Last edited by coolioman; 03-24-2005 at 03:21 AM.
coolioman is offline   Reply With Quote
Old 03-24-2005, 03:29 AM   #2
saumya
Member
 
saumya's Avatar
 
Join Date: Jan 2005
Posts: 79
Lightbulb

ok.that means your php is not installed properly or the second reason might be that you are typing the wrong address in the browser.
first thing is first, lets install it properly.
where r u trying to install php,is it win 9X searies, win 2000,win xp or the best Linux.ok after that which server r u using.is it pws,iis or apache?Actually if you are on linux,i canot help you.i need some time to jump to that platform too.

after all this,if you think you have installed php properly(i asume you are in windows iis ),then put your php page in the root directory of your server(typically C:\Inetpub\wwwroot).then you can use http://localhost/phpfile.php to view your page.again you have to be sure that your server is configured to run on port 80 which is by diffault and that has been configured as localhost. if not then you have to access your file using the ip address and port name like(http://127.0.0.1:80).too much but one step at atime you are there.
regarding sending variable to php just use
ActionScript Code:
//method onRelease = function(){ getURL("name of page",Method); }
and then read that value through php
saumya
saumya is offline   Reply With Quote
Old 03-24-2005, 11:52 AM   #3
coolioman
skullcracka
 
coolioman's Avatar
 
Join Date: Dec 2004
Location: the locust swarm
Posts: 349
Send a message via AIM to coolioman Send a message via Yahoo to coolioman
Default

1. i am running windows xp.


2. i just downloaded and installed iss; now what?

3. the folder C:\Inetpub\wwwroot\ doesnt even exist on my computer

4. how exactly would i use tour actionscript code.....im a little bit dumb

5. when i tried to install php on my compy, it was installed but right before it finished the following message appeared:

Error trying to access the local web server: GetObject Failed. You will need to manually configure iss via the management console.

i hope you can help
__________________
Reality continues to ruin my life.

Last edited by coolioman; 03-24-2005 at 07:09 PM.
coolioman is offline   Reply With Quote
Old 04-11-2005, 07:57 PM   #4
Zappo
Flash novice
 
Zappo's Avatar
 
Join Date: Apr 2005
Location: Asten, the Netherlands
Posts: 5
Send a message via MSN to Zappo
Default

ISS Is not possible on XP Home edition .
Maybe that's the problem?
Zappo is offline   Reply With Quote
Old 04-14-2005, 02:10 AM   #5
coolioman
skullcracka
 
coolioman's Avatar
 
Join Date: Dec 2004
Location: the locust swarm
Posts: 349
Send a message via AIM to coolioman Send a message via Yahoo to coolioman
Default

nah, i have pro. but I corrected my problem by downloading the abyss web server which is extremely easy to use.

thanks, though
__________________
Reality continues to ruin my life.
coolioman is offline   Reply With Quote
Old 04-14-2005, 02:15 AM   #6
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

a new php server for windows XP home just released here:
http://www.phpbuilder.com/
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:47 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.