Results 1 to 21 of 21
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    15
    I was going to set up a datafeed affiliate site and I was wondering what scripting language would be more appropriate, PHP or PERL? What would look better to the search engine? What is easier to work with?

    Thanks.

  2. #2
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    4,423
    I think that most people find php easier to work with. Search engines don't care.

    Chet

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    15
    After I have apache installed on my machine, how do I install PHP?

  4. #4
    ABW Ambassador cditty's Avatar
    Join Date
    January 18th, 2005
    Location
    Memphis TN
    Posts
    1,434
    Here are some good step by step instructions on how to install PHP on Apache.

    http://www.php.net/manual/en/install.apache.php

    Chris

    ----------------------------
    Scriptsforyoursite.com - Featuring datafeed import scripts for Backcountry Store, Coldwater Creek, Mondera.com and many more.....

  5. #5
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    4,423
    If you are running windows Win9x, i would suggest downloading the php install that also installs mysql and works with personal web server.

    In ms's wisdom, they yanked personal webserver out of XP, so then you will need to install apache ans noted above.

    Chet

  6. #6
    ABW Ambassador Jane's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,350
    Edwards Online Workshops
    This is a good site to show you how to setup apache, php and sql. Very easy for dummies like me. I have it running on Win2000. Still have a problem getting it all going on my win98 laptop.
    Using Dreamweaver MX to create the PHP pages.
    You can get a 30 day trial download.

  7. #7
    Member
    Join Date
    January 18th, 2005
    Posts
    111
    No doubt, PHP is better than Perl. It is very easy to learn it.

    Oskars
    www.InternetMarketing.lv

  8. #8
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    1,916
    Between those two, php.

    Otherwise python...

    ----
    -JM

  9. #9
    Member
    Join Date
    January 18th, 2005
    Posts
    87
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Oskars:
    No doubt, PHP is better than Perl. It is very easy to learn it.<HR></BLOCKQUOTE>

    No doubt Oskars hasn't used Perl very much... PHP, probably is better for the specific use you described, unless you need to do a lot of manipulation of the data feed (changing, filtering, splicing fields), or you have non-web based needs for the data.

    g


    There are only 10 kinds of people that get binary, those that do and those that don't.

  10. #10
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,419
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>There are only 10 kinds of people that get binary, those that do and those that don't.<HR></BLOCKQUOTE>


  11. #11
    ABW Veteran Student Heyder's Avatar
    Join Date
    January 18th, 2005
    Posts
    5,482
    php or perl? Which one do you know?

  12. #12
    Full Member garystarling's Avatar
    Join Date
    January 18th, 2005
    Posts
    277
    I started with Perl but since experimenting with php I have to say I am a convert, it is sooo easy especially passing paramaters when using scripts like amazon.pl and some other datafeeeds.

    'I am not young enough to know everything.'
    - Oscar Wilde

  13. #13
    Full Member c4's Avatar
    Join Date
    January 18th, 2005
    Posts
    488
    PHP is better (read easier) for beginners while Perl is a more mature language with more capabilities (especially data manipulation like gwhite said) and much better support (try to find one tenth of the many modules for Perl in PHP community...) yet harder to learn.

    If you know both program in the one you enjoy most. I hardly ever touch PHP since I just LOVE programming in Perl .

    Python is a great one too yes.



    YOURsoft affiliate software
    Join YOURsoft "affiliate program for affiliate software"!

  14. #14
    Newbie
    Join Date
    January 18th, 2005
    Posts
    15
    Could anybody tell me what is a really good editor for PHP.

    Thanks!

  15. #15
    Full Member c4's Avatar
    Join Date
    January 18th, 2005
    Posts
    488
    Just to show how and when Perl can be extremely useful:

    I just needed to process a 1.2Mb text file - line by line, each line containing information separated by tabs - and enter all that info in a MySQL database in a different order as it was in the text file. It took the Perl script less then a second ... try doing that with PHP



    YOURsoft affiliate software
    Join YOURsoft "affiliate program for affiliate software"!

  16. #16
    Full Member
    Join Date
    January 18th, 2005
    Posts
    480
    vi



    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by awstewar:
    Could anybody tell me what is a really good editor for PHP.

    Thanks!<HR></BLOCKQUOTE>

  17. #17
    Full Member
    Join Date
    January 18th, 2005
    Posts
    480
    oh, and perl is better.




    However, that is only cuz I know it better than PHP. PHP is easier to learn, as the others have said, but it is not as "featureful" as Perl. Plus, if you spend the time to learn Perl, PHP will be easy. They are quite similar.

    If you just want to put your datafeeds into a mysql database and pull up information, PHP is probably better.

    I have one web site where I use some perl scripts to put the data into the database, but the I use PHP on the front end. PHP is faster than CGI too.

    But, after all this, if your goal is to make a lot of money and you have little interest in programming itself, it is best to hire somebody. It will cost you a lot less time. I figured I'd learn it all "just in case" I'd ever have to get a job again. At least I'd have some "real" skills.

  18. #18
    Member
    Join Date
    January 18th, 2005
    Posts
    87
    can we please stop calling Perl, CGI. They aren't the same. I can write Perl programs that have nothing to do with the web, or uses ASP, or SOAP. CGI (Common Gateway Interface) is a protocol. I can write CGI scripts in C, JAVA, and most other developed languages (including Perl). So quit calling Perl CGI.

    g


    There are only 10 kinds of people that get binary, those that do and those that don't.

  19. #19
    Full Member c4's Avatar
    Join Date
    January 18th, 2005
    Posts
    488
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by gwhite:
    can we please stop calling Perl, CGI. They aren't the same.<HR></BLOCKQUOTE>

    Very true g, but since the vast majority of CGI scripts available for WWW usage are written in Perl most people when talking about CGI actually refer to Perl which is of course wrong, but we have to live with it

    Even the pros do it sometimes, because if they start talking to customers about "Perl" they go "Huh? I though this is a CGI script?" or "We don't have Perl supported on the server, just PHP and CGI".

    Long live Perl



    YOURsoft affiliate software
    Join YOURsoft "affiliate program for affiliate software"!

  20. #20
    I like traffic lights
    Join Date
    January 18th, 2005
    Location
    Southern hemisphere - away from Fukushima
    Posts
    2,936
    &gt;No doubt, PHP is better than Perl.

    Excuse me?

    But anyway, I've seen incidents where hosting providers have disabled the PHP module in error and all their custoemrs PHP scripts have been sent out to browsers as plain text (including passwords in some cases).

    I'll stick with 6 lines of PERL code, thank you.

    Jimmy James Inc. fan club membership # 3312

  21. #21
    ABW Ambassador Joey's Avatar
    Join Date
    January 18th, 2005
    Posts
    549
    I suppose they both have their ups and downs, but I prefer to use PHP just because it was easier to learn (partly because I already had some PERL background) and because in general it does execute faster than PERL.

  22. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. PHP question - include(file.php) with variables
    By teezone in forum Programming / Datafeeds / Tools
    Replies: 8
    Last Post: September 4th, 2009, 04:54 PM
  2. Perl Help...
    By eggerda in forum Programming / Datafeeds / Tools
    Replies: 7
    Last Post: July 22nd, 2003, 05:40 AM
  3. Help with Perl Programing
    By charles25 in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: November 15th, 2002, 09:43 PM
  4. Perl help.
    By mewmew in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: October 10th, 2002, 03:41 PM

Posting Permissions

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