Jump to content

Cannot run a php file saved in www.dropbox.com?


eduard
 Share

Recommended Posts

what does the code look like? Are other PHP files in the same directory/location able to run ok?edit: and to clarify, are you giving someone a php file via dropbox, or they giving it to you via dropbox?

Edited by thescientist
Link to comment
Share on other sites

what does the code look like? Are other PHP files in the same directory/location able to run ok?edit: and to clarify, are you giving someone a php file via dropbox, or they giving it to you via dropbox?
Code: file:///Users/eduard/Dropbox/Public/MySQL1%20copia.php
Link to comment
Share on other sites

You don't run PHP files "with" MAMP. You run them "through" MAMP (well... Apache technically). The PHP file needs to be available in a location that Apache can access and YOU need to access your Apache server with your web browser (the thing that starts with "localhost").Stop trying to break the flow. You're only making it worse.

Link to comment
Share on other sites

You don't run PHP files "with" MAMP. You run them "through" MAMP (well... Apache technically). The PHP file needs to be available in a location that Apache can access and YOU need to access your Apache server with your web browser (the thing that starts with "localhost").Stop trying to break the flow. You're only making it worse.
Ok, thanks!
Link to comment
Share on other sites

Code: file:///Users/eduard/Dropbox/Public/MySQL1%20copia.php
:)remember that overly long thread we had about how to get your php files to run? That they had to be placed in the webroot. that it had to be somewhere where MAMP was expecting them to be. that will NEVER change. PHP files must be run from within the webroot, with Apache running. MAMP just starts Apache for you. It does not do run your pages for you. It's just an acronym for a collection of software packages that do the stuff for you.
Link to comment
Share on other sites

:)remember that overly long thread we had about how to get your php files to run? That they had to be placed in the webroot. that it had to be somewhere where MAMP was expecting them to be. that will NEVER change. PHP files must be run from within the webroot, with Apache running. MAMP just starts Apache for you. It does not do run your pages for you. It's just an acronym for a collection of software packages that do the stuff for you.
Ok, thanks!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...