Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Help me with php files (https://www.warriorforum.com/programming/185826-help-me-php-files.html)

James Clark 3rd March 2010 04:57 PM

Help me with php files
 
Sometimes while working I download some php files in a zip file. If you know of a video tutorial to show me how to use them, please let me know.

Thanks in advance.

Jimmy

Damien Roche 3rd March 2010 05:06 PM

Re: Help me with php files
 
Do you mean view them on your own comp in the browser?

If so, you will need wamp (if you have windows) or mamp (if you have mac).

If not, could you explain exactly what you mean?

Hope that helps.

LibertyUnc 3rd March 2010 08:06 PM

Re: Help me with php files
 
Typically, you would extract the files from the zip archive ( in windows you would right-click and select extract, on macos you would typically drag the zip archive to the stuffit expander, and in linux you would run unzip (or any other zip program) on it)

This will give you access to the files contained in the archive, which you could then upload as directed by the one providing them or open to look at.

As Damien Roche noted, if you want to process them and show the results in a web browser, wamp and mamp would be a great way to go.

James Clark 4th March 2010 09:07 AM

Re: Help me with php files
 
Damien,

Thanks for the response. I have wamp and running windows. Also, have two hosting companies..When I unzip the files and want to view them in wamp, are suggesting just copy and paste in the browser?

So, if I understand you correctly, view them in a test server like wamp. How can we do
that?


Jimmy.

Bewley 4th March 2010 10:03 AM

Re: Help me with php files
 
Quote:

Originally Posted by James Clark (Post 1823820)
Damien,

Thanks for the response. I have wamp and running windows. Also, have two hosting companies..When I unzip the files and want to view them in wamp, are suggesting just copy and paste in the browser?

So, if I understand you correctly, view them in a test server like wamp. How can we do
that?


Jimmy.

In WAMP or XAMP create a folder called 'test' in the 'htdocs' or 'www' directory.

Unzip the files to the 'test' folder. Make sure that WAMP or XAMP is running (look for icon in sys tray).

Type in the browser address bar http://localhost/test/filename.php

Replace filename.php in the address bar with one of your php files, preferably index.php.

Adrian

James Clark 5th March 2010 11:39 AM

Re: Help me with php files
 
Hey Guys,

Many thanks for your help on this matter. I have been putting this off for some time and its about time i learn how to play with these files. Any time I can help any one of you in the future just let me know. Once again thank you very much:)

Jimmy Clark


All times are GMT -6. The time now is 07:26 AM.