Jump to content


  • Posts

  • Joined

  • Last visited


Posts posted by adam_

  1. Hi!


    I have a database driven site, but at the moment when a bad request is given, there is just a message saying "sorry no records found"


    I have changed it a bit so that there is a header() redirect, and my plan is to respond with 404 and serve a nice looking 404 page with a sitemap on it for my users.


    I can't seem to figure out how to do this though:


    header('HTTP/1.0 404 Not Found');


    Does not work, and the page loads as normal, which is not what I want. Weirdly if I change to Location: type header redirect it works as i expect.


    If anybody could let me know why this isn't working, I would be very grateful!

  2. Hi


    I am a web developer, and in all honesty do know how to do this, but haven't got the time right now due to other commitments.


    This is for a personal project of mine, users register and can register for an enhanced service (this lasts 365 days from the date i recieve payment). They can also renew once their days remaining are low!


    I want a quote for a charging system, which would do the following.


    1. Take the id of the account to be upgraded from the $_GET array (hidden by a mod_rewrite, but that is irrelevant)

    2. Do the crazy paypal stuff

    3. On return to the site, confirm payment and increment the "days remaining" field of my database for that id (new accounts default to 0) by 365


    Also I would like it to give nice error messages.


    Because I want payment to be separated from the rest of my site, this would be on its own subdomain (again irrelevant), and all graphical files would be provided. The system would just need integrating within my existing layout.


    I don't need the work doing for about a month, but want to get some quotes!


    I am a freelancer myself so I know a good job when I see it!


    Please email adam@aking-solutions.net with your quote.




  3. $lresultsQuery = "SELECT * FROM `ladder_results` WHERE `result_teamid` = '$ladder_team_id' OR `result_vsteamid` = '$ladder_team_id' ORDER BY `result_date` ASC";


    Give that a try, see if that fixes it, I have a feeling the one you have at the minute is only pulling it if it matches the first team, not if it is the vs team.


    I dry-ran your code in my head and it behanves as i would expect, give my sql a try see what happens. Dependant on the rest of the code, you might need to swap variables around if it matches the first or the last team in the db. Sorry that sounds confusing, but when you try my sql you might find it shows results the incorrect way around



  4. Hi


    I want to perform a human-verification check on people signing up on my site (you know the things, "type the word" etc). I guess such things are generally Gd but i havent actually got a clue about them.


    If anyone could let me in on how to do them, Or if there are any cheap / open versions around, please let me know.


    (Advanced PHP user so technical solutions are fine)


    Adam King

  5. Hi


    I have just launced a new portfolio site, I wanted to keep it simple so I haven't used flash or js or anything else like that, it is just pure XHTML and CSS.


    What do you guys think?




    Email comments using the contact form on there if you wish.



  6. Hi


    My name is Adam King and I am Lead Programmer of a three man team called http://Aking-Solutions.net.


    We have only just started up but have already got two large projects under our belt...our portfolio is going to grow stedily. If you want to be a part of that portfolio contact me using the website!


    Take a look, it might be just what you are looking for!


    Adam King

    Lead Programmer


  7. Hi

    I have a PHP driven CMS (self coded), for a group of users of a particular piece of software. The software writes information about the user (eg time logged in) etc to a website that is out of my control.

    I want to be able to grab this data (which is displayed publically on a website) and put it into my MySql database once a week, as a cron job.

    I can use cron and mysql fine, the issue is I have no idea how to go about grabbing data from another website.

    I consider myself in the intermediate/semi-adavanced level with PHP, so a link to a tutorial would be great, i dont need the code making for me.

    As the software is pre-release, i do not want to post it, or the website in question so the forum, but a generic response on the subject would be appreciated.


  • 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.