Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Dynamic forwarding from SQL-Database

  1. #1
    Join Date
    Jan 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic forwarding from SQL-Database

    hi freaks,

    my project is to build a website with an dynamic forwarding URL.

    Visitors can enter there interests in a form if they want advertising.

    After this they can make my dynamic forwarding URL to there browser startlocation.

    For example, one visitor is interested in cars.

    He fills out the form and next time, he opens his browser, he will pushed from my dynamic website within seconds to a car-dealer URL.

    On my site works in the backround an SQL-Server with a database of some car-dealer URL's.

    The first time this visitor opens his browser, he should get the first car-dealer URL. The second time the second URL and so on. (I don't want to bore my visitors) ;-)

    So my questions:
    Am I lucky and some scripts are allready written for free using?

    If not, what programming-languages I have to learn to implement my project?

    What kind of server I have to rent from a webhosting company?
    There are some cheap, but I can only use PHP3, PHP4, PHP5 and SQL4 and 5
    But there are also some expensive with free programmable CSI-Scripts, Perl and Phyton.

    Of course I would prefer the cheap servers, but is this enough for my problem? Do I have to concern some other things about the webserver?

    Sorry about my bad english, but Im writing from Germany.

    cya
    Sharky1000

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Not sure on the technicalities, but it can be done with php (acting as your log in/registration script), and the way to communicate with SQL, which is the other element you need.

    Shouldn't need anything else to accomplish this task, but I don't know. Depends on how pretty you want everything.

    Of course HTML is needed to make the pages, etc.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi BLiZZaRD,

    thanks for your fast answer.

    Well now I have to learn php. - But I found this wonderful place with nice peoples. Im sure with the help of some freaks and a good tutorial I can build a usable script for my site.

    The html should be no problem. Just have to find my old Dreamweaver 3.0 package in the cellar ;-) (I hope it still works with Win XP)

    So cu soon

    sharky1000

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The html should be no problem. Just have to find my old Dreamweaver 3.0 package in the cellar ;-) (I hope it still works with Win XP)
    Hm... try to avoid WYSIWYG editors. They tend to cause more problems than they solve.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by sharky1000 View Post
    hi freaks
    That Is No Way To Ask For Help.

    And Its Simple Enough To Use PHP And MySQL to Create a login system for your site. Ive Been Working On One For The Past Little While. If You Can Get It Running, Congrats, But It Hasn't Been Tested Yet.
    Link.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Sorry about my bad english, but Im writing from Germany.
    I suspect he probably meant "geeks" He used it in tandem with compliments and didn't seem to recognise the potentially offensive connotations.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Jan 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ups sorry.

    didn't meant it in the bad way.

    Well in German we use "freaks" for some persons which knows very much about some special professions. For example elite-programmer.

    Didn't knewed that "freaks" sounds bad in America or England. Well in the future I will start with hi geeks ;-)

    (www.leo.org told my that freak means also enthused.. and that was the way I meant it. Not the other bad words.) Well, just enter in leo.org geek and it will show you the translation computer-freak ;-)

    Nice to hear how it sounds to other countrys after using this phrase about 8 years in several forums and discussions. It was something like my logo <shame on me>. Fortunaly I didnt wrote often in english forums.

    So, thanks so much for this info. I will change it in the future.

    Just dont do a Google search with the keywords "sharky1000 freaks" ;-)

    @Twey: Thanks for the hint to avoid WYSIWYG editors. I also got Phase5 and Arachnophilia. I will give it a try. I've just red that the new versions of Dreamweaver will compress his code before saving. That sounds not good to me.

    @boxxertrumps: Thanks for sharing your PHP-script. After I knew more about PHP I will try to learn from it.

    So cu

    Sharky1000
    Last edited by sharky1000; 01-23-2007 at 11:13 PM.

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Note that "geeks" can be offensive too. Real geeks don't usually mind, though
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Yes, (un?)fortunatley I knew what he meant by "freaks".

    Just a tid bit, (at least in the US) normally a "freak" is something we assosiate with a person of grotesque abnormalities. Elephant Man, Sloth from the Goonies, the lizard man.

    This attraction coined the term Freaks when it was introduced to our culture in the late 1800's and far into the 1970's when side shows of circus acts, traveling salesmen and others would find these "weird" people, hire them to travel with them to drum up business "Come look at the three legged man!"

    Don't worry too much about it, most people don't get bent out of shape unless it is obvious you are trying to insult.

    On a side note, I learned this very same way that "silly" while in the US means funny, acting hyper to gain a laugh, means "you should be institutionalized" (on basis of being clinically insane) in Italy.

    An Italian friend of mine online was in chat and cracking funny jokes, I said "You are silly" He promptly logged off and only a couple days later would he respond to an email asking why. I cleared up the error, and we have moved on.

    Now, back on topic... I agree with Twey here, stay away from ALL such editors, they will only ruin the code, and if you don't know enough about what you are doing you will not be able to fix the errors they will introduce to your scripts.

    The best bet is to stick with good old notepad, or notepad plus.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  10. #10
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    On a side note, I learned this very same way that "silly" while in the US means funny, acting hyper to gain a laugh, means "you should be institutionalized" (on basis of being clinically insane) in Italy.
    It's interesting to note how these things differ between cultures. In Japanese, there are two (relevant) words for "idiot," depending on dialect: "baka" and "ahō." In Tōkyō, "baka" is less offensive; while you'd probably still anger people if you said it to someone you met on the street, between close friends it's used in a jocular manner. "Ahō," on the other hand, can be highly offensive. In Ōsaka, it's the other way around

    Another interesting fact I picked up recently is that the Dutch use diseases as swear words. Thus, if you hadn't seen a Dutch man for a long time and suddenly turned up at his door, he might express his astonishment by saying, "Get cancer!"
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •