Results 1 to 7 of 7

Thread: Newbie wanting no hassle news!

  1. #1
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Newbie wanting no hassle news!

    Ok first off, hello to one and all, nice to be here!

    I'm a newbie to this site and also to php, I can do the ol' form scripts n random image shenanagins etc but that is my limit, but even tho' I am only just learning to walk upright in the world of question marks and dollar signs I just wondered if anyone could hook me up with, or point me in the direction of, a SIMPLE news upload script, I just want my friend in Canada to be abe to type a txt file and then go upload it without havin' to involve me, I don't want avatars and smiley things etc just a real bum basic but functional script...any takers?

    MANY thanks for ANY help you can offer!!!!

    Cya!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    http://dynamicdrive.com/forums/showt...?t=9940&page=2

    that's a thread about a script I wrote for a comments thing. (scroll down to mid-page for the source for the php pages)
    It works pretty well... it's simple, but does it's job.

    http://ci-pro.com/misc/phptest/comments/ is a test page on my server. Ignore that people seem to have been spamming it.

    So... that might be a good way to start coding it. It's got all the code you'll need... just reorganize til it fits what you need.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    THANKS! very much for the help it's appreciated, i'm gonna go check those couple of links out now, great stuff, cheers!

  4. #4
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Aaaargh! I've fallen at the first hurdle!

    I copied your bit of PHP uploaded it etc BUT, dammit there's always a BUT! I get the box for comments and the wording 'comments demo' but I don't get the 'add comment' link showing up for some reason...any ideas at all?

    Sorry for bein' a dumbass, but I guess that's why i'm here!

    Many thanks!!!

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    No clue what's wrong, but that's basically the easiest part... no php involved. The good news... just put this on your page:

    <a href="add.php">Add Comment</a>
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Mmmm.... yep me again i'm afraid.

    For some reason I have to put the 'add comment' link above the php script in the code for it to work? Bizarre I know... however then when it takes me to the form to add my comment, I submit it and get;

    "Comment Added Demo:
    You either entered no data or it was entered incorrectly.
    Redirecting to index.php"

    Even tho I entered my proper name and email addy etc???

    I know this must seem real insignificant and sorry for goin' on, but as ever ANY help would be greatfully recieved!

    THANKS!

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    first, link to your page.
    second, please post the source code for your pages, so it's easy to look at. (You could also duplicate the files on your server and rename them .txt... that works well to see the source code.)

    Also, in the thread I linked to, the problem may have been solved... might want to look ahead a bit to see if there's more info there.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •