Jump to content

bthompson00

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

bthompson00's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Edit > Preferences (Ctrl + U) > Code Format > Indent/Tab Size
  2. The following post by "brownrl" looks ok, but I can't get it to work. chmoding the file to 0777 returns a server 500 error. Any ideas? This is the sort of thing I am after... http://www.php-editors.com/forums/other-php-tools/234-online-php-editors.html
  3. Hi, I'm building a php application at work, but im not part of the IT team. So, at completion I am going to 'turn over' my code to IT to serve and run. The problem being that once turned over, I cannot make changes or update the code. What i'd like is to have a php document as part of the package which I turn over which can open and edit the other local php documents. It really can be very simple, no frills needed. Something along the lines of: - list all of the available local documents - once one is selected, open that file into a field of some kind (prob a textarea) - allow me to edit it there - save the whole thing back into the original php document. Any ideas of how to do this? Or is there something like this out there already? I am going to have to build in security for obvious reasons... Are there any other considerations you can think of? Thanks!
  4. main.php: include("aboutUs.php"); aboutUs.php: require("url.php"); url.php: if (substr($_SERVER['HTTP_REFERER'], -!="main.php") { if (substr($_SERVER['REQUEST_URI'], 1)=="aboutUs.php") { header('Location: http://www.mysite.com/main.php#aboutUs'); } elseif (//etc) { //etc; } else { header('Location: http://www.mysite.com/main.php'); } }
  5. Thanks, I am using Ajax to achieve this. Debate aside, do you have any suggestions for my problem?
  6. I know its better to have more than one page, but dynamically changing page content based on a named anchor SIGNIFICANTLY speeds up page load times. Also, I couldn't find evidence to link named anchors being poor with regards to SEO. Anyway, that debate aside, any ideas for my problem?
  7. Hi, this should be fairly straight forward... My site works with the include() function. For example, www.mysite.com/main.php#aboutUs This opens the main.php file and includes aboutUs.php in the content section of main.php. This all works fine. What id like however, is if a user directly navigates to aboutUs.php, they are redirected to main.php#aboutUs. The problem is if I include url detection script in aboutUs.php, that $_SERVER['REQUEST_URI'] returns aboutUs.php - no matter whether we're on aboutUs.php or main.php. Make sense? Any ideas? Thanks in advance!
  8. I've just found this tutorial: http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/index.html Brilliant! I haven't looked at it yet, but just reading the requirements: * PHP compiled as a CGI binary, not just as an Apache module; * a local mail system or MTA, (are you using Sendmail, Exim, Qmail or some other system); * shell access to your server, whether or not you have to be root depends on your mail system. I'm not sure whether my server is setup like this. Is there a way I can check these requirements? Thanks very much!
  9. I'm actually not sure what I'm using, I have a domain with Jumba. How do I find out? Do you have any pointers where I can start finding out about this script?
  10. oh great! thanks! how exactly?
  11. Sorry, I'm a bit confused. Whats an MTA? So if I have access to the incoming mail server, but not the outgoing, can I do what you are suggesting? Thanks again
  12. The sending server?
  13. Thanks guys, they both sound good! I'm particularly keen on Daniel0's idea...but how do you actually do that? (It not my server that I'm sending from, but it is my server that I'm sending to) Thanks!
  14. Hi, I'm not really sure about this one... I'd like to be able to send an email to a script of some sort, preferably php which can then run its course... I'm asking because I'm a freelance web developer, and I have a php script which sorts out my work roster for me and uploads it automatically to google calendar. The problem is that at work (health industry) I don't have access to the internet, but I do have email. So if I can email my roster to either a php script or something like that then it could still work... is anything like that possible? Or can i email it to a special email address and have a script automatically analyze my incoming emails? any ideas? point me in the right direction! thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.