Hello and welcome to our community! Is this your first visit?
Register
View RSS Feed

Recent Blogs Posts

  1. Is this legal?

    by , 09-20-2014 at 12:44 PM
    Quote Originally Posted by felgall View Post
    Quote Originally Posted by tracknut View Post
    I would first ask the folks who own the web sites you're planning to iframe.
    Yes - it is up to the owners of those sites to give permission.

    If they agree to having their pages displayed that way then there is no question about whether it is legal or not.

    If they do not agree then either they will block the ability to display their sites that way or if they don't know how to do that they will take other action that will probably end up costing tho OP
    ...
    Categories
    Uncategorized
  2. Coding styles and $end errors

    by , 07-06-2014 at 01:48 PM
    Hi

    I'm sure many of you have come across the "Unexpected $end" or "Missing $end" messages many times and it's probably taken you many minutes, hours or even days to find it. If its the latter two options i'm sure if you're like me it's probably taken you a lot of desk thumping to to identify the fault.

    Firstly I'd like to show you two different coding styles here:
    PHP Code:
    <?
    //Example A - The most popular
    function test_a($Input){
    ...
    Categories
    PHP Tips
  3. Warning: Cannot modify header information - headers already sent

    by , 07-06-2014 at 01:47 PM
    I thought this would be a useful blog entry as it seems to be a common error that a lot of new coders don't quite understand.

    Many new php coders see this message and will not understand it. In order to understand what PHP is telling us we need to understand how the HTTP process works.

    This is a basic web page HTML source code:
    Code:
    <html>
       <head>
          <title>Hello World</title>
       </head>
    ...
    Categories
    PHP Tips
  4. Quotes / Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRIN G in..

    by , 07-06-2014 at 01:45 PM
    I'd like to start this blog entry by saying that typically an unexpected error often means that you have a missing semicolon ; at the end of a line of code or a symbol / operator where it should not be. Often though, you'll get an error about T_CONSTANT_ENCAPSED_STRING. This blog entry aims to help you with that.

    Many new PHP coders will come across this error and will be a bit confused by what it means so I thought I would supply a quick topic to cover the issue in more detail. ...
    Categories
    PHP Tips
  5. The IE if (isset($_POST['submit'])) bug explained.

    by , 07-06-2014 at 01:41 PM
    For a while I had a clear warning in my signature about not using this technique, not everyone understood the problem and I used to get quite a few PMs about it. Today I am going to explain this issue to you in further detail so that you can understand and try this out for yourself and fix your code.

    Lets start with a basic script:
    PHP Code:
    <html>
       <
    head>
          <
    title>The if(isset($_POST['submit'])) bug demo.</title>
       </
    head
    ...

    Updated 07-07-2014 at 05:45 PM by tangoforce

    Categories
    PHP Tips
Page 1 of 2 12 LastLast